Aurélien Gâteau

Introducing Git Bonsai

written on Sunday, March 22, 2020

I don't know about you, but when I work in a git repository for a long time, I tend to accumulate branches, which I need to clean up.

There are a number of tools to do this, but since I have been teaching myself Rust I thought it was a good topic for a first "real" program. So here is "Git Bonsai", a command-line tool to help you keep your git repository clean and tidy by:

  • updating all branches to their remote ones
  • deleting the merged branches

For example, given a repository like this:

$ git log --all --oneline --graph
*   f97c782 (HEAD -> master) Merging topic1
|\  
| *   f6bfa90 (topic1) Merging topic1-1
| |\  
| | * 6943ed2 (topic1-1) Create topic1-1
| |/  
| * 4ea41ff Create topic1
|/  
| * eec4ebe (topic2) Create topic2
|/  
* b8b1506 Init
$ git branch
* master
  topic1
  topic1-1
  topic2

Bluetooth Speaker part 5 - Electronics, take 3

written on Sunday, March 8, 2020

This article is part of a series on creating a Bluetooth speaker from an old vacuum tube radio and spare parts I had lying around in the house.

If you remember well, my first attempt at electronics for this Bluetooth speaker project was using an all-in-one Bluetooth + amplifier board. It did not go well, so I tried to use the guts of an existing Bluetooth speaker instead. That almost worked, but I experienced stability issues I was not able to solve :(

This article is about the third attempt: following the instructions from the Radio Workshop (which I mentioned at the end of part 3) to get a working Bluetooth + mono amplifier (hopefully).

Pixel Wheels 0.15.0

written on Sunday, February 9, 2020

I am happy to announce the release of Pixel Wheels 0.15.0, the first version of year 2020! This version could almost have been called 0.14.2 as it's mostly made of bug fixes. Take this as an hint that the game is almost feature complete... at least that is how I analyze it :)

What's in this new version, you ask?

Bluetooth Speaker - Part 4 - Frontend work

written on Sunday, January 26, 2020

This article is part of a series on creating a Bluetooth speaker from an old vacuum tube radio and spare parts I had lying around in the house.

So, while I was waiting for the components I ordered at the end of part 3 to arrive, I spent some time working on the "frontend": the front panel of the radio.

In case you forgot, this is what the original front panel looked like at the beginning:

  • The front panel

After some work on the cabinet itself, the wood looked much better:

  • After tainting and varnishing
  • Speaker mounted in

But the original radio had a cloth and a grille to hide the speaker, so there was more work to do on the front side.

Bluetooth Speaker - Part 3 - Using an existing Bluetooth speaker

written on Monday, January 13, 2020

This article is part of a series on creating a Bluetooth speaker from an old vacuum tube radio and spare parts I had lying around in the house.

So after the failure of part 2, I decided to try a seemingly safer approach: buy a small Bluetooth speaker, tear it down and use its guts to power my radio.

I bought a small portable Grundig GSB 710 Bluetooth speaker. It's a mono speaker, but since the radio I am working was also mono, as was common by the time it was created, it felt like a good fit. I checked it worked and started to tear it down:

  • Opening the box
  • Main circuit is out, unplugged from its speaker
  • Control board removed
  • Soldering wires to the ribbon cable, ghetto-style, because I didn't have any connector handy
  • Covering the mess with thermoretractable tube

Bluetooth Speaker - Part 2 - Attempting to update the audio hardware

written on Monday, December 30, 2019

This article is part of a series on creating a Bluetooth speaker from an old vacuum tube radio and spare parts I had lying around in the house.

As I explained in part 1, the electronics looked too old so I decided to replace it with a small Bluetooth audio amplifier board and two loud speakers.

I ordered a TPA3116D2-based Bluetooth amplifier from Nobsound and a pair of MTX TX450C, 4 Ohms loud speakers.

  • The Bluetooth amplifier
  • The loud speakers

Bluetooth speaker - Part 1 - Introduction

written on Wednesday, December 25, 2019

This article is the first of a series on creating a Bluetooth speaker from an old vacuum tube radio and spare parts I had lying around in the house.

At the time I am writing this, the speaker is not done yet, so there is still a chance that I never finish it... As you will see, the journey so far as not been straight, I hit a few roadblocks and changed my mind while working on this project.

Let's start with the reason I started this project. When we moved in our house, more than a decade ago, I found this old vacuum tube radio left around by the previous owner:

  • The radio

I have always wanted to make something out of it, but never took the time to do so, until last month.

Pixel Wheels 0.14.1

written on Monday, November 18, 2019

Last week I released version 0.14.1 of Pixel Wheels (I am a bit late with the announcement, it has been a busy week).

The "Side buttons" input mode

I am happy to say this is the first release to include changes from other contributors, thanks to Tim Schumacher and Julien Bolard!

Here are the most important changes:

Inktober 2019, cats!

written on Sunday, November 3, 2019

I participated again to Inktober, the yearly challenge where you draw and ink one drawing a day each day of October. The Inktober web site provides a "prompt list": a list of words for each day, which you can (but are not forced to) follow.

Inktober 2019 prompt list

I followed it as it helps me come up with drawing ideas, and I also picked "cats" as a recurring theme, so all my drawings are filled with kittens. This makes them very Internet friendly, since as we all know, the Internet was created to share cat pictures, right?

SFXR Qt 1.3.0

written on Monday, September 16, 2019

I just released version 1.3.0 of SFXR Qt, my Qt port of the SFXR sound effect generator.

Screenshot

There aren't that many new features for end users:

  • A new wave form: Triangle.
  • A new file format: SFXJ.

The new file format opens the road to adding new features. I have a few ideas in mind, will see how it goes.

Nevertheless, this release brings several under the hood changes: