all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Dates set to Dec 31 1969
@ 2014-09-27 13:09 Nate Bargmann
  2014-09-27 13:30 ` David Thompson
  2014-09-27 14:28 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Nate Bargmann @ 2014-09-27 13:09 UTC (permalink / raw)
  To: guix-devel

As much as I'd like to be six years old again in some aspects, I'm
curious why most of the dates under /gnu/store and under ~/.guix-profile
are set to Dec 31 1969?  Yes, I know that this is just before the
beginning of the Unix epoch, which must figure into the equation in some
way.

If this is in the FM, I apologize for the noise as I haven't completed
the manual yet.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

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

* Re: Dates set to Dec 31 1969
  2014-09-27 13:09 Dates set to Dec 31 1969 Nate Bargmann
@ 2014-09-27 13:30 ` David Thompson
  2014-09-27 13:59   ` Nate Bargmann
  2014-09-27 14:28 ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: David Thompson @ 2014-09-27 13:30 UTC (permalink / raw)
  To: Nate Bargmann, guix-devel

Nate Bargmann <n0nb@n0nb.us> writes:

> As much as I'd like to be six years old again in some aspects, I'm
> curious why most of the dates under /gnu/store and under ~/.guix-profile
> are set to Dec 31 1969?  Yes, I know that this is just before the
> beginning of the Unix epoch, which must figure into the equation in some
> way.
>
> If this is in the FM, I apologize for the noise as I haven't completed
> the manual yet.
>

This is by design in order to have more deterministic builds.  If two
files have the same contents but have different timestamps, then they
will have different hashes.

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

* Re: Dates set to Dec 31 1969
  2014-09-27 13:30 ` David Thompson
@ 2014-09-27 13:59   ` Nate Bargmann
  0 siblings, 0 replies; 6+ messages in thread
From: Nate Bargmann @ 2014-09-27 13:59 UTC (permalink / raw)
  To: guix-devel

* On 2014 27 Sep 08:32 -0500, David Thompson wrote:
> 
> This is by design in order to have more deterministic builds.  If two
> files have the same contents but have different timestamps, then they
> will have different hashes.

Thanks, David.

That helps me understand the system a bit better.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

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

* Re: Dates set to Dec 31 1969
  2014-09-27 13:09 Dates set to Dec 31 1969 Nate Bargmann
  2014-09-27 13:30 ` David Thompson
@ 2014-09-27 14:28 ` Ludovic Courtès
  2014-09-27 17:56   ` Nate Bargmann
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2014-09-27 14:28 UTC (permalink / raw)
  To: Nate Bargmann; +Cc: guix-devel

Nate Bargmann <n0nb@n0nb.us> skribis:

> As much as I'd like to be six years old again in some aspects, I'm
> curious why most of the dates under /gnu/store and under ~/.guix-profile
> are set to Dec 31 1969?

It should be noted that it’s actually Jan. 1st 1970 UTC.  :-)

Ludo’.

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

* Re: Dates set to Dec 31 1969
  2014-09-27 14:28 ` Ludovic Courtès
@ 2014-09-27 17:56   ` Nate Bargmann
  2014-09-27 18:55     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Nate Bargmann @ 2014-09-27 17:56 UTC (permalink / raw)
  To: guix-devel

* On 2014 27 Sep 09:35 -0500, Ludovic Courtès wrote:
> It should be noted that it’s actually Jan. 1st 1970 UTC.  :-)

D'oh!  Indeed.  As I am six hours behind (America/Chicago) the system
rightly interprets the beginning of the epoch UTC as the prior day
here.  All these years and that never dawned on me.

One is never around this stuff so much that there isn't something new to
be learned.  :-)

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us

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

* Re: Dates set to Dec 31 1969
  2014-09-27 17:56   ` Nate Bargmann
@ 2014-09-27 18:55     ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2014-09-27 18:55 UTC (permalink / raw)
  To: Nate Bargmann; +Cc: guix-devel

Nate Bargmann <n0nb@n0nb.us> skribis:

> * On 2014 27 Sep 09:35 -0500, Ludovic Courtès wrote:
>> It should be noted that it’s actually Jan. 1st 1970 UTC.  :-)
>
> D'oh!  Indeed.  As I am six hours behind (America/Chicago) the system
> rightly interprets the beginning of the epoch UTC as the prior day
> here.  All these years and that never dawned on me.

Look, people in the Americas had computers in Dec. 1969 while the rest
of the world had to wait until Jan. 1st, 1970!  :-)

Ludo’.c

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

end of thread, other threads:[~2014-09-27 18:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-27 13:09 Dates set to Dec 31 1969 Nate Bargmann
2014-09-27 13:30 ` David Thompson
2014-09-27 13:59   ` Nate Bargmann
2014-09-27 14:28 ` Ludovic Courtès
2014-09-27 17:56   ` Nate Bargmann
2014-09-27 18:55     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.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.