Search found 8 matches

by Smylers
Fri May 15, 2015 10:00 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1525: “Emojic 8 Ball”
Replies: 125
Views: 29057

Re: 1525: “Emojic 8 Ball”

It might have been a good idea if he'd used a downloadable font which had the emoji in it, then they would have worked for everyone... But because he didn't, I now have emoji working everywhere, thanks to dash's suggestion of the ttf-ancient-fonts package. If Randall had used an emoji-containing we...
by Smylers
Tue Oct 15, 2013 9:07 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1277: "Ayn Random"
Replies: 534
Views: 80375

Re: 1277: "Ayn Random"

My personal take on the regex alt-text. I don't know what the backspace ( \b ) [is] for. In Perl-compatible regular expressions, \b doesn't signify backspace, but word boundary — see the PCRE documentation . Original regex: /(\b[plurandy]+\b ?){2}/i Modified regex: ([plurandy]+ ?){2} Without the \b...
by Smylers
Mon Oct 14, 2013 11:59 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1277: "Ayn Random"
Replies: 534
Views: 80375

Re: 1277: "Ayn Random"

It looks like the comic's title text is missing some backslashes. /( \ b[plurandy]+ \ b ?){2}/i would make a lot more sense. Agreed. But, what does it match that is of interest? I guess it matches all those listed in the cavern. Exactly. The corrected version matches two words, containing only the ...
by Smylers
Fri Mar 01, 2013 1:31 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1179: "ISO 8601"
Replies: 379
Views: 98701

Re: 1179: "ISO 8601"

I don't mind them going from larger to smaller or smaller to larger. So both dd/mm/yy and yy-mm-dd are fine by me. But dd/mm/yy (or even dd/mm/yyyy) isn't going from smallest to largest. In yyyy-mm-dd the eight digits are descending, thus: 8765-43-21. But in dd/mm/yyyy they go 21/43/8765. Because i...
by Smylers
Fri Mar 01, 2013 1:24 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1179: "ISO 8601"
Replies: 379
Views: 98701

Re: 1179: "ISO 8601"

Oktalist wrote:
Spoe wrote:ISO defines 4 digit years as a minimum length. It allows for longer years.

You still have to add leading zeroes to all your old dates to maintain proper sorting.

Or use ls -v, which will cope with numbers that have different numbers of digits in them.
by Smylers
Thu Feb 28, 2013 11:16 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1179: "ISO 8601"
Replies: 379
Views: 98701

Re: 1179: "ISO 8601"

cwolves wrote:this is the wrong way to way to write a date. Why? because some implementations of common languages (such as JavaScript) won't parse `2013-02-26`


Which implementations?

JavaScript's Date.parse() is defined as accepting an ISO 8601 date.
by Smylers
Thu Feb 28, 2013 9:34 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1179: "ISO 8601"
Replies: 379
Views: 98701

Re: 1179: "ISO 8601"

...I'm in the USA) ... any explanation on 1330300800? Unix timestamp for 2012-02-26T16:00 [1] 2012-02-27? [1] GNU date interpreting input date in local and outputting UTC? Isn't it actually doing the opposite of that? date by default uses your local timezone (for both input and output). But in this...
by Smylers
Wed Nov 16, 2011 12:42 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0978: "Citogenesis"
Replies: 179
Views: 60659

Re: 0978: "Citogenesis"

[citation needed] In all seriousness though, I would like to see some concrete examples of this happening. Not that I don't believe it I just find it quite interesting and wonder how common it actually is. When TV theme composer Ronnie Hazlehurst died, several news outlets included the fake ‘fact’ ...

Go to advanced search