Using Istanbul for code coverage
Published on, 6 min readI’ve been using Istanbul, a JS code coverage library. Istanbul outputs a report that shows which lines are hit during unit tests:
Istanbul can be installed with:1npm install -g istanbul
How Istanbul worksIstanbul wraps ...
Designing a ESP32 dev board
Published on, 7 min readThe ESP32 was recently released. It’s a combination wifi and bluetooth chip that sells for around $3 on taobao and for $7 as a combination module on SeeedStudio. This is an amazing price from the $9/chip wifi-only module...
A JavaScript developer's Scala cheatsheet
Published on, 9 min readI’ve been working in Scala for the past year. When I first started, I was pleasantly surprised by how similar it was to JavaScript. Scala is a functional language, supports streams, and has async programming through futu...
7-Eleven's operational dominance in Japan
Published on, 3 min readI recently visited Japan and found that the 7-Elevens in Japan are awesome. Unlike their US counterparts, Japanese 7-Elevens are constantly restocked with fresh food.
7-Eleven has the majority market share of convenienc...
Interactive Specs
Published on, 1 min readIt’s 2016 and specifications and communication protocols are still hard to understand. I find this weird if one of the main intentions of a spec is for it to be understood and implemented by others.
I had to extract some...
Making an email client plugin for N1
Published on, 5 min readThis plugin works with N1 an open source email client made by Nylas. At the time of writing this, Nylas is going to phase out the current version of N1 and switch to a paid version. This plugin might not work for much lo...
My experimentation with passive income
Published on, 5 min readBack in the spring of ‘12 I wanted to experiment with passive income. My selection criteria for projects were:
Had to be buildable in 1 week. This made me focus on small, solvable problems.
Had to be able to provide inc...
Migrating couchbase entities with Scala
Published on, 6 min readDue to some refactoring, I had to rework some entity models in couchbase. Since the codebase was already in Scala, I decided to write the migration in Scala as well. In reflection, the typesafety of Scala made this task ...
Exploration in golang
Published on, 2 min readAt work I’ve been using a lot of Scala. Since I’ve made the switch, I’ve seen a lot of posts on teams moving away from Scala:
CrowdStrike
Paul Dix
Yammer moving away from Scala
The TLDR version of all 3 was that Scala ...