Strictly rhetorical

A rhetorical question, more or less closer to a joke than to a question: If you were hired by Yahoo!, Google or MSN, would a free e-mail address (Yahoo/GMail/Hotmail) be part of the company’s benefits? Would you be demanding this?

If Canada wins from the US in a baseball game, does that mean all hope is lost for the US sports?

Posted in Hyperlinks | Comments Off on Strictly rhetorical

Varchars kill the integers

Iknow several professional applications that use varchar fields to store typically invoice and order numbers, just because it makes it easier to fill this field with non-numerical characters (for example when issuing credit notes and that).

This is pretty irritating on the part of indexing and sorting results: after all, which comes first when using alphanumerical sorting: ‘10001’ or ‘200-1’? Most likely, you’ll lose a lot of speed too: sorting (and comparing) integers goes a lot faster than comparing sets of characters.

Instead of declaring these types of fields varchars, consider making them integer fields: after all, adding dashes (and other non-numerical characters) can be easily made part of a formatting mask in the UI of the application: heck, most graphical UI have masked edit field controls (Win 32/.Net/KDE/Gnome).

Additionally, on typical transactional databases like Postgres and Oracle, (integer) sequences are created atomically [transaction independent], which can save you a lot more headaches than trying to generate a unique combination of characters in a multi-user environment.

Posted in SQL | 2 Comments

Dand—-

The other day when watching commercials, I came to the conclusion that one of most innovative products of the Eighties must have been ‘anti-dandruff’ shampoo. Think of it: when is the last time you have seen a commercial featuring a guy or a woman complaining about dandruff? I haven’t seen any, hence why the only conclusion can be that thanks to ‘Head and Shoulders’ a whole generation of X-ers has magically got rid of the evil of dandruff. (Dandruff at Wikipedia)

Or just maybe the shampoo industry has moved on to fight the hair insurgency, or rather, brought the fight to the dead-enders, strands and that.

Posted in xsamplex | Comments Off on Dand—-

to mesmerize, -ized, -izing

to mesmerize, – ized, -izing
v 1. To be in a deep daydream, or specifically, 2. To overthink the past events that may (or may not) have had a profound effect on one’s personal experiences or beliefs.
ex – Ms. Moneypenny was mesmerizing about mr. Bond.

Origin: The actual meaning of the word is described as ‘to hypnotize’, or the ‘state of being under a heavy spell’. I’m pretty sure, I’ve always used ‘mesmerizing’ in the context as explained above. In a way, I truly think mesmerizing should mean what is described under ‘2’, above. Maybe this may happen in another 20 years.

Earlier mentioned on xsamplex.

Posted in Neologic | Comments Off on to mesmerize, -ized, -izing

Pouring snow

“It is pouring snow”
coll. 1.A storm that appears to be dumping that much snow, that it is almost ridiculous.
ex. Today, the snow was pouring over the car.

Origin: Made up colloqual: when experiencing the first Nova Scotian snowstorm (which happened to last a couple of days) and seeing the snow accumulate to a 20 or 25 centimeters, I was not able to explain this behaviour in regular Dutch. See also, ‘freezing rain’ (another weather concept I was not familiar with until I actually seen it).

Pouring snow vs. freezing rain.

Posted in Neologic | Comments Off on Pouring snow

Something Awful

Hey! I can do that too!

F5 to continue

The cover reminded me of the game Nemesis. In this game, if you wasted your last ‘ship’, a dreaded message would appear asking if you wish to continue.

Posted in Hyperlinks | Comments Off on Something Awful

Knife, snow and spore

Remarkable news item: the Canadian Supreme Court overturned a ban on a ceremonial dagger. A school in Quebec was apparently wrong in telling a 12 year boy that he could not wear his dagger in the classroom.

Once again a snowwarning in effect in The Netherlands. Hey, it’s March, right? Almost time to find a terrace in front of your favourite cafe! (I remember a nice warm March 2000).

Via Digg, I was notified of this Spore video (Wikipedia on Spore), which apparently is an old video anyways. While the concept is interesting, I keep wondering what the point is: it’s a sort of pacman and ‘destroy and ha-ha-ha’ god-level game. Did hear Will Wright mention the game Populous in that video? Populous!

