The Missing Bit


Template literals in Typescript
February 17, 2017

It might be common knowledge, but I just discovered that Typescript was supporting JavaScript template literals.

Read more

Convolution filter in javascript
February 2, 2017

While working in a project, I needed a convolution filter in javascript. I ended doing it server side, but I thought I’d share my thoughts.

Read more

Using promise and fetch with Typescript
February 1, 2017

The current Javascript ecosystem is confusing, and that’s an understatement.

I use Webpack to bundle my Typescript projects to the browser, and until now, I used Q.js and regular XMLThingyRequest.

The time has come to use native Promise and the fetch API. What I wanted is a low friction way to use that in my Typescript projects. By low friction I mean, like I’m using the native API with no shim.

Read more

Using NODE_ENV with typescript and Webpack
January 30, 2017
node typescript webpack

Read more

Test driven development in Elixir
January 29, 2017
elixir testing

For those sleeping in the corner, test driven development is simply having tests run every time you modify a file.

Coming from the rails world, I first looked into something like guard. But guard always felt complicated and bloated. I just want to watch a few files and have my elixir tests be run when they change.

Read more

Useful UNIX commands
January 29, 2017
unix commands linux

This is my list of less known but great UNIX command I use daily.

It’s mostly focused on development rather than sysadmin.

Read more

Using Makefiles
January 29, 2017
JavaScript Web Development Makefile

Why do I think of Makefiles now? Simply because I opened a 3 months old project and it took me 10 minutes to figure out how to build it. Yes, I could have written a README, but it was a home project (I know I should have…).

Read more

Mitigating CSS gradient banding
September 16, 2016
css design gradient

While working on a design that included a gradient, I noticed banding when the gradient was rendered by the browser.

Read more

Notes about localization
August 12, 2016

Living in a multilingual country, nearly all apps I make are localized.

At least in french and english, but also often german. Having to deal with 3 languages on all my apps wasn’t always easy.

In this article I share some experience and thoughts about localization.

Read more

Keeping an ordered collection in PostgreSQL
August 10, 2016

I’m hitting an issue I’m quite sure a thousand developers encountered before me: how to keep an ordered collection in an SQL database.

Keeping an ordered collection seems trivial at first, but can soon become quite complicated.

Lets summarize: what we have is a table A, referencing a table B via a foreign key, and we want to keep the B rows belonging to A sorted.

Read more