Stop the presses!

August 23, 2008 under curios

Slow news day.

I’ve always maintained that beardliness is next to Godliness, but this verges on the ridiculous. Oh wait… Wayne Gretzky suggested it? Then it must be newsworthy.

Now, I have a vested interest in beards. Beards are important; they’re an important part of what it takes to be a man in the modern world, sported or unsported. Take it as a testimony to beards that they play a role in every man’s life; it doesn’t matter whether that role is making him hairy or forcing him to shave every day. That being said, it takes guts to wear a full beard in North American culture, and the choice carries with it a certain degree of discrimination.

It’s Mike’s prerogative to wear a beard; it shouldn’t matter whether it’s just for the playoffs or for a lifetime. The media, if they say anything at all,  shouldn’t say anything more than, “That is a fine looking man with a fine looking beard. It certainly is refreshing to see a man exercising a man’s prerogative.”

Keep it up Mike.

comments: 0 » tags:

Look who’s talking

August 16, 2008 under Uncategorized

bbc news headline

Gee, setting an international precedent for pre-emptive invasions seemed like a good idea at the time.

comments: 0 » tags: ,

Mmm, Mmm. That’s Tasty.

August 13, 2008 under curios

Spam is getting really, really good.

My Gmail account has recently been receiving spam titled, “CNN Alert” with a headline attached. The headlines seem to be genuine. I only get one per day.

It meets the definition of spam (commercial, unsolicited, bulk) but I’m not sure exactly *what* it is. Either someone typo’d their email address and their daily notifications are being sent to me, or a spammer is filching daily headlines and pretending to be CNN.

I’d like to think it’s a typo, but it’s probably a spammer. This is top quality spam; the only way I can know for certain is to open one of the e-mails. We all know I’m not going to do that, but it’s still tempting. It’s particularly tempting because if these emails are CNN alerts, I’ll be able to opt-out of them, and get them to stop.

To recap:

  • One per day… adds legitimacy. Brilliant!
  • Real headlines… easy to steal, impossible to flag as spam. Brilliant!
  • Posing as a service you could opt out of if you opened the e-mail… Brilliant!
  • Posing as a service with real value (daily news) … Brilliant!

Sure it’s spam, but it’s well-done spam, and they’ve drained the fat. Now, does anyone have any wheat bread? Perhaps a couple of eggs?

comments: 0 » tags:

Happy “You can make me work but you can’t make me productive” day!

August 9, 2008 under Uncategorized

This is my favourite holiday! It comes along only on:

  • The Thursday before a long weekend (Friday)
  • The Tuesday after a long weekend (Monday)
  • Any day of the week that has a mid-week holiday
  • Monday
  • Friday
  • Any day your boss is on vacation
  • Any day an immediate colleague is on vacation
  • Any day you *should* be on vacation
  • Any day you don’t feel well
  • Any day after you’ve put in overtime
  • Any day the weather is nice
comments: 0 »

Old timey movie review: The Giant of Marathon

August 3, 2008 under Uncategorized

Who knew that groundbreaking body builder Steve Reeves spawned the “sword and sandal” genre of film with the 1958 Italian film, “Hercules”?

Well, if you were watching sword and sandal films in 1958, you probably did know that. For the rest of us, it’s news, okay?

“Hercules”, by the way, is now in the public domain and is available from the internet archive. Who knows, it might be featured on an old timey movie review near you.

“The Giant of Marathon” is also in the public domain, and it can be located at certain dollar stores along with many other public domain films. Don’t buy it. Please, please, please, don’t buy it. It’s 33c and it’s not worth the money.

This one is not a winner. This one does not contain valuable cultural education. What this one contains is a body-builder in a loincloth and a reasonably pretty girl in a robe. Now, don’t mistake me; there’s nothing wrong with this, but there’s something terribly flawed with the idea that this is *all* a film needs.

This one is a throwback to the era where films had *stars* and not actors; where stars played roles written for them. Hmm… I wonder what kind of role is written for a body-builder? Does it have another dimension?

This film could still be saved for the modern viewer, except for the fact that stage fighting and special effects have come a long, long way since 1958. I haven’t seen “300“, but I imagine that if you took all the action scenes out of it, you’d get a film similar in quality to “The Giant of Marathon”. It’s an action film, and when the action fails to take, there’s not much left but a beefy guy in a toga. Who can’t act.

Ladies and Gentlemen, I give to you, “The Giant Bust of Marathon”

comments: 0 »

It’s time to ban the internet

August 2, 2008 under technical

Today I wrote a piece of evil code.

Now, I’ve been known to write shoddy code, buggy code, broken code and naive code, but this was none of these. It was thought out, tested, worked as advertised and was reasonably complicated.

For the record:

//This is a block of evil code that ignores good programming style and design and will cause future programmers headaches.

//The code accesses the private member of a class, breaking encapsulation for the sake of convenience.

Class myClass = someoneElsesObject.getClass();
Field privateDoNotTouchField = myClass.getDeclaredField("doNotTouch");
privateDoNotTouchField.setAccessible(true);
Object myValue = privateDoNotTouchField.get(someoneElsesObject);
privateDoNotTouchField.setAccessible(false);
MyRealObject mro = (MyRealObject)myValue;

Evil code, yes… but not particularly unique. This code can be found without much difficulty, scattered all over the internet. In fact, after I had written it, the comment I received from a colleague was, “Did you use that reflexive technique for accessing private members that’s scattered all over the internet?”

Yes, yes I did. And so, I’ll wager, have many other people. This is why we must ban the internet. It is an example of a larger situation which itself is indicative of a greater problem.

If you throw “<programming language X> tutorial” into google, you will be inundated with millions of pages that have to do with learning language X. You will find many many tutorials that do indeed teach you how to program in language X. You may even read these tutorials and learn how to program language X.

And then you will go write evil code of the approximate quality above. Or worse. You can learn how to write C code without ever learning about a buffer overflow; you can learn to set up a website without ever learning about SQL Injection and XSS attacks.

Why? Because you learned from the internet. The internet is remarkably good at providing you with information, but remarkably poor at telling you which information is relevant, helpful, and worth knowing. The catch-22 here is that if you are learning something on the internet, you don’t know anything about it. That’s why you’re learning it.

You are floundering at the mercy of whatever google serves up, good or bad. If it’s bad, you won’t know, because you aren’t qualified to figure that out.

To put it another way,

THE INTERNET ALLOWS YOU TO BE FULLY INFORMED, ON A SUBJECT YOU KNOW NOTHING ABOUT.

Lets ban it. Ban it now, I say. This is why I hate computers.

Teamwork

August 2, 2008 under technical

US Relay Headline

Look, a member of a team left his colleagues hung out to dry due to a poor personal decision.

Take care of yourself, take care of the team… It’s a delicate balance, but it is a balance, and the two activities are very closely linked. Teamwork means giving up personal control of some things, such as whether or not you want to use performance-enhancing drugs.

Many software teams have learned this lesson the hard way: it’s not enough to ask someone “Are you fast?”. You also have to find out whether or not they’re a bone-head.

comments: 0 » tags: ,