All articles / Category
Python
Python scripting and tooling notes.

Troubleshooting UnixLocal Workspace I/O and Cancellation Safety
UnixLocal workspace I/O and cancellation involve two separate correctness boundaries: keeping workspace operations away from the event loop, and preserving worker ownership until a cancellation-safe operation has completed. The upstream implementation and its regression tests provide bounded evidence for both boundaries.

When an Async Stream Finishes but the Run Failed: Preserving Exceptions at the Boundary
An asynchronous event stream can reach completion while its background run loop has failed. This troubleshooting note describes the exception boundary that preserves that failure, the race it addresses, and the focused regression cases that verify both failure and success paths.

Internet Watchdog on Raspberry Pi
Monitor your internet connection with a script that restarts the router if it fails and reboots the device if the problem continues.

Jupyter Notebook on Raspberry Pi
Writing Python scripts for Raspberry Pi can be even easier.