frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Just Send Me the Prompt

https://blog.gpkb.org/posts/just-send-me-the-prompt/
1•globular-toast•8m ago•0 comments

Botnet of more than 17M devices dismantled

https://arstechnica.com/security/2026/05/botnet-of-more-than-17-million-devices-dismantled/
1•joozio•12m ago•0 comments

Macsurf, "modern" web browser for macOS 9

https://github.com/mplsllc/macsurf
1•gattilorenz•16m ago•0 comments

Show HN: Totpgate – Single-packet authorization via TOTP

https://github.com/PepperDev/totpgate
1•tpimenta•25m ago•0 comments

Lisa Su Address to MIT Class of 2026 [video]

https://www.youtube.com/watch?v=vQMQjHv5pEM
3•vinhnx•26m ago•0 comments

NPM Packages Attacks

1•carlostkd•34m ago•0 comments

Let's talk about encrypted reasoning

https://blog.cryptographyengineering.com/2026/05/29/fooling-around-with-encrypted-reasoning-blobs/
2•MrBuddyCasino•34m ago•0 comments

WikiLambda the Ultimate

https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2026-05-22/Recent_research
1•Antibabelic•37m ago•0 comments

Paint .NET is now at paint.net

https://bsky.app/profile/rickbrew.bsky.social/post/3mmz73u6lzs2t
4•Tomte•39m ago•0 comments

Anatomy of a 5-4 Champions League Thriller: A Football Data Case Study

https://beetl.io/blog/anatomy-of-a-5-4-champions-league-thriller/
1•inchevd•39m ago•0 comments

Sandboxed dev envs that are composable and repeatable with a single command

https://ubuntu.com/workshop
2•himanshu810e•40m ago•1 comments

Acer's launching a Linux handheld for streaming your PC games

https://www.theverge.com/games/940091/acer-nitro-blaze-link-linux-handheld
2•teleforce•42m ago•0 comments

A Brief, Incomplete, and Mostly Wrong History of Programming Languages (2009)

http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html
1•azhenley•49m ago•0 comments

Company Blew $500M on Claude AI in One Month Due to No Usage Limit on Licenses

https://www.gadgetreview.com/company-blew-500m-on-claude-ai-in-one-month
1•dotcoma•53m ago•1 comments

Nvidia says it has largely conceded China's AI chip market to Huawei

https://www.cnbc.com/2026/05/21/nvidia-jensen-huang-china-ai-chip-market-huawei.html
1•KnuthIsGod•57m ago•0 comments

Show HN: Clinglang – A shorthand language for doctors to write structured cases

https://github.com/ppnpm/clinlang
1•ppnpm•1h ago•0 comments

OpenRCT2 v0.5.1 "Swamp Castle" released Last version to support Windows 7

https://openrct2.io/blog/2026/05/openrct2-v0.5.1-released
3•jandeboevrie•1h ago•0 comments

Guitar Tools – PWA for Scales, Circle of Fifths and More

https://guitar-tools.eejalab.xyz/
4•hannofcart•1h ago•3 comments

Sleuths uncover 100 suspicious images in Thermo Fisher antibody catalogue

https://www.nature.com/articles/d41586-026-01706-2
2•Teever•1h ago•0 comments

Cathy Tie's mission to genetically modify babies

https://www.theguardian.com/science/2026/may/30/there-is-no-way-to-stop-this-biotech-barbie-cathy...
1•skruger•1h ago•0 comments

Boom shakes S Carolina, rattling Columbia and raising questions about the cause

https://www.thestate.com/news/local/environment/article315932620.html
2•thunderbong•1h ago•0 comments

Show HN: I built an Android OS in the browser

https://mobilegym.dev/
2•haozaz•1h ago•0 comments

A Weekend in Claude Design Saves 3 Weeks of Claude Code

https://cashandcache.substack.com/p/the-prototype-tax-how-a-weekend-in
2•binyu•1h ago•0 comments

The 12 Futures of AI

https://medium.com/@butsch_79/the-12-futures-of-ai-a42d67bd9a20
2•andsoitis•1h ago•0 comments

The Biggest Tell That Something Was Written by AI

https://www.theatlantic.com/technology/2026/05/how-to-tell-ai-writing/687345/
6•nlawalker•1h ago•4 comments

Indian court ruling on Google keyword ads could reshape online advertising

https://www.reuters.com/business/media-telecom/indian-court-ruling-google-keyword-ads-could-resha...
2•rustoo•1h ago•0 comments

The next frontier of the luxury airline arms race might be waged in the toilet

https://www.cnn.com/travel/first-class-toilets-emirates-airbus-travel-intl-spc
2•tomodachi94•1h ago•0 comments

Poor sleep linked to rising cancer risk in under-50s

https://www.theguardian.com/society/2026/may/30/poor-sleep-linked-rising-cancer-risk-under-50s
1•andsoitis•1h ago•1 comments

Records Show UC Sharing Data with US Customs and Border Protection

https://www.dailycal.org/news/uc/records-show-uc-sharing-data-with-us-customs-and-border-protecti...
15•computerliker•1h ago•0 comments

Ask HN: What could happen if human beings become obsolete?

4•baddash•1h ago•2 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?