Jim's Depository

this code is not yet written
embedded category
A few overlooked SDK calls and a realistic ADC_VREF value separate useful thermal monitoring from nonsense readings. The RP2040’s on-chip sensor won’t replace a precision probe, but it can flag an overheating enclosure before it cooks a project.
embedded category
Turn Pico’s CMake setup and UF2 flashing into a repeatable `make install` workflow, with configurable SDK and mount paths. The compact targets also show how `fstab` permissions and `sync` remove common friction on a Raspberry Pi host.
embedded category
A USB console command can wipe the secondary bootloader and force a Pico back into UF2 mode, eliminating physical reset-button access during development. The historical technique also exposes RP2040 flash-programming hazards, watchdog recovery, and why `reset_usb_boot()` is now the safer choice.
embedded category
Programmable I/O can make USB devices responsive without a debugger bolted onto every prototype. A software route back to RP2040 boot mode plus Debian’s mount tooling could turn reflashing from a button-timing ritual into a single Make target.
femtoblogger category
Browser-driven color schemes can make a lightweight publishing interface easier on the eyes without maintaining separate themes, while CSS variables help avoid mismatched form controls in Safari.
femtoblogger category
A quick Markdown-engine swap and Prism syntax highlighting show how a small Swift publishing stack can reduce maintenance while making code-heavy posts easier to read—without turning deployment into a project of its own.
swift category
Build embedded SSH or management consoles without hand-rolled dispatch, broken whitespace splitting, or awkward global state. ParsableCommands extends Swift Argument Parser with command routing, shell-aware tokenization, and a practical pattern for injecting runtime context.
swift category
Avoid building and securing a hidden admin HTTP surface just to inspect a running service or flip a setting. SSHConsole uses SwiftNIO SSH to expose plain-text operational commands on a separate, key-authenticated port.
swift category
A lightweight SSH control plane can simplify backend operations without bolting an interactive shell onto your service. The build exposes the sharp edges of SwiftNIO’s event loops and ArgumentParser state, including a practical workaround for transient command context.
femtoblogger category
A missing safe mode in a third-party Markdown parser can turn a harmless long post into a publishing failure—or an XSS risk. The debugging trail shows how edge-case HTML handling and an unmaintained dependency complicate even a small blog fix.
more articles