Category Archives: nerding it up

Monkeypatching Compatibility to Older iOS Versions

The Inevitability of Progress Apple wants all of its users to be on the latest iOS version, and it wants all third-party developers to be quick to adopt new APIs, quick to remove deprecated APIs, and quick to drop support for older iOS versions. While, historically, iOS adoption rates have been rather quick, lately this […]

Using Google’s maps with MapKit

I had a problem. Apple’s map satellite data is old. Google’s is new. It would probably be violating either of their agreements, but this is how to replace the MapKit tiles with Google’s: NSString *template = @"{x}&y={y}&z={z}"; MKTileOverlay *overlay = [[MKTileOverlay alloc] initWithURLTemplate:template]; overlay.canReplaceMapContent = YES; [_mapView addOverlay:overlay level:MKOverlayLevelAboveLabels]; – (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay […]

Why REST APIs aren’t that great

You’re a developer. You’re using to simple RPCs (Remote Procedure Calls) to communicate with your database server, which is behind a HTTP server. And someone tells you “Hey, you should make REST web services.” You spend a week researching and crafting up your first RESTful API to replace your existing API… and find yourself really […]

NSTemporaryDirectory behavior changed in SDK 6

I had some code that looked like this to clear out the temp folder: NSFileManager *fm = [NSFileManager defaultManager]; [fm removeItemAtPath:NSTemporaryDirectory() error:NULL]; [fm createDirectoryAtPath:NSTemporaryDirectory() withIntermediateDirectories:YES attributes:attr error:NULL];   This used to work.  The second call to NSTemporaryDirectory() now returns nil or /var/tmp or something equally different from my app’s temporary directory. To fix, cache the […]

How to change virtual machine settings in VMWare Player

My work is too cheap to spring for a full version of VMWare.  Well, that’s not that fair to say – the people who need it get it, and the rest of us get VMWare Player.  And honestly, I don’t need it since I rarely use VMs. Point is: The memory and processor settings are […]

How to move installed files and have them still work (Steam games, etc)

BACKGROUND With SSD drives, this is going to become more and more of a problem until their capacity gets ramped up. We must manually select what we want on the drive to be fast, and put the other stuff on a cheap, large-capacity, mechanical drive. However, Windows and Windows applications make this very difficult. For […]

Radeon HD6870 VF3000A Installation (photos)

I’m putting this up mostly because I was looking for pics and they didn’t exist. So in case you’re wondering what kind of heatsink to buy for your Radeon HD6870, here are installation and finish photos. I had to mod my case because the heatsink takes up too much space. Link to gallery.