tomchuk
Joined 15 years ago
Joined 15 years ago
To which the evaluator responded, "You are 911"
Also working on a small, portable USB-PD bench power supply: Regulated 3V3, 5V, 12V & unregulated PPS/EPR AVS pass-through. RP2040 running the show, driving a little OLED screen & some buttons for configuration. Includes a separate, galvanically isolated USB-C port in CDC-ACM for data: Dumps CSV data by default, then switches to a native protocol via handshake with a desktop/cli app. Desktop app shows live graphs for all outputs, exposes configuration, alarms, etc. CLI can turn every config knob, give live readings, or run a TOML-defined test plan. PyO3 wrapper around the protocol lib for easy scripting. Firmware is Rust/Embassy, GUI/CLI is Rust/eGUI/Ratatui. Goal is for it to be about the size of a pack of cigarettes.
Has lead to some very embarrassing “works on my computer” situations on prototype boards shared with my EE colleagues (I’m a software guy who dabbles in hardware when I need to)
def fib(n, cache = {0: 0, 1: 1}):
if n not in cache:
cache[n] = fib(n-1) + fib(n-2)
return cache[n] now() {
cal -3
echo
echo -n "Local: "
date --rfc-3339=s
echo -n "UTC: "
date -u --rfc-3339=s
echo -n "New York "
TZ='America/New_York' date --rfc-3339=s
echo -n "London: "
TZ='Europe/London' date --rfc-3339=s
echo -n "New Zealand: "
TZ='Pacific/Auckland' date --rfc-3339=s
}Or you could walk up and smash a window wearing a balaclava.