9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] confusing astro output
Date: Mon, 29 Jun 2009 10:08:33 -0700	[thread overview]
Message-ID: <dd6fe68a0906291008q17170d96qbe7ea07547344f3c@mail.gmail.com> (raw)
In-Reply-To: <fce51e5701213b762399b3bb2a30f8dc@coraid.com>

On Mon, Jun 15, 2009 at 11:33 AM, erik quanstrom<quanstro@coraid.com> wrote:
> i ran astro -k a 3 times, a few minutes apart
> on the same machine.  the results are suprising
>
> The sun sets at 20:47:50 EDT
> The sun sets at 20:47:49 EDT
> The sun sets at 20:47:43 EDT
>
> Comet rises at 23:02:57 EDT
> Comet rises at 23:03:06 EDT
> Comet rises at 23:03:02 EDT
>
> can anyone explain why i don't
> get the same answer?

from ken:

astro "events" are found by a binary
search (in time) on a "crossing" of
the position of objects. for an event
like "rise", "set", "twilight", the event is
very vague because of atmospheric
bending. in those cases, the binary search
is stopped before the precision of the
printing (1 sec). binary searches are
started from the time that the command was
executed. thus the time found for
the crossing will vary.


      parent reply	other threads:[~2009-06-29 17:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15 18:33 erik quanstrom
2009-06-15 19:43 ` andrey mirtchovski
2009-06-16  2:20   ` erik quanstrom
2009-06-16  2:34   ` J.R. Mauro
2009-06-16  2:37     ` erik quanstrom
2009-06-16  2:41     ` John Floren
2009-06-29 17:08 ` Russ Cox [this message]

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=dd6fe68a0906291008q17170d96qbe7ea07547344f3c@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).