frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Keeping the Bonfires Lit

https://www.historytoday.com/archive/out-margins/keeping-bonfires-lit
2•Petiver•2m ago•0 comments

Show HN: Freewheel – Ride a bicycle through the streets of Guwahati

https://noworklabs.com/freewheel
2•the____outcast•3m ago•1 comments

Show HN: ZyVOP – Git Push to Publish on Dev.to, Hashnode, Medium and WordPress

https://zyvop.com/
1•sanjays442•4m ago•0 comments

Trojanized Claude Code Extension Plants an SSH Backdoor

https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
1•elffjs•7m ago•0 comments

Europe Is Aflame, and It's Not Going to Stop

https://www.nytimes.com/2026/10/29/opinion/europe-protests-youth-france.html
1•TMWNN•9m ago•0 comments

Show HN: Gates – My attempt to end free-trial abuse through email aliases

https://github.com/IrondomeDev/GATES
2•YPANDAR•10m ago•1 comments

Seychelles has 58,396 IPv4 addresses per 1000 people, the most per capita

https://en.wikipedia.org/wiki/List_of_countries_by_IPv4_address_allocation
1•jjmarr•10m ago•1 comments

A Claude Code agent's test escaped into my Mac. I only noticed because it talked

https://www.marutpandya.com/posts/2026/10/my-mac-started-reading-json-aloud/
4•mwiki•10m ago•0 comments

Who needs VMs? Run systemd and full Linux desktop apps in gVisor

https://gvisor.dev/blog/2026/09/17/systemd-in-gvisor/
1•philips•11m ago•0 comments

Is the new Siri perceptibly slowing down iOS?

1•rajay99•11m ago•0 comments

US Is Behind Serbia's "Student List", N1 and Nova S (United Group) [video]

https://www.youtube.com/watch?v=J5lwZU7Q5U0
2•secondary_op•20m ago•0 comments

Radio-in-a-box: Self-hosted internet radio with Icecast, Liquidsoap and Rust CLI

https://github.com/skorotkiewicz/radio-in-a-box
1•modinfo•20m ago•0 comments

The case of a customer who said that all they could see was a black screen

https://devblogs.microsoft.com/oldnewthing/20261029-00/?p=112808/
2•soheilpro•23m ago•0 comments

What is work for? Human wellbeing and the value of work in the AGI era

https://institute.deepmind.com/essays/what-is-work-for-human-wellbeing-and-the-value-of-work-in-t...
2•Klaster_1•25m ago•0 comments

Curl was accidentally Turing-complete for nine months

https://seriot.ch/computation/curl.html
3•beefburger•27m ago•0 comments

Qwenputer turns Gated DeltaNet state into exact RAM for a CPU

https://theainewsreport.com/2026-10-29-qwenputer-deltanet-state-as-exact-ram-explained.html
1•titusblair•28m ago•0 comments

What Claude Code's 30-second agent summary call costs, read from the binary

https://theainewsreport.com/2026-10-29-claude-code-agent-summary-cost-explained.html
1•titusblair•28m ago•0 comments

You can know a person's device type on Twitter if the post has these parameters

https://twitter.com/youhatefive/status/2115847903696527589
3•thunderbong•37m ago•0 comments

A 72-Hour Engineering Sprint for Translating Thought to Speech

https://neuralink.com/updates/72-hour-voice-hackathon/
1•Exoristos•41m ago•0 comments

FreeBSD-SA-26:52 – Missing WireGuard MAC Validation (CVE-2026-58085)

https://www.mail-archive.com/announce@freebsd.org/msg00286.html
2•offmycloud•42m ago•0 comments

C2PA's eMudhra Moment

https://www.da.vidbuchanan.co.uk/blog/c2pa-four.html
1•swq115•43m ago•0 comments

The reports of Stack Overflow's death are greatly exaggerated

https://stackoverflow.blog/2026/10/29/the-reports-of-stack-overflow-s-death-are-greatly-exaggerated/
3•cher-nov•48m ago•0 comments

Show HN: DistractFree-Chrome extension and web app to stop doomscrolling

https://distractfree.site/
1•ramthokane•55m ago•0 comments

Any HN folks with undiagnosed diseases?

1•Madmallard•1h ago•2 comments

Show HN: Breatic – Collaborative canvases and documents with an AI agent

https://github.com/orime-org/breatic
2•Ubiquition•1h ago•0 comments

Torturing Jev

https://www.jonathanchiang.ca/blog/jev.html
2•szge•1h ago•0 comments

Chez Scheme from a Clojurian Perspective

https://get-aksh.com/blog/chez-from-a-clojurian-perspective
2•pushpankar•1h ago•0 comments

Dvorak with QWERTY's Brackets on KDE Plasma (Wayland)

https://blog.jacq.cc/guides/dvorak-qwerty-brackets-kde-wayland/
2•xx__yy•1h ago•0 comments

Nibnib: Image compression with extreme decompression speed

https://github.com/raphlinus/nibnib
1•raphlinus•1h ago•0 comments

Software Engineers in 2028

https://www.youtube.com/watch?v=uYG1TAzexdo
2•somerandomness•1h ago•0 comments
Open in hackernews

Packed Data Support in Haskell

https://arthi-chaud.github.io/posts/packed/
77•matt_d•1y ago

Comments

nine_k•1y ago
> Introducing the ‘packed’ data format, a binary format that allows using data as it is, without the need for a deserialisation step. A notable perk of this format is that traversals on packed trees is proven to be faster than on ‘unpacked’ trees: as the fields of data structures are inlines, there are no pointer jumps, thus making the most of the L1 cache.

That is, a "memory dump -> zero-copy memory read" of a subgraph of Haskell objects, allowing to pass such trees / subgraphs directly over a network. Slightly reminiscent of Cap'n Proto.

90s_dev•1y ago
We are always reinventing wheels. If we didn't, they'd all still be made of wood.
Zolomon•1y ago
They mention this in the article.
spockz•1y ago
It reminds me more of flat buffers though. Does protobuf also have zero allocation (beyond initial ingestion) and no pointer jumps?
cstrahan•1y ago
No, one example of why being variable sized integers.

See https://protobuf.dev/programming-guides/encoding/

carterschonwald•1y ago
One thing that sometimes gets tricky in these things is handling Sub term sharing. I wonder how they implemented it.
tlb•1y ago
> the serialised version of the data is usually bigger than its in-memory representation

I don’t think this is common. Perhaps for arrays of floats serialized as JSON or something. But I can’t think of a case where binary serialization is bigger. Data types like maps are necessarily larger in memory to support fast lookup and mutability.

nine_k•1y ago
I suppose all self-describing formats, like protobuf, or thrift or, well, JSON are bigger than the efficient machine representation, because they carry the schema in every message, one way or another.
IsTom•1y ago
If you use a lot of sharing in immutable data it can grow a lot when serializing. A simple pathological example would be a tree that has all left subtrees same as the right ones. It takes O(height) space in memory, but O(2^height) when serialized.
gitroom•1y ago
honestly i wish more stuff worked this way - fewer hops in memory always makes me happy
lordleft•1y ago
This was very well written. Excellent article!
NetOpWibby•1y ago
Is this like MessagePack for Haskell?