Tag Archives: coding

Matchbook – Multi-platform Realtime Gaming

Have you ever thought that it would be cool if you could build a cross-platform or multi-platform game and connect from one platform to another without having to do all the heavy lifting with respect to matchmaking, communications, and related … Continue reading

Posted in coding, java, objective-c, software | Tagged , , , , | Leave a comment

NSObject+SimpleJson

Certainly the subject of JSON processing on iOS is fairly old-hat at this point. After all, Apple has provided native support for JSON serialization and parsing since the release of iOS 5. So why bring it up now? Personally I’ve … Continue reading

Posted in coding, objective-c | Tagged , , | Leave a comment

[JavaScript] Finding Equidistant Lat/Long Coordinates

Here’s a quick one that was inspired by a StackOverflow question and built using the references posted here. It allows you to compute the position of an arbitrary number of points (expressed as latitude/longitude pairs) equidistant from a given centerpoint … Continue reading

Posted in coding, javascript | Tagged , , , , | 1 Comment

[JavaScript] Creating an Animated Hurricane Tracker

Here’s a fun little diversion I came up with when the news was all abuzz with information about Hurricane Irene. Now I use Wikipedia almost exclusively for keeping track of this sort of thing as I find that it consistently … Continue reading

Posted in coding, javascript | Tagged , , | 1 Comment

[Java] Override HTTP Request Parameters

Often in a Java web-application I come across cases where it would be useful to directly override or modify one or more HTTP request parameters. To be clear, by “request parameter” I am referring to the value that is returned … Continue reading

Posted in coding, java | Tagged , , | 1 Comment

[Objective-C + Cocoa] Runtime Performance Profiling

The iPhone SDK and XCode provide some very useful tools for application profiling, particularly with respect to tracking memory consumption and pinpointing memory leaks and other similar issues, but one thing which I have found lacking in the default toolset … Continue reading

Posted in coding, objective-c | Tagged , , | 1 Comment

[Objective-C + Cocoa] Screen Capture, Multiplexing, and More

It’s been a bit quiet on the coding-front lately, so I thought I’d share a small handful of various utilities that I’ve developed over the past few weeks. None of them are particularly revolutionary, but they can certainly prove useful … Continue reading

Posted in coding, objective-c | Tagged , , , | 17 Comments

[JavaScript + CSS] Fun with Google Maps

Here are a couple of quick Google Maps hacks that I came up with quite awhile ago; several years ago, in fact. While not hugely useful or profound, they do expose some fairly large holes in the Google Maps API. … Continue reading

Posted in coding, javascript | Tagged , , | 1 Comment

[Cocoa + iPhone] Avoiding ‘_handleMemoryWarning:’ Crashes

Spend enough time developing iPhone applications (particularly if you go to the trouble of collecting crash logs from your apps), and eventually you are bound to come across something like the following: This error occurs most frequently when suspending an … Continue reading

Posted in coding, objective-c | Tagged , , | 1 Comment

[JavaScript] setTimeout() and Closures

If you’ve done any amount of non-trivial JavaScript coding then you have probably come across the ‘setTimeout()‘ function before. In case you haven’t, this function takes a JavaScript expression and evaluates/executes it after a set delay (specified in milliseconds). For … Continue reading

Posted in coding, javascript | Tagged , | Leave a comment