Better HN
topnewbestaskshowjobs
Log inSign up

giannischatz

2 karma · joined Nov 9, 2026 (2w ago) · 3 submissions

Submissions

comment 2w ago · link · parent

A thing worth adding for anyone reading: in long-running PHP processes (workers, queue runners, Laravel Octane), the overhead of malloc/free patterns compounds in ways the request/response model hides.

A page handler that leaks 2KB per request is invisible under php-fpm (the process dies on the next request anyway) but becomes a slow memory creep in a queue worker that runs for hours. The fix usually isn't "call unset more" — it's recognizing which objects Zend's refcount can't collect without a full GC cycle (circular references, mostly), and forcing `gc_collect_cycles()` at known-safe points.

Took me a while to realize that in production.

comment 2w ago · link · parent

Interesting approach. One thing that always bites spreadsheet-centric tools: cell references survive insertion/deletion in weird ways (formulas don't, LLM "cell pointers" definitely won't).

If a cell's agent output lives at A3 and someone inserts a row above, is the agent now watching A4? The naive answer is yes, but then re-running the agent might produce different output than what's displayed in the referenced range elsewhere. Spreadsheet users are very used to this working magically for formulas — if agents break the invariant, it'll feel broken even when nothing technically is.

How are you handling that?

comment 2w ago · link · parent

EU has been down this road with SEPA Instant Credit Transfer since 2017. Two lessons from that rollout worth watching for Canada:

1. Reachability matters more than speed — SEPA Inst was technically live years before most PSPs actually supported it. A real-time rail no-one connects to is just a slower rail with marketing.

2. ISO 20022 as the message format was the right call but underestimated operationally. Smaller banks and PSPs still struggle with the schema's flexibility — same transaction encoded two different "valid" ways is a real integration tax. Canada using 20022 from day one is smart; publishing strict usage guidelines beats expecting consensus.