all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Scheidt <dscheidt@panix.com>
To: help-gnu-emacs@gnu.org
Subject: Re: program to compute gears, with table
Date: Sun, 10 Sep 2017 02:06:05 +0000 (UTC)	[thread overview]
Message-ID: <op26md$4uo$1@reader2.panix.com> (raw)
In-Reply-To: f1it1mF4mqcU2@mid.individual.net

In rec.bicycles.tech Joerg <news@analogconsultants.com> wrote:
:On 2017-09-08 12:59, David Scheidt wrote:
:> In rec.bicycles.tech Joerg <news@analogconsultants.com> 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:
:> :>>
:> :>> http://www.gear-calculator.com/?GR=DERS&KB=34,50&RZ=12,13,15,17,19,21,23,25&UF=2150&TF=90&SL=2.6&UN=KMH
:> :>
:> :> 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
:> start.
:>

: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.

On my mac at work, from the time I double click the excel icon to the
time it is ready to do work is over a minute.  It's a modern machine,
running an old version of excel.  The windows machine I have, but
never use, which is more powerful, and running a current version,
takes even longer.  It does have a spinny disk, and not an ssd.
(that's not counting the time to takes to boot up, since it's off.)

-- 
sig 57


  parent reply	other threads:[~2017-09-10  2:06 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08  5:33 program to compute gears, with table Emanuel Berg
2017-09-08  8:46 ` Graham
2017-09-08 15:50   ` Frank Krygowski
2017-09-08 21:56     ` Emanuel Berg
2017-09-08 17:44   ` Emanuel Berg
2017-09-08 11:09 ` Skip Montanaro
2017-09-08 11:27   ` tomas
2017-09-08 12:12     ` Skip Montanaro
2017-09-08 17:09 ` David Scheidt
2017-09-08 23:45   ` Emanuel Berg
     [not found] ` <mailman.158.1504868984.14750.help-gnu-emacs@gnu.org>
2017-09-08 17:52   ` Emanuel Berg
2017-09-08 19:56     ` Joerg
2017-09-08 19:59       ` David Scheidt
2017-09-08 23:55         ` Emanuel Berg
2017-09-09 19:17         ` Joerg
2017-09-09 19:46           ` Emanuel Berg
2017-09-10  2:06           ` David Scheidt [this message]
2017-09-10 14:59             ` Joerg
2017-09-23  5:42             ` DougC
2017-09-23  6:41               ` Emanuel Berg
2017-09-24  1:05               ` Joy Beeson
2017-09-11  5:02         ` Tosspot
2017-09-11  5:19           ` Emanuel Berg
2017-09-08 23:51       ` Emanuel Berg
2017-09-09 21:08       ` Tomas Nordin
2017-09-14 12:24       ` Stefan Monnier
2017-09-14 19:33         ` Tomas Nordin
2017-09-14 20:51           ` Emanuel Berg
2017-09-14 23:49           ` Nick Helm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='op26md$4uo$1@reader2.panix.com' \
    --to=dscheidt@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.