frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

White House weighs Defense Production Act to expand US oil refining capacity

https://www.reuters.com/business/energy/white-house-weighs-how-use-defense-production-act-expand-...
1•geox•57s ago•0 comments

A2ABreak: Systematic Security Analysis of the A2A Protocol

https://arxiv.org/abs/2609.10871
1•sbulaev•6m ago•0 comments

Russian developers used Claude to build 'kamikaze' attack drone software

https://www.theguardian.com/world/2026/sep/12/ukraine-war-briefing-russian-developers-used-ai-to-...
2•warrenmiller•10m ago•0 comments

A Nix store is three functions

https://fzakaria.com/2026/09/11/a-nix-store-is-three-functions
1•Tomte•10m ago•0 comments

Hearts of Iron IV, Part I: Operational Art

https://acoup.blog/2026/09/11/teaching-paradox-hearts-of-iron-iv-part-i-operational-art/
1•Tomte•11m ago•0 comments

Show HN: A high-performance, all-in-one extension for managing tabs

https://chromewebstore.google.com/detail/leotabs-—-tab-manager-swi/heolckkdeandgagkiefggcneodni...
2•ringlochid•11m ago•0 comments

Judeo-iraqi Arabic

https://en.wikipedia.org/wiki/Judeo-Iraqi_Arabic
1•marysminefnuf•14m ago•0 comments

Age of Enlightenment

https://en.wikipedia.org/wiki/Age_of_Enlightenment
1•num42•16m ago•0 comments

Planck Scale

https://en.wikipedia.org/wiki/Planck_units
2•num42•17m ago•0 comments

Show HN: Poptimum – A Daily Optimization Game

https://poptimum.fun/
1•ShayHDavidson•21m ago•0 comments

WeWorm: Zero-Click WeChat Worm

https://calif.io/research/weworm
2•BlackEarth•24m ago•0 comments

Show HN: GenieUI – Turn prompts into editable iOS and Android interfaces

https://genieui.com/
1•andygeek•38m ago•0 comments

Trails – Jac Hacks

https://github.com/tirthsuba15/trails-jac-hacks
1•tirthsuba•38m ago•0 comments

The Unspoken Skill of Finesse

https://newsletter.weskao.com/p/the-unspoken-skill-of-finesse
1•AntonZ234•41m ago•0 comments

Anthropic Says Iran Used Its American AI Model to Target U.S. Navy Warships

https://www.wsj.com/politics/national-security/anthropic-says-iran-used-its-american-ai-model-to-...
2•kaycebasques•42m ago•1 comments

Bending Spoons keeps buying iconic products, who's next?

https://nextspoons.com/
1•napolux•44m ago•0 comments

Teaching Novice Computing and Programming in the Agentic AI Era

https://cs.brown.edu/people/sk/Publications/Papers/Published/fkl-teach-nov-agentic-ai-era/
1•matt_d•45m ago•0 comments

Show HN: I combined Marc Lou's TrustMRR and IndiePage for free. I wanted it

https://myindie.space
1•sithu_khant•48m ago•0 comments

OpenAI agents attacked RubyGems before Hugging Face incident

https://www.reuters.com/legal/litigation/openai-agents-attacked-software-service-rubygems-before-...
2•01-_-•51m ago•0 comments

Does anyone run Postgres without PgBouncer?

https://www.brandur.org/fragments/postgres-without-pgbouncer
1•paperwhitez•1h ago•0 comments

Show HN: Don't Hit Send – the model answers while you type

https://github.com/scalattice/dont-hit-send
2•RomulusHill•1h ago•0 comments

Homotopy Type Theory – Univalent Foundations of Mathematics (2013)

https://hott.github.io/book/hott-online.pdf.html
2•peter_d_sherman•1h ago•1 comments

macOS defaults list: Incomplete list of macOS defaults commands with demos

https://macos-defaults.com
4•zdw•1h ago•0 comments

We blind-tested ChatGPT, Claude, and Gemini on 20 everyday tasks (Open Dataset)

https://dailyskill.ai/ai-benchmark-2026/
1•dubaimark•1h ago•1 comments

Maven Robotics wants to steal your robot deployment deal

https://techcrunch.com/2026/09/10/maven-robotics-wants-to-steal-your-robot-deployment-deal/
1•soltanov•1h ago•0 comments

Ask HN: What's a good "semi-dumb" phone/watch for kids?

4•funkaster•1h ago•1 comments

Anthropic reveals rogue AI agents hate CAPTCHAs

https://techcrunch.com/2026/09/10/anthropic-reveals-rogue-ai-agents-hate-captchas-just-like-you/
1•soltanov•1h ago•0 comments

Google Launches Meridian GeoX Globally

https://developers.google.com/meridian/geox
1•soltanov•1h ago•0 comments

OpenAI agents attacked RubyGems back in May

https://simonwillison.net/2026/Sep/12/openai-agents-rubygems/
17•lumpa•1h ago•1 comments

How the U.S. Space Force Is Used in Wars Today [video]

https://www.youtube.com/watch?v=RGcRuej-LVE
1•handfuloflight•1h 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?