Better HN
topnewbestaskshowjobs
Log inSign up

nulltrace

90 karma · joined Mar 10, 2026 (8mo ago) · 70 submissions

Submissions

comment 1mo ago · link · parent

Looping works, though reusing the same small buffer mostly measures hot-cache performance.

comment 2mo ago · link · parent

No. Node's built-in fetch uses Undici. The custom hook is dispatcher, with an Undici-compatible dispatcher: fetch(url, { dispatcher })

comment 2mo ago · link · parent

Soon my phone can cryptographically prove the beauty filter lied at capture time.

comment 2mo ago · link · parent

Rebuilding strip from clean source doesn't clear it. The copy in the bootstrap seed modifies its replacement, and the replacement carries on from there. The provenance can still look normal.

comment 2mo ago · link · parent

Rebase an old branch and it suddenly looks recent again. The rewritten tip gets a fresh committer date.

comment 3mo ago · link · parent

A replacement app could just send the vendor-signed image and leave the signature check to the device. Plenty useful once the official app disappears.

comment 3mo ago · link · parent

Anything in our stack is modern C++ if we can help it. If Mojo can replace those kernels without the Python runtime sitting underneath, even better.

comment 4mo ago · link · parent

I think your concrete treehouse counts too though. Add a shower and suddenly you need plumbing, drainage, the structure has to hold more weight. The overcomplicated part drags the overengineered part along with it. They pretty much collapse into the same thing.

comment 4mo ago · link · parent

That loop reads like a bug to anyone who hasn't memorized the wrapping rules. while (i-- > 0) on a signed index does the same thing.

comment 6mo ago · link · parent

The SKIP LOCKED pattern is fine until the worker count climbs. Then vacuum can't keep up. Dead tuples pile up, visibility map turns to swiss cheese. Queue table is tiny on disk but the planner thinks it's huge and stops using the index. It gets ugly fast.

comment 6mo ago · link · parent

Compiler mode won't catch the `extern "C"` thing though. Both sides compile happily, link blows up on mangled names. What I do is just keep a throwaway .cpp in tests that #includes the header and calls a few of the public functions. Dumb but it's basically the only thing that ever catches that case before some downstream user does.

comment 6mo ago · link · parent

Being a generalist isn't easy.

comment 6mo ago · link · parent

Most IAM policies start as "whatever made the deploy pass." Need rds:CreateDBInstance? Fine, rds:* it is. Ship it. Months later that same role can wipe the cluster and nobody remembers why it ever had that permission.

Separate accounts help, but only if someone actually goes back and cleans it up, which… yeah, doesn't really happen.

comment 6mo ago · link · parent

There's a GitHub issue for the freeze thing. Their security scanner passes the full dep list as CLI arguments, large monorepo on Linux and you blow past ARG_MAX. Spawn silently hangs, no error, --ignore-scripts doesn't help because the scanner is separate from postinstall. Been broken since 1.3.5 at least.

comment 6mo ago · link · parent

designed, but never tested

comment 6mo ago · link · parent

We went through the same switch. Half our alerts had been firing for a while and nobody ever acted on them.

comment 6mo ago · link · parent

Firefox at least randomizes extension IDs per install. Chrome hands all of that to extension devs, basically a "your problem now".

comment 6mo ago · link · parent

Stale training data is part of it. But even a current model can't tell what setup.py is going to run on your box. Nothing actually inspects the package before it executes. You'd want something that pulls the metadata and checks what hooks are in there before anything runs.

comment 7mo ago · link · parent

Common mistake is trusting the repo instead of the workflow. Then any workflow inherits the same cloud access.

comment 7mo ago · link · parent

Browsers already treat the same SVG differently depending on how you embed it. <img> strips scripts and external resource loads. <object> and inline don't. People test with img tags, looks fine, then someone switches the embed method and everything opens up.

comment 7mo ago · link · parent

We added a preflight curl against registry.npmjs.org before the install step in CI. Not surprising they went down together.

comment 7mo ago · link · parent

Downtime is one thing. Silently reverting commits on your default branch is something else entirely.
123