frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A volunteer stopped a backdoor from exposing Linux systems worldwide (2024)

https://www.theverge.com/2024/4/2/24119342/xz-utils-linux-backdoor-attempt
1•joebig•13s ago•0 comments

RecallDock

1•ashishmallur•2m ago•0 comments

Europe would not be able to sustain war of attrition with Russia

https://www.theguardian.com/world/2026/sep/05/europe-unable-sustain-war-of-attrition-russia-defen...
1•Teever•2m ago•0 comments

A very old Blog?

https://www.cannonade.net/blog/a-very-old-blog
1•redbluething•5m ago•0 comments

Fiber-immersion microfabrication with sub-10µm resolution for under $300 [video]

https://www.youtube.com/watch?v=UvV2CH5il3Q
3•mimorigasaka•7m ago•0 comments

Hwaro – A Lightweight and Fast Static Site Generator Written in Crystal

https://github.com/hahwul/hwaro
4•TheWiggles•8m ago•0 comments

A Wiki for AIs

https://synthetic.wiki/
1•guscatalano•11m ago•0 comments

Any Nix package, live in your browser

https://fzakaria.com/2026/09/04/any-nix-package-live-in-your-browser
2•haswell•11m ago•0 comments

Using Blender with coding agents on macOS

https://til.simonwillison.net/llms/blender-coding-agents-macos
4•theanonymousone•17m ago•0 comments

Ask HN: Would you read a statistics textbook?

1•usernametaken29•21m ago•0 comments

Show HN: Move Claude Code sessions between accounts in Claude Desktop

https://github.com/vitaliyhayda/claude-transplant
1•vhayda•26m ago•0 comments

Lists of Problems

https://en.wikipedia.org/wiki/Lists_of_problems
1•num42•31m ago•0 comments

Clean up your Android TV

https://tv.cobanov.dev/
4•chris_overseas•32m ago•0 comments

Decapitating a MacBook

https://mm-dev.rocks/series/decapitating-macbook-an-odyssey/
1•luu•34m ago•0 comments

Care for a Little More AI?

https://proofsandprompts.com/2026/08/30/care-for-a-little-more-ai/
2•throwaway81523•35m ago•0 comments

WeatherNext 3: Hourly global weather forecasts using live satellite data

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/introducing-weathernext-3/
1•fourfire•38m ago•0 comments

Thank you for being part of the GitHub Classroom journey

https://github.com/orgs/community/discussions/205975
2•qainsights•40m ago•0 comments

Show HN: Octoweb – a free, open-source keyboard-first browser for macOS

https://octoweb.xyz/
3•donk8r•42m ago•0 comments

VS Code – Official Documentary [video]

https://www.youtube.com/watch?v=kHL3XzjpT5w
4•MehrdadKhnzd•46m ago•0 comments

I Want More AI at Dartmouth

https://www.theatlantic.com/ideas/2026/09/universities-prohibiting-ai-classroom/688509/
1•paulpauper•47m ago•0 comments

The Dark Side of Mindfulness

https://www.theatlantic.com/ideas/2026/09/meditation-willoughby-britton-downsides/688474/
2•paulpauper•47m ago•0 comments

Teaching robots mortal kombat moves [video]

https://www.youtube.com/watch?v=1Oo8h655VMM
3•anton5mith2•48m ago•0 comments

The state of AI in 2026: On the road to ROI

https://www.mckinsey.com/capabilities/quantumblack/our-insights/the-state-of-ai?cid=mgp_opr-eml-n...
2•giuliomagnifico•49m ago•0 comments

Judge blocks X rival from using Twitter name, but allows 'Tweet' for now

https://techcrunch.com/2026/09/04/judge-blocks-x-rival-from-using-twitter-name-but-allows-tweet-f...
2•rdmuser•54m ago•0 comments

Is your favorite plant-based milk good for the planet

https://www.nationalgeographic.com/magazine/article/how-your-favorite-plant-based-milk-alternativ...
2•teleforce•1h ago•1 comments

Seismic Isolation

https://www.ligo.caltech.edu/page/vibration-isolation
2•pillars•1h ago•0 comments

34 arrests made for drug trafficking at Burning Man as of Friday

https://www.rgj.com/story/life/arts/burning-man/2026/09/04/34-arrested-drug-trafficking-burning-m...
1•MilnerRoute•1h ago•0 comments

Vancouver strip club's Instagram taken down over sign featuring lake joke

https://www.vancouverisawesome.com/local-news/vancouver-strip-club-instagram-taken-down-sign-call...
40•anigbrowl•1h ago•15 comments

Datacenters Are the New Shale Oil

https://pracap.com/datacenters-are-the-new-shale-oil/
3•Ambolia•1h ago•0 comments

Show HN: Generate safe WebMCP tools from your OpenAPI spec or validation schemas

https://github.com/SouravInsights/webmcp-stack
1•SouravInsights•1h 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?