The Missing Bit

Posts

Using CMake to deploy to avr microcontrollers
July 11, 2018
electronic avr

While working on a project that started with an arduino, I ended up having to make my own PCB for size and power consumption.

I moved to the Atmel atmega328P which is a pico power microcontroller that is mostly Arduino compatible.

While digging into the documentation, I realized that the Arduino libraries, while being really handy, have a few limiting factors (for example changing pins at the same time) and I started to look on how to code for the avr microcontroller without the Arduino IDE and libraries.

There are many resources online on how to use the avr CPU with minimal wiring, but I will concentrate on the toolchain here.

Read more

How Elm saved my life
March 1, 2018
programming elm

While the title of this post seems to be a clickbait or an over exaggeration of how a programming language can affect one’s life, it is not wrong. It is not the sole factor, more a piece of a lot of little changes in my life, but it was an important one.

Here is the story of how Elm helped me out of burn out and back to programming with a smile.

Read more

Running multiple tasks side by side
September 26, 2017
unix

When doing web development, it’s not unusual to have to run multiple watchers/server.

For example, you might have an hugo server running next to a webpack watcher.

Read more

Using SVG sprites in elm with webpack
June 26, 2017
svg elm webpack

SVG sprites is the new way to use icons in web app. Actually it is not “that new”, but support now in 2017 is quite good.

It is actually quite easy to use them from elm.

Read more

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

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

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

Read more

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

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

Read more

Leaving macOS, part 2: Requirements
March 11, 2017
macos windows

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

Read more

Leaving macOS, part 1: Motivations
March 7, 2017
macos windows

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

Read more

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