Search found 31 matches

by prosfilaes
Fri Jan 10, 2014 4:25 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1312: "Haskell"
Replies: 70
Views: 21849

Re: 1312: "Haskell"

So, worse pattern matching, less helpful type semantics, and uglier and more wasteful syntax. I could have used pattern matching, but I felt it was a bit overkill. With pattern matching it would be: def fac (x:Int): Int = x match { case 0 => 1; case _ => x * fac (x - 1) } As for syntax, that's up t...
by prosfilaes
Thu Jan 09, 2014 9:36 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1312: "Haskell"
Replies: 70
Views: 21849

Re: 1312: "Haskell"

...and other semantically irrelevant lines of code. The problem is, I get all of that with Scala, One example from my link above: fac 0 = 1 fac n = n * fac (n-1) Can you show us the equivalent code in Scala? def fac (x : Int): Int = if (x == 0) 1 else x * fac (x - 1) The Int being there because the...
by prosfilaes
Mon Jan 06, 2014 6:47 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1312: "Haskell"
Replies: 70
Views: 21849

Re: 1312: "Haskell"

This is silly. Haskell is one of the best programming languages around and a wonder to work with because you're focused on problem solving instead of introducing loop counters, indices and other semantically irrelevant lines of code. The problem is, I get all of that with Scala, plus the ability to...
by prosfilaes
Fri Jul 26, 2013 1:27 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1242: "Scary Names"
Replies: 111
Views: 29444

Re: 1242: "Scary Names"

In case anyone's feeling relaxed about fission power, they could look up what happened to SL-1, and marvel that the damage wasn't worse. So far this year, 100 people have died in coal mining accidents, and in the US alone, 1,000 people die a year of coal miner's pneumoconiosis. (Yes, uranium has to...
by prosfilaes
Thu Mar 14, 2013 9:47 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1185: "Ineffective Sorts"
Replies: 180
Views: 67299

Re: 1185: "Ineffective Sorts"

