Not to be a grouch, but most of this seems puerile and borderline irresponsible to me. Source code should be concise and beautiful, not a repository for unfunny attempts at humor by programmers.
char program [1];/* Unwarranted chumminess with compiler. */
First by Dennis Ritchie in his regular expression implementation, and then subsequently copied with the comment intact into all other regular expression implementations ever written.
I hate the way SO only remembers you for a week or two, so when you return, you have to login, going to a separate screen and so on. Why do they have to make it so hard? What's the advantage in forcing frequent logins?
Yeah, I know I should find some other StackExchange site, go there, create an account there, login there, and post this complaint there - but you know, that's just more of the same problem. </rant>
There was a recent forced logout on all stack* sites due to changes in the way cookies are handled. If you haven't visited in a while, that could be the cause of it.
Er.. what? We can't reproduce this, and there are sites in the network I don't visit very often, too.
Please note we did force logout globally, network-wide in April 2010 (to mandate emails for Google GMail OpenIDs) and September 10th 2010 (to enable global auth for all users).
Also, we delete any sessions older than 4 months as a matter of course.
So if you visit VERY infrequently, you might run into one of those.
/**
* Today I'm getting discharged from the Army
* Don't have time to properly comment the code
* Call me if you have any questions: Name,054-XXXXXXX
*/
I once wrote a haiku to a particularly nasty bug where the offending line had been. I got a call years later when someone found it, they appreciated the humor.
Then someone who's perhaps a bit too clever for his own good can introduce a new script into the build process so it makes some changes after the file is generated.
loop
...
...
// sleep 10
sleep 7 // Changed from "sleep 10" on 11-19-05
// by jvj because Bruce in Buffalo bitched
// that it ran too long. Now he's happy.
// The next time he bitches, change it to
// "sleep 5". That oughta buy us another
// year before we have to rewrite it.
...
...
until done do repeat
49 comments
[ 72.2 ms ] story [ 265 ms ] threadif($_GET["action"] == "score") {//that's what she said
Yeah, I know I should find some other StackExchange site, go there, create an account there, login there, and post this complaint there - but you know, that's just more of the same problem. </rant>
(They may have fixed this recently, but it was like that for the longest time.)
Please note we did force logout globally, network-wide in April 2010 (to mandate emails for Google GMail OpenIDs) and September 10th 2010 (to enable global auth for all users).
Also, we delete any sessions older than 4 months as a matter of course.
So if you visit VERY infrequently, you might run into one of those.
Details:
http://blog.stackoverflow.com/2010/04/openid-one-year-later/ http://blog.stackoverflow.com/2010/09/global-network-auto-lo...
From the SO answer:
This seems to stop morons from messing my code...
// Autogenerated, do not edit. All changes will be undone.
http://stackoverflow.com/questions/184618/what-is-the-best-c...
Although I guess the punchline has come before the "joke"...
# I apologize for how messy this is. Blame it on an inconsistent database structure. I did the best I could.