alelec blog

Technical blog — embedded systems, espresso machines, and more

Teaching Claude to Write Like Me (Not Like Claude)

I’ve been using Claude Code daily for months now. It writes most of my code, documentation, commit messages, PR descriptions. The code is great. The prose, not so much. Not because it’s bad writing, it’s perfectly competent. The problem is it sounds like AI. Every PR description comes out with “This PR implements…” and “Additionally…” and perfect parallel structure across all bullet points. It’s polished in a way that I’m not, and that’s exactly what makes it obvious. ...

April 9, 2026 · 7 min · Andrew Leech

Vario / Forte motor

Baratza Vario / Forte Motor drive parts and ratio Motor Baratza have at least 3 variants of motor used in the Vario… and 120V/230V versions of each: * PN: 1036 / 1037 D-shaft motor * PN: 1058? / ?? Helical shaft motor * PN: 6026 / 6027 Hybrid shaft motor There’s also two styles of motor enclosure used: not sure if these relate to specific part numbers above or not though, or it might be a Mahlkonig vs Baratza difference. ...

March 11, 2022 · 2 min · Andrew Leech

Sunbeam Torino EM8000: Installing an OPV

I’m quite a fan of my Sunbeam Torino It looks great and has a lot of solid features like dosed shot buttons, pour timer, pressure gauge, PID adjustable temperature control, quick warmup, strong steam and a full size (58mm) group head. When the Torino first launched, it did not review well, on CS the response was generally quite brutal… Sunbeam trying to sell it for AUD$2000 put it up against a lot of big names in the industry and people in the know didn’t seem to think it matched up at all. ...

February 17, 2022 · 13 min · Andrew Leech

Bluetooth SIG PTS Testing without the Laird Connectivity PTS Dongle

At work we needed to certify a BLE device recently. We had the legacy PTS dongle provided by Bluetooth SIG, however I found it only supports testing devices up the BLE 4.2 So we need a new BLE Dongle - they now only support the Laird Connectivity | 451-00004 https://store.bluetooth.com/ This is normally stocked by all the online electronics distributers; element14, digikey, mouser, arrow etc. Unfortunately it was out of stock on all of them, for about 4 months. ...

May 11, 2021 · 5 min · Andrew Leech

Sunbeam Torino EM8000: Reducing the pressure with a dimmer

I’m a big fan of my Sunbeam Torino I’ve had my Torino for about a year now. I read the reviews talking it down before I bought it but didn’t have the bench space for a BDB. I also got it for about AUD 1K, much less than the original RRP. For the price I think it’s the best looking machine that has all the conveniences like dosed shot buttons, pour timer, quick startup etc. ...

January 25, 2020 · 9 min · Andrew Leech

Windows Docker Gitlab CI Runner

Windows CI Build Node Install Hyper V Server 2016 (free perpetual eval licence) https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2016 https://technet.microsoft.com/hyper-v-server-docs/Hyper-V-Server-2016 https://blog.docker.com/2016/09/build-your-first-docker-windows-server-container/ Install on your hardware/vm of choice. oVirt / KVM If you’re using oVirt or other KVM based hypervisor for you host, you’ll likely want the console viewer application installed on your local machine: https://virt-manager.org/download/sources/virt-viewer/virt-viewer-x64-6.0.msi Set up the vm with the disk connected to IDE initially, we can switch it over to faster VirtIO once drivers are installed. ...

July 30, 2018 · 6 min · Andrew Leech

Windows Docker Gitlab CI Runner (2019)

Windows CI Build Node Install Windows Server Core 2019 or Windows 10 (eval licence or full). https://uupdump.ml/ Can be used to download latest versions. Hyper V Server 2019 not working as of Feb 2019: https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/945 https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2019 https://medium.com/@RealNetwork/direct-download-links-windows-server-2019-datacenter-standard-essentials-hyper-v-server-2019-5f53357eeeac https://software-download.microsoft.com/download/pr/17763.1.180914-1434.rs5_release_SERVERHYPERCORE_OEM_x64FRE_en-us.iso Install on your hardware/vm of choice. System Setup Once it’s installed you’ll see a console on the vm screen. Firstly you’ll be asked to set a password, do so with something memorable. ...

July 30, 2018 · 9 min · Andrew Leech