Posted in We-reflect-news | Comments Off on Knife, snow and spore

Roll up the rim 2006

Once again, Roll up the rimHortons Roll up the Rim contest has just started and we at xsamplex are once again at the forefront of analysing your chances to win a donut.

This year seems to be marking the rise of ‘large cups’ in each part of the country (with less medium and extra-large winners). Generally all provinces seem to have been losing winning cups particularly Eastern Ontario. Overall winner (all size cups) seems to be Manitoba and portions of Central and Northern Ontario. (Notice that the 2006 layout seems to be missing the approximate number of cases per store, which you’ll find on the previous years schemes). There are still the same number of grand prizes (30: the Rav 4 this year, vs. last years GMC Envoy). The rest of the prices appear to be evenly distributed. But. Hey: great news, there’s a bigger chance in winning a BBQ set!

Previous entries: 2005, 2004, 2003 and 2002.

Note: data for 2002 seems to be missing.

Posted in Hyperlinks | Tagged | Comments Off on Roll up the rim 2006

Copyrights

I cannot find the right answer to the following question: If you’re allowed to record fragments of a radio show on cassette-tape (being either any brand of C-60, C-90, C-120 cassettes1), why wouldn’t you be allowed to record the music (using any wave editor/recorder, like Audacity) of a videoclip and put that recording on a CD for personal use. Is the latter actually illegal, and if it is, does it contradict the fact that ‘taping’ was always allowed (‘fair use’)? I’m not a copyright expert, so I might be missing the point.

Interesting developments around: The initial posting that made me consider the problem (Niels’). Others: Michael Geist on Canadian levy on blank CDs, Dan Brown being sued for copyright infringement and last but not least Google’s problems with copyrights.

1 Old technology: Cassette tapes!

Posted in Hyperlinks | Comments Off on Copyrights

And behold: Winter

Just tonight, it Snowsquallstruly feels like Winter: temperatures will go down to minus -17 tonight and stick around those temperatures for a couple of days. Add to that the (sudden) snow blast. It’s going to be some shoveling for tomorrow morning. Unless a friendly Samaritan decides to do it for me.

Word of the season is ‘snowquall’. I can’t remember it ever being mentioned before, on either radio, TV or internet relay station. Hey, even Merriam doesn’t know what it is. (Wikipedia to the rescue)

Posted in Truro NS | Comments Off on And behold: Winter

Huzzah (II)

Around last year, I reported about one of my bonsais: it happened to start growing its leaves around March 15th of 2005. That very same tree is still alive and once again, it went through the normal process of losing leaves. It actually stayed for the longest time outside.

Earlier this week, I noticed that it was already growing its knobs and actually, I expect it to complete the process of extending its leaves within a couple of days. Which is way too early.

Where it is now (the porch once again), it happens to be a lot more warmer than before, which tells me that this year we already had a lot more sunny days than last year. The good thing is that it’s still reasonable cool during the nights, which hopefully delays the foilage process.

As a matter of fact, this year, I’ll think twice before I decide to bring it outside again: during last Summer, the bonsai happened to be one of the most popular destinations for the ants and their aphids. And earwigs. And wasps.

Posted in Truro NS | Comments Off on Huzzah (II)

How did you…

I saw the following question in one of the server logs: ‘how to put picture on blog header?’. That’s easy: most WordPress templates already come with a ‘header image’ (see for example the Kubrick template), and it’s just a matter of renaming files (this is the easiest part). Most likely you’ll need to change one of the php-files that comes with your template of choice. Look for a ‘header.php’ file.

So, how did I put that little logo at a fixed position in the header? Simple (once again): since I have no background image defined for my header, I positioned the image using the CSS background-position properties:

#header {
border-top: 3px double black;
margin: 0 0 20px 0;
background-image: url(tamarinde.jpg);
background-repeat: no-repeat;
background-position: 98% 10%;
}

Posted in Wordpress | Comments Off on How did you…

Internet Safety

On The Internet
Your browser surfs without you.
Please wear your seatbelt.

Posted in Haiku | Comments Off on Internet Safety