frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What Sam Altman will tell the White House this week

https://www.axios.com/2026/07/26/sam-altman-openai-trump-white-house-visit?mrfcid=202607266a5afa4...
1•flurly•49s ago•0 comments

Iran calls Ukraine's strikes on Iranian vessels 'hostile and criminal'

https://www.cnbc.com/2026/07/26/ukraine-strikes-iranian-vessels-tehran-accuses-kyiv-of-hostile-ac...
2•MilnerRoute•1m ago•0 comments

Why Los Angeles Stopped Repaving Its Streets

https://www.city-journal.org/article/los-angeles-streets-repaving-disability-rules
1•toomanyrichies•2m ago•0 comments

108 PRs in eight days: Accidentally discovering loop engineering

https://brittany-ellich.offprint.app/a/3mrjj34puva23-108-prs-in-eight-days-accidentally-discoveri...
1•overcommitted•2m ago•0 comments

Canada must prepare for bigger wildfires, every summer – forever

https://www.thestar.com/news/canada/our-smoke-filled-future-how-canada-must-prepare-for-bigger-wi...
2•Teever•5m ago•1 comments

AI agents are eating the Web, growing by 8,000% and rewiring business models

https://fortune.com/2026/07/23/dead-internet-theory-bots-agents-majority-web-traffic/
1•CharlesW•10m ago•0 comments

A Love Letter to Object Orientation

https://blog.mempko.com/a-love-letter-to-object-orientation/
1•mempko•12m ago•0 comments

The Question Is the Hard Part

https://seriousmountain.substack.com/p/the-question-is-the-hard-part
1•mc-serious•12m ago•0 comments

Installing Verified Facts into Transformer Weights by Direct Construction

https://zenodo.org/records/21502811
1•yogthos•14m ago•0 comments

Reviewing AI Code Is Not a Viable Argument

https://www.softwaremaxims.com/blog/reviewing-ai-code
2•watermelon0•16m ago•0 comments

China considers tighter export controls on AI models and chips

https://www.reuters.com/world/asia-pacific/china-considers-tighter-export-controls-ai-models-chip...
1•VWWHFSfQ•18m ago•1 comments

Office Deployment Tool for Free

https://office-deployment-tool.pages.dev
3•rrrpro123•21m ago•20 comments

Surge: Blazing fast TUI download manager (outperforms aria2c by ~1.4x)

https://github.com/SurgeDM/Surge
1•maxloh•22m ago•0 comments

An Inside Look at the Token Reseller Market

https://vectoral.com/blog/token-relay-market
2•mlenhard•24m ago•0 comments

SpaceX eyes tower catch for next Starship after auspicious end to 13th flight

https://arstechnica.com/space/2026/07/spacex-eyes-tower-catch-for-next-starship-after-auspicious-...
2•Brajeshwar•27m ago•0 comments

Robotics development made dead simple (open source)

1•Ekami•27m ago•1 comments

Show HN: Minnarone – Multimodal agents that watch, listen, and react live

https://github.com/carlitose/minnarone
1•carlitose•30m ago•0 comments

Ask HN: I spent personal money on game dev. How to turn stalled project around?

2•pixelbyindex•31m ago•0 comments

Skill Router – a local-first router for large agent skill libraries

https://github.com/torakagemusha-sudo/torafirma-skill-router
1•torafirma•31m ago•0 comments

Repairing a "for parts" Canon 7D Mark II

https://boxfish.be/posts/20250403-canon-7d-mark-ii-repair/
2•Tomte•31m ago•0 comments

International Olympiad in AI opens an official medal track for AI systems

https://ioai-official.org/ai-model-track/
2•ardivekar•33m ago•1 comments

New data suggests Scotland's 48% tax rate may be losing money

https://taxpolicy.org.uk/2026/07/25/scotland-48p-top-rate-laffer-curve/
1•ivewonyoung•35m ago•0 comments

How do I get recommended on ChatGPT?

2•ayinlaolajide•35m ago•0 comments

The logic behind C declarations (and the only correct way to declare pointers)

https://moffa.xyz/posts/the-logic-behind-c-declarations.html
3•altermetax•35m ago•0 comments

Canadian lab confirms process removes 90% of long-lived nuclear waste

https://www.autonocion.com/us/canadian-lab-nuclear-fuel/
2•signa11•35m ago•0 comments

Show HN: I built a transparent terminal wrapper for unobtrusive AI

https://github.com/emosenkis/terminai
1•emosenkis•35m ago•0 comments

WTA to require all players to undergo genetic sex testing

https://www.bbc.com/sport/tennis/articles/cn4nvwl9550o
2•bookofjoe•36m ago•0 comments

The Shift Project

https://shift.hks.harvard.edu/
1•mooreds•38m ago•0 comments

X-Ray Video of My Hand Made with Stuff Bought Off Amazon

https://www.youtube.com/watch?v=GnMKzTW4edY
3•skibz•41m ago•0 comments

Magnus Played at 71% Accuracy – Or Was It 88.7%?

https://stefeev.substack.com/p/magnus-played-at-71-accuracy-or-was
1•personnon•42m 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?