frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude Became an Accomplice in a Plot to Steal a Startup's Codebase

https://www.bloomberg.com/news/features/2026-12-03/anthropic-s-claude-helped-in-an-insider-plot-t...
1•propter_hoc•36s ago•1 comments

Show HN: Catpad – cat that purrs via trackpad for ADHD brains

https://getcatpad.com/
1•ddbrx•38s ago•0 comments

OneBusAway Pocket: Real-Time Bus and Train Arrivals Without a Server

https://opentransitsoftwarefoundation.org/2026/12/introducing-onebusaway-pocket/
1•aaronbrethorst•48s ago•0 comments

Change or add anything on this site

https://levmiseri.com/changeme/
2•levmiseri•3m ago•0 comments

Only one of 13 surveyed Android phone models cut storage from 2025 to 2026

https://heavytechasia.com/only-one-of-13-surveyed-phone-models-cut-storage-from-2025-to-2026/
2•ilamont•5m ago•0 comments

First-ever AI movie hits theaters as Hollywood grapples with AI use

https://www.cbsnews.com/news/gods-dont-give-gifts-first-fully-ai-movie-theaters/
3•satvikpendem•8m ago•0 comments

Show HN: Bay Area tech jobs near Caltrain and BART stations

https://hypetrain.fyi
2•0x676c•8m ago•0 comments

What's your optimal Claude model setting?

2•novlrdotcom•8m ago•0 comments

Adobe Acrobat 2020 owners hit by a sudden licence problem

https://www.neowin.net/news/adobe-acrobat-2020-owners-hit-by-a-sudden-licence-problem/
3•dutchvanderlind•13m ago•0 comments

Ladies of the Kasbah, the Story of Ireland's Most Infamous Brothel

https://garethstack.wordpress.com/2026/12/05/ladies-of-the-kasbah-the-story-of-irelands-most-infa...
3•dbspin•13m ago•1 comments

America's Elite Colleges Breed High-Status Careers–and Misery

https://www.motherjones.com/politics/2025/09/elite-ivy-league-colleges-endowment-inequality-caree...
3•aanet•15m ago•1 comments

Show HN: Open Academy, a structured way to learn anything with AI

https://openacademy.dev/
2•Jonathanvw•15m ago•1 comments

Tell HN: Alan Kay's domain, squeakland.org, redirects to a suspicious website

2•JMiao•15m ago•1 comments

Three-Dimensional Time: A Mathematical Framework for Fundamental Physics

https://www.worldscientific.com/doi/10.1142/S2424942425500045
2•bookofjoe•17m ago•0 comments

You can play games on X

https://twitter.com/TAbrodi/status/2128956331126079893
3•rohitpaulk•24m ago•2 comments

mmap

https://wizardzines.com/comics/mmap/
2•vismit2000•27m ago•0 comments

Type-challenges: Collection of TypeScript type challenges

https://github.com/type-challenges/type-challenges/tree/main
3•denysonique•27m ago•0 comments

Update on American Bar Association website outage

https://www.americanbar.org/
3•droidjj•28m ago•0 comments

The Riemann Hypothesis: Everything You Need to Know [video]

https://www.youtube.com/watch?v=aKGqxkxaKFM
2•amichail•28m ago•0 comments

Do cryptographers trust they can prevent "Harvest Now, Decrypt Later"?

1•steinwinde•30m ago•0 comments

Ask HN: Have you ever been accused by bots to be a bot?

2•gioscarab•35m ago•2 comments

Post-quantum cryptography in practice: SSH, TLS, Go, PostgreSQL

https://almaforge.com/learn/post-quantum-cryptography-ssh-tls-go-postgresql/
2•sibman•36m ago•2 comments

How Silicon Valley uses 'effective altruism' for moral laundering

https://fortune.com/2026/12/05/silicon-valley-effective-altruism-moral-laundering/
4•gwu78•37m ago•0 comments

JDM Gentleman's Agreement: Why Iconic Japanese Cars Are Limited to 276 HP

https://carbuzz.com/features/jdm-gentlemans-agreement-japanese-cars-276-hp/
1•tosh•38m ago•0 comments

Optimizing beyond the compiler with kernel-checked equivalence proofs

https://tacitresearch.com/blog/proved-faster-machine-code/
2•miguel_dz•38m ago•0 comments

Curveslop – explore how costly it is to break weak ECC

https://curveslop.com/
2•ccamrobertson•40m ago•0 comments

Gen Zs and millennials are redefining career progression on their own terms

https://www.deloitte.com/global/en/insights/topics/talent/gen-z-and-millennial-workforce-trends.html
3•andsoitis•41m ago•0 comments

Jensen Huang left many questions unanswered when lawmakers queried Nvidia CEO

https://www.reuters.com/world/us/us-lawmakers-release-transcript-nvidia-ceo-huangs-tuesday-testim...
5•nephihaha•43m ago•0 comments

Microsoft Patents AI That Can Rewrite Your Words Live – and Make Your Lips Match

https://www.computerworld.com/article/4244752/microsoft-files-patent-for-ai-that-can-alter-what-p...
1•mrkn1•43m ago•0 comments

Show HN: Gojent – A small typed agent runtime for Go

https://gojent.com/
1•ijaidev•43m 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?