Articles

8 Nov 2010

I was trying to install PhoneGap iOS on my new MacBook Air but got an error when I ran the PhoneGapLibInstaller.pkg installer. It was telling me that I didn't have Xcode installed when, in fact, I did. I just didn't have it installed in the default location (/Developer).

(Since I usually have several versions of Xcode on my machine at the same time, I've taken to installing them off the root in descriptive folders – e.g., Xcode3.2.4iOS4.1, etc.)

(more...)

PhoneGap iOS installer bug (and workaround)

The PhoneGap iOS installer won't work if you don't have Xcode installed in the default location. This post explains the issue and offers a temporary workaround.

5 Nov 2010

An error 404 is just a geeky way of saying that the web site or page that you're looking for does not exist.

Read more about Error 404 on Wikipedia.

(more...)

Error 404

Geek speak for "not found".

4 Nov 2010

Woman wearing a sports jersey sponsored by crazywebhosting.com. Photo credit: grantlairdjr/Flickr.

I do all my own web development these days with either Python/Django or JavaScript. (Have you seen Joyent's excellent SmartPlatform yet or checked out node.js? It's the future.) That said, I still have legacy sites that run PHP/MySQL and my blog is powered by WordPress. I'm also not too happy with my current web host (my sites fall over whenever I get linked to from somewhere popular) so I've been on the lookout for a new web host for some time. However, as I tweeted yesterday, "I hate looking for hosting on the web – it feels like walking through the red light district in Amsterdam – very seedy."

(more...)

Web hosting recommendations

Good PHP/MySQL web hosting companies as recommended by my Tweetsters.

25 Oct 2010

If you're accessing Facebook or Twitter from a public WiFi network at a cafe or some other public setting, anyone on the same network can easily access your account. In fact, today, Eric Butler released a Firefox extension called Firesheep that makes it child's play. In this short video, I show you Eric's extension in action and also show you how you can protect yourself from such attacks by using the EFF's HTTPS Everywhere Firefox extension.

Watch the video.

Video: Facebook & Twitter security FAIL (& how you can stay safe)

In this short video, I show you how easy it is for anyone in the same WiFi network as you at a cafe to sign in to your Facebook and Twitter accounts (and how you can protect yourself).

13 Oct 2010

So here's another one for the eagle-eyed among you. This is a little issue I first ran into a little while ago and it was surprising when I discovered the reason behind it.

What's wrong with this code:

(more...)

A switch gotcha

Documenting a peculiarity with labels in switch statements that isn't immediately obvious.