Coding

The DOM HTMLFormElement Interface Should Have a getElementsByName() Method

Published · 1min

While useful on the HTMLDocument interface, getElementsByName() would be much more useful if it was included in HTMLFormElement interface. Every time I want to look up elements by their names, it’s usually on form elements rather than the document as a whole. Come to think of it, I don …

Gaming

The so-called Dungeon Siege II ‘Beta’

Published · 2min

Beta, my ass! When exactly did the words ‘demo’ and ‘beta’ get mixed up? Back in the old days, a demo version was an incomplete version of the game, given out to drum up interest in the end product, whereas a beta version was a complete version of the game …

Voting

Are surpluses in STV a pointless complication?

Published · 2min

Triggered by this post on Bram Cohen’s blog, I posted up this reply. I think I’d better outline what I’m talking about.

Ireland uses the Single Transferrable Vote for just about everything, including by-elections and presidential elections. However, it’s always struck me that the concept of …

Tech

Dumb Terminals and Windows Remote Desktop

Published · 3min

I’m spending a lot of time connected via Windows Remote Desktop to an external network so that I can do work on their machines.

So here’s a question: are there any IT departments out there that are using this to give their users old-style dumb terminals so as …

Coding

Fixing JavaScript memory leaks for good

Published · 3min

Note

I’ve edited this down a little bit. A snapshot of the original post is here.

I’m a fan of unobtrusive JavaScript and I’ve strove to make my JavaScript code as unobtrusive as possible for years now.

However, I discovered something about IE a while ago when …

Coding

Detecting broken images with JavaScript

Published · 2min

Note

A cache of the original can be found here.

I hit an annoying problem with a project at work. It’s not my fault, there’s nothing wrong with the code, but sometimes things will happen: people will delete images out of the backend, not upload the image they …

Projects

Restarting Mocha

Published · 3min

While Sage is the closest I’ve ever got to an RSS aggregator I actually liked, it’s still not right. There are just too many things about it that irk me somewhat.

I’ve tried so many of the blasted things and a few things have been confirmed for …

Books

More new books: The Scar and Describing Morphosyntax

Published · 1min

Sales are great. I picked up a copy of China Miéville‘s The Scar in Hardback for next to nothing!

Also, Waterstones finally managed to source a copy of Describing Morphosyntax for me. I placed an order for it two months ago, and it only came on Friday. This is …

Coding

I want StringTemplate for PHP

Published · 1min

Ever since reading Terence Parr’s Enforcing Strict Model-View Separation in Template Engines (PDF), I’ve wanted something like StringTemplate for PHP.

Maybe not something exactly the same, but a templating system that would perform similarly as far as the person developing the templates would be concerned, but the coder …

Life

Worried about two friends and the tsunami

Published · 1min

Right now I’m worried. I haven’t posted up anything since it happened because I didn’t know what to write, but I’m worried about Thérèse and Vinnie, two friends of mine who are travelling through SE Asia right now.

I haven’t heard word from them in …

Music

My Current Ring Tone

Published · 1min

I wrote this ages ago, but I want to post it somewhere so I won’t lose it if my phone dies or something. And vanity, of course.

Model: Nokia 3310 Tempo: 180BPM

2c2 4c2 2f2 4f2
2e2 4e2 2c2 4c2
2d2 4d2 4c2 4d2
4c2 4b1 4a1 2g1
4g1 …
Life

Area 51 Opens

Published · 1min

I’ve been keeping quiet about this for ages, but now I can talk about it.

Some of my friends are after opening a gaming café here in Cork. The quality of the existing ones isn’t that great and, seeing as we all go gaming pretty often, they decided …

Projects

KWiki becomes FusionWiki

Published · 1min

I’m changing the name of my ColdFusion-based wiki engine to FusionWiki. Why? I want to put it up on SourceForge, and KWiki was already taken. And it’s a cool name.

I applied to have the project created just today, so it might take a while before they get …

Coding

I’ve finally found an excuse to use reflection in Java

Published · 1min

I’ve a project here at work. I need to write a ColdFusion custom tag in Java to talk to a remote server. This tag needs to handle a bunch of different requests and responses, but putting all that code in the one class would be a bit messy, and …

Life

Cork City Centre Is Flooded!

Published · 1min

Cork is buggered!

Sweet mother!

I had to head off to CIT to pick up some tickets for the graduation ball. When I got back to the offices, things were fine, but Dan’s after looking outside the window, and the city’s completely flooded! It took just 40mins for a one-foot deep …

Projects

On Starting a New Project

Published · 3min

I was talking to Peter last night about Laszlo. There are these times you need confirmation of why you have difficulty going off and either learning or writing something. I’ve a few projects like this, and something he said, quite off the cuff mind you, was a trigger.

He …

Meta

Bayesian Comment Moderation

Published · 2min

An idea’s been bouncing around in my head for a while now. Right now, I don’t have any comment moderation, and I wouldn’t like to have to build a moderation system, primarily not because of the difficulty—it’s not hard—but because I don’t like …

Coding

Listening for file updates on Windows

Published · 1min

I’d really like to know if there’s a way to set up a callback of some kind that would allow a program to be informed of when a certain file is updated. Not just any file, but a particular file.

I’ve taken a look through MSDN, disorganised …

Health

The Weight Plan

Published · 2min

Feck, I’d might as well post it now.

  • Buy a scales.
  • Stop with the snackfood—no sweets, with the possible exception of mints.
  • No soft drinks. Tea is ok, coffee is borderline. Fruit juice and water. Mostly water. Prefer fruit juice if the water isn’t good.
  • Stop with …
Health

I’m starting the hacker’s diet

Published · 4min

Note

An old post from the second iteration of my blog. I was actually pretty down on myself back then about all this, though it only comes out here and there. This attempt, as you might guess, failed.

There’s one thing that I really dislike about myself, and that …

←   newer continue   →