frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Quantum computing experiments with honest classical baselines

https://github.com/p10node/qcpa
1•pierreneter•1m ago•0 comments

In race with U.S., China struggles to recruit foreign AI researchers

https://www.nytimes.com/2026/10/06/science/china-ai-research-recruitment.html
1•ilamont•1m ago•0 comments

Apple's App Icon HOA

https://blog.jim-nielsen.com/2026/app-icon-hoa/
1•Brajeshwar•3m ago•0 comments

NTS: Authenticated Time at Meta

https://engineering.fb.com/2026/10/06/production-engineering/nts-authenticated-time-at-meta/
1•acossta•4m ago•0 comments

Treg (OpenRouter for Tools)

https://github.com/superdesigndev/treg
1•trollied•4m ago•0 comments

Software developers are not okay

https://www.baldurbjarnason.com/2026/05-software-developers-are-not-okay/#software-developers-are...
2•jalev•5m ago•0 comments

You have to be able to reason about the verification

https://www.brandons.me/blog/you-have-to-be-able-to-reason-about-the-verification
2•brundolf•5m ago•0 comments

k-space (a.k.a. Reciprocal Space)

https://www.bohrium.com/en/sciencepedia/feynman/keyword/k_space
1•peter_d_sherman•6m ago•0 comments

Python's two modules for random numbers

https://lwn.net/SubscriberLink/1097468/63d60212ee6a2e98/
1•chmaynard•6m ago•0 comments

Using Conditional Value at Risk to Illustrate Two Risk Paradigms in Golf

https://golfcoursewiki.substack.com/p/accuracy-outcomes-and-the-good-miss
1•scoofy•6m ago•0 comments

Show HN: SPrav Job AI Client-side career tool with WebGPU and direct ATS queries

https://sprav-jobai.vercel.app/
1•SVSPraveen•7m ago•0 comments

Routing PCBs on a hex cell grid

https://substack.com/sign-in
1•jamesbowman•9m ago•0 comments

AI is now capable of developing its own inference hardware

https://github.com/FeSens/openTPU
5•fsbonetto•10m ago•2 comments

Hark Pro – Personal AI that can use the web and get things done for you

https://hark.com
1•nderjung•11m ago•0 comments

Bolt Playground

https://bolt.troymoder.dev/
1•arunc•11m ago•0 comments

Flatpak from the CLI Sucks

https://kowalski7cc.xyz/blog/flatpak-from-the-cli-sucks/
1•ibobev•11m ago•0 comments

Process vs. Talent (Workflow vs. Model)

https://jaksa.me/blog/2026-10-03-portraits
1•jaksa•11m ago•1 comments

I gave an AI agent one bug 11 times. 6 commits had files it never knew about

https://junayed.com/blog/same-bug-eleven-times/
1•mjmizan•11m ago•0 comments

Google enters 3.6-GW power deal with Constellation Energy

https://www.reuters.com/business/energy/google-enters-massive-36-gw-power-deal-with-constellation...
1•onemoresoop•12m ago•0 comments

Scrimshaw Jukebox

https://simonwillison.net/2026/Oct/6/scrimshaw-jukebox/
1•rdslw•12m ago•0 comments

Animated Git Cheat Sheet

https://initialcommit.com/learn/git/animated-cheat-sheet
1•ibobev•13m ago•0 comments

Hacking the Go compiler to efficiently map IPv4 to IPv6

https://vincent.bernat.ch/en/blog/2026-go-netip-addrto6
1•ibobev•13m ago•0 comments

Google AI Edge Gallery

https://developers.google.com/edge/gallery
1•tosh•14m ago•0 comments

Hopf Spherical Quantization (& Compression)

https://github.com/meridionalissoftware/hscq
1•binge_eating•18m ago•0 comments

Chrome sneakily downloads Google Meet code

https://webrtchacks.com/chrome-neural-echo-cancellation/
1•slac•19m ago•1 comments

How Machines Learned Precision

https://glinscott.github.io/how-machines-learned-precision/
1•glinscott•19m ago•1 comments

UBS CEO warns 'hard measures' are needed to tackle French debt crisis

https://www.cnbc.com/2026/10/06/france-debt-crisis-ubs-ermotti.html
1•Betelbuddy•19m ago•0 comments

Escaping the Tyranny of Worktrees

https://delta.dev/blog/escaping-the-tyranny-of-worktrees
1•ilreb•19m ago•0 comments

Proving Rust Web Application Correctness with Lean 4

https://medium.com/@Koukyosyumei/proving-rust-web-application-correctness-with-lean-4-8889583f1e15
1•syumei•20m ago•0 comments

Show HN: Capo-S3 – Modern S3 client for Python

https://pypi.org/project/capo-s3/
2•karpetrosyan•21m 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?