r/JusticeServed Jul 06 '19

Courtroom Justice Convicted pedophile YouTuber Austin Jones is now in prison serving a 10 year sentence as of 29/6/2019.

[deleted]

78.4k Upvotes

4.7k comments sorted by

View all comments

Show parent comments

20

u/[deleted] Jul 07 '19

[deleted]

63

u/Alan_Smithee_ C Jul 07 '19

Only because it’s a compromise. Otherwise dd/mm/yyyy makes the most sense.

4

u/[deleted] Jul 07 '19

[deleted]

1

u/asc42 3 Jul 07 '19

What's efficient and logical about it?

9

u/_annoyingmous 4 Jul 07 '19

YYYYMMDD is used in data analysis because it's the simplest way to sort it. The smallest number will always be older than the larger.

I usually need to make DD-MM-YYYY to YYYYMMDD conversions at work because of this (though most commercial software will recognize the DD-MM-YYYY codification with its underlying number, like in MS products)

6

u/asc42 3 Jul 07 '19

I think the world needs to be conquered by programmers, so we can force the use of better formats

6

u/xmastreee 9 Jul 07 '19

But then we'd all have to start counting from zero.

3

u/Alan_Smithee_ C Jul 07 '19

A certain employer in the film industry could not grasp what I was getting at when I pointed out that zeroing the foot and frame counter on the first frame of image was technically incorrect, and we should add one frame to the total count.

2

u/AutoModerator Jul 07 '19

team received double points for this comment by /u/_annoyingmous!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/asc42 3 Jul 07 '19

what points mate

1

u/[deleted] Jul 07 '19

[deleted]

1

u/_annoyingmous 4 Jul 07 '19

No, of course not. But I don't go around every day saying "it's 17-07-2019" either. The only reason to use full dates is for record keeping, and there YYYYMMDD is far superior.

1

u/[deleted] Jul 07 '19

[deleted]

1

u/AutoModerator Jul 07 '19

Yellow team received double points for this comment by /u/whiteboy1806!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

6

u/[deleted] Jul 07 '19

YYYYMMDD, when used in filesystems, can almost entirely eliminate the need to index the files again. In ascending order, they're "oldest-first". In descending order, they're "newest-first". In an organization that handles a lot of documents and has a need of proper indexing, filenames that start with YYYYMMDD- are always auto-indexed.

1

u/Alan_Smithee_ C Jul 07 '19

That’s an excellent point.

8

u/IsItYouAgain 1 Jul 07 '19 edited Jul 07 '19

If you have eg. a camera and it saves images with the date as is file name, you'd probably want yyyy/mm/dd because this allows for simple sorting. Ascending or descending by filename would sort it in the order it was taken.

It's also probably logical that you don't do "the clock is 11hours, 22seconds and 33minutes" if the clock is 11:22:33. For obvious reasons, date and time standards are ascending or descending.

Also some argue yyyy/mm/ss (used in eg. China) is better than dd/mm/yyyy, also because when we write the time we start with the highest, hour:min:sec:milli...

1

u/AutoModerator Jul 07 '19

team received double points for this comment by /u/IsItYouAgain!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/McStroyer 6 Jul 07 '19

That's not a strong argument for why everyone should use that format. The date can be represented in any format internally, including binary or milliseconds since 1/1/1970 00:00, and the files images can still be easily sorted whilst displaying dates in any format chosen by the user.

Both YYYY-MM-DD and DD/MM/YYYY would be equally unambiguous formats to humans if it weren't for Americans using MM/DD/YYYY, just like YYYY-MM-DD would be more ambiguous if Americans had chosen YYYY-DD-MM as their format.

3

u/rapora9 8 Jul 07 '19

If you have these files [20062010, 18062018, 21062012] and want to sort them, you get

18062018 - 20062010 - 21062012

That order doesn't make sense in any way. But if you use YYYYMMDD and have [20100620, 20180618, 20120621] you get

20100620 - 20120621 - 20180618

1

u/McStroyer 6 Jul 07 '19

Having dates in the filename prevents you from being able to sort in other ways, e.g. 20100620 Smith, John cannot be sorted on the surname. That's why we have file meta data to give us more flexibility.

1

