frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Mktemp: Make unique temporary file or directory

https://www.mktemp.org/docs/mktemp.man/
1•ankitg12•2m ago•0 comments

Ask HW: Best frontier AI model for mind map generation?

1•daitangio•4m ago•0 comments

In-camera film simulation app for the Sony A7 II / A7S / A7R II open source

https://github.com/jegly/sonyalpha-film
1•lqgtilnkmard•4m ago•0 comments

Documenting an undocumented chip: the TensorCore of TPU v5e

https://gherkinlabs.com/v5e-tensorcore-instructions
3•gherkinlabs•4m ago•0 comments

Show HN: URL Shortener – A Chrome Extension by Shortener.dev

https://chromewebstore.google.com/detail/shortenerdev-url-shortene/ocpliefdcodaeidgjkfppecfbppljhfn
1•vrathee•4m ago•0 comments

Show HN: I've updated my Linux System Call website and API

https://syscall.sh/
1•guitmz•5m ago•0 comments

Show HN: LibreCosmos – navigate your space-ship through SSH

https://librecosmos.com/
1•zchira•8m ago•0 comments

Another supermarket hit with freezer attack

https://nltimes.nl/2026/11/02/cyberattack-hits-delhaize-supermarket-fridges-freezers-dozens-belgi...
2•casparz•10m ago•0 comments

Textpattern CMS 4.9.2

https://textpattern.com/weblog/textpattern-492-released-security-fixes-patches-and-tweaks
1•petecooper•11m ago•0 comments

Ask questions using the model and knowledge saved on your phone, no connection

https://www.getfieldatlas.com/
1•ZacnyLos•11m ago•0 comments

Ask Wikipedia in Airplane Mode

https://askcommonplace.app/
2•ZacnyLos•12m ago•0 comments

The First Nintendo Switch 2 Emulator for PC Has Just Been Released

https://www.dsogaming.com/news/the-first-nintendo-switch-2-emulator-for-pc-has-just-been-released/
2•ndesaulniers•15m ago•0 comments

Jevons paradox is lazy analysis: Evaluating the risk of AI overbuilding

https://twitter.com/bookwormengr/status/2116705246856741114
1•pretext•18m ago•1 comments

Aulico: Track NVDA, BTC and global markets

https://www.aulico.com/tradespaces/new?symbol=82615e2c-053f-5b02-aea7-792e4d571e32
1•ratonbigger•19m ago•0 comments

MongoDB: One Write, Two Logs

https://franejelavic.github.io/writing/mongodb-wiredtiger-storage-engine/
1•fjelavic•19m ago•0 comments

Show HN: Konvene, private browser-to-browser video calls with on-device effects

https://konvene.app
1•rakeshmenon•20m ago•0 comments

Entire Police Department Quits After Learning What It Feels Like to Be Tracked

https://www.gadgetreview.com/tables-turned-entire-police-department-quits-after-finding-out-what-...
3•robtherobber•21m ago•0 comments

Exploring Super-Agent Design: Towards a More Autonomous Agent System

https://twitter.com/DeepSeekHarness/status/2116857257245987236
1•pretext•21m ago•0 comments

Ukraine and Russia say emergency apps hacked

https://www.bbc.co.uk/news/live/cm4g1yjxv38gt
2•shaftoe444•22m ago•0 comments

Org-Mode November 2026: Fabulously Fancy [LaTeX] Fragments

https://blog.tecosaur.net/tmio/2026-11-01-preview.html
2•internet_points•23m ago•0 comments

Moving Authorization Out of Your App Code: If-Statements vs. Cerbos vs. SpiceDB

https://devops-daily.com/posts/authorization-if-statements-vs-cerbos-vs-spicedb
1•emreb•25m ago•0 comments

Let’s Build a Brain

https://aatishb.com/myriad/lets-build-a-brain/
1•dudeperf3ct7•29m ago•0 comments

Haas: Postgres 19 is late, and it's AI's fault

https://lwn.net/Articles/1104210/
3•hn9zmdcaou•30m ago•0 comments

The conversation expanded to approximately 559,000 words and 1,492 messages

https://explore.openaire.eu/search/publication?pid=10.5281%2Fzenodo.23686384
2•pinuslongaeva•35m ago•0 comments

Anthropic's Mythos-class model allegedly leaked on Hugging Face

https://www.reddit.com/r/ClaudeAI/comments/1xl47f5/anthropics_mythosclass_model_allegedly_leaked_on/
1•nsoonhui•36m ago•0 comments

European RISC-V Industrial Computing Initiative

https://erici.eu
4•ymz5•36m ago•0 comments

How to Block YouTube Shorts

https://blog.getcroton.com/posts/how-to-block-youtube-shorts/
3•quaintdev•39m ago•0 comments

Ask HN: Azure Linux VM's RTC loses 12 hours on reboot if set to 12:xx UTC?

1•klaas-•39m ago•0 comments

Show HN: AgentTM – A time-travel debugger for AI coding agents built in Go

https://github.com/Jyotishmoy12/AgentTM
1•j3y3deka•39m ago•0 comments

My Free Tool Turns 3D Scans into CAD [video]

https://www.youtube.com/watch?v=meBi616y1mg
1•onemoresoop•41m 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?