frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Americans Mess Up Their Taxes. A New Law Will Help

https://www.wakeuptopolitics.com/p/millions-of-americans-mess-up-their
1•toomuchtodo•5m ago•1 comments

Visualizing Google Page Rank [video]

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

German teachers: Pupils do not know how to listen, hold pens, or use bathroom

https://brusselssignal.eu/2025/12/german-teachers-sound-alarm-pupils-do-not-know-how-to-listen-ho...
1•obscurette•6m ago•0 comments

Apple Chip Chief Johny Srouji Could Be Next to Go as Exodus Continues

https://www.macrumors.com/2025/12/07/srouji-could-be-next-to-go-as-exodus-continues/
3•layer8•8m ago•0 comments

The War over Wine

https://thehustle.co/originals/the-war-over-wine
1•Anon84•10m ago•0 comments

Indie Outdoors

https://www.indieoutdoors.com/
1•toomuchtodo•10m ago•0 comments

Improving my productivity and context switching with Git worktree

https://futurepixels.co.uk/posts/improving-my-productivity-and-context-switching-with-git-worktrees/
1•smilinmonki666•12m ago•0 comments

Rnj-1: Building Instruments of Intelligence

https://essential.ai/research/rnj-1
1•nh43215rgb•12m ago•0 comments

Ask HN: AI tools to enhance old SATB choir recordings?

1•fdeage•13m ago•0 comments

Asymmetrical Wing Configuration for Reduced Drag in Transonic Flight

https://patents.google.com/patent/US4139172A/en
1•aggrrrh•14m ago•0 comments

Vulnerabilities in Spain's mandatory vehicle emergency beacon

https://github.com/LuisMirandaAcebedo/security_articles/blob/main/help_flash_iot/README.md
2•asp1•15m ago•0 comments

TigerBeetle as a File Storage

https://aivarsk.com/2025/12/07/tigerbeetle-blob-storage/
1•aivarsk•17m ago•0 comments

Brain Efficiency: More Than You Wanted to Know (2022)

https://www.lesswrong.com/posts/xwBuoE9p8GE7RAuhd/brain-efficiency-much-more-than-you-wanted-to-know
2•fdeage•20m ago•0 comments

Within the Context of No Context, Revisited

https://novum.substack.com/p/within-the-context-of-no-context-revisited
1•paulpauper•20m ago•0 comments

Hating Stranger Things During the Death Rattle of Criticism

https://freddiedeboer.substack.com/p/hating-stranger-things-during-the
3•paulpauper•23m ago•2 comments

Spotify Wrapped but for LeetCode

https://github.com/collinboler/leetcodewrapped
2•collinboler2•25m ago•0 comments

Should CSS be a constraint system instead?

https://pavpanchekha.com/blog/why-css-bad.html
4•fanf2•26m ago•0 comments

Show HN: Zafiro – a painterly 3D island in the browser (Three.js)

https://playzafiro.com/isle-lab
1•bartoszu_•28m ago•0 comments

AI Continuity System: Safe Multi-Instance Collaboration without Persistent Mem.

https://github.com/sirspyr0/ai-continuity-system
2•sirspyr0•34m ago•1 comments

React2Shell Exploitation: A Short Summary of Honeypot Activity

https://defusedcyber.com/react2shell-exploitation-honeypot-analysis
3•waihtis•34m ago•0 comments

Every Commodore 64 Ultimate comes with a USB Cassette, pre-loaded with goodies

https://www.commodore.net/pressplay
2•amichail•35m ago•0 comments

My experience learning AI from scratch and why it changed how I see coding

1•ViktorKuz•38m ago•0 comments

Ask HN: Is a human brain more like a CPU or an FPGA?

1•arduinomancer•38m ago•2 comments

X shuts down the European Commission's ad account the day after major fine

https://www.engadget.com/social-media/x-shuts-down-the-european-commissions-ad-account-the-day-af...
3•MilnerRoute•45m ago•1 comments

I created A-Lang – a new lightweight language, focused on simplicity and speed

https://alang-doc.vercel.app/
1•alexandrelanda•49m ago•2 comments

Optimizing Associative Operations (2015)

https://ericlippert.com/2015/10/27/optimizing-associative-operations/
1•mooreds•50m ago•0 comments

For a Literary Saint, Margaret Atwood Can Sure Hold a Grudge

https://www.nytimes.com/2025/11/01/books/review/margaret-atwood-book-of-lives-memoir.html
4•mooreds•50m ago•0 comments

Navigating the future of AI agent security with Dan Moore [audio]

https://overcommitted.dev/ep-36-navigating-the-future-of-ai-agent-security-with-dan-moore/
1•mooreds•51m ago•0 comments

Using AI to Modernize Ubuntu Error Tracker Produced Code That Was 'Plain Wrong'

https://www.phoronix.com/news/Ubuntu-Error-Tracker-AI-Error
1•Lockal•53m ago•0 comments

Sitekick – simple AI-driven web chat and lead-capture for any website

1•nagendraallam•53m ago•1 comments
Open in hackernews

Packed Data Support in Haskell

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

Comments

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

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

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