The Missing Bit

Posts

Convolution filter in javascript
February 2, 2017
javascript

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
localization

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
postgresql

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

Introducing backy, PostgreSQL background jobs for elixir
August 9, 2016
elixir postgresql

I have been using backy for a while now, a small background job library I’ve written for elixir.

While it is not used in production yet, I had it working well in testing and staging.

There are still issues to be addressed before using it in production, but so far I’m quite happy with how it works.

Update: I’ve been using backy for 1 year in production now, and it worked well.