Writing
Notes on software engineering and the things I’m learning.
On Goal Setting
Why I stopped chasing every new technology and set a better goal as a developer: know the product and codebase well enough to ship faster.
First steps in mitigating Software Complexity
A Bezos-style mandate for teams whose codebase has grown too complex: document every feature, explain the why in comments, and share answers.
Twitter/Instagram Like Date Format In Angular
Building a custom AngularJS directive that shows dates in a Twitter or Instagram style time-ago format, such as 10m or 3h.
Why you can’t ping a specific port
Ping sends ICMP echo requests, and ICMP has no concept of ports. A short look at the network layers explains why ping host:port fails.
Rbenv - Internals
Under the hood of rbenv: how shims intercept Ruby commands, what rbenv exec does, and why rehash can fail because of a leftover file.
Decorators in Python
What Python decorators are and how they work, with a simple example: timing how long a function takes without changing its body.
An Informal Introduction To Lambda Calculus
Where lambda expressions come from: an informal introduction to lambda calculus, its history and function application, starting from Python.
Power up your Sublime Text as Ruby/Rails IDE
The plugins, tweaks and keyboard shortcuts that make Sublime Text work like a full IDE for Ruby and Rails development.
Android Array Adapters — What most of the tutorials don’t tell you
A deep dive into Android’s ArrayAdapter: how adapters work, its constructors, and the common mistakes in most custom adapter tutorials.