The Missing Bit


Managing colors on Android with HSLuv
March 9, 2020

Android do not provide HSLuv support out of the box, here is a little trick to generate Android colors from an HSLuv source.

Read more

HSLuv, a developer friendly perceptual color space
March 8, 2020

As a developer, managing colors can be tedious, but there are “developer friendly” solutions, HSLuv is one of them and I will explain what it is and how it can help.

Read more

Introducing Base24
February 27, 2020

Base24 is a binary-to-text encoding aimed at encoding short keys (32-512 bits) for human usage.

Read more

Setting up an android app from scratch without IDE
January 12, 2020

I am starting Kotlin development for Android, and as for all my developments, I’d like to use vim and command line. There are many reasons motivating me to ues a bare setup without an IDE like controlling everything, using my current toolchain and learning.

This post will describe how to make a Hello World Android application using only a text editor and command line tools.

Read more

Accessing GPIO on the beaglebone black with rust
September 5, 2019

For a small project, I needed to be able to control some GPIO with Linux. I had some experience with the raspberry pi, but I wanted something more open (hardware wise). I tried the beaglebone black wireless, and was pleased with the experience. I had a minor issue, is that accessing GPIO with sysfs was slow (like 3Khz), and I wanted much faster GPIO.

I toyed a bit with it, and found a lower level solution I explain in this post. It’s in rust because I am learning the language, but it’s low level, so you should be able to do it in C.

Read more

Simple Containers
December 19, 2018

While working with openembeded, I needed specific version of some software (well, not specific, but not the bleeding edge Arch Linux has).

I didn’t want to use a virtual machine because I wanted shared filesystems to be able to work on the project from Arch and compile it using a stable distribution.

Read more

Using CMake to deploy to avr microcontrollers
July 11, 2018

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

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

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