The main thread then waits for all the background threads to finish before allowing the script to exit. It will work, and it will run in O(N) seconds where N is the maximum number in the list. It's still a O(n log n) algorithm, as deep in the kernel it's dumping these into a priority queue (that is...
by prosfilaes
Thu Mar 14, 2013 9:05 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1185: "Ineffective Sorts"
Replies: 180
Views: 67299

Re: 1185: "Ineffective Sorts"

I've had a few situations where BubbleSort was actually the fastest of the sorts we tested. The explanation is that sorts are conventionally judged solely on their speed at sorting randomly-ordered data. But in the real world, some kinds of data start out with some internal order. If that's close t...
by prosfilaes
Mon Jan 21, 2013 5:31 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1160: "Drop Those Pounds"
Replies: 67
Views: 15012

Re: 1160: "Drop Those Pounds"

According to Merriam-Webster.com, it's pronounced with a hard T (treh - byou - SHET); although since the word is of Anglo-French origin I don't think anybody's going to pin you to a wall if you spell/pronounce it in the French manner — trébuchet (treh - byou - SHAY). If it's Anglo-French, then it w...
by prosfilaes
Mon Jan 21, 2013 5:20 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1162: "Log Scale"
Replies: 135
Views: 31129

Re: 1162: "Log Scale"

For truly large numbers, this method doesn't even come close to being useful. Truly large numbers don't come close to being useful. The ratio of the width of a proton to the width of the universe is a mere 5 * 10^41. Even cubed, that's still only 10^125. ln* (10^125) is 4. So for any number that co...
by prosfilaes
Fri Jan 04, 2013 10:19 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1156: "Conditioning"
Replies: 81
Views: 21198

Re: 1156: "Conditioning"

There's a story about an MIT student who every day all summer would spend an hour on the Harvard football field in striped black and white shirt blowing a whistle and throwing birdseed. Thus when the referee went out on the field and blew his whistle the first game of the year, Harvard-Yale, it took...
by prosfilaes
Fri Jan 04, 2013 10:13 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1155: "Kolmogorov Directions"
Replies: 144
Views: 25853

Re: 1155: "Kolmogorov Directions"

Assuming Lexington Ave in NYC, or even Lexington, MA, seems parochial when there is the much more nationally prominent Lexington, KY to be the more obvious referent. Much more nationally prominent? The 63rd largest city in the US, versus the city it's named after that had the first battle of the Am...
by prosfilaes
Fri Dec 28, 2012 12:49 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1152: "Communion"
Replies: 124
Views: 24786

Re: 1152: "Communion"

It's interesting to me how it is only cool to be completely insensitive about Christian's religions. Would this comic still be OK if it portrayed Jumu'ah in this light? Or perhaps another topic. Like racial equality. I don't see why people can't draw boundaries. This comic is offensive in all the w...
by prosfilaes
Mon Jul 02, 2012 7:49 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1071: "Exoplanets"
Replies: 176
Views: 51312

Re: 1071: "Exoplanets"

How likely is it to find a bot at the location you wanted to find one at? Again, evolution says nothing about finding a bot at the location you wanted to find one at. Given berries on a large enough island, evolution can tell you that it's likely that's something is eating them, but that something ...
by prosfilaes
Sat Jun 30, 2012 7:24 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1071: "Exoplanets"
Replies: 176
Views: 51312

Re: 1071: "Exoplanets"

"Solar System" has a meaning in English. The meaning is not "a group of planets orbiting a star". The word for that, again in English, is "planetary system". "Solar System", in English, is a proper noun referring to the planetary system that Earth is in. That...
by prosfilaes
Mon May 07, 2012 12:50 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1050: "Forgot Algebra"
Replies: 360
Views: 88144

Re: 1050: "Forgot Algebra"

This comic is wrong because: 1-Algebra is not fun. That's certainly not a universal truth. 2-Music, Cooking and Language are actually quite interesting and not boring at all. 3-I can use music to make something beautiful, cooking to make something tasty and foreing language to argue with foreing pe...
by prosfilaes
Mon May 07, 2012 12:17 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1050: "Forgot Algebra"
Replies: 360
Views: 88144

Re: 1050: "Forgot Algebra"

The way I read it, he's saying that being force-fed difficult concepts through pointless repetition If you don't learn difficult concepts in school, will you be prepared to attack difficult concepts out of school? You want someone to do hard things, you need to push them through the hard part at le...
by prosfilaes
Sat Feb 18, 2012 10:45 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1018: "Good Cop, Dadaist Cop"
Replies: 135
Views: 38880

Re: 1018: Good Cop, Dadaist Cop

What if an anarchist society finds a way to encourage people like you to preferentially kill each other? Your numbers might go down enough that the other kinds of people can get on with their lives. That might be more unlikely then a fully communist society working perfectly. All societies have to ...
by prosfilaes
Thu Dec 01, 2011 12:52 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0984: "Space Launch System"
Replies: 94
Views: 25486

Re: 0984: "Space Launch System"

So, getting a little pissy over the use of "Nazi" in today's comic. Werner was, technically, a member of the Nazi party, but only so they didn't kill him. He described himself as a patriotic German during the war, but only joined the Nazi Party under duress. Pretty much. The only way for ...
by prosfilaes
Fri Nov 18, 2011 10:55 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0978: "Citogenesis"
Replies: 179
Views: 62443

Re: 0978: "Citogenesis"

For example, "The Eiffel tower is in Paris": this means that the particular collection of subatomic particles** that form what we call the Eiffel tower is located within the bounds of the spatial region we call Paris. Defining exactly what particles form the Eiffel tower and what spatial ...
by prosfilaes
Wed Sep 07, 2011 10:32 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0944: "Hurricane Names"
Replies: 101
Views: 27815

Re: 0944: "Hurricane Names"

Shouldn't this strip have been made in late 2005? The joke would have been a lot more relevant then. We're in the middle of the second fastest developing hurricane season on record; we just developed a 14th tropical storm earlier than any time but 2005. Was 2005 the only time in the 20th or 21st ce...
by prosfilaes
Tue Aug 30, 2011 5:04 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0944: "Hurricane Names"
Replies: 101
Views: 27815

Re: 0944: "Hurricane Names"

Surely Cantor's diagonalization is flawed. Diagonalization would only work for a square set. (same number of rows and columns), but the sets of all possible combinations of a given number of items would be the number of options of each numeral to the power of the number of items - Anyway, an order ...
by prosfilaes
Tue Aug 30, 2011 2:45 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0944: "Hurricane Names"
Replies: 101
Views: 27815

Re: 0944: "Hurricane Names"

E_H, I don't know why you claim it's shaping up to be a below average storm season. If you sort by number of storms on the page you gave, 2011 is already at the middle of the pack, with the two big storm months yet to go. (24 out of 60 years had fewer tropical storms the whole year then we've had so...
by prosfilaes
Wed Jan 05, 2011 6:14 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0843: "Misconceptions"
Replies: 186
Views: 42341

Re: 843: "Misconceptions"

As for the glass as a slow-moving liquid, it just seemed wrong, if it was a liquid, shouldn't the glass conform to a new shape if you put enough pressure on it instead of breaking? I don't see why; if you put enough pressure on water--like someone doing a cannonball into the pool--it will break int...
by prosfilaes
Mon Dec 06, 2010 5:10 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0830: "Genetic Analysis"
Replies: 96
Views: 26694

Re: 0830: "Genetic Analysis"

rpgamer wrote:Fun birthday party game: Try to determine what holiday, if any, the individual was conceived on.


I have it on good authority I was conceived at a friend's Christmas Eve party.
by prosfilaes
Tue Apr 13, 2010 1:30 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0725: "Literally"
Replies: 139
Views: 35849

Re: "Literally" Discussion

BioTube wrote:if only because English has never differentiated between the voiced and unvoiced interdental fricatives, except in a "that sounds wrong" capacity


Teeth and teethe.
by prosfilaes
Tue Apr 13, 2010 1:18 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0726: "Seat Selection"
Replies: 112
Views: 27370

Re: "Seat Selection" Discussion

Given someone with that much prior experience couldn't land the plane, i think the answer to your question is probably "no". Even the most incompetent person could have stopped the plane from circling until it ran out of fuel, so most likely the flight attendant passed out in the pilot's ...
by prosfilaes
Thu Dec 17, 2009 7:23 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0675: "Revolutionary"
Replies: 256
Views: 53004

Re: "Revolutionary" Discussion

A very historical thing; note Augustus De Morgan's A Budget of Paradoxes, printed in 1872, about all sorts of new values for pi and disproofs of Newton's laws

http://www.gutenberg.org/files/23100/23 ... 3100-h.htm
by prosfilaes
Tue Sep 08, 2009 5:44 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0633: "Blockbuster Mining"
Replies: 161
Views: 32895

Re: "Blockbuster Mining" Discussion

Mr. Burke wrote: Also, if American means “citizen of the USA”, what do you call the inhabitants of all of America?


How about a New Worlder? Why do we need a name for someone who lives in one of two continents? What do we call the inhabitants of Eurasia? (Eurasians already has another meaning.)
by prosfilaes
Wed Jul 15, 2009 6:41 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0610: "Sheeple"
Replies: 511
Views: 99706

Re: Sheeple

One should take apart her message and her storytelling, though she fails on both - aguably on the first, undeniably at the second. No author fails at storytelling if they have an listening audience. Sure, you can take apart every author's storytelling, but the goal of most storytelling is fundament...
by prosfilaes
Wed Jul 08, 2009 3:37 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0607: "2038"
Replies: 108
Views: 27559

Re: "2038" Discussion

Yes, 2038 is such a calamity that we must all cower in fear from. Such a shame that every single itty-bitty diddums of a Mac & Linux running computer will be rendered obsolete by an oversight of binary. How ever will we survive such a catastrophe of civilisation as we know it? Along with millio...
by prosfilaes
Thu Jan 17, 2008 2:58 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0370: "Redwall"
Replies: 155
Views: 35109

Re: "Redwall" discussion

Old, cheap westerns are seen as "racist" because back when they were made, Indians were genuinely thought to be inferior. Well, no. They're seen as racist because one side, defined by race, wins and the other side, also defined by race, loses. No one in today's modern age thinks (or cares...
by prosfilaes
Tue Jan 15, 2008 2:35 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0370: "Redwall"
Replies: 155
Views: 35109

Re: "Redwall" discussion

Tyris and Cortle, I am not against deconstruction per say, only when it has the power to kill (or seriously cripple) beloved childhood memorabilia. As Triss Hawkeye says, those things don't matter when you're a kid, you don't notice all that shit. Well, exactly. On one hand, kids don't notice all t...

Go to advanced search