Tag Archives: work

Less is More :(

The majority of work I do, as a programmer who wears a shirt and tie, involves databases. And I try to keep things nice and simple when working with databases. What I mean by simple is, extra tables in a database is fine, even triple the “minimum number” (whatever that is), if they all mostly follow some pattern. Constructing a database schema is then a simple application of the rules devised when designing the pattern, and means there’s not much to think about or have go wrong. With a judicious choice of pattern, ORM tools like Hibernate or other things like .NET Entity Framework can start working for you rather than against you. It’s even possible to write code to check over the schema and ensure that the pattern is being followed, and then write code to write code to do all the data access (yes, write code to write code…)

My boss, on the other hand, has a slightly different idea of simplicity. Namely, in his view, simplicity = minimise number of tables, and rely on stored procedures for everything.  The arguments I want to win with him are not really what I want to blog about today.

Today I’d like to describe how I implemented strongly-typed lists of objects (think List<SomeType> in C# / list<AClass> in C++) adhering to my boss’s vision of minimising table count, using only three tables and a pile of T-SQL and custom constraints, instead of the “more complex” system of lots of join tables and foreign key constraints. I do not particularly recommend this mode of implementation. For a start, it has made use of .NET Entity Framework, shall we say, “interesting.”

Continue reading

Secret Unleashed

I take pride in being the fourth wheel of the Secret Lab fun van. We’re doing some wonderful things, and finally, one of them I can blog about. 

Announcing! Day of the Tiki, the official Tiki Bar TV tie-in game.

What is my involvement? I am creating the soundtrack for the game, and also a few SFX Macguyver style, with only  a plastic ruler and a rubber band using my computer. I’m way outside of my maths/computing background on this. But, amazingly, everybody here keeps telling me to keep going, so I do. My tool of choice is Logic Studio (a while back I wrote a post about some small Logic tricks I discovered…before reading the manual. :P

Why am I making music instead of code? The history requires explaining, but it boils down to this. They haven’t asked for code. They could, after all code is what I do at the day job. They asked for music. And so, it turns out that all the years I spent playing trombone with Hobart City Band and singing with TUMS is more useful than I used to think. (Incidentally, although I couldn’t go with them this time, HCB took out first prize in the A grade concert and B grade brass sections this year at the national band championships—terrific achievement! Sorry I couldn’t be there!)

Why me? Previously I also did the soundtracks and noises to the other Secret Lab projects: Culture and Button Squid (keep a track of this blog for a free Button Squid surprise soon). Also the soundtrack for their Software Engineering Project project Side-Game. So we have plenty of history, plus being good friends helps :D

Fire!

“That smell…”

“I’ll go down and check…”

Certainly not the best way to end nine hours of work—i.e. discovering that the front façade of my own office building is on fire.

Here are some hasty snaps from my cruddy mobile phone:

Fire engine arrives

Fire engine arrives

Tim's office...on fire

Tim's office...on fire

These blokes deserve a drink

These blokes deserve a drink