frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

FreeMediaHeckYeah 8-Year Anniversary

https://fmhy.net/posts/anniversary
1•Cider9986•53s ago•0 comments

US track star Abby Steiner sues Puma alleging 'defective' shoes destroyed career

https://nypost.com/2026/04/29/sports/sprinter-abby-steiner-sues-puma-alleging-defective-shoes-des...
1•Tomte•58s ago•0 comments

Migrant Deaths Hit Record High Under Trump 2.0

https://www.techdirt.com/2026/04/30/migrant-deaths-hit-record-high-under-trump-2-0/
1•speckx•1m ago•0 comments

Vulnerability Lets Privilege Escalation to Root on Major Linux Distros Est. 2017

https://www.bleepingcomputer.com/news/security/new-linux-copy-fail-flaw-gives-hackers-root-on-maj...
2•ZeidJ•1m ago•0 comments

Could Eating Your Fruits and Veggies Give You Lung Cancer?

https://www.healthline.com/health-news/pesticides-healthy-foods-lung-cancer-risk-people-under-50
1•paulpauper•4m ago•0 comments

House GOP concedes in DHS funding fight, reopening TSA but blocking ICE funds

https://www.cnn.com/2026/04/30/politics/dhs-shutdown-funding-bill-house-vote
1•Cider9986•5m ago•0 comments

Show HN: Shell-MCP, per-directory shell allowlisting for Claude Desktop

https://github.com/devrelopers/shell-mcp
1•DavidCanHelp•5m ago•0 comments

How Silicon Valley's Brightest Parents Broke Their Own School

https://www.wsj.com/us-news/education/how-silicon-valleys-brightest-parents-broke-their-own-schoo...
1•fortran77•5m ago•1 comments

Environmentalists Aren't Anti-Abundance

https://www.grantmulligan.com/p/environmentalists-arent-anti-abundance
1•paulpauper•5m ago•0 comments

Show HN: Outlit – Customer context infrastructure for agents

https://www.outlit.ai/
1•Joshearle1•6m ago•0 comments

Former Chick-fil-A employee charged in $80K refund scheme using Mac and cheese

https://www.fox4news.com/news/former-texas-chick-fil-a-employee-80k-refund-fraud-mac-and-cheese
1•Vaslo•6m ago•0 comments

The Collapse of Teen Fertility in the Digital Era [pdf]

https://homepages.uc.edu/~moscoshn/Personal_webpage/papers/Smartphone_web.pdf
1•paulpauper•6m ago•0 comments

High Vulnerability in the Linux Kernel ("Copy Fail")

https://cert.europa.eu/publications/security-advisories/2026-005/
2•bwidlar•6m ago•1 comments

AI breakthrough means chatbots use six times less memory during conversations

https://www.livescience.com/technology/artificial-intelligence/google-ai-breakthrough-means-chatb...
1•geox•6m ago•0 comments

A glimpse into cyber-security's AI-driven future

https://www.economist.com/science-and-technology/2026/04/29/a-glimpse-into-cyber-securitys-ai-dri...
1•Brajeshwar•6m ago•0 comments

I built a Game Boy emulator in F#

https://nickkossolapov.github.io/fame-boy/building-a-game-boy-emulator-in-fsharp/
1•elvis70•7m ago•0 comments

Claude Security is now in public beta for Claude Enterprise customers

https://twitter.com/claudeai/status/2049898739783897537
1•Onyros•9m ago•0 comments

Show HN: Copy-fail-C – portable C port of CVE-2026-31431, with a checker

https://github.com/tgies/copy-fail-c
1•tgies•9m ago•0 comments

What do you want to see in a next-generation GitHub in the age of AI?

1•skeedle•11m ago•0 comments

Most Swiss back initiative to cap population at 10M, poll shows

https://www.reuters.com/world/europe/most-swiss-back-initiative-cap-population-10-million-poll-sh...
4•naves•11m ago•0 comments

MLLPong – HL7 MLLP Mock Server

https://mllpong.novalagung.com/
1•novalagung•12m ago•1 comments

The Day Claude Brought a 110 Staff Company to a Standstill

https://ai.gopubby.com/the-day-claude-brought-a-110-staff-company-to-a-standstill-9cd1571f89bf
1•swolpers•13m ago•0 comments

Password Management

https://nthp.me/blog/2026/password-management/
2•speckx•15m ago•0 comments

Show HN: Retina – An Object Detection Library in Python

https://medium.com/@telekinesis-ai/retina-a-production-grade-object-detection-library-in-python-f...
1•sumanpal7•16m ago•0 comments

A Principled ML Compiler Stack in 5k Lines of Python

https://kernelspace.substack.com/p/a-principled-ml-compiler-stack-in
1•gkapur•16m ago•0 comments

Ask HN: Is now the time for an open-source, data-broker removal request bot?

1•ryanisnan•18m ago•0 comments

Startup's new mechanistic interpretability tool lets you debug LLMs

https://www.technologyreview.com/2026/04/30/1136721/this-startups-new-mechanistic-interpretabilit...
2•joozio•19m ago•1 comments

We're in 1905: Why Electricity (Not Dot-Com) Is the Right AI Analogy

https://joereis.substack.com/p/were-in-1905-why-electricity-not
3•speckx•21m ago•0 comments

Highline: Ruby gem for a higher level command-line oriented interface

https://github.com/JEG2/highline
1•thunderbong•23m ago•0 comments

70k students, 1k schools, results in seconds: using AI for assessment

https://indianexpress.com/article/india/jodhpur-ai-pilot-transforming-assessments-schools-student...
1•rtcoms•23m 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•12mo 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?