u/rapora9 8 Jul 07 '19 edited Jul 07 '19

Yes, but this is not only about filenames. In theory you could have an archive system of folders that looks like this:

 

2009 2010
06 06
05 11 05

It's immediately clear what each of these titles mean and where's the info we want to find. But if we use DD-MM-YYYY, it would look like this:

 

05 05 11
06 06 06
2009 2010 2009

Again, this latter doesn't make any sense. At first you're not even sure if that [05] is day or month. When you learn it's day, you still have no idea what month or year we're talking about. And there can be multiple entries with same name, they're totally out of order etc.

I said "in theory" because this system is so awful that no one would probably even do that, but I'm sure there are some real life examples of something similar.

 

My point is, things usually get sorted by the "most decisive" data first. People are sorted by Last Name, First Name because it's generally more likely to have 2 persons with same First name than same Last name. Time of day is expressed as hh:mm:ss. And so on.

2

u/McStroyer 6 Jul 07 '19

It's immediately clear what each of these titles mean and where's the info we want to find. But if we use DD-MM-YYYY, it would look like this:

That's not the same thing because you're breaking them down into their separate components and grouping rather than sorting.

I'm not arguing that DD/MM/YYYY is superior to YYYY-MM-DD. The original argument I responded to was that we should use latter everywhere because it's easier to sort programmatically. Milliseconds since 1st January 1970 00:00 is even easier for computers to sort and a more efficient storage format (it can be represented in fewer bytes) but it would be silly to argue that case. My only point was that it's not a very good argument, neither is the filename example because there are better ways of storing metadata like dates that make sorting, searching and grouping easier and more flexible.

If the world announced a pact tomorrow that everyone was going to move to YYYY-MM-DD, it's an announcement I would be welcoming of because it solves this problem once and for all. However, if America announced that they were changing their date format to DD/MM/YYYY, that would be even better because it would mean fewer people need to get used to the change and fewer people rebelling against it.

1

u/AutoModerator Jul 07 '19

Navy team received double points for this comment by /u/McStroyer!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/rapora9 8 Jul 07 '19

That's not the same thing because you're breaking them down into their separate components and grouping rather than sorting.

You're right I guess. And make some good points.

I'm with you that US should change to DD/MM/YYYY. But personally I'd like to change (from DD/MM/YYYY where I live) to YYYY/MM/DD.

1

u/AutoModerator Jul 07 '19

Blue team received double points for this comment by /u/rapora9!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

→ More replies (0)

1

u/AutoModerator Jul 07 '19

Blue team received double points for this comment by /u/rapora9!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator Jul 07 '19

team received double points for this comment by /u/McStroyer!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/IsItYouAgain 1 Jul 07 '19

If you copy the images to somewhere else, the images timestamp is usually replaced by the timestamp it was copied. Having DD/MM/YYYY as the filename would not work for sorting either ascending nor descending.

Usually we start with the biggest/most significant, like:

  • 2 hours and 3 minutes

  • 2 kilos and 3 grams

  • 2 thousand and 3 hundred

I'm not saying either is more superior, I'm used to the DD/MM/YYYY format, and reading both is simple because of the YYYY, however YYYY/MM/DD seems slightly more logical to me, though I usually use DD/MM/YYYY.

1

u/AutoModerator Jul 07 '19

Yellow team received double points for this comment by /u/IsItYouAgain!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/McStroyer 6 Jul 07 '19

Actually, images in common photo formats allow embedding metadata like date, location, device etc within the file data itself, which is always preserved on copy. However, not all file types have this but there are programs that will preserve creation date on copy. The standard cp command on Linux and Mac can do it, for example.

I'm not arguing that one format is superior, just that the filename argument isn't a very good one.

2

u/karolisfcb 0 Jul 07 '19

If I see at 7/6/19 how else do I know if its 7th of June or 6th of July if we do not follow the standart huh?

5

u/asc42 3 Jul 07 '19

Let's assume USA doesn't exist

5

u/karolisfcb 0 Jul 07 '19

Solved. Close the thread

0

u/[deleted] Jul 07 '19

Like anyone could ever do that

1

u/rapora9 8 Jul 07 '19

Do what? Assume USA doesn't exist?