the corner office

a blog, by Colin Pretorius

# Multiple statements with MySQL JDBC driver

Here's a little something I've just learned. By default, the MySQL JDBC driver doesn't allow you to execute multiple statements in a single SQL uh, query string. This is ostensibly for security reasons, to protect against SQL injection attacks. You can, however, flip the switch on your DataSource and allow it with allowMultiQueries(boolean).

File under: techie : {2005.10.31 19:41} : Comments (0)

# Oliver Tambo International Airport

A bit of a blog world huffy is surfacing over the announcement of plans to rename Johannesburg International Airport to Oliver Tambo International Airport. (Mzansi Afrika, Fodder, Commentary, Fodder again, all with lots of interesting comments and discussion).

My opinion, simply, is that in the greater scheme of things, naming an airport after a recognised and esteemed anti-apartheid icon isn't really that incendiary, although you'd think that our politicians had more important things to worry about than renaming bloody airports.

File under: politiek : {2005.10.29 20:56} : Comments (0)

# Another hard drive down

I had to deal with a hard drive going clackety-clack bzzzz this week. Unlike the Great Hard Drive Crash of 2004, this event shall be known as the Lesser Spotted Hard Drive Fizzle of 2005. I learned my lesson last year, and it paid off now.

The drive in question was a 5 year old 20 gig hard drive, so it was hardly unexpected. I used this old drive for my Gentoo and Windows installations, and kept all my 'real' data on a 200GB data drive. I regularly rsynced my entire Gentoo operating system onto the 200 gig drive as well, and then backed all of that up to another external USB 200 gig drive, which spends most of its time hidden away in the back of a cupboard, where burglars and lightning are less likely to get to it.

So thankfully, all I needed to do this time around was boot up with a Linux liveCD, convert an unused FAT32 partition into a boot, swap and root partition on the 200 gig drive, copy across my entire Gentoo system, set up the bootloader on the new drive, and I was back up and running.

What I didn't even try to restore, because I hadn't had much joy with it in the past, was my Windows system. I've now moved from dual-boot-but-never-touch-Windows, to being 100% Windows-free. When I finally get around to investing in a new PC I'll probably set it up as a dual-boot, but right now, being Linux-only will do me just fine.

File under: techie : {2005.10.29 10:13} : Comments (0)

# Quiet weekend

Ohgoshlookatthetime. I haven't made much progress with that last assignment this weekend, I must admit. Friday night was spent tinkering on the PC, before crashing early. I'm not sure why, but Friday nights seem to be the one night of the week where I run out of steam ridiculously early. I think I'm getting old, and 8 hours of sleep just doesn't happen for me during the weeks. Nor 7, and sometimes not 6, for that matter. So I think I'm just buggered by Fridays.

Yesterday would have been my mom's 56th birthday. Being the first birthday after she passed away, I knew it was approaching, and wasn't looking forward to it, but I guess it's one of those things you have to go through. It wasn't too bad in the end, but still a bit of a gloomy day.

For the first time in months, we went to Cresta for breakfast yesterday morning. I spent the rest of the day doodling around with my blog app, and watching tons of Jeeves & Wooster. Today's followed pretty much the same pattern. As I mentioned, I should've spent the weekend doing my final assignment for the year, but considering that a fairly earnest and draconian study programme needs to be embarked upon pronto if I don't want a miserable January exam stretch, it's been a real treat having a totally lazy and self-indulgent weekend. I might not have another of these in a while.

File under: personal : {2005.10.23 18:13} : Comments (0)

# MySQL week

I was given the credits I needed, so freedom reigned supreme this week. (I was asked to do the final assignment anyway, so that'll be this weekend's job).

I started fiddling with my new blog app again. First step was to convert everything from PostgreSQL to MySQL. That was supposed to be a quick 'tweak-some-SQL-here-n-there' sort of affair. Yeerrrrssss.

To be honest, SQL-wise, it wasn't too bad. I learned that PostgreSQL is a touch more forgiving of sloppy SQL than MySQL is (oddly enough). The real schlep came with upgrading from MySQL 4.0 to 4.1. It sparked all sorts of fix-reverse-dependency rebuilding and whatnot, coinciding with the monthly emerge world. Bugzilla broke, all sorts of apps rely on mysql object files, and a Perl module or two needed prodding to the ways of virtue.

Thankfully though, it seems (mostly) done, and I can now import from Notes into MySQL and click through just about everything. I felt a bit guilty leaving PostgreSQL, which is something of the underdog compared to MySQL, but since I have quite a few things relying on MySQL already, it makes sense to stick with one DB server. Also, it's completely unscientific, but I could swear that the new blog feels just a wee bit zippier with MySQL. That doesn't really make sense and there shouldn't be any difference with a single user, but I'll take it as a good omen anyway.

File under: techie, studies : {2005.10.21 19:23} : Comments (4)

# Freedom, perhaps

Feeewoooow. The assignment Death March is over, or close-as-dammit to over. This weekend was the final deadline for the year's assignments, and I just handed in my last AI assignment.

