frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Build Kimi K3 from Scratch

https://kimik3.grok.me/
2•rawqubit•6m ago•0 comments

Graduate in 2036 as a AI engineer is it worth?

1•eapyk•8m ago•1 comments

Letter to Hacker News (With Love)

https://geometryentropynewmaterials.substack.com/p/an-open-letter-with-love-to-hacker
1•MaybeGoodRoyal•8m ago•0 comments

Show HN: TFStudio – open-source design and optimization for optical thin films

https://github.com/aai2k/TFStudio
1•aai2k•12m ago•0 comments

Show HN: Kakehashi – Experimental userspace to run macOS binaries on Linux ARM

https://github.com/wie-project/kakehashi
2•vlad_kalinkin•13m ago•1 comments

Show HN: Sprocket – The Best AI Agent for Hardware and Software Development

https://sprocket-demo.spikonado.com
7•amronos•13m ago•0 comments

Catastrophic MoD data breach happened because stuff didn't know how to use excel

https://www.independent.co.uk/news/uk/home-news/afghan-data-breach-superinjunction-defence-report...
3•Teever•14m ago•0 comments

Capital One closed Trump Org's accounts after anti-money laundering probe

https://www.reuters.com/legal/government/capital-one-says-it-closed-trump-organizations-accounts-...
2•speckx•14m ago•0 comments

3D Visualization of E8 Using an H4 Folding Matrix [pdf]

https://www.researchgate.net/profile/J-Gregory-Moxness/publication/281557337_The_3D_Visualization...
1•brandonb•15m ago•0 comments

How to design, build and test small liquid-fuel rocket engines(1967)

https://spacha.github.io/How-to-Rocket/
2•num42•16m ago•0 comments

Rooting, firmware analysis and persistent credentials of TP-Link TL-841N

https://blog.juni-mp4.com/posts/42/rooting-the-tplink-tl841n-pt1/
3•mindracer•20m ago•0 comments

From now on, companies across the EU must be clear about their use of AI

https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai
4•speckx•21m ago•0 comments

GPU Accelerated Genetic Programming for Symbolic Regression – Beagle Framework

https://arxiv.org/abs/2603.12292
2•bane•22m ago•0 comments

Own your family tree with a local-first app

https://purplehoisin.com/own-your-family-tree/
3•fersarr•23m ago•1 comments

Australian booksellers raise alarm over destruction of rare titles to feed AI

https://www.theguardian.com/technology/2026/aug/02/australian-book-sellers-alarm-destruction-rare...
2•Teever•27m ago•0 comments

Chatto Is Robots

https://www.hmans.dev/blog/chatto-is-robots
1•mertbio•28m ago•0 comments

SQL vs. NoSQL: How to Answer This Interview Question in 2026

https://www.thetrueengineer.com/p/sql-vs-nosql-how-to-answer-this-interview
2•andrewstetsenko•30m ago•0 comments

Anthropic's Opus 5 Is Better at Resisting Prompt Injection

https://www.schneier.com/blog/archives/2026/07/anthropics-opus-5-is-better-at-resisting-prompt-in...
1•rustoo•30m ago•0 comments

Leadwerks Game Engine 5.1 Released

https://www.leadwerks.com/community/blogs/entry/2900-better-graphics-and-lower-system-requirement...
1•Josh_Klint•30m ago•0 comments

As Reddit stock falls, CEO questions value of Google's AI Overviews

https://arstechnica.com/ai/2026/08/reddit-ceo-on-ai-overviews-were-still-looking-for-that-win-win/
6•Brajeshwar•30m ago•3 comments

I refuse to bow to our AI overlords

https://grugq.substack.com/p/i-refuse-to-bow-to-our-ai-overlords
4•speckx•31m ago•1 comments

Why I've become interested in aesthetics

https://twitter.com/patrickc/status/2083931939673878592
1•tosh•32m ago•0 comments

iOS 26.6 and macOS Tahoe 26.6 Patch Hundreds of Security Flaws

https://www.macrumors.com/2026/07/27/ios-26-6-security-fixes/
2•akyuu•35m ago•0 comments

Exercise works for depression. So why isn't it treated like real medicine?

https://bigthinkmedia.substack.com/p/exercise-works-for-depression-so
1•wertyk•36m ago•1 comments

The Euler Disc Is the Wrong Shape [video]

https://www.youtube.com/watch?v=ti2qiU_JTUQ
1•num42•38m ago•0 comments

A SR-71 Blackbird Is Now Buried in the Mariana Trench

https://theaviationgeekclub.com/ichiban-wreckage-the-story-of-how-sr-71-blackbird-61-7974-was-rec...
3•situationista•38m ago•1 comments

I Was in the DSA. Here's What They Believe

https://www.thefp.com/p/i-was-in-the-dsa-heres-what-they
1•TimTheTinker•38m ago•0 comments

EU Code of Practice on Transparency of AI-Generated Content (Starting August)

https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content
2•tannhaeuser•39m ago•0 comments

Fukushima beach reopens for first time since 2011 quake and nuclear accident

https://www3.nhk.or.jp/nhkworld/en/news/20260802_04/
1•e2e4•40m ago•0 comments

SwitchBot Kata Friends AI Pet Review: Useless If You Don't Pay Up

https://gizmodo.com/switchbot-kata-friends-ai-pet-review-useless-if-you-dont-pay-up-2000789267
1•FiddlerClamp•41m ago•1 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?