Better HN
topnewbestaskshowjobs
Log inSign up

keynha

8 karma · joined Jul 19, 2021 (5y ago) · 66 submissions

I build and write about AI systems, data infrastructure, and the practical tradeoffs behind modern software engineering. https://github.com/KayhanB21
Submissions

comment 4mo ago · link · parent

Namespaces, cgroups, mounts, and seccomp account for only 3ms of your 30ms cold start, and exec plus runtime init is 22ms. Is that 22 about the floor for full Node compatibility, or is there still room to cut it?

comment 4mo ago · link · parent

How do you decide when the cache-hit savings are worth riding out a degrading route versus eating the cold start on a healthy one?

comment 4mo ago · link · parent

Makes sense, thanks. The fixed 10-per-bucket cap is what keeps every viewport the same size no matter the zoom, that's the elegant bit.

comment 4mo ago · link · parent

This is really nicely done, the log zoom makes 4M events feel navigable instead of like a wall. How are you serving a viewport at that scale: precomputed levels of detail, or a query against the raw events on each pan and zoom?

comment 4mo ago · link · parent

0.84 Spearman fidelity to the MiniLM teacher at ternary precision is a striking result. How much of that is the quantization-aware training doing the work, versus what a post-training ternary quant of the same encoder would give you?

comment 4mo ago · link · parent

Dropping the explicit P_DIRTY flag in 1.0 is a neat change. What tracks which pages still need to be written back at commit now that the flag is gone?

comment 4mo ago · link · parent

The number that jumped out is 9GB restoring in 2.25s from S3 but 9s from local NVMe. I'd have bet on local, so the inversion is surprising.

comment 4mo ago · link · parent

That coexistence is also why the GC-free rewrite helps more than the speed numbers suggest. An archiver is allocation-light until it hits a compression burst, then the Go heap can spike toward 2x live right when Postgres wants that memory. GOMEMLIMIT caps the spike but pays in GC CPU during exactly those bursts, so on a small instance, you are trading OOM risk for throughput. Rust removes that dial.

9.

Riskratchet: Stop AI-generated code from rotting your codebase(github.com ↗)

2 points · by keynha · 5mo ago · discuss

comment 5mo ago · link · parent

Fiu was told not to reply and had no tools wired up, so the only way it could lose was by printing the secret straight back, which is the half models are already trained hard to resist. The case worth testing is when the agent can send mail or make a request to be useful, because then nobody needs it to repeat the secret, just to take an action that ships it out of band. Whether the secret shows up in the output tells you nothing about that.
123