frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What makes good magnet programs attractive?

https://www.educationprogress.org/p/what-makes-good-magnet-programs-attractive
1•barry-cotter•3m ago•0 comments

Ask HN: How did your boss's behavior change with the rise of AI?

1•aredirect•5m ago•0 comments

Granola Class Action Lawsuit

https://twitter.com/RobertFreundLaw/status/2083350273758728216
1•freestylematt•6m ago•0 comments

WTF Happened in 1971?

https://wtfhappenedin1971.com/
1•baxtr•7m ago•0 comments

Show HN: Wisp – a Linux shell with Lua scripting and structured pipelines

https://github.com/Hinikaa/wisp
1•hinikaa•7m ago•0 comments

Bloom Filters

https://arpitbhayani.me/blogs/bloom-filters/
1•vishwajeet_thok•9m ago•0 comments

AI doesn't generate working products, that's still your job

https://weeraman.com/the-prototype-isnt-the-product/
2•smckk•11m ago•1 comments

Amgen Reports Breach to SEC

https://databreaches.net/2026/07/31/amgen-reports-breach-to-sec/
1•WaitWaitWha•17m ago•0 comments

How Functional Is Human Tetrachromacy? (Ooqui) [video]

https://www.youtube.com/watch?v=NLC38iB7deE
1•zeristor•19m ago•0 comments

Google plans to exempt sanctioned nations from Android developer verification

https://arstechnica.com/gadgets/2026/07/google-plans-to-exempt-sanctioned-nations-from-android-de...
1•01-_-•20m ago•0 comments

Show HN: Habit Dungeon – RPG gamification that helps good habits stick

https://gamifyhabits.app/
1•jackedv•21m ago•1 comments

Solid Queue 1.6.0 now supports fiber workers

https://github.com/rails/solid_queue/releases/tag/v1.6.0
2•earcar•21m ago•0 comments

Silicon Valley loves young founders. Until it doesn't

https://techcrunch.com/2026/07/31/build-in-public-fail-in-public-what-its-like-to-be-a-founder-un...
1•01-_-•22m ago•0 comments

Situated Software (2004)

https://devonzuegel.com/situated-software
1•chr15m•22m ago•1 comments

Ten advances in mathematics and theoretical computer science

https://openai.com/index/ten-advances-in-mathematics/
21•milkshakes•25m ago•2 comments

Is AI Conscious? [video]

https://www.youtube.com/watch?v=DRbZyuY8EN8
1•abc42•32m ago•1 comments

Ats Resume Checker

https://www.apply-tracker.com/en/resume-checker
1•mirnumbing•33m ago•0 comments

The OpenCode default session prompts for plan and edit

https://github.com/anomalyco/opencode/tree/dev/packages/opencode/src/session/prompt
2•walrus01•36m ago•0 comments

Marketing sucks when all you want to do is build."builder's dopamine"

https://www.reddit.com/r/SaaS/comments/1vblhwy/comment/p0z1i6b/
2•absolutedev•38m ago•0 comments

Future euro banknote design proposals

https://www.ecb.europa.eu/euro/banknotes/future_banknotes/html/design-proposals.en.html
2•austinallegro•39m ago•0 comments

Most speed readers break on Japanese, Chinese and Thai

https://www.readkinetic.com/blog/speed-reading-japanese-chinese-thai
1•SamuraiLion•47m ago•0 comments

Show HN: Lightweight, S3-compatible object storage server

https://vaults3.com/
1•open_source_new•47m ago•0 comments

Police in US are using the power of podcasts to crack unsolved murders

https://www.bbc.co.uk/news/articles/cpw9q0ekd9eo
1•zeristor•48m ago•0 comments

Churchill's Ersatz Meeting with Lincoln's Ghost (2018)

https://richardlangworth.com/lincolns-ghost-churchill-white-house
1•thunderbong•56m ago•0 comments

A migrant surge tests Spain's open policies

https://economist.com/europe/2026/07/31/a-migrant-surge-tests-spains-open-policies
22•andsoitis•1h ago•29 comments

Chinese AI Researchers Are Finding Their Voice on X

https://www.wired.com/story/chinese-ai-researchers-are-finding-their-voice-on-x/
6•joozio•1h ago•0 comments

A big win for Android interoperability

https://www.openhomefoundation.org/blog/a-big-win-for-android-interoperability/
1•saeedesmaili•1h ago•0 comments

Spain Regains Control of Enclave After Migrants Overrun It

https://www.wsj.com/world/europe/spain-rushes-to-control-border-after-tens-of-thousands-of-migran...
3•andsoitis•1h ago•0 comments

GPT has proved nonsofic groups are exist

https://twitter.com/iron_redux/status/2083360414037938609
4•demirbey05•1h ago•0 comments

OpenAI's work on Git for large repositories

https://openai-git-upstream.openai.chatgpt.site/
3•fratellobigio•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?