frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

First Time Filmed in a Decade – Underwater Volcano Eruption (Kavachi) [video]

https://www.youtube.com/watch?v=rK00tvzJ1Yc
2•sheepscreek•1m ago•0 comments

Show HN: Frame-by-Frame Previews of MPEGs and PDFs (Rust)

https://flipbook.browserbox.io/
1•keepamovin•1m ago•0 comments

NZ is using AI to take minutes and draft honours citations

https://www.interest.co.nz/public-policy/137822/new-zealand-using-ai-take-minutes-and-draft-honou...
1•indynz•2m ago•0 comments

Lawsuit Accuses Meta of Profiting from Widespread Fraud on Its Platforms

https://www.techpolicy.press/lawsuit-accuses-meta-of-profiting-from-widespread-fraud-on-its-platf...
1•jruohonen•3m ago•0 comments

So This is Peak Smartphone [video]

https://www.youtube.com/watch?v=c347oYQO57A
1•thelastgallon•12m ago•0 comments

The most overenginereed Chromium extension?

https://www.superchargebrowser.com/performance/
1•superchargeext•14m ago•0 comments

Ubuntu 26.04 is more than just a performance bump for thrill-seeking gamers

https://www.zdnet.com/article/ubuntu-26-04-performance/
1•teleforce•15m ago•0 comments

Reverse-engineering infrared-based electronic shelf labels

https://www.furrtek.org/?a=esl
1•pabs3•16m ago•0 comments

Rivian R2 won't have A/C buttons followed by CEO's decision

https://theevreport.com/rivian-r2s-screen-heavy-interior-was-a-top-down-ceo-decision
1•vincentchau•21m ago•0 comments

1981 Spanish cooking oil disaster

https://en.wikipedia.org/wiki/Toxic_oil_syndrome
1•burnt-resistor•21m ago•1 comments

Zero Days Clock

https://zerodayclock.com/
1•baxtr•21m ago•0 comments

Paraloid B-72

https://en.wikipedia.org/wiki/Paraloid_B-72
2•Ariarule•24m ago•0 comments

Five Simple Steps to Fix America

https://geohot.github.io//blog/jekyll/update/2026/04/18/five-simple-steps.html
2•inatreecrown2•27m ago•0 comments

The Dangers of Nicotine Biohacking

https://www.lung.org/blog/nicotine-biohack-dangers
1•KnuthIsGod•27m ago•0 comments

GPT 5.5 Released in Codex

3•zuzululu•28m ago•2 comments

An Algorithmic Reconstruction of Normalisation by Evaluation

https://yangzhixuan.github.io/NbE.html
1•matt_d•30m ago•0 comments

Global energy markets are on the verge of a disaster

https://www.economist.com/finance-and-economics/2026/04/21/global-energy-markets-are-on-the-verge...
3•petethomas•41m ago•0 comments

Moving a tenant across PostgreSQL instances

https://ananthakumaran.in/2026/04/22/moving-tenant-across-postgresql-instances.html
1•ananthakumaran•44m ago•0 comments

Can EVs kill off petrol cars in China?

https://www.ft.com/content/c78e0368-cc57-4f92-ad62-a073e01ba73d
1•petethomas•47m ago•0 comments

Code, your choice: Netlify's stance on AI training data

https://www.netlify.com/blog/stance-on-ai-training-data/
1•kristianp•49m ago•1 comments

Changes to GitHub Copilot Individual Plans

https://simonwillison.net/2026/Apr/22/changes-to-github-copilot/
2•omer_k•51m ago•0 comments

Bob Dylan – Murder Most Foul (Official Audio) [video]

https://www.youtube.com/watch?v=3NbQkyvbw18
1•hkhn•53m ago•0 comments

The Mattering Instinct: How Our Deepest Longing Drives Us and Divides Us

https://rebeccagoldstein.com/the-mattering-instinct/
1•hkhn•54m ago•0 comments

OpenBSD – LibreSSL 4.3.1 Released

https://www.undeadly.org/cgi?action=article;sid=20260420085845
2•peter_hansteen•55m ago•0 comments

Elon Musk's SpaceX Endgame

https://www.theatlantic.com/technology/2026/04/elon-musk-starlink-satellites/686877/
3•paulpauper•57m ago•0 comments

The State of the Human Rights: April 2026

https://www.amnesty.org/en/documents/pol10/0320/2026/en/
1•hkhn•58m ago•0 comments

Hundreds trying to storm Wisconsin beagle research facility

https://www.msn.com/en-us/news/world/hundreds-trying-to-storm-wisconsin-beagle-research-facility-...
2•rguiscard•58m ago•0 comments

Happiness Feels

https://passiveaggressionoftheworlds.substack.com/p/how-happiness-feels
1•bunson_burner•1h ago•0 comments

Microsoft's GitHub grounds Copilot account sign-ups amid capacity crunch

https://www.theregister.com/2026/04/20/microsofts_github_grounds_copilot_account/
2•gpi•1h ago•0 comments

Ask HN: What Would Make Stack Overflow Great Again?

4•nnurmanov•1h ago•1 comments
Open in hackernews

Packed Data Support in Haskell

https://arthi-chaud.github.io/posts/packed/
77•matt_d•11mo ago

Comments

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

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

carterschonwald•11mo ago
One thing that sometimes gets tricky in these things is handling Sub term sharing. I wonder how they implemented it.
tlb•11mo 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•11mo 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•11mo 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•11mo ago
honestly i wish more stuff worked this way - fewer hops in memory always makes me happy
lordleft•11mo ago
This was very well written. Excellent article!
NetOpWibby•11mo ago
Is this like MessagePack for Haskell?