Skip to content

{ Tag Archives } code

Planning your API is important

I’m upgrading some code I wrote to talk to a new version of the Citrix NetScaler‘s API. The NetScaler’s manuals (that’s right, plural) weigh in at a combined 1114 pages so documentation isn’t a problem and their implementation is a breeze using WSDL over SOAP. However, some of the core changes left me scratching my [...]

Also tagged , ,

CakePHP makes upgrading easy

Laura attended CakeFest a couple months ago and got to meet some core Cake developers in person. In doing so she let slip that AMO was running on a pretty old version (1.1.12 – Released in December of 2006). Apparently 1.1.15 had some major performance boosts and since we melted the cluster a few times [...]

Also tagged , ,

When is a TINYINT(1) not a TINYINT(1)?

When you’re using CakePHP! Turns out CakePHP considers a TINYINT(1) to be a Boolean. Judging from all the support tickets that have been filed, I’m not the first person to get taken off guard by this behavior. When I asked about it on IRC, the response was that since MySQL considers a TINYINT(1) to be [...]

Also tagged , ,

Frameworks that start sessions for every visitor make me sad

I might have played the devil’s advocate when Lars was hating on frameworks at the barcamp last weekend, but that doesn’t mean I don’t see his point. The latest in a series of frustrations with frameworks kept me up until 3am last night. What better way to cap it off than complaining on the internet? [...]

Also tagged , , , ,

10000 commits and going strong

Mozilla’s SVN repository was started on September 2nd, 2006 and just hit 10000 commits. That’s an average of over 19 commits a day for 520 days straight! After my positive experience with python I was gearing up for a script to do some repository analysis when I ran across MPY SVN Stats. After a fast [...]

Also tagged , ,

CakePHP’s cache that wouldn’t quit

I had the joy of debugging some unit tests the other day on AMO and ran into caching trouble. Turns out the bug for this was filed over a year ago, but I tested it in the latest build of Cake (1.1.18.5850) and it’s still not fixed. Cake’s models have a Boolean variable called $cacheQueries [...]

Also tagged , ,

The most worthless bot on IRC

I’m not one to jump on bandwagons just because they’re rolling by (even with great companions), but I started using Python in one of my projects and I’ve got to say that I’m pretty happy with it. I think their documentation leaves something to be desired but overall the language is pretty intuitive and it [...]

Also tagged

Portland Coder Party Tonight

Sorry for the short notice but there is a December Coders Bash tonight that Mozilla is helping sponsor. It starts at 7pm at CubeSpace. Drop by if you get a chance – it’s informal and sounds like a bunch of fun. Stealing from the linked page: Some of the events we are considering (subject to [...]

Also tagged , ,

Ten Tips for Website Localization

This post has some general tips that I’d recommend to anyone wanting to write a multilingual web application. The majority of my code these days is PHP, but I think these tips are applicable to most web programming languages. In no particular order: UTF-8 is your friend. Use it. The big step from ASCII to [...]

Also tagged , ,

Threadbubble on AMO

I submitted Threadbubble to AMO tonight. I wanted to work out the bugs and get it in a stable state before I put it on there and I think it’s reached that point. Hosting it on AMO will prevent potential security issues, and it has the side benefit of providing automatic updates. The add-on is [...]

Also tagged , ,