The Missing Bit

Posts

Selecting virtual field in Ecto
February 21, 2017
elixir ecto

In you Ecto model, you might have some virtual fields that needs to be computed when you select from your database.

Read more

Template literals in Typescript
February 17, 2017
typescript

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
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