My own Upside-Down-Ternet

Pranks — trick on January 27, 2008 at 21:46

So after reading about the Upside-Down-Ternet (particularly after seeing it featured on XKCD,) I couldn’t resist. After a few discussions at work, we decided that it would be a bad idea if we actually hijacked the company’s proxy and did this. The thought of 200-some people all calling IT for support help (and support in turn recommending that they all reboot their computers) would be so funny that we all might die of suffocation from laughing so hard. Then again, it might be a good way to go…

Regardless we had to do this. We needed to get someone. So I decided that I’d set up a proxy on my workstation, and have it ready for a devious day.

To prepare, I needed to set up squid and get familiar…it’s been several years since I’ve set up & run a squid proxy.  A quick setup of squid 3 on my router box here at home wasn’t much work at all, and before long I had a running proxy. Hacking in a url redirector script isn’t hard, either. Next step will be to set it running on my box at work!  Let the mischief begin(*evil grin*)

So as a variation on the original, which made me laugh (and I hope makes you laugh,) I give you Swirl-Ternet:

Swirl-Ternet

Hopefully in a week or two I’ll get a few co-workers with this and see how much trouble I can get into!

Lesson in Programming: Why those /* (funny) */ comments are so important

Complete Sarcasm, Banshee, Nifty, Life — trick on November 3, 2007 at 01:33

At work we always marvel about the comments we come across in our code. Indiana Jones stories that somehow get related back to the code by it, how tired the programmer was when writing the code, indications of the [lack of] sobriety of the programmer, random musings about various wildlife…you name it. There’s nothing better than finding a gem. Feel free to submit your own stories.

Actually, I take that back. There is! Discovering your own gems!

So this isn’t exactly code, but it really got me. When I upped to GNOME 2.20, I noticed my task list applet had some gibberish on the right-hand side of it. Strange, eh? Perhaps some sort of bug, perhaps? Naw, something that obvious would’ve been spotted a long time ago. I’ve done something strangely, I was sure of it. As always, a visual is best [red indicates my thoughs at the time…]:

Task Selector: Hmm….

It took me a few weeks of not being able to read such small text and not bothering to even try to before I even thought twice about it. It’s scary. It’s new. It’s something. It’ll go away. Or I’ll figure out what it’s there for.

Ah hah! All it took was a few drinks, and it all made sense. Those must be workspace names! But…uh…gosh, those are strange names when you manage to look close enough to read them. “comes after 11″ — who the hell named these things?!

Yep, that’d be me. Guilty as charged.

Workspace Switcher Prefs - Hah

And I remember. Years ago. Naming my workspaces because “Workspace {1..4}” simply was unacceptable to me. But there was no good reason to stick a proper name on the workspace anyway, so I didn’t. I bet I childishly giggled to myself while writing those. But now it seems they’re used. And I’m laughing even more. Yep. Gem discovered.

Moral of the story: It’s better than finding $20 in your back pocket!

For those of you who can count, what /is/ after 11? I could never figure it out.

[but then I looked it up on Wikipedia…lo and behold!]

/* note to reader: it’s the american dream! [eddie izzard] */

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | Patrick “Trick” van Staveren