Developer Aspirations

YAPB - Yet Another Programming Blog



January 2016

Don't Use an EventBus on Mobile

by Colin Miller, on Android, development, EventBus

A practice that I've noticed infecting some mobile developers is attempting to use an EventBus in replacement of method calls. The idea being to introduce high levels of decoupling where publishers of events need to never know who will be consuming them, and for consumers to not require knowledge of the producers. While this sounds great in theory, in practice it can suffer from overly engineered and complicated code that…



June 2015

Starting @ Facebook

by Colin Miller

Several of my friends have asked me how my time at Facebook has been so far. This is my second week and I'm just starting on bootcamp. Prior to this I worked at LinkedIn for 4 years as a backend engineer and later on as an Android developer. I've also worked at Yahoo! and the New York State Government which gives me some idea of both different Silicon Valley companies…



June 2015

VIMtastic - Settings

by Colin Miller

A lot of the amazing things that Vim can do do not require plugins but are built in by default. Many of these things are enabled through various settings. There are dozens of useful settings you can use in Vim. Rather than typing them in each time you start it up, you can set your common configuration in your ~/.vimrc file. Here are some of the settings I personally use…



December 2014

SimpleNoSQL 0.5 Release

by Colin Miller

I've released version 0.5 of SimpleNoSQL today. It is a local data framework for Android that avoids direct use of databases (though one is used under the hood), and allows you to store and retrieve objects with incredible ease. A full description can be found in my initial release blog. The library is now completely independant of AsyncTask and instead runs on it's own set of dispatcher threads similar…



November 2014

Cutoff Thumbnails in Android MediaStore

by Colin Miller, on Android, Concurrency, LinkedIn

I discovered a really wonderful cocurrency issue the other day while I was working on the LinkedIn application. It appeared that when a user takes a photo to upload as part of a status update that the thumbnail would be incomplete. The image was stored on the filesystem correctly and would upload fine, but the thumbnail in the app would be cut off. More interestingly, the thumbnail in the phone's…



August 2014

SimpleNoSQL For Android Released

by Colin Miller

I'm announcing the release of a new local data framework for Android that I've been working on called SimpleNoSQL. It's an easy way to store and retrieve objects to/from disk without dealing with files or SQL. You can check it out here on github. For many projects, we merely want to save data and retrieve it again. This is where SimpleNoSQL comes in. Say I have some class that…