frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Bread Cooperative and the Bloockchain Left

https://platform.coop/blog/what-makes-bread-real/
1•vvpan•1m ago•0 comments

Ask HN: What's your workflow for fixing "port in use" on Windows?

1•gh-automata•1m ago•0 comments

How HN: AndesCode – local AI coding assistant that runs offline

1•angarrido•2m ago•1 comments

What is a coder's worst nightmare? (2014)

https://www.quora.com/What-is-a-coders-worst-nightmare/answer/Mick-Stute?srid=RBKZ&share=1
1•downbad_•4m ago•1 comments

'I hate working 5 days': Zoom CEO traditional work schedules becoming obsolete

https://www.aol.com/finance/zoom-ceo-predicts-3-day-144202969.html
1•bilsbie•4m ago•0 comments

Real-Time, Streaming SQL Queries on Flight Data

https://modolap.com/publication/planes1
1•ronfriedhaber•8m ago•0 comments

DIY Soft Drinks

https://blinry.org/diy-soft-drinks/
1•_Microft•9m ago•0 comments

Deere settles US right-to-repair lawsuit with $99M fund, repair commitments

https://wincountry.com/2026/04/06/deere-settles-us-right-to-repair-lawsuit-with-99-million-fund-r...
1•ohjeez•9m ago•1 comments

Show HN: QueueForge – a self-hosted RabbitMQ dead-letter queue manager

https://queueforgehq.com
1•namrahov•14m ago•0 comments

Building a SaaS in 2026 Using Only EU Infrastructure

https://eualternative.eu/guides/building-saas-eu-stack/
13•sparkling•14m ago•1 comments

Want to help garden birds? Don't feed them in warmer months, says RSPB

https://www.bbc.co.uk/news/articles/c2lwvz1pl1no
2•c-oreills•17m ago•0 comments

Introducing Project Glasswing

https://www.linuxfoundation.org/blog/project-glasswing-gives-maintainers-advanced-ai-to-secure-op...
2•jruohonen•18m ago•1 comments

Show HN: Give your AI agent a preview link for files and diff

https://diff4.com/
1•djyde•19m ago•0 comments

Californians sue over AI tool that records doctor visits

https://arstechnica.com/tech-policy/2026/04/californians-sue-over-ai-tool-that-records-doctor-vis...
1•Bender•19m ago•0 comments

How Beyond Meat sank from a $14B plant-based protein powerhouse to a penny stock

https://www.marketwatch.com/story/how-beyond-meat-sank-from-a-14-billion-plant-based-protein-powe...
2•bookofjoe•21m ago•1 comments

IBM to pay $17M in anti-DEI settlement

https://www.cnn.com/2026/04/10/business/ibm-settlement-dei-lawsuit
2•Bender•22m ago•0 comments

Jim Allchin to Gates and Ballmer on the state of quality at Microsoft (2004)

https://twitter.com/TechEmails/status/1418248256937775105
1•Austin_Conlon•22m ago•1 comments

Bouncer: Block "crypto", "rage politics", and more from your X feed using AI

https://github.com/imbue-ai/bouncer
2•steveharing1•23m ago•0 comments

Ask HN: What Are You Working On? (April 2026)

2•david927•23m ago•2 comments

The space science behind 'Project Hail Mary'

https://www.npr.org/2026/04/12/nx-s1-5782074/project-hail-mary-nasa-space-science
2•Brajeshwar•24m ago•0 comments

Why Is Sherlock Holmes English?

https://alistaird221b.blogspot.com/2013/05/why-is-sherlock-holmes-english.html
2•KitN•24m ago•0 comments

Microsoft locks in final death date for Outlook Lite on Android

https://www.neowin.net/news/microsoft-locks-in-final-death-date-for-outlook-lite-on-android/
1•Brajeshwar•24m ago•0 comments

Over 20k crypto fraud victims identified in international crackdown

https://www.bleepingcomputer.com/news/security/police-identifies-20-000-victims-in-international-...
1•Brajeshwar•25m ago•0 comments

APL: Evaluator for a Subset of Scheme

https://dfns.dyalog.com/n_lisp.htm
1•tosh•27m ago•0 comments

AI Didn't Teach Me to Code but It Changed How I Build

https://nextindata.substack.com/p/ai-didnt-teach-me-to-code-but-it
1•nazanki•28m ago•0 comments

Investigating How Long-Distance Couples Use Digital Games to Facilitate Intimacy

https://arxiv.org/abs/2505.09509
2•radeeyate•30m ago•0 comments

The disappearing and unappreciated art of audible alerts

https://www.youtube.com/watch?v=nXdVG45wveo
1•luizcdc•30m ago•0 comments

SpaceX holds $603M in Bitcoin despite $5B loss stemming from xAI

https://www.coindesk.com/markets/2026/04/11/musk-s-spacex-holds-usd603-million-in-bitcoin-despite...
3•lexandstuff•31m ago•0 comments

Cures via CRISPR DNA Editing May Be Most Important Medical Story of the Decade

https://www.nytimes.com/2026/04/09/opinion/genetic-editing-diseases-health-care.html
2•ck2•31m ago•1 comments

Powell, Bessent discussed Mythos AI cyber threat with major U.S. banks

https://www.cnbc.com/2026/04/10/powell-bessent-us-bank-ceos-anthropic-mythos-ai-cyber.html
1•mooreds•36m ago•0 comments
Open in hackernews

Packed Data Support in Haskell

https://arthi-chaud.github.io/posts/packed/
77•matt_d•11mo ago

Comments

nine_k•11mo 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•11mo ago
We are always reinventing wheels. If we didn't, they'd all still be made of wood.
Zolomon•11mo ago
They mention this in the article.
spockz•11mo ago
It reminds me more of flat buffers though. Does protobuf also have zero allocation (beyond initial ingestion) and no pointer jumps?
cstrahan•11mo ago
No, one example of why being variable sized integers.

See https://protobuf.dev/programming-guides/encoding/

carterschonwald•11mo ago
One thing that sometimes gets tricky in these things is handling Sub term sharing. I wonder how they implemented it.
tlb•11mo 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•11mo 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•11mo 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•11mo ago
honestly i wish more stuff worked this way - fewer hops in memory always makes me happy
lordleft•11mo ago
This was very well written. Excellent article!
NetOpWibby•11mo ago
Is this like MessagePack for Haskell?