frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Devon

https://grimfandango.substack.com/p/devon
1•lastdong•3m ago•0 comments

LinkLens: Protect Yourself from Clickbait

https://chromewebstore.google.com/detail/linklens/dbfidmikilfcnkngenffkinmknoblaap
1•philstahlfeld•3m ago•0 comments

After banning foreign routers, FCC says existing ones can get updates until 2029

https://arstechnica.com/tech-policy/2026/05/fcc-slightly-relaxes-foreign-router-ban-allows-softwa...
1•Bender•3m ago•0 comments

Chinese Powev Enters DDR5 Market with Up to 64 GB Udimm, Sodimm, and Rdimm

https://www.techpowerup.com/348936/chinese-powev-enters-ddr5-market-with-up-to-64-gb-udimm-sodimm...
1•SockThief•3m ago•0 comments

A Caddy Cert Expired Because Systemd-Resolved Was Selectively Broken

https://rant.mvh.dev/a-caddy-cert-expired-because-systemd-resolved-was-selectively-broken/
1•PaulHoule•5m ago•0 comments

Closure of Radio 4 on Long Wave (LW)

https://www.bbc.co.uk/reception/work-warning/news/radio4lw
3•austinallegro•8m ago•0 comments

A brain reward circuit inhibited by next-generation weight-loss drugs in mice

https://www.nature.com/articles/s41586-026-10444-4
2•Bender•8m ago•0 comments

I Disagree with Paul Graham

https://mrmarket.bearblog.dev/i-disagree-with-paul-graham/
2•seltzerboys•9m ago•0 comments

Show HN: Route optimization API that solves fleet planning as a single problem

https://demo.vepathos.com
1•pantherolive•9m ago•0 comments

PostHog Code

https://posthog.com/code
1•smitec•17m ago•0 comments

When readers would rather listen

https://blog.keyvan.net/p/ai-voiced-narration-for-articles
1•k1m•17m ago•0 comments

An Ice Cold Take on CI Config Systems

https://v5.chriskrycho.com/notes/an-ice-cold-take-on-ci-config-systems/
1•mooreds•18m ago•0 comments

K-12's biggest failure is making us think learning ends

https://twitter.com/NirZicherman/status/2053963176929116171
1•tattattaei•19m ago•0 comments

Red flags when building AI

https://www.dianapfeil.com/ai/2026/02/11/red-flags-when-building-ai.html
2•mooreds•22m ago•0 comments

AI is a Sword not a Shield [video]

https://www.youtube.com/watch?v=TdbMZRlTDaI
1•saltysalt•24m ago•0 comments

Typing Some Python Quirks

https://blog.mathieui.net/typing-python-quirks.html
1•Einenlum•24m ago•0 comments

A million baby monitors and security cameras were easily viewable by hackers

https://www.theverge.com/tech/926487/meari-technology-hack-baby-monitor-security-camera
3•starkparker•26m ago•0 comments

Ask HN: How are you preparing for interviews nowadays?

3•holden_nelson•28m ago•0 comments

Show HN: Compiled an archive of copium content for SF Bay Area engineers

https://copium.fyi/
1•average_ana•30m ago•0 comments

Uniform Rental Contracts Explain the U.S. Economy

https://www.thebignewsletter.com/p/fine-print-how-uniform-rental-contracts
2•connor11528•30m ago•0 comments

What Challenging a Bowling Monopoly Says About America

https://www.thebignewsletter.com/p/monopoly-round-up-what-challenging
1•connor11528•31m ago•0 comments

Counterfactual samples synthesizing for mitigating hallucination in LLMs

https://pubmed.ncbi.nlm.nih.gov/41729914/
1•fragmede•37m ago•1 comments

Tashk – a todo manager written in pure bash

https://github.com/agamoaltrove/tashk
1•agamoaltrove•39m ago•0 comments

The lab where Ford is trying to crack the code on cheap EVs

https://www.theverge.com/transportation/923704/ford-ev-skunkworks-lab-long-beach
2•dkobia•40m ago•0 comments

Elon Musk and Tim Cook among CEOs expected to accompany Trump on China trip

https://www.bbc.com/news/articles/c5yx757w048o
12•bigyabai•42m ago•1 comments

Tensor Shapes

https://pyrefly.org/en/docs/tensor-shapes/
2•rexledesma•42m ago•0 comments

French woman was told by doctors hantavirus symptoms were just anxiety

https://www.theguardian.com/world/2026/may/11/french-womandoctors-hantavirus-symptoms-hv-hondius
5•cdrnsf•43m ago•1 comments

OpenDyslexic: A Typeface for Dyslexia

https://opendyslexic.org/
2•oldfuture•43m ago•0 comments

Cloud Storage Rapid: Turbocharged object storage for AI and analytics

https://cloud.google.com/blog/products/storage-data-transfer/cloud-storage-rapid-turbocharges-obj...
1•leg•46m ago•0 comments

My First AI Project: An "Evidence-Based" System Architect. Looking for Feedback

https://github.com/maioio/genesis-architect
1•maioio•46m 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?