The Missing Bit

Blog posts

Using promise and fetch with Typescript
2017-02-01

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
2017-01-30

 

Test driven development in Elixir
2017-01-29

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
2017-01-29

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
2017-01-29

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 »