frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Luna-cy of getting Lock The Clock done

https://locktheclock.net/time/2026/07/the-luna-cy-of-getting-lock-the-clock-done/
1•toomuchtodo•2m ago•1 comments

New flapping robot swims and flies like a diving bird

https://news.mit.edu/2026/new-flapping-robot-swims-and-flies-like-diving-bird-0709
3•gmays•5m ago•0 comments

Only 90s Web Developers Remember This (2014

https://zachholman.com/posts/only-90s-developers/
1•downbad_•6m ago•0 comments

Ask HN: How useful is Gemini for Google Apps?

2•cobbzilla•7m ago•1 comments

Show HN: Tilion – Stealth Browser Infrastructure for Agents

https://twitter.com/tiliondev/status/2077162199739752933
4•arhamshahrier•9m ago•2 comments

Linear is always a lagging indicator

https://remark.ing/rob/rob.mw/-/Linear-is-always-a
1•koch•9m ago•0 comments

Why devs turn to Buildkite in the AI era

https://www.thestack.technology/buildkite-ai-developer-cicd/
2•juanfatas•11m ago•0 comments

The politics of air conditioning in Switzerland

https://lenews.ch/2026/05/29/the-politics-of-air-conditioning-in-switzerland/
1•bookofjoe•11m ago•0 comments

Ask HN: How's the idea of creating LinkedIn styled character profiles

2•anitroves•12m ago•1 comments

Sets of Overlapping Circles

https://unsung.aresluna.org/sets-of-overlapping-circles/
1•frizlab•13m ago•0 comments

Batteries 'cheaper' than gas plants as data centres fuel turbine costs

https://www.abc.net.au/news/2026-07-15/csiro-says-batteries-cheaper-than-gas-as-ai-drives-turbine...
1•femto•13m ago•0 comments

Pioneers of Computer Graphics [video]

https://www.youtube.com/watch?v=WeJX1DV0hq0
1•gabrielsroka•13m ago•0 comments

Casio FX870P Emulator

https://github.com/urbancamo/fx870p-emulator
1•austinallegro•14m ago•0 comments

OpenAI's first hardware device will be a HomePod, but don't tell them that

https://appleinsider.com/articles/26/07/14/openais-first-hardware-device-will-be-a-homepod-but-do...
3•frizlab•14m ago•0 comments

QR-Swastika-Avoider

https://crates.io/crates/qr-swastika-avoider
1•gregsadetsky•15m ago•0 comments

Audio Transport: A Generalized Portamento via Optimal Transport

https://arxiv.org/abs/1906.06763
1•E-Reverance•27m ago•1 comments

LeMario: Training a JEPA World Model on Super Mario Bros

https://www.benjamin-bai.com/projects/lemario
1•kevinjosethomas•31m ago•0 comments

The Campaign to Kill American AI Runs Through San Francisco

https://garryslist.org/posts/the-campaign-to-kill-american-ai-runs-through-san-francisco
2•shinryudbz•34m ago•1 comments

The Chuwi MiniBook X N150

https://taoofmac.com/space/reviews/2025/05/15/2230
2•edward•34m ago•0 comments

Buffett omits gift to Bill Gates' foundation after his Epstein ties disclosed

https://www.theguardian.com/business/2026/jul/14/bill-gates-warren-buffet-donation
7•Teever•36m ago•0 comments

Kara Swisher: Important CEO straits [video]

https://www.youtube.com/watch?v=-d0kyPNFrVE
1•xqcgrek2•37m ago•0 comments

How Are "Disconnected" Young Adults Spending Their Time?

https://www.stlouisfed.org/on-the-economy/2026/jul/how-are-disconnected-young-adults-spending-the...
1•toomuchtodo•38m ago•0 comments

What to know about 'explosive diarrhoea' parasite outbreak in US

https://www.bbc.com/news/articles/c621m66qm76o
3•teleforce•40m ago•0 comments

Who Is America's Homer?

https://www.plough.com/articles/who-is-americas-homer
2•samclemens•43m ago•1 comments

Book Prizes Don't Work How You Think

https://rebeccamakkai.substack.com/p/book-prizes-dont-work-how-you-think
2•samclemens•43m ago•0 comments

Twain Town, USA

https://theamericanscholar.org/twain-town-u-s-a/
1•prismatic•43m ago•0 comments

Blocking internet on phones improves attention, mental health, and well-being

https://pubmed.ncbi.nlm.nih.gov/39967678/
2•gwintrob•44m ago•0 comments

Foglamp Scan

https://www.foglamp.dev/scan
1•handfuloflight•44m ago•0 comments

The Music of Destruction

https://thebaffler.com/latest/the-music-of-destruction-fuelling
1•lermontov•44m ago•0 comments

Intel's 18A node is officially space-grade

https://www.techpowerup.com/350713/intel-18a-silicon-goes-to-space-with-starfire-processors
3•hereme888•45m 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?