Latest articles

Don’t forget to call your Dad too

As I explained in the first article of this series, my reason for creating the Call Mom app was that my mother passed away. At first, I used the app for calling my dad, so I soon started looking into how to create two very similar apps with differ...

Read this article...

Monochromey CSS

Let's say you have a photo that you want to show somewhere on a web page. The photo is rich in color, but you need to follow a strict color scheme, maybe because of brand guidelines, or just because you like certain colors more than others. The fi...

Read this article...

Don’t forget to give the user a choice

To allow a user to select a contact from their phonebook, the recommended way is to use the contact picker registered by the operating system. Start by creating an and calling . When this method is called, preferably from a button click or other us...

Read this article...

Don’t forget to build that app

For this task, I went for writing the app in Java . Learning techniques that were completely new to me, like Kotlin or React Native , were not the main focus for me at the time, though I have gotten into both of those later. So I installed Androi...

Read this article...

Don’t forget to call your mom

It all started when my mother passed away. She had COPD , a horrible disease that gets worse in a series of infrequent exacerbations over several years. She would be stable for months and then, unexpectedly, find herself hooked up to a respirator f...

Read this article...

Emulating ZX Spectrum graphics in JavaScript

TL;DR: I'm using EcmaScript 6 Proxy objects to keep track of dirty blocks in emulated ZX Spectrum video RAM. Try it out at lbrtw.github.com/zx-spectrum-bitmap or dive into the code by cloning or forking github.com/lbrtw/zx-spectrum-bitmap.gi...

Read this article...

Using Source Maps with CSS

StackOverflow user Rob had a problem inspecting his SASS stylesheets after having them preprocessed by Codekit . Having set the Output Style to "Compressed", the resulting CSS stylesheets were optimized and minified, making it almost im...

Read this article...

FizzBuzz in CSS

One recurring complaint among experienced programmers is that there are lots of junior talent that could not even implement a simple FizzBuzz program. One blog article that started it off was Using FizzBuzz to Find Developers who Grok Coding , writte...

Read this article...

Converting from Type to SqlDbType

StackOverflow user Simone Salvo asked how to do a smart conversion between .Net and , which is not really a trivial task. For my answer, I wrote the following somewhat naïve code: Caveat The above code works fine in most cases, but comes with so...

Read this article...

Finally got around to fixing Sparky

Back in 2010, the iPad was all the rage. The first really usable tablet device, sporting lightning-fast multitouch capabilities, that were even exposed as (then non-standard) HTML5 Web APIs for JavaScript developers to play with. It wasn't alw...

Read this article...