9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Four numbers in /lib/sky/here
@ 2021-07-27 16:54 Anthony Sorace
  2021-07-27 17:16 ` David du Colombier
  0 siblings, 1 reply; 7+ messages in thread
From: Anthony Sorace @ 2021-07-27 16:54 UTC (permalink / raw)
  To: 9fans

I went to update my /lib/sky/here after a server move and realized it has four numbers in it. I know I added it at some point, but I can’t remember what that fourth number is doing in there. The pre-move version:

:; cat /lib/sky/here
41.499 81.558 250 290

Anyone have any idea what might use that?



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ea4ba95db1a01f-M5319924856d8ab0d3e5e0c25
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Four numbers in /lib/sky/here
  2021-07-27 16:54 [9fans] Four numbers in /lib/sky/here Anthony Sorace
@ 2021-07-27 17:16 ` David du Colombier
  2021-07-27 17:18   ` David du Colombier
  0 siblings, 1 reply; 7+ messages in thread
From: David du Colombier @ 2021-07-27 17:16 UTC (permalink / raw)
  To: 9fans

> I went to update my /lib/sky/here after a server move and realized it 
> has four numbers in it. I know I added it at some point, but I can’t 
> remember what that fourth number is doing in there. The pre-move 
> version:
> 
> :; cat /lib/sky/here
> 41.499 81.558 250 290
> 
> Anyone have any idea what might use that?

This file is used by astro(1). The values are latitude, longitude and elevation.

-- 
David du Colombier

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ea4ba95db1a01f-Mf0e41cd108ed806f227fe5b0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Four numbers in /lib/sky/here
  2021-07-27 17:16 ` David du Colombier
@ 2021-07-27 17:18   ` David du Colombier
  2021-07-27 17:52     ` Anthony Sorace
  0 siblings, 1 reply; 7+ messages in thread
From: David du Colombier @ 2021-07-27 17:18 UTC (permalink / raw)
  To: 9fans

The fourth number looks like a mistake.
astro(1) only parses the first three numbers.

-- 
David du Colombier

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ea4ba95db1a01f-M1b3e35f4246cf2adf3f07c83
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Four numbers in /lib/sky/here
  2021-07-27 17:18   ` David du Colombier
@ 2021-07-27 17:52     ` Anthony Sorace
  2021-07-27 18:12       ` Dan Cross
  0 siblings, 1 reply; 7+ messages in thread
From: Anthony Sorace @ 2021-07-27 17:52 UTC (permalink / raw)
  To: 9fans

There are a few other things which also use that file (e.g. latcmp, the 2e road(1), gmap (who did that?) my darksky program). I’m wondering if I’m missing something that uses that fourth number. I certainly can’t rule out user error. 

> On Jul 27, 2021, at 10:20, David du Colombier <0intro@gmail.com> wrote:
> 
> The fourth number looks like a mistake.
> astro(1) only parses the first three numbers.
> 
> --
> David du Colombier

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ea4ba95db1a01f-M271655094ce530ac576ca25f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Four numbers in /lib/sky/here
  2021-07-27 17:52     ` Anthony Sorace
@ 2021-07-27 18:12       ` Dan Cross
  2021-07-28 11:12         ` Steve Simon
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Cross @ 2021-07-27 18:12 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

On Tue, Jul 27, 2021 at 1:53 PM Anthony Sorace <a@9srv.net> wrote:

> There are a few other things which also use that file (e.g. latcmp, the 2e
> road(1), gmap (who did that?) my darksky program). I’m wondering if I’m
> missing something that uses that fourth number. I certainly can’t rule out
> user error.


Could it be an azimuth that's consumed by something?

        - Dan C.

> On Jul 27, 2021, at 10:20, David du Colombier <0intro@gmail.com> wrote:
> >
> > The fourth number looks like a mistake.
> > astro(1) only parses the first three numbers.
> >
> > --
> > David du Colombier

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ea4ba95db1a01f-Mb45d69f331059f87022cfc73
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2388 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Four numbers in /lib/sky/here
  2021-07-27 18:12       ` Dan Cross
@ 2021-07-28 11:12         ` Steve Simon
  2021-07-28 12:02           ` David du Colombier
  0 siblings, 1 reply; 7+ messages in thread
From: Steve Simon @ 2021-07-28 11:12 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

hi,

i suspect rob or ken would be the ones to ask, maybe something to do with some private flight planning or astronomy tool?

-Steve


On 27 Jul 2021, at 7:13 pm, Dan Cross <crossd@gmail.com> wrote:


On Tue, Jul 27, 2021 at 1:53 PM Anthony Sorace <a@9srv.net> wrote:
> There are a few other things which also use that file (e.g. latcmp, the 2e road(1), gmap (who did that?) my darksky program). I’m wondering if I’m missing something that uses that fourth number. I certainly can’t rule out user error.

Could it be an azimuth that's consumed by something?

        - Dan C.

> > On Jul 27, 2021, at 10:20, David du Colombier <0intro@gmail.com> wrote:
> > 
> > The fourth number looks like a mistake.
> > astro(1) only parses the first three numbers.
> > 
> > --
> > David du Colombier

9fans / 9fans / see discussions + participants + delivery options Permalink
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ea4ba95db1a01f-M37fe15e03d628422c65d1cc8
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2918 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] Four numbers in /lib/sky/here
  2021-07-28 11:12         ` Steve Simon
@ 2021-07-28 12:02           ` David du Colombier
  0 siblings, 0 replies; 7+ messages in thread
From: David du Colombier @ 2021-07-28 12:02 UTC (permalink / raw)
  To: 9fans

The /lib/sky/here file hasn't been changed since the
First Edition and there are only three numbers.

https://github.com/plan9foundation/plan9/commits/main/lib/sky/here

-- 
David du Colombier

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ea4ba95db1a01f-M73d6d41b3ffb3d40e595e228
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-28 12:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 16:54 [9fans] Four numbers in /lib/sky/here Anthony Sorace
2021-07-27 17:16 ` David du Colombier
2021-07-27 17:18   ` David du Colombier
2021-07-27 17:52     ` Anthony Sorace
2021-07-27 18:12       ` Dan Cross
2021-07-28 11:12         ` Steve Simon
2021-07-28 12:02           ` David du Colombier

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