Python

One good thing about working at Google has been that I’ve finally learnt Python. Properly. Which means I can whip up, in just a couple of minutes, a tested & documented script to, say, replace ~2,500 HTML files with redirects. So now anyone using an old link to any HTML page under https://homepage.mac.com/wadetregaskis will get… Read more

All UTIs for packages must inherit from com.apple.package

I had a devil of a time trying to get Xcode to recognise my standard Core Data UIManagedDocuments, given they are bundles, not flat files.  Turns out one of the keys was that your UTI must inherit from com.apple.package.  I had rather more sensibly (IMHO) inherited from one of the built-in database UTIs.  Silly me for… Read more

Kepler orbits are hard

Or at least, the material that covers them is.  Why is it so hard for someone to lay out the problem nice and simply – “given these parameters and position at origin time, the position & velocity at time T will be:…”. Still, it’s fun to screw around with.  I’m making some progress – I… Read more

Changing the default organisation name in Xcode 4

Xcode 4 no longer provides any UI – that I can find, anyway – for changing the default organisation name, whether globally or in a particular project.  It’s claimed that it’ll still respect the user defaults setting, which may well be true, but what if you’ve already created your project? Well, the only workaround I… Read more

RSA’s totally supported, only not really

Evidently RSA signing keys aren’t supported on iOS, at least in 4.3.  The entire process of submitting a cert request, generating provisioning profiles, etc etc… that all works just peachy.  It’s the very last step – verification of the signed app newly installed onto the device, ready to run – that actually fails.  And with… Read more

To iPad 2 or Not to iPad 2

Gah, indecision.  I was almost certain I was going to order an iPad 2 right on 1 AM, but now that I go to push through the motions, I find myself backing out.  “Wait ’til morning, see how you feel” crosses my mind.  Damn my insufferable apathy! I’m also tempted just to rock up to… Read more