I say close-as-dammit, because there's the small matter of the Formal Program Verification assignment I might need to do over the next few nights. Some delicate negotiations are needed between myself and the lecturer who wants to chat to me about it but whom I can't get hold of; technically I've met the credit requirements with the first two assignments I did, but I suspect I'm going to be asked to do the final assignment anyway, just-because. My policy in these things is to just shut the hell up and do the assignment if I have to, in the hope that these gestures of goodwill will be meet with suitable reciprocity in the goodwill department when exams loom closer.

The downside is that the sheer, unholy jubilation I should be feeling at having completed this year's assignment run just isn't there. I had high hopes for doing, y'know, sweet bugger all this week, so here's hoping.

File under: personal, studies : {2005.10.16 23:29} : Comments (0)

# Giant squid on camera

Reported a few weeks back; the first pictures of a live giant squid, taken by Japanese scientists in the Pacific. An 8 metre long squid is a big-ass critter, and dead specimens up to 18 metres in length have been found.

It's incredible that despite how much of this planet we've charted, measured, studied and Google-mapped, the deepest recesses of our oceans are still unreachable, and we have absolutely no idea what's down there.

File under: world : {2005.10.16 01:58} : Comments (0)

# Manufacturing consent

I haven't posted anything political in a while. I couldn't resist this though. Apparently, Dubya had a live video conference chatting to the troops about Iraq. Obviously, they just warbled out everything that confirms the BS he normally spouts, nothing like 'well, sir, I'm sure glad to be here 'cause it means I don't have to be out there getting shot at'. No, none of that.

Perhaps it's a sign of Bush's freefalling popularity ratings, because instead of blindly accepting and foisting it on the masses like the 'liberal' media did before, they picked up that the entire thing was a scripted farce. In fact, so much of a farce that one of the soldiers interviewed wasn't an I-get-shot-at-for-a-living real soldier, she was a PR person. And Bush, the ever-proud military man, couldn't even get her rank straight.

Obviously, this kind of stuff happens all the time in all governments and you'd expect that people would be cynical enough to not buy into this crap. Except that you have to conclude that a significant number of people do actually buy into it, else they wouldn't bother doing it.

File under: politiek : {2005.10.15 09:58} : Comments (0)

# Blogging for 2 years...

In the chaos of the past few weeks I overlooked that I've been blogging (publically) now for 2 years. I won't get into the navel-gazing like I did last year, because not much has changed from a metablogging perspective: I still don't post much technical stuff and I still find myself wanting to treat my blog as more of a day-to-day diary and personal history, and still feel a bit guilty/weird when I do. Somewhere between those extremes I still manage to spew out content and people still seem to read it, occasionally. If you're one of 'em, thanks for your patronage!

The one thing I'd hoped to do by now is migrate my blog to The Corner Office version 2, but that pile of code hasn't been touched in about 2 months now. Soon, I hope...

File under: thee_blog : {2005.10.14 16:53} : Comments (0)

# 3rd Oracle DevDay

I see Neil also got an invite. I won't be able to make it, but Oracle's 3rd DevDay is happening on the 7th November, and Oracle have invited local tech bloggers to attend, do some networking and blog from the proceedings. I think it's cool that Oracle took the time to find local bloggers and invite them personally.

The event is open to all developers and DBAs.

The details are:
Date: Monday 07 November
Time: 08h30 - 17h00
Venue: Vodaworld, Midrand.
Register at devdays [at] activecapture.co.za or call 011 781 8608

File under: techie : {2005.10.14 16:09} : Comments (0)

Next »

meta

-home-
about
contact
disclaimer
articles
code
tech blog

style: [?]
[plain.dark.blue]

Categories

java
linux
music
notes/domino
personal
politiek
studies
techie
thee_blog
world

RSS Feeds

rssfeed all posts
rssfeed all cmts
rssfeed tech posts
rssfeed tech cmts

Archives

2010.09
2010.08
2010.07
2010.06
2010.05
2010.04
2010.03
2010.02
2010.01
2009.12
2009.11
2009.10
2009.09
2009.08
2009.07
2009.06
2009.05
2009.04
2009.03
2009.02
2009.01
2008.12
2008.11
2008.10
2008.09
2008.08
2008.07
2008.06
2008.05
2008.04
2008.03
2008.02
2008.01
2007.12
2007.11
2007.10
2007.09
2007.08
2007.07
2007.06
2007.05
2007.04
2007.03
2007.02
2007.01
2006.12
2006.11
2006.10
2006.09
2006.08
2006.07
2006.06
2006.05
2006.04
2006.03
2006.02
2006.01
2005.12
2005.11
2005.10
2005.09
2005.08
2005.07
2005.06
2005.05
2005.04
2005.03
2005.02
2005.01
2004.12
2004.11
2004.10
2004.09
2004.08
2004.07
2004.06
2004.05
2004.04
2004.03
2004.02
2004.01
2003.12
2003.11
2003.10
2003.09
2003.08
2003.07
2003.06

© Colin Pretorius