Here’s a way to ensure that only one instance of your application runs at a time. Perhaps it updates a resource and you need to prevent duplicate updates. Or, in another use, I recently wanted to make sure an application was always running. So I wrote a cron job to periodically start the program; if [...]
Continue reading about SingletonApp: How to run only one application instance at a time in Scala
The Jersey package is Sun’s reference implementation of the JAX-RS standard for RESTful web services. It’s easy to use; with a few annotations, you’ll have your own REST api. The examples show how to use the included Grizzly server, allowing you to create embedded servers. That is, instead of fussy XML configurations for the large [...]
Programming in Scala is the first of the recent set of Scala books that marks the coming of age of the language. It’s comprehensive, but readable.
var addthis_pub = ‘garyboone’;
var addthis_language = ‘en’;var addthis_options = ‘email, favorites, digg, delicious, twitter, google, facebook, reddit, live, more’;
There’s a fantastic iPhone debugging tool in development called Clang Checker. It does deep code analysis and can find memory leaks and other problems by following potential code paths. To use it, just download the package and uncompress it. The CD to your Xcode project directory and run it like:
xcodebuild clean; ~/development/checker-0.210/scan-build -k -V -warn-objc-missing-dealloc [...]