Allegro graphics library. I used this in a college project about 6 years ago and it’s excellent.
Author Archives: Donncha
What a weekend! Spent it up in …
What a weekend! Spent it up in Mayo.. great weather on Friday driving up, rained on Saturday, rained on Sunday, great weather on Monday as we drove down. Still, had a great time.
Queen Mother dies. – Some of Martina’s cousins live in London and they were shocked to hear this news. More on Ananova
Why it always pays to read the complete thread of a discussion on a mailing list, but there’s always one who gets caught.
Posh Spice in the bath – She's …
Posh Spice in the bath – She’s advertising Walker’s Crisps!
How worms bypass mail filters …
How worms bypass mail filters – I got this off the Esd-l mailing list.
Coding ConventionsOr stuff I d …
Coding Conventions
Or stuff I do when programming.
This is PHP orientated but applies elsewhere too.
I like to code using classes, and the functions in those classes for the most part return true or false. If a function returns false, then an internal variable, $this->error gets the error message set by the function.
When I’m working on forms, my validation function returns true or false, but $this->error is an array indexed by form elements which allows me to define a per-element error message that my printForm() function can use.
On the same subject, I populate a single array with form elements which makes it easier to walk through those elements.
Lens thief caught by the camer …
Lens thief caught by the camera he stole the lens off. He pleaded guilty to theft and criminal damage. He says he stole the lens as a joke.
Why I love Faqts. When I have …
Why I love Faqts. When I have a problem and I’m not sure how to phrase it, it’s great that there’s such a wealth of knowledge here that I find a solution.
Fr O'Toole's funeral in Headfo …
There's a huge traffic pile-up …
There’s a huge traffic pile-up on the M40 this morning. At least one person is dead and there’s a 20,000 car tail back.
Do the Irish like to drink? Na …
Do the Irish like to drink? Nah!
