FORWARD HOST SSH-AGENT TO DOCKER BUILDS ON MACOS

Situation and Goal A dependency of your crate that you want to containerize is a git repository referenced in your Cargo.toml. You are a responsible developer and use passphrases for your SSH keys, running SSH key-agent. You don’t want to copy private keys onto a Docker-image. With these constraints cargo cannot fetch the sources on build when run inside Docker during the Dockerfile build script, well not without some access to the ssh-agent.

YOUR ENCRYPTED DATA IS LOCKED ON THIS DEVICE

Google Services become ever more unhelpful Problem: Trying to use a passkey on a new phone that has not been restored from the old phones backup (i.e. phone lost, factory reset, …). Google Chrome says in english: “Your encrypted data is locked on this device” german: “Ihre verschlüsselten DAten sind auf diesem Gerät gesperrt” with a completely useless infotext and help-URL.

USE RSYNC TO TRANSFER FILES TO/FROM ANDROID PHONE

I used Sony phones for the last 10 years, which always allowed the use of microSD cards. Recently Sony stopped producing the Xperia 5 series, which would have had an okay size (I actually would love the Xperia 5 compact series to come back!). I am not going to get an even bigger phone, therefore I had to switch brand. Reasonably performing phones do not have microSD slots anymore. Hence, me learning about the crappy place that is called MTP and hard to use wifi transfer tools.

SELF-HOSTED WEATHER STATION DATA VISUALIZATION

My dad bought a weather station. Since I don’t like relying on cloud services that might go away at any point in time or request monthly fees from you, I made sure he gets a model that can send it’s data to a local hosted service.

THUNDERBOLT BRIDGE FOR FASTER NETWORKING

For context, I have an absurdly fast internet connection, much faster than any wifi standard. When playing around with open source LLMs via ollama, the downloads of those models are huge but also hosted on very fast servers. Downloading on my desktop, which is a Mac Studio connected via 10Gb ethernet was a breeze with 900 MB/s download speeds. Doing the same over wifi would be at least 10x slower at my home (no wifi 7 devices there yet). Installing the models on my laptop therefore would be way more efficient with wired Ethernet connection. One solution could be to buy a USB-C to 10G Ethernet adapter and plug that into the 10G switch in my office. Or simply connect the two computers via Thunderbolt cable directly. By default macOS offers a “Thunderbolt bridge” to network all macs connected via thunderbolt ports. However by default, the Ethernet port of the Mac Studio is not included in that bridge.

USE LOCAL OLLAMA DEVSTRAL MODEL WITH ZED

I started playing with Zed an editor for programming with AI agent support. Since it allows us to run local models via ollama I played around with it, here are the steps to reproduce it on macOS:

TRUENAS REPLACE ZFS DISKS WITH BIGGER ONE'S

System: TrueNAS Community Edition 25.04.1 Goal: replace the 4x 4TB RAID-Z2 ZFS pool’s disks with bigger 12TB disks to increase the available space from 6.9TiB usable to 21.01TiB usable space.

ADA, GO FORTH, C PYTHON & BASH RUST!

Came up with the phrase Ada, go forth, C Python & bash Rust! while I was preparing breakfast. Absolutely no clue how my brain came up with this, but now it’s archived here :)

CONNECT TO MIKROTIK ROUTER SERIAL CONSOLE PORT

I added a too restrictive firewall rule to my Mikrotik router and locked myself out of the machine, because it dropped all incoming TCP connections. The only access I allowed was via their web-UI and SSH, both TCP based protocols - I was locked out.

FROM PYTHON TO RUST

I have created a YouTube channel called Bedroom Builds on there I started a Series that shows how to transition from Python to Rust - enjoy :)