Skip to content

u/skoh

In this archive from Aug 2008 to Jan 2014

13
posts
72
comments
3
media
649
score

Top posts

Top comments

The file is not actually from 1969.

Unix timestamps define a date/time as the number of seconds since 00:00:00 (midnight) on January 1, 1970 (UTC). It gives a value that's easy to store because it's just one number and not one for year, one for month, date, hour, etc.

When a file is corrupted or incorrect it can have a timestamp of simply 0, which then gets adjusted for your time zone and so can be thrown back an additional day to December 31, 1969.

33 points

you could objectively argue that the statement "if (foo() == 6)" still universally makes more sense

I don't think you could. I do agree that foo() == 6 makes more sense, and I also think that most people in the maths and computer science fields agree, but I think that trend is a learned one, not some all-encompassing truth of the universe. If someone was brought up typing 6 == foo() they probably have the opposite opinion, and that's fine. Maybe they've internalized it as "If 6 is what comes out of foo()" or something like that.

Don't get me wrong, standardization in programming is very important and if everyone agreed on one method we'd probably all have a better time. But I think it's important to recognize the difference between a standard and a universal law.

8 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.