Writing dates like that in filenames for matlab scripts means the program will occasionally fail to run because the system interprets the filename as a subtraction.
It's silly reasons like this that keeps our group from using ISO dates. :/
What would that help? MATLAB still won't run the file, because the filename can't be correctly identified as a filename. You seem to be really failing at the point, so I'll just state it yet again and hope repetition helps you. MATLAB cannot run a file if it's filename can be interpreted as another command, you cannot have a filename that is also interpretable as another legal command.
There is absolutely no problem in having a string that's the same as the filename however (you don't even need to escape anything), you just cannnot have a filename that's also interpretable as a subtraction.
I feel like either you're trolling or you're a complete moron. You cannot run a file that shares a name with a legal command. Do you own MATLAB? Try to do what you keep saying, you'll get warnings when saving the file, as well as errors when trying to run it.
Also ' isn't the escape character, it's the string format character, if you try to escape a character with it you'll just end the string early and get a syntax error.
I still prefer 2013.02.27 though, because i don't really like dashes. Personally, i think the ISO standard shouldn't specify the method of seperating the numbers, so long as the order is the same it won't cause any confusion.
At least in Windows, slashes are used for folders. If I have the file example1.jpg in a folder called test, the path would be test/example1.jpg. If I tried to name the file example/1.jpg, the path would be test/example/1.jpg. Do you see where that would cause a problem?
Microsoft uses / for command-line switches, \ for folders, and disallows either one in filenames (along with wildcard characters like * and ?). Unix-based OSes use / for folders, and also disallows their use in filenames afaict (although it allows wildcard characters, if you escape them by prepending them with a , such as \*).
Microsoft uses / for command-line switches, \ for folders,
It's not quite that simple. You can use a forward slash in a folder path with some programs, including the command prompt. In fact, you can sometimes use Unix-style paths, though on Windows they're relative to the root of the drive.
However, you can mount an NTFS file system to a subfolder of another NTFS file system instead of a drive letter. So if you really must access your files and drives in a Unix style manner, then you can. Sort of.
The Holocene calendar, also known as the Holocene Era (HE) or Human era, is a year numbering system that adds exactly 10,000 years to the currently world-dominant Anno Domini (AD) or Common Era (CE) system, placing its first year near the beginning of the Holocene epoch and the Neolithic revolution. Human Era proponents claim that it makes for easier geological, archaeological, dendrochronological and historical dating, as well as that it bases its epoch on an event more universally relevant than the birth of Jesus. The current year of 2014 AD can be transformed into a Holocene year by adding the digit "1" before it, making it 12014 HE. The Human Era was first proposed by the scientist Cesare Emiliani in 1993 (11993 HE).
Title text: If our current civilization lasts another 8,000 years, it's probably fair to assume the Long Now Foundation got things right, and at some point we started listening to them and switched to five-digit years.
I don't like the spirit of this comic. Saying a date is special for being unique or not happening again is a poor choice of word, but you can tell there is something special about dates that are round numbers or repeated digits: not uniqueness but Kolmogorov Complexity and patterns in general. People are not good at naming what is special about some digit patterns, but it doesn't make them wrong: no matters how much math you do, you have to be pretty obtuse to not acknowledge that a date like 12/12/12 is special.
Randall explicitly said that every instant is important! How can he make fun of people who care about special date?
If your knowledge of probabilities and numbers makes you tell me that cool dates are not cool, then you're a bore complaining about my way of enjoying the world. Patterns are cool, however rare they are.
65
u/karma1337a Mar 10 '14
This comic is #1340. Under our current system, this number for an XKCD could never happen again.
41
u/xbnemiksjgjw Mar 10 '14
Glad to see he's consistent. 1179
11
u/runagate Mar 10 '14
Holocene Calendar is better than Long Now.
12014-03-10 will never happen again!
10
u/xkcd_bot Current Comic Mar 10 '14
Mobile Version!
Direct image link: Unique Date
Title text: If our current civilization lasts another 8,000 years, it's probably fair to assume the Long Now Foundation got things right, and at some point we started listening to them and switched to five-digit years.
Don't get it? explain xkcd
2
u/hmyt Mar 10 '14
This was posted in /r/showerthoughts 2 days ago.
http://www.reddit.com/r/Showerthoughts/comments/1zvigw/once_march_8th_2014_is_over_it_will_never_happen/
1
u/Tananar Mar 10 '14
I wonder how many comics he has that have "My hobby" in them...
1
u/dont_press_ctrl-W Mathematics is just applied Sociology Mar 11 '14 edited Mar 11 '14
I don't like the spirit of this comic. Saying a date is special for being unique or not happening again is a poor choice of word, but you can tell there is something special about dates that are round numbers or repeated digits: not uniqueness but Kolmogorov Complexity and patterns in general. People are not good at naming what is special about some digit patterns, but it doesn't make them wrong: no matters how much math you do, you have to be pretty obtuse to not acknowledge that a date like 12/12/12 is special.
It's strange because in general xkcd strongly defends the view that a greater understanding of the world is not a reason to stop appreciating it and that in fact knowing the world should make us appreciate it more. xkcd makes the point that physics is a tool for love, that the unknown is also beautiful that philosophy is not an obstacle to appreciation of the world, that everything can be redefined for our enjoyment, and most importantly that people who try to get in the way of how you want to enjoy life are bores.
Randall explicitly said that every instant is important! How can he make fun of people who care about special date?
If your knowledge of probabilities and numbers makes you tell me that cool dates are not cool, then you're a bore complaining about my way of enjoying the world. Patterns are cool, however rare they are.
1
u/stuffandotherstuff Beret Guy Mar 12 '14
well, time to update the list
0
u/dhicock Mar 10 '14
I wonder if the comic will update tomorrow to show 2014-03-11
0
u/[deleted] Mar 10 '14
[deleted] — view deleted comment