chapter31

development in a land far far away…

at the moment

History is not what happened. History is what was written down.

Archive for February, 2008

Probably quite old news for those in the know, but if you’re using Rhythmbox to play music on Ubuntu and want to listen to shared music over a network where people are using iTunes version 7+….it ain’t going to work
You can view who is sharing music, but their actual libraries won’t load into […]

Read the rest of this entry »

Having ‘tag insight’ is a great part of any IDE, one which almost every developer takes advantage of irrespective of which editor they use. Tag insight of course being when your IDE provides information (attribute or return information etc) about the tag or function you are currently typing.
Normally when writing a function or tag like […]

Read the rest of this entry »

Code Tip: How to structure your queryparams

Tuesday, February 26th, 2008

If I were a betting man I’d bet a LOT of money (and perhaps even the house!) that you’ve done this before.
Try to spot the error in the query below:

INSERT INTO myTable
(
ObjectId,
Country,
DateOfBirth,
Email,
FirstName,
Gender,
LastName,
MainSchoolId,
PhoneHome,
PhoneMobile,
PostCode,
State,
Street,
StudentId,
StudentPassword,
StudentPodId,
Suburb
)
VALUES
(
,
,
,
,
,
,

,
,
,
,
,
,
,
,
,

)

Spot it? It’s one of those “Where’s Wally” errors where some people spot it straight away and some people (like me today) spend FAR too […]

Read the rest of this entry »

cfdocs on air (livedocs for CF8)

Thursday, February 21st, 2008

Brian Love recently released an AIR application he wrote which wraps up the ColdFusion 8 ‘livedocs’.
This is a great idea and a fantastic tool to add to your list. I’m sure most developers use livedocs as a reference (I do all the time) but historically the are SO slow (not to mention that I think […]

Read the rest of this entry »

I was working on piece of code today which was sending an Ajax request to the server. The result of this request could have been 0 - 5 database UPDATE statements.
What I needed was a way to test my code to make sure the correct number of database statements were being executed based on the […]

Read the rest of this entry »