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.
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.
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.
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.
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.
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.
Using SVG sprites in elm with webpack
June 26, 2017
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,
Leaving macOS, part 4: Landing Setup
April 17, 2017
This is the fourth and last part of my entry about leaving macOS.
Leaving macOS, part 3: OS Candidates
March 12, 2017
This is the third part of my entry about leaving macOS.