frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenAI – How we measure alignment

https://openai.com/index/how-we-measure-alignment/
1•sidcool•22s ago•0 comments

Show HN: Hacker News Replies by Web Push

https://hackandchat.com/
1•gringofyx•1m ago•0 comments

WSP MCP: A Free WordPress Plugin to Connect AI with Your Website

https://github.com/bilalnaseer/wsp-wordpress-mcp
1•wspmcp69•2m ago•0 comments

The Journalists Who Cracked Havana Syndrome, and Who's Behind It [video]

https://www.youtube.com/watch?v=4IbQvayMEm4
1•prmph•2m ago•0 comments

Why Aren't We Working Less?

https://teodordermendzhiev.com/writing/why-arent-we-working-less/
1•tdermendjiev•3m ago•0 comments

Show HN: Pqsniff – See which connections on your network are post-quantum

https://github.com/xydac/pqsniff
1•xydac•3m ago•0 comments

CBOR – RFC 8949 Concise Binary Object Representation

https://cbor.io/
1•amai•3m ago•0 comments

Using a "chaos loop" to harden the Claude Docs launch

https://claude.dev/blog/chaos-loop-claude-docs-launch/
1•surprisetalk•4m ago•0 comments

#14 Rob May: AI Mental Models, Inference Economics, Jevan's Paradox

https://www.youtube.com/watch?v=wnTPrD2C9u8
1•devrob•5m ago•0 comments

I Was in Counterintelligence. The Nvidia Scandal Is a Nightmare

https://www.theatlantic.com/ideas/2026/12/we-wont-know-for-years-how-much-harm-jensen-huang-did/6...
2•01-_-•6m ago•0 comments

Intelligent Task Decomposer for Optimized Token Usage

https://pypi.org/project/vaayuai-tde
1•atul-mehra•6m ago•1 comments

How Olivetti tried to build the ideal city for its workers (2016)

https://www.theguardian.com/cities/2016/apr/13/story-cities-21-adriano-olivetti-ivrea-italy-typew...
1•omblivion•7m ago•0 comments

Why Quantum Cryptanalysis is Bollocks [pdf]

https://www.cs.auckland.ac.nz/~pgut001/pubs/bollocks.pdf
1•benjaminhays•7m ago•0 comments

India's voter rolls turned into open data that anyone can check

https://labs.s1d.me/the-eci-project
2•mrjn•8m ago•0 comments

France promotes three new small nuclear reactor projects

https://deultimominuto.com/en/world/france-promotes-three-new-small-nuclear-reactor-projects-to-s...
1•mpweiher•9m ago•0 comments

OS/2 PowerPC Edition on QEMU

https://www.os2museum.com/wp/os-2-powerpc-edition-on-qemu/
1•ingve•10m ago•0 comments

Twin: A fast and free WhatsApp assistant

https://twin.so/
4•pimeys•12m ago•0 comments

Ford's Self-Driving Plans

https://twitter.com/SawyerMerritt/status/2128519791895781417
1•simonebrunozzi•12m ago•0 comments

Implementing 128-bit atomics in Cranelift

https://trifectatech.org/blog/implementing-128-bit-atomics-in-cranelift/
1•birdculture•14m ago•0 comments

The Old Man Mad About Art: Hokusai, the Great Wave, and the Original That Never

https://lifework.marioishikawa.com/the-old-man-mad-about-art-hokusai-and-the-great-wave/
1•ishikawa•14m ago•0 comments

The Demise of Deno

https://kitsonkelly.com/posts/demise-of-deno
1•Brajeshwar•15m ago•0 comments

Show HN: Everglow – a private AI journal for iPhone that cites your own entries

https://apps.apple.com/us/app/everglow-ai-journal-diary/id6775044981
3•xander_1024•18m ago•0 comments

Why Threads Are a Bad Idea [pdf]

https://web.stanford.edu/~ouster/cgi-bin/papers/threads.pdf
1•weinzierl•18m ago•1 comments

Myanmar Was Found Guilty of Genocide. Israel Supporters Are Panicked

https://theintercept.com/2026/12/02/israel-gaza-myanmar-rohingya-genocide/WasFoundGuiltyofGenocid...
2•hebelehubele•18m ago•1 comments

Show HN: Turaen / Local-first AI coding workspace for Windows

https://turaen.com/
7•Aeternexus•19m ago•1 comments

Balsio is the first app to launch group chats with WhatsApp users

https://www.balsio.com/blog/balsio-is-the-first-app-to-launch-group-chats-with-whatsapp-users
1•rmesters•21m ago•0 comments

Ask HN: Do you merge PRs manually?

2•Sudesh33•21m ago•0 comments

Supreme Court rules against parent challenging vaccine laws on religious grounds

https://www.npr.org/2026/12/03/nx-s1-6051056/supreme-court-vaccines-maine-childs
3•blinding-streak•21m ago•1 comments

Repair vs. Replace

https://kaverennedy.substack.com/p/repair-vs-replace
1•surprisetalk•24m ago•0 comments

Show HN: MarketStory – what 1,750 X and YouTube investors say about each stock

https://marketstory.com
1•jhow15•26m 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?