Why programming is awesome

“Programmers don’t need an office. They don’t need infrastructure. They don’t need staff. They don’t need anyone to tell them what to do. They hardly even need money. They can just make things. A programmer is a human self-contained factory that can manufacture stuff that’s worth money. That is some insanely powerful stuff!” — Tess …

Read moreWhy programming is awesome

Cross-platform problem solving: how an Android Pro Tip helps our web app design

Separation of concerns is a challenge in a web application. The quick, straightforward way to control a page winds up being messy, with business logic and application logic and view logic all mushed together. Here at my Stealth-Mode Startup, we’re using the Sitebricks web framework on top of Guice. One pain point in our webapps’ …

Read moreCross-platform problem solving: how an Android Pro Tip helps our web app design

Stupid git tricks: transferring part of one git repo to another

Reference post. Don’t expect this to be interesting. We had a particular subdirectory of a repository (repoA) that really belonged in repoB. The goal is to transfer all files and history from repoA to repoB, permanently. Thanks to Nikolai in this blog post, the move isn’t too bad. I’m not going to repeat his instructions. …

Read moreStupid git tricks: transferring part of one git repo to another

starting to maybe get the point of node.js

Listening to Glenn Block talk about node.js at Technology and Friends, there’s something interesting about the philosophy behind node.js. Threads are hard. Threads include overhead, but more significantly, using them requires the developer to hold more stuff in his head. Node.js has a philosophy that leads to asynchronous processing without multiple threads. Glenn explains how …

Read morestarting to maybe get the point of node.js

Consistency in Scala

One of the goals of Scala is increased consistency compared to Java.Here are three high-level consistencies in Scala: Every value is an object. There are no primitives in Scala. Even its version of void (Unit) is an object. Nothing is an object. Nil is an object. Arrays are objects. Everything is an object. Every statement …

Read moreConsistency in Scala

For-confusion in Scala

In Scala, the “for” structure can throw off the Java programmer. For one, it looks enough like a Java “for” loop for a Java programmer to make a guess on how it works — but that guess is likely to be wrong. For another, the for-loop is implemented in Scala as a special case of …

Read moreFor-confusion in Scala