frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

My Addiction with Trading Apps

https://cat.strayforge.com/posts/investment-reflection/
1•litlig•1m ago•0 comments

Why It's So Hard to Add a Column in the Middle of a PostgreSQL Table

https://www.bytebase.com/blog/why-its-hard-to-add-a-column-in-the-middle-of-postgres-table/
1•jonbaer•1m ago•0 comments

Meta Patent: Prescription Lenses That Project Virtual Screens into Your Vision

https://patentlyze.com/patent/meta-holographic-ar-display-built-prescription-lenses/
2•patentlyze•3m ago•0 comments

Show HN: A shareable World Cup 2026 bracket simulator with live results

https://fifasim.com
2•bobbyy•4m ago•0 comments

With AI, researchers discover new way to detect sudden cardiac death risk

https://news.berkeley.edu/2026/06/24/with-ai-researchers-discover-new-way-to-detect-sudden-cardia...
1•hhs•6m ago•0 comments

Computation Is Bound by Physical Laws: A Fact-Based Church-Turing Thesis

https://cryptpad.fr/code/#/2/code/edit/kZK83-Xxeqb1cOHsonKZgAWm/
2•wij•10m ago•0 comments

Quake in 13 Kilobytes

https://js13kgames.com/games/q1k3
2•mortenjorck•10m ago•0 comments

Foreign funds help make housing unaffordable: research

https://news.mccombs.utexas.edu/research/foreign-funds-help-make-housing-unaffordable/
2•hhs•10m ago•0 comments

Holos: Device Is Your Fediverse Server

https://holos.social/
1•severine•11m ago•0 comments

Writing and Code: Same Leverage, Different Story

https://vincentping.com/en/writing-vs-code-leverage
1•vincentping•13m ago•0 comments

Forward Self Models

https://jagilley.github.io/forward-self-models.html
1•E-Reverance•13m ago•0 comments

Om

https://daringfireball.net/2026/06/om
2•throw0101a•13m ago•0 comments

Trump threatens 100% tariff on European digital services taxes

https://www.bbc.co.uk/news/articles/cn4rd71411ko
2•lifeisstillgood•16m ago•1 comments

Waveloop: What Fable Left Me

https://neynt.ca/writing/waveloop/
3•personjerry•17m ago•0 comments

Ask HN: Anthropic Billing Issues?

1•nycdatasci•18m ago•0 comments

Steam Controller auto-charge with computer vision tracking

https://github.com/FossPrime/Steam-Controller-Auto-Charge
1•phoronixrly•20m ago•0 comments

A molecular seesaw drives healthy skin development: research

https://med.stanford.edu/news/all-news/2026/06/molecular-seesaw-skin-development.html
1•hhs•21m ago•0 comments

Darwin: Libsystem_malloc .dylib and XZone

https://df-f.com/blog/darwin-libsystem-malloc-dylib-and-xzone
1•akyuu•24m ago•0 comments

Decker Fantasy Camp 2026

https://itch.io/jam/decker-fantasy-camp-2026
1•RodgerTheGreat•28m ago•0 comments

Understanding Ordinary Events

https://ordinary.blog/posts/understanding-ordinary-events/
2•watters•29m ago•0 comments

Speeding Up Ratchets with Resharp

https://danverbraganza.com/writings/ratchets-run-faster-with-resharp
1•nvader•33m ago•0 comments

The Church-Turing Thesis from the Perspective of Discrete Physics

https://gist.github.com/wyniijj5-wq/66f06982a912fa4b4812cea5615c2d6f
1•wij•36m ago•0 comments

Volkswagen reportedly planning to axe 100k jobs

https://www.cnn.com/2026/06/26/economy/volkswagen-job-cuts
6•teleforce•37m ago•0 comments

Thomas Salme

https://en.wikipedia.org/wiki/Thomas_Salme
4•st_goliath•41m ago•0 comments

Apple Internals: Swift in the Kernel

https://blog.calif.io/p/apple-internals-swift-in-the-kernel
1•akyuu•42m ago•0 comments

Revolut dials back remote work for graduates

https://sifted.eu/articles/revolut-dials-back-remote-work-for-graduates
1•tg180•42m ago•0 comments

Over 1/3 of households in Poland consist of one person amid demographic change

https://notesfrompoland.com/2026/06/25/over-a-third-of-households-in-poland-now-consist-of-one-pe...
1•toomuchtodo•42m ago•1 comments

Retraction questions claim that cancer therapy works better in morning

https://www.science.org/content/article/retraction-questions-claim-cancer-therapy-works-better-mo...
1•hentrep•43m ago•0 comments

Trump admin allows Anthropic to release Mythos AI model to some companies

https://www.cnbc.com/2026/06/26/us-government-anthropic-claude-mythos5-ai.html
3•dataking•46m ago•0 comments

US releases powerful Anthropic model Mythos to some US companies

https://www.semafor.com/article/06/27/2026/us-releases-powerful-anthropic-model-mythos-to-some-us...
2•wasting_time•48m 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?