Archive for the 'Programming' Category

Bloody MySQL

Sunday, February 12th, 2006

Well, some of you might know that we were planning on storing files in the database. I have been back and forwards with MySQL developerd for a cpl of months now with respect to an error I was having retrieving binary data from the database. All non text (as in writing) bytes would be […]

Refectoring++

Wednesday, February 8th, 2006

Here is a good example where refactoring code, makes things more readable, but also enhances the design.
This is what we were using before:
for (WhereClause wc : m_clauses) {
if (wc.m_objType == WhereClauseType.Bool) {
statement.setBoolean(++count, ((Boolean) wc.m_obj).booleanValue());
} else if (wc.m_objType == WhereClauseType.Int) […]

30 Boxes, Best… Calender… EVER?

Tuesday, February 7th, 2006

So yeah please visit 30 Boxes by 83 Degrees:)
I had read this blog entry and find 30 Boxes to have a nice feel.
Kal, why don’t you use the Mouseover DOM Inspector and see how they HTMLed it.

var thing;

Monday, February 6th, 2006

Even when not at the team meeting, Chris still managed to get everyone to laugh.
Some out of amazement and others out of plain despair.
Thanks Eric; for identifying a variable name that’s even less descriptive than “widget“.
“thing” is now the one to beat.

Coding to Saturday Morning Cartoons

Saturday, February 4th, 2006

This is the story of how I just found myself coding all the way until Saturday morning cartoons.
I had been lacking sleep for most of the week, and come Friday, I was simply dead. Regardless, I came back home, ate and sat in front of my computer, and started to follow the steps explained on […]