tomchuk

Joined 15 years ago

Karma
163
Submissions
45
Member since
Sep 14
[ my public key: https://keybase.io/tomchuk; my proof: https://keybase.io/tomchuk/sigs/0mUjRPfiF2-BlwbsDtzTja2UpJ_tqmsdF8huKITHUZc ]
View on Hacker News

Recent submissions

Comment · 1 month ago
On a whim, I did EMT-B training a few years ago. Part of that course is a responder-level CPR cert. Through muscle memory, one of my fellow students jumped on scene during the evaluation, and the first thing she did was instruct a bystander to "Call 911!"

To which the evaluator responded, "You are 911"

Comment · 2 months ago
Wired up Twilio & Anthropic API on a Cloudflare Worker so I can chat with Claude via Garmin InReach during a 3-week backcountry trip to Alaska's North Slope. Location metadata is included in the system prompt for accurate location-based info (weather, hunting regs, etc). Waiting to hear back from Garmin sales for access to their professional plans, which include their inReach Portal Connect inbound/outbound APIs.

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.

Comment · 5 months ago
Oh, you’re right, I do have the DM16L!
Comment · 5 months ago
Comment · 6 months ago
… and a M1 MacBook will source 5V/3A all day long to a non-PD negotiated sink. Somewhere between the M1 and M3 Apple decided to buy into USB-IF compliance and limit to 500mA.

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)

Comment · 1 year ago
IAM, Cloudfront, Route53, ACM, Billing...
Comment · 1 year ago
Comment · 1 year ago
Can't mention Fibonacci and memoization in the same sentence without me breaking out my favorite Python party trick:

    def fib(n, cache = {0: 0, 1: 1}):
        if n not in cache:
            cache[n] = fib(n-1) + fib(n-2)
        return cache[n]
Comment · 2 years ago
Very relaxing. Until impossibly small $15 Incabloc springs start flying around the room. I'm convinced these sublimate into a vapor the moment they fly out of view of your loupe.
Comment · 4 years ago
Comment · 4 years ago
I have a shell function I use all the time to keep track of both calendar and timezones where our teams are located

  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
  }
Comment · 4 years ago
I have an older iPad mini for this purpose (but an old iPhone without a data plan would work too). I setup a separate home@<domain> iCloud account under my family plan and use it exclusively for streaming music vi AirPlay, cooking w/ recipes on Paprika, HomeKit controls, reminders, timers, etc. - no Slack notifications, no calls, no calendar reminders. The AppleTV goes on the same account too. It's really been a great solution.
Comment · 4 years ago
Kenji Lopez-Alt, of Seriouseats and “The Food Lab” fame, is coming out with his new book, “The Wok”, here is his travel rig: https://www.instagram.com/p/CaxbNwdvOTR/. I’ve had a similar wok hob for years, and while fitting the wok to the curvature of the hob is essential, once you’ve got that figured out, it’s an absolute joy to use. Even, fast, powerful heat - nowhere near to a commercial gas hob, but neither is my gas range at home. My next home or kitchen reno will be induction, not even considering gas.
Comment · 5 years ago
I’ve divulged my camera & network setup. Sure, you could use that info to sneak up to my house, turn the gas off to my generator, cut the power, wait 3h for the batteries in my UPS to run out….

Or you could walk up and smash a window wearing a balaclava.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton