The Missing Bit

Posts

Don't leave password around in SPA
June 10, 2017

There is one thing I have noticed with SPA (single page app) login forms. Many of them keep the password in memory. And when I say in memory, I don’t mean as freed() memory which may require freezing your PC’s RAM to access, I mean as actual living object within the javascript state.

Read more

Leaving macOS, part 4: Landing Setup
April 17, 2017

This is the fourth and last part of my entry about leaving macOS.

Read more

Leaving macOS, part 3: OS Candidates
March 12, 2017

This is the third part of my entry about leaving macOS.

Read more

Leaving macOS, part 2: Requirements
March 11, 2017

This is the second part of my entry about leaving macOS.

Read more

Leaving macOS, part 1: Motivations
March 7, 2017

This is the first part of my entry about leaving macOS.

Read more

Selecting virtual field in Ecto
February 21, 2017

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

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