The Missing Bit

Blog posts

Some details about PWA
2021-05-11

The term Progressive Web App has been around for a few years, I am not sure, but I think that it was introduced in this blog post.

It took some years to be properly supported, and as of 2021, it is quite well supported on Android and iOS.

For the past month, I have been working on transforming an hybrid app, composed of a web version, a native Android version and a Native iOS version to a PWA.

There are a few things I'd like to share, about some misunderstanding I had and some technical details about PWA.

Read more »

 

Programming STM32l011 as I2C slave with STOP mode using rust
2021-03-27

In one of my project, I want to use a small microcontroller. Because of it's low cost, low power use and simplicity, I decided to use a STM32l011. With it's TSSOP footprint, I can solder it manually.

The MCU will be sleeping most of the time, and waken up by another MCU via I2C. So I have to put it in STOP mode with wake up from I2C.

Read more »

 

Starting a new game engine project
2020-10-19

I have been wondering for a few years now, if creating my own game engine was a good idea. Absolutely every indicators say NO, this is NOT a good idea, because there are many game engines already, they are mature, and I would just lose my time.

But today I have decided to start coding, even if the universe is telling me to not do it.

Read more »

 

Using address sanitizer with rust and C libraries
2020-08-10

For one of my project, I am writing a mix of Rust and C code. I have to write quite a bit of unsafe Rust to call my C functions.

I had some subbtle memory corruption and I couldn't find the issue.

After a while, I was able to enable the AddressSanitizer, here is how.

Read more »

 

Using Firefox on Wayland with X11 apps
2020-07-18

I use sway on wayland, and one annoyance I had, is this error:

firefox error

Read more »