Brian McKenna

@puffnfresh
557 Followers
298 Following
315 Posts
Functional programming, electric vehicles, renewable energy, Tasmania

I occasionally use mouse keys, but they're not good for rapid movements. I've always thought that I'd like eye tracking to quickly move my cursor. A few years ago, I bought a cheap Tobii Eye Tracker 5 on eBay. I assumed there would be a Linux driver for this, it's the 2020s! The future is not evenly distributed.

The device has two parts: an IR camera for head pose detection, and a built-in "EyeChip" which detects eyes and predicts where you're looking.

I've finally got both reverse engineered!

I'm now trying to keep a branch active with the latest #NixOnWindows. I've got a demo here, which starts a tiny Windows VM with a cross-compiled Nix installed, from Linux: https://github.com/nix-windows/nix-windows-demo
GitHub - nix-windows/nix-windows-demo

Contribute to nix-windows/nix-windows-demo development by creating an account on GitHub.

GitHub
Been using a branch of Battery Emulator for my home battery. It provides a totally new UI, which is powered via JSON and not hundreds of HTML strings concatenated together. Way faster. I'm more confident in this branch than the main one.
Nix's CI now runs a few basic unit tests on Wine, ensuring progress to #NixOnWindows is not regressed! https://github.com/NixOS/nix/blob/ee955b3206ee3ef6e811a4960c2c15e5f1b5d09d/ci/gha/tests/windows.nix
nix/ci/gha/tests/windows.nix at ee955b3206ee3ef6e811a4960c2c15e5f1b5d09d · NixOS/nix

Nix, the purely functional package manager. Contribute to NixOS/nix development by creating an account on GitHub.

GitHub
I stayed back after work with two other people at Obsidian Systems to continue work on #NixOnWindows. It's so close to being useful! Most unit tests passing, I've even managed to do a few actual builds!

NEW: A Queensland software engineer has been in a four-and-a-half year long battle with Services Australia to get a look at a MyGov app's source code.

He says we should be able to scrutinise it to make sure it's secure. Services Australia says it's a national security risk.
https://www.crikey.com.au/2026/02/09/mygov-app-code-services-australia-security-fraser-tweedale/

Pre-charge resistor is testing at 24 Ohms, exactly what it should be. I really doubt the capacitor is bad. I can hear a contactor click, but I guess that's the next thing for me to check.

I'm going to try the threaded rod trick: https://github.com/imiev-battery-upgrade/imiev-battery-upgrade/blob/main/pack_removal.md

But I'm not sure why the instructions say to raise the vehicle before dropping the battery. The distance between the battery and my dollies is only 7cm. Surely I can get the battery onto the dollies, THEN raise the car to give clearance to roll the battery out. Much quicker and safer.

imiev-battery-upgrade/pack_removal.md at main · imiev-battery-upgrade/imiev-battery-upgrade

Documentation for upgrading a Mitsubishi i-Miev/Peugeot iOn/Citroën C-Zero high voltage battery. Work in progress! - imiev-battery-upgrade/imiev-battery-upgrade

GitHub
iMIEV is showing 0V on the inverter capacitor, so the pre-charge circuit has some issue. Sadly the resistor and contactors are in the battery pack. It's stuck in my garage, so I'm going to have to drop the 250KG battery with a jack and some axle stands.

“pandoc for the people”, the pandoc wasm web-app, is now available at https://pandoc.org/app/
It allows to run any kind of document conversion that pandoc supports in the browser. The documents never leave the computer, thus ensuring *full privacy*.
Conversions to pdf are done via Typst.

#pandoc #wasm #typst

Pandoc in the browser