The Greatest Answer in the History of StackOverflow?
-
There is probably a good chance this was posted here before, since it's from 5 years ago, but, I'm a little slow and just found this today from a link on Twitter. Read the accepted answer for this question. Read the whole thing, it's brilliant! http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags[^] Any other great answers out there that people know of?
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup My code has no bugs, it runs exactly as it was written.
My favorite one is Shog's answer to the question about the difference between JavaScript and Java[^]:
Quote:
One is essentially a toy, designed for writing small pieces of code, and traditionally used and abused by inexperienced programmers. The other is a scripting language for web browsers.
-
There is probably a good chance this was posted here before, since it's from 5 years ago, but, I'm a little slow and just found this today from a link on Twitter. Read the accepted answer for this question. Read the whole thing, it's brilliant! http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags[^] Any other great answers out there that people know of?
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup My code has no bugs, it runs exactly as it was written.
Alexander Yee's explanation of why processing a sorted array is faster[^] (well, in that case). Not because it has many upvotes or even because I learned something from it (I didn't), but because it's one of those things that no one seems to know about but are very important anyway, and that answer makes it accessible to those people.
-
Why is that funny? Paris's work on the Ubuntu kernel is legendary! :confused:
Regards, Nish
Blog: voidnish.wordpress.com
Picture/Video or it didn't happen ;P
-
There is probably a good chance this was posted here before, since it's from 5 years ago, but, I'm a little slow and just found this today from a link on Twitter. Read the accepted answer for this question. Read the whole thing, it's brilliant! http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags[^] Any other great answers out there that people know of?
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup My code has no bugs, it runs exactly as it was written.
-
I like the answer one below....
Quote:
While it is true that asking regexes to parse arbitrary HTML is like asking Paris Hilton to write an operating system, it's sometimes appropriate to parse a limited, known set of HTML.
-
Picture/Video or it didn't happen ;P
No! Please, for gawd sake NO!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 42
//F*ckin outstanding. :)
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013I know of a lot of code that could use that.
What do you get when you cross a joke with a rhetorical question? --- The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. --- Do questions with multiple question marks annoy you???
-
Rickrolled!
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup The world is going to laugh at you anyway, might as well crack the 1st joke! My code has no bugs, it runs exactly as it was written.
-
I dunno, maybe Chuck Norris could have a crack at it ;P
V.
(MQOTD rules and previous solutions)This guy would probably delegate him to do it: :) Peter C.
-
Probably referring to the new Microsoft Paris Hilton Lens, written entirely in Microsoft new language PH#.
How do you know so much about swallows? Well, you have to know these things when you're a king, you know.
-
I dunno, maybe Chuck Norris could have a crack at it ;P
V.
(MQOTD rules and previous solutions) -
There is probably a good chance this was posted here before, since it's from 5 years ago, but, I'm a little slow and just found this today from a link on Twitter. Read the accepted answer for this question. Read the whole thing, it's brilliant! http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags[^] Any other great answers out there that people know of?
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup My code has no bugs, it runs exactly as it was written.
Quote: @Kent-Sharkey
Now we need a collection from CP
First someone needs to figure out how to make non-article content her visible over the long term. CP's forum archives have been invisible to Google for as long as I can remember (probably because performance is(was?) appalling); and I've never seen a QA when I Google something.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
There is probably a good chance this was posted here before, since it's from 5 years ago, but, I'm a little slow and just found this today from a link on Twitter. Read the accepted answer for this question. Read the whole thing, it's brilliant! http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags[^] Any other great answers out there that people know of?
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone - Bjarne Stroustrup My code has no bugs, it runs exactly as it was written.
-
Alexander Yee's explanation of why processing a sorted array is faster[^] (well, in that case). Not because it has many upvotes or even because I learned something from it (I didn't), but because it's one of those things that no one seems to know about but are very important anyway, and that answer makes it accessible to those people.
Oh, I love that answer. Indeed, it's something kind of obscure and many people (like me) never suspected it, however it makes a tremendous impact on execution speed. And it's a very complicated issue explained in very simple words. Simply brilliant.
Sore wa ore no nindo da!
-
Visual PH# Studio 2015 SP3 to be released with three editions: Ultimate, Professional, and Express[ly Irritating].
PH#, it's pronounced: Pee Ache Ow! I cut myself!
-
//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 42
//F*ckin outstanding. :)
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013I have to admit, I started to look for the code JUST to see if I could optimize it :-)))) I think I have a character flaw!