HackerTrans
トップ新着トレンドコメント過去質問紹介求人

nulltrace

86 カルマ登録 4 か月前

コメント

nulltrace
·4 日前·議論
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.
nulltrace
·27 日前·議論
[dead]
nulltrace
·先月·議論
[dead]
nulltrace
·2 か月前·議論
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.
nulltrace
·2 か月前·議論
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.
nulltrace
·2 か月前·議論
Being a generalist isn't easy.
nulltrace
·2 か月前·議論
[dead]
nulltrace
·2 か月前·議論
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.
nulltrace
·2 か月前·議論
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.
nulltrace
·2 か月前·議論
designed, but never tested
nulltrace
·2 か月前·議論
We went through the same switch. Half our alerts had been firing for a while and nobody ever acted on them.
nulltrace
·2 か月前·議論
Firefox at least randomizes extension IDs per install. Chrome hands all of that to extension devs, basically a "your problem now".
nulltrace
·2 か月前·議論
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.
nulltrace
·3 か月前·議論
Common mistake is trusting the repo instead of the workflow. Then any workflow inherits the same cloud access.
nulltrace
·3 か月前·議論
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.
nulltrace
·3 か月前·議論
We added a preflight curl against registry.npmjs.org before the install step in CI. Not surprising they went down together.
nulltrace
·3 か月前·議論
Downtime is one thing. Silently reverting commits on your default branch is something else entirely.
nulltrace
·3 か月前·議論
Preview deploys are even worse. Every PR spins one up with the same env vars and nobody ever cleans them up. You rotate the key, redeploy prod, and there are still like 200 zombie previews sitting there with the old value.
nulltrace
·3 か月前·議論
Catching accidental drift is still worth a lot. It's basically the same idea as performance regression tests in CI, nobody writes those because they expect sabotage. It's for the boring stuff, like "oops, we bumped a dep and throughput dropped 15%".

If someone actually goes out of their way to bypass the check, that's a pretty different situation legally compared to just quietly shipping a cheaper quant anyway.
nulltrace
·3 か月前·議論
Right, metaclass is a ways off. But even without it, just the core reflection is going to save a ton of boilerplate. Half the template tricks I've written for message parsing were basically hand-rolling what `^T` will just give you.