frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How I Work

https://www3.nccu.edu.tw/~jthuang/krugman.html
1•jruohonen•1m ago•0 comments

Kagi Small Web

https://github.com/kagisearch/smallweb
1•dgellow•1m ago•0 comments

A Single Cobalt Shock Could Trigger Global EV Battery Supply Chaos

https://www.sciencedaily.com/releases/2026/06/260619101402.htm
2•karakoram•4m ago•0 comments

The frontier is open-source today

https://www.southbridge.ai/blog/offmute-v2-glm-vs-opus
2•hrishi•8m ago•0 comments

Hand-powered LLM (YouTube) [video]

https://www.youtube.com/watch?v=HSapdLYpmWY
2•mcchen51•8m ago•0 comments

Every DFU Button Is a Failure

https://umi.engineering/blogs/engineering/every-dfu-button-is-a-failure
2•liamkinne•11m ago•0 comments

Palmier-pro: macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
2•nateb2022•11m ago•0 comments

Venice proposes hiking entry fee to €50

https://www.euronews.com/travel/2026/06/19/would-you-pay-50-to-visit-venice-new-mayor-is-pushing-...
2•Markoff•14m ago•0 comments

Show HN: Lil Apps

https://lilapp.us/
2•marcuskaz•17m ago•0 comments

Evaluation order and nontermination in query languages

https://www.rntz.net/post/2026-06-11-datalog-nontermination.html
2•g0xA52A2A•17m ago•0 comments

Claude is your insider threat now – Dan Tentler – Security Fest 2026 [video]

https://www.youtube.com/watch?v=yvJYw2gR0cU
5•_____k•18m ago•0 comments

Do Elite Universities Overpay Their Faculty?

https://direct.mit.edu/rest/article-abstract/doi/10.1162/REST.a.1817/137257/Do-Elite-Universities...
3•paulpauper•21m ago•1 comments

Cuba to Privatize State Companies

https://www.miamiherald.com/news/nation-world/world/americas/cuba/article316195766.html#storylink...
3•paulpauper•21m ago•0 comments

Do weird corporate governance structures work well?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6697999
3•paulpauper•21m ago•0 comments

Let an Agent run the apps on your computer

https://lapu.ai/
2•xAdamx•22m ago•0 comments

Iran says it's closing Strait of Hormuz, accusing Israel, US of violating truce

https://www.cnn.com/2026/06/20/world/live-news/iran-war-trump-israel-lebanon
7•MilnerRoute•22m ago•0 comments

Ribbie, Live Baseball in Pixels

https://ribbie.tv
2•zdw•22m ago•0 comments

Letheo – a Cognitive Runtime for agent memory in Rust (forgetting by physics)

https://github.com/Abick91/letheo
2•abick91•24m ago•0 comments

Homo Agenticus

https://www.strangeloopcanon.com/p/homo-agenticus
2•kiyanwang•25m ago•0 comments

How to Lose a Global AI Monopoly in One Afternoon [video]

https://www.youtube.com/watch?v=0RxMj0L0-fY
2•Topfi•25m ago•0 comments

Tesla's self-driving safeguards fooled by $30 doll heads

https://electrek.co/2026/06/15/chinese-drivers-plastic-heads-fool-tesla-autopilot-camera/
5•zdw•26m ago•0 comments

Eliya – a compliance-focused OpenJDK 25 distribution (Phase 1 of a JVM platform)

https://root.asymm.systems/product/eliya
2•fahimfarookme•27m ago•1 comments

Cotect – a fast code inspector for the agent era

https://cotect.dev/
3•grzracz•30m ago•0 comments

FCC Seeks Comment on Enhanced Know-Your-Customer Requirements

https://www.fcc.gov/document/fcc-seeks-comment-enhanced-know-your-customer-requirements
2•dredmorbius•33m ago•1 comments

Epidurals Are a Miracle Technology

https://worksinprogress.co/issue/the-wonder-of-epidurals/
3•karakoram•35m ago•0 comments

Write a Letter to Your Future Self

https://www.futureme.org/
3•karakoram•36m ago•0 comments

Sinceerly, AI to undo your AI writing

https://sinceerly.com
2•zdw•37m ago•1 comments

Granta stops publishing short story award winners over AI controversy

https://www.theguardian.com/books/2026/jun/20/granta-magazine-commonwealth-short-story-prize-ai
5•ilreb•37m ago•0 comments

Show HN: Video on the map marketplace 1 year – still bad traction

2•cromlehg•37m ago•0 comments

Hyperia 0.12.7 is released: an agentic terminal for agents and humans

https://github.com/DeepBlueDynamics/hyperia/releases
2•kordlessagain•40m 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?