The Missing Bit

Blog posts

Managing colors on Android with HSLuv
2020-03-09

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
2020-03-08

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
2020-02-27

TL;DR:
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
2020-01-12

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
2019-09-05

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 »