fun

What are your favorite programming magazines?

Duplicate http://stackoverflow.com/questions/40346/coding-magazineshttp://stackoverflow.com/questions/129249/which-magazines-would-you-recommend-for-good-quality-developer-tips-and-articlehttp://stackoverflow.com/questions/149260/whats-a-good-programming-magazine-to-subscribe-to At my desk I usually have 2 or 3 magazines sitting ar...

what are your favourite 404 error messages?

I've seen a BSOD one.. a haiku one.. some are hilarious. Ones specific to websites I'm talking about. Any other gems floating around? ...

What is your preferred pastime programming project?

By pastime programming project, I refer to any programming you do that's in your spare time and not work-related per se, although what is learned can be applied to work. I like using Processing to create generative illustrations. I do front-end web development for my work, and as you may have guessed, find it far less interesting. I am ...

What is the output of this program, and what does it return to the OS ?

It's kind of a C puzzle. You have to tell if the program finish its execution, if so, how much time it takes to run and what it returns to the OS. static unsigned char buffer[256]; int main(void) { unsigned char *p, *q; q = (p = buffer) + sizeof(buffer); while (q - p) { p = buffer; while (!++*p++); } return...

What are some humorous tech-related podcasts?

I like SO's podcast because it has some humor. Similarly youlooknicetoday.com is funny... and is just vaguely tech-related. So I'm look for podcasts that are humorous and at least vaguely tech-related. Any ideas? Cheers! ...

Hit me with your worst shot.

Teller (of Penn and Teller fame) used to double- and triple-stack magic tricks for the pure sake of making it appear as though he was doing something totally mundane - like placing a ball under a cup. He'd do it by a string of crazy palmings, misdirections, and slight-of-hand... he was, in a way, obfuscating his obfuscations. On occasi...

Most amusing function / method / procedure names

Every so often while writing code you do a double take at the function you just made and realise you've just created a very stupid function name! It might be descriptive and accurate, but totally inappropriate, or it might be completely off topic due to a mind warp! What are the best, funniest, strangest or stupidest function or code na...

Prime number calculation fun

We're having a bit of fun here at work. It all started with one of the guys setting up a Hackintosh and we were wondering whether it was faster than a Windows Box of (nearly) same specs that we have. So we decided to write a little test for it. Just a simple Prime number calculator. It's written in Java and tells us the time it takes to ...

Juggle between programming jobs and hobby project ? How to do it ?

If you are a professional programmer and you have programming project for hobby or fun, how do you keep up your brain long enough? how do you manage your brain and time so that you can still work on your programming project at your weekdays/weekend spare time ? I work as programmer by day, I always want to build software for hobby,curre...

Is there a good K++ Kode editor for Klingon?

Ok, I know this is a strange question, but there is a "standard" (fan-wise at least) Unicode support for the Klingon alphabet, and since code can be written in Unicode with no problem, that means it is possible to write Kode with Klingon tokens( vars, function names, etc...). For the record I've written C++ in Japanese and it works, so ...

filling Bugzilla quip list

"Walking on water and developing software from a specification are easy if both are frozen." At the top of the Bugzilla page it prints a humorous/insightful quip. I have a list that I have been building up over the years as I encounter good one liners To brighten up my fellow developers days. What source did you use to fill your Bugzill...

What are the worst metaphors in computer science and engineering?

We recently had this question about our favorite metaphors, but in my experience, whether we like them or not, the Computer Science/Engineering field is full of metaphors that range wildly in appropriateness. For example, although it never bothered me, I had a computer science professor in my undergrad days who hated the word "partition...

What is the most ridiculous pessimization you've seen?

We all know that premature optimization is the root of all evil because it leads to unreadable/unmaintainable code. Even worse is pessimization, when someone implements an "optimization" because they think it will be faster, but it ends up being slower, as well as being buggy, unmaintainable, etc. What is the most ridiculous example of...

Does Dilbert make you more productive?

My boss just sent me a Dilbert cartoon. It was a good one, so I saved it in my archive. While I was there, I noted there are 349 cartoons that I collected over the years. The Daily Dilbert is one of the things I look forward to in the morning. Our group enjoys them, and we have discussions about the truths behind them. It is a moral...

What interesting programming bugs have you seen?

Finding bugs is part of a programmer's lifestyle. But there are some bugs that are just plain weird and the solution to them are unintuitive. Post stories that has happened to you or someone else that involves these types of bugs. If you want, you can post links to great programming bug stories. One bug story per post but you can post ...

What set of build sounds do you use?

Applications like CCTray allow one to specify a sound clip to indicate that a build is successful or that a build failed. I'm interested to hear what set of sounds different teams are using. Here are two sets that we use: Homer Simpson: "d'oh" for a build failure, "woohoo!" for success Mario bros: power down sound for a build failure,...

How to cook turkey programatically?

It's Thanksgiving in the United States tomorrow. Please describe your favorite method of cooking turkey in the form of runnable code using your favorite language. For example in Java with java.utils.concurrency. ...

What video game makes you think the most like a programmer?

A lot of the games I play are pretty simple. I somewhat play video games for an escape, so I like to play hack 'n' slash games, hockey games, or shooters. I usually don't like video games that make me think to hard, but everyone once in a while I'll come across a game that I both enjoy and notice that my thought patterns are very similar...

Why are banking passwords so weak?

Out of interest and because it infuriates me, I was wondering if SOmebody here might happen to work for a bank or otherwise know the answer to this. I've used a few online banking sites (UK and N.America) and they universally enforce a password pattern of /[\w\d]{6,8}/ Sometimes, maybe you get to use underscore, but never ever do you ge...

Fun programming languages

What are some fun programming languages to learn and work with? I'm asking this for absolutely no practical purpose other than just to learn something new. So, what are some fun languages? I already know Python and C# so those don't count (although Python would probably be the first language I'd recommend). I've spent some time with ...