frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Wilmund

https://wilmund.com/
1•WillDaSilva•58s ago•0 comments

Back to School with High-Speed Attack Drones

https://www.wsj.com/opinion/stopping-school-shootings-with-security-drones-44e22f75
1•fortran77•1m ago•1 comments

A Stark Warning from a Former AI Doomer

https://podcasts.apple.com/us/podcast/a-stark-warning-from-a-former-ai-doomer/id1515786216?i=1000...
1•_virtu•4m ago•0 comments

When Corn Flakes Were Part of an Anti-Masturbation Crusade

https://www.mentalfloss.com/food/corn-flakes-were-invented-part-anti-masturbation-crusade
1•snarky-comments•5m ago•0 comments

Slipstream – explore F1 results and compare lap times

https://github.com/saccofrancesco/slipstream
1•sh4dow05•5m ago•0 comments

California Did Little to Punish a Raw Milk Farm After Two Girls Got Sick

https://www.propublica.org/article/california-raw-milk-regulation-emily-marris-moonlight-ridge-farm
1•jkestner•8m ago•0 comments

Secret of Orange Cats Revealed After 60-Year Search

https://www.sciencealert.com/secret-of-orange-cats-finally-revealed-after-60-year-search
1•bookofjoe•12m ago•0 comments

We're All Working for AI Now

https://medium.com/@mustafaydemir/were-all-working-for-ai-now-19353aa51e82
1•criexe•14m ago•1 comments

Podcast to Yoto Playlist Sync

https://github.com/veleek/PodcastToYoto
1•veleek•18m ago•1 comments

Agisoon.lol: Predictions of the Singularity

https://www.agisoon.lol/
1•JohnLocke4•19m ago•0 comments

Show HN: Listener – 100% on-device meeting notes for Mac ($5 once, no cloud)

https://getlistener.vercel.app/en
1•luizhcrs•19m ago•0 comments

IDC: Smartphone Shipments Set for Record 16.7% Drop in 2026

https://www.idc.com/resource-center/blog/smartphone-shipments-set-for-record-16-7-drop-in-2026-as...
1•GeekyBear•24m ago•0 comments

Testing database interactions in Golang

https://abdus.dev/posts/golang-database-tests/
1•abdusco•25m ago•0 comments

Ratcn – customizable Ratatui components you can try over SSH

https://ratcn.com/
2•gann_•30m ago•0 comments

Show HN: Teasr – Turn your product URL into a launch video

https://tryteasr.com/
1•deeshee•35m ago•0 comments

IDC: PC Sales Nosedived 20.1 Percent in Q3

https://www.thurrott.com/hardware/342655/idc-pc-sales-nosedived-20-1-percent-in-q3
2•GeekyBear•35m ago•0 comments

Doory open source canva alternative

https://doory.art
1•acley•36m ago•0 comments

High console prices push PlayStation and Xbox sales to new lows

https://www.polygon.com/game-console-sales-down-ai-component-crisis-ram/
1•GeekyBear•37m ago•0 comments

Sexually transmitted diarrhea: The infection that's becoming more drug resistant

https://www.kcra.com/article/sexually-transmitted-diarrhea-shingellosis-what-to-know/74092950
1•penskymaterial•40m ago•3 comments

Arrival Mind (children's book about AI risk – narrated)

https://www.youtube.com/watch?v=5GISvEfdbm4
1•hogwash•42m ago•0 comments

How much privacy should you expect at church?

https://baptistnews.com/article/how-much-privacy-should-you-expect-at-church/
1•thomasjb•44m ago•0 comments

Show HN: I built a macOS screensaver that reacts to AI coding agents

https://www.ascendaflow.com/waterline
1•emotf•44m ago•0 comments

Alien Crash Site

https://www.aliencrashsite.org
2•sebg•45m ago•0 comments

Dbt enables data analysts and engineers to transform their data

https://github.com/dbt-labs/dbt
2•kristianp•46m ago•0 comments

Show HN: Try Free Long-Term Memory for AI 50M-Token Window

https://github.com/corbenicai/galahad
3•Corbenic•46m ago•0 comments

Duplicity and Photo and Video Manager

https://www.worm-app.com/https://www.dupepit.com/
1•pajaserve•49m ago•0 comments

One of 20M Videos

https://www.youtube.com/watch?v=tqlvdPLsWD4
2•prathje•50m ago•1 comments

Show HN: Throw Alice and Bob into Sagittarius A*

https://github.com/steveking-gh/black-hole-lab
2•steve6390•55m ago•0 comments

We spent $1200 on a booth at HITEX 2026. Here's what we got

https://mazeez.dev/posts/hitex-2026/
1•mazeez•55m ago•0 comments

Borel jet extensions via higher categories and homotopy type theory

https://higher-borel-jets.grok.me/
1•measurablefunc•57m 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?