September 2011
7 posts
4 tags
Adam Laiacano: Using idata.frames in R →
I recently discovered the idata.frame (immutable data frame) datatype in the plyr package in R, which MASSIVELY speeds up *ply functions. Usually, when using any of the *ply functions, the pieces of the data.frame (or whatever other object you give it) are copied into new objects when being…
Sep 30th
52 notes
6 tags
WatchWatch
coderspiel: Building Network Services with Finagle and Ostrich (by Tumblr’s Blake Matheny for ny-scala)
Sep 29th
138 notes
Sep 28th
20 notes
4 tags
The Android App Gauntlet
haseman: adb shell monkey —throttle 100 -v -p com.your.packagename 50000 I like to put my app through ‘the Gauntlet’ every night.  50,000 random events.  Make sure you plug your headphones in first (so you don’t annoy your co-workers when the monkey turns the music on.)  I like to leave the throttle at 100 to keep the events coming in at a ‘crazed’ rate rather than having them come in at an...
Sep 27th
67 notes
Happy Birthday
Katherine: I can't believe you're 32
Me: I prefer to think of it as being `2^5`
Katherine: I'm embarrassed for both of us right now.
Sep 23rd
77 notes
Sep 9th
236 notes
2 tags
Easy Trait Testing in Scala
Scala has the notion of a trait, which is also sometimes referred to as a mixin. Traits are similar to interfaces in the Java world, but allow for partial implementations. This provides a convenient (and predictable) way of adding concrete implementations from a number of Traits to a single class. Say you have a simple trait such as: trait Storage { val storageName: String require(storageName...
Sep 1st
31 notes