Posts
All the articles I've posted.
A Year of Functional Programming
Reflections after one year of functional programming—from discovering Scala, Haskell, and Scalaz to embracing abstractions, expressive types, property-based testing, and computer science academia.
Scala: Methods vs Functions
Micro-benchmarking Scala methods versus first-class Function instances using ScalaMeter across direct invocation, higher-order passing, and primitive vs object boxing.
Keyed Lenses
Introducing KeyedLens in Scala and Scalaz—a composable lens variant that requires a key to focus into maps or indexed collections, propagating keys cleanly through composition.
Trial: Choosing Lift over Rails
Starting a new webapp with Scala's Lift framework instead of Ruby on Rails — weighing security, speed, snippets, and Ajax against a smaller ecosystem.
Lessons Learnt on My Second Android App - Pt.1
Bitmap scaling, manual bitmap memory cleanup, PNGOUT compression, and screen width lessons learned while building my second Android app, Time Us!.
Android Project Templates
Three Maven and Eclipse compatible Android project templates for Java, single-app Scala, and dual free/paid Scala editions.
Releasing an App for Android - Part 2
Part 2 of lessons from releasing my first Android app: free and paid editions, AdMob advertising, localisation, Proguard, signing, and Maven vs SBT.
Releasing an App for Android - Part 1
Part 1 of lessons from releasing my first Android app (BPM Tapper): Android completeness, multi-density layouts, using Scala on Android, and vector artwork.
Maven: Now with Colour™ !
A bash and Perl wrapper script that adds ANSI colour highlighting to Maven CLI output and strips noisy failure boilerplate.
Rant: Stupid Maven
Venting frustrations with Maven around distributionManagement in POMs, single-inheritance parent POMs, uninherited plugin versions, and verbose XML.