[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: program to compute gears, with table

From: Joerg
Subject: Re: program to compute gears, with table
Date: Sat, 09 Sep 2017 12:17:23 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070728 Thunderbird/ Mnenhy/

On 2017-09-08 12:59, David Scheidt wrote:
In Joerg <> wrote:
:On 2017-09-08 10:52, Emanuel Berg wrote:
:> Skip Montanaro wrote:
:>> * Why the 1.0 divisor when computing gear?
:> As explained, otherwise it'll be integer
:> division. But I think that qualifies as a hack
:> (not an ugly hack tho) so there is no shame in
:> spotting it an "error" :)
:>> * You can skip the radius and use wheel
:>> (diameter) directly in computing
:>> the circumference.
:> Right!
:>> * It never occurred to me to do this in Lisp.
:>> I always just use an online calculator, like:
:> Let's agree there is no need to do it in Lisp.
:> Only a desire :)

:Why make things complicated? I do such stuff with spreadsheets. That's
:what they were invented for. Part of every office software including
:free ones.

I rewrote his code in common lisp in less time than it takes excel to

Wow, you must be able to type at hundreds of letter a second. Here, it takes less than 2sec for Excel to start. Mostly only a split second to open the file because I usually have it running nearly all the time.

Regards, Joerg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]