frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Leak Exposes 41,000 Homeland Security Workers–Including Undercover ICE Agents

https://www.wired.com/story/massive-leak-exposes-41000-homeland-security-workers-including-underc...
2•Aboutplants•1m ago•0 comments

XReal Aura – Android XR Glasses

https://www.xreal.com/us/aura
1•thadt•3m ago•0 comments

Why headlights seem more blinding than ever

https://www.washingtonpost.com/transportation/2026/10/28/how-nighttime-driving-became-an-exercise...
1•bookofjoe•5m ago•1 comments

Errors in the Research of Emmanuel Saez and Gabriel Zucman

https://saez-zucman-audit-replication.vercel.app/
1•paulpauper•6m ago•0 comments

LectureInk: Open-source study notes from video tutorials

https://github.com/SabitaKumariDev/LectureInk-V1
1•sabitak•7m ago•0 comments

How to Outrun the AI Hackers

https://www.thefp.com/p/tyler-cowen-how-to-outrun-the-ai
1•paulpauper•7m ago•0 comments

Inequality in Equal Land

https://marginalrevolution.com/marginalrevolution/2026/10/inequality-in-equal-land.html
1•paulpauper•8m ago•0 comments

Octoverse: Commits, pushes, reach new highs in 2026

https://github.blog/news-insights/octoverse/octoverse-commits-pushes-reach-new-highs-in-2026-as-d...
1•colewilson•9m ago•0 comments

In a Setback to VMware, Tesco Is Looking to Migrate to Proxmox

https://itsfoss.com/news/tesco-vmware-exit/
1•abdelhousni•10m ago•0 comments

When AI Does the Work, What Will Humans Do?

https://project507.substack.com/p/when-ai-does-the-work-what-will-humans
1•massigenta•12m ago•0 comments

DOJ is inquiring about Nvidia's purchase of Hugging Face

https://www.reuters.com/world/us-doj-is-inquiring-about-nvidias-purchase-hugging-face-sources-say...
1•TechTechTech•12m ago•0 comments

The case of the 9 bit AES key

https://v12.sh/blog/the-case-of-the-9bit-aes-key
1•ledoge•13m ago•1 comments

AI Startups Are Getting an Inch and Taking a Mile

https://tedium.co/2026/10/27/ai-startups-sketchy-behavior/
1•aray07•13m ago•0 comments

Ask HN: Why is pagination gone on "Ask HN", and showing only 19 items?

2•bigwheels•13m ago•0 comments

Jacquard Machine

https://en.wikipedia.org/wiki/Jacquard_machine
1•derwiki•13m ago•0 comments

Latest Drop by DDoS Contains Contact Info for 40k DHS Employees

https://www.techdirt.com/2026/10/28/latest-drop-by-distributed-denial-of-secrets-ddos-contains-co...
1•DeepLogin•15m ago•0 comments

Cubecursor

https://cubecursor.shop
1•mythicalsafw•16m ago•0 comments

How, and Why, We're Adding A.I. Tools to NYT Cooking

https://www.nytimes.com/2026/10/23/insider/cooking-recipes-ai.html
2•max-ch•16m ago•1 comments

Leak website releases data on DHS employees

https://www.reuters.com/legal/government/leak-website-releases-data-tens-thousands-dhs-employees-...
5•wondersky•17m ago•0 comments

Show HN: I built a tool that finds reliability bugs in your code

1•aray07•18m ago•0 comments

Apple Touch

https://www.pcmag.com/explainers/apple-touch-screen-macbook-pro-2899-monthly-cost-with-apple-upgrade
1•skor•24m ago•0 comments

Climate Change Stopped the Next Ice Age

https://lamont.columbia.edu/news/climate-change-stopped-next-ice-age
1•geox•26m ago•0 comments

Goto Considered Sick (for error handling in C)

https://thestateofinahaze.net/blog/c-goto-considered-totally-sick/
1•majorchord•28m ago•1 comments

Synthetic survey respondents from real census data, with a calibration score

https://synthetic-audience.noniner.io
1•fredxhansson•29m ago•0 comments

Show HN: Enframe – Drop-in sidecar that wraps any OpenAPI spec to an MCP server

https://github.com/erwinkramer/enframe
1•r3versii•29m ago•0 comments

Ask HN: Advise on monetization model for my freemium app wanted

1•neurodiv_dennis•30m ago•0 comments

Getting good at AI takes time and practice

https://www.seangoedecke.com/getting-good-at-ai-takes-time-and-practice/
2•tomwphillips•33m ago•1 comments

Ask HN: Alternative to Tldraw Draw Fast?

2•outlore•34m ago•0 comments

lever: Feedback Loops for Coding Agents

https://github.com/github/lever
1•gfortaine•34m ago•0 comments

Hokum: Notifications for Wayland

https://hokum.app/
1•droidjj•37m 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?