frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Discover What Your Potential Users Are Talking About

https://agenmatic.ai/
1•Nancylily•7s ago•0 comments

MCP vs. Bash

https://pac.commonsware.com/archive/mcp-vs-bash/
1•ingve•22s ago•0 comments

Why We Stopped Making Einsteins

https://www.theintrinsicperspective.com/p/why-we-stopped-making-einsteins
1•jorzel•2m ago•0 comments

WestJet labour dispute is a proxy battle between Carney and unions

https://www.theglobeandmail.com/business/commentary/article-westjet-flight-attendant-strike-proxy...
1•petethomas•3m ago•0 comments

Show HN: Changed how I use agent harnesses

https://github.com/maximhq/bifrost/
1•Swapnoneel•4m ago•0 comments

Show HN: Curved Crease Folding

https://curved-crease-interactive.vercel.app/
1•coroush•4m ago•0 comments

Branchless Rust: Making a Filter 4x Faster by Removing an If

https://www.greyblake.com/blog/branchless-rust/
1•greyblake•4m ago•0 comments

Conflict-Freedom as a Progress Condition

https://arxiv.org/abs/2605.19531
1•otrack•5m ago•0 comments

The World Crossed a Major Solar Milestone [3TW]

https://www.bloomberg.com/news/articles/2026-08-03/the-world-crossed-a-major-solar-milestone-no-o...
1•toomuchtodo•6m ago•1 comments

Linux page-cache corruption via TC pedit: a new Dirty-class variant

https://github.com/rjt-gupta/page-cache-corruption-lpes/tree/main/dirty_pedit
1•rjt-gupta•9m ago•1 comments

Don't be a meat proxy

https://gruhn.me/blog/2026-08-03/
26•ngruhn•13m ago•8 comments

R-457 – a 27M-parameter reasoning model running offline across two ESP32-S3

https://github.com/harmansingh4163-ai/R-457
1•harmansingh4163•14m ago•0 comments

Linux 7.2-rc6: The biggest rc6 in years

https://lwn.net/ml/all/CAHk-=whoz5Uy-kmrdzjrpCJCVWW3fni31c-zsHcH7TkOhRhfOA@mail.gmail.com/
1•zdkaster•19m ago•0 comments

Britain's Hikikomori

https://dispatch-media.com/meet-britains-hikikomori/
2•littlexsparkee•19m ago•0 comments

Situational Awareness and the Impending Stock Market Volatility

https://www.emergingtrajectories.com/lh/situational-awareness-bigger-picture/
3•cl42•24m ago•1 comments

How AI Is Reshaping Human Reasoning and the Rise of Cognitive Surrender

https://www.researchgate.net/publication/399711077_Thinking-Fast_Slow_and_Artificial_How_AI_is_Re...
1•akbarnama•25m ago•1 comments

A Wild Netflix Lawsuit Shows Why Drugs and Alcohol Don't Mix with Work

https://www.wsj.com/lifestyle/careers/a-wild-netflix-lawsuit-shows-why-drugs-and-alcohol-dont-mix...
1•petethomas•25m ago•0 comments

Lists for Devs Who Just Shipped and Now Need Users

https://dev.to/productivity/awesome-lists-for-devs-who-just-shipped-and-now-need-users-115f
2•armandomaxim•27m ago•0 comments

How fast is C++26's std:hive?

https://lemire.me/blog/2026/08/02/how-fast-is-c26s-stdhive/
1•ingve•28m ago•0 comments

Foldables are sort of boring now – and that's great news for Apple

https://www.theverge.com/column/972937/foldable-phones-boring-apple
1•ramn7•31m ago•0 comments

Show HN: Chinese are offering Claude/Codex offers 90% off

2•xiaoxumz11•38m ago•0 comments

More German than many Germans

https://mertbulan.com/more-german-than-many-germans/
2•mertbio•41m ago•0 comments

Japanese Matcha Price Tracker 2026: Live Auction and Wholesale Data

https://onewithtea.com/pages/japanese-matcha-price-tracker
1•vector_spaces•43m ago•0 comments

Company Offering Printed Books to Train AI Stops After 404 Media Coverage

https://www.404media.co/ai-company-training-scanning-books-database-isbndb/
2•HelloUsername•45m ago•0 comments

Show HN: MPEdb a drop in replacement for SQLite3 with concurrency support

https://github.com/punnerud/mpedb
2•punnerud•46m ago•0 comments

The Math Superstar Who's Terrified of AI–and Just Took a Job at OpenAI

https://www.wsj.com/tech/ai/openai-jacob-tsimerman-fields-medal-ai-safety-391d0f79
1•apparent•53m ago•0 comments

Alternative Versioning

https://altver.org/
1•tomodachi94•56m ago•0 comments

Show HN: NoCrap – Gamifying porn addiction recovery

https://nocrap.vercel.app/
1•uioio•1h ago•0 comments

Compile Zod schemas into zero-overhead validation functions at build time

https://github.com/wakita181009/zod-aot
1•ryuuseijin•1h ago•0 comments

Five Takeaways from the Times Investigation into Larry Ellison's A.I. Gamble

https://www.nytimes.com/2026/07/31/magazine/takeaways-larry-ellison-oracle-ai.html
2•achow•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?