frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Trembling Photons in Non-Abelian Electric Fields

https://physics.aps.org/articles/v19/89
1•bookofjoe•53s ago•0 comments

Would you get tattooed just to interview at a 7-days-a-week AI startup?

https://arstechnica.com/culture/2026/07/ai-startup-admits-tattoo-for-interview-stunt-was-reckless/
1•rbanffy•3m ago•0 comments

Palermo and the Citrus Kingdom

https://erikgauger.substack.com/p/palermo-and-the-citrus-kingdom
1•jger15•3m ago•0 comments

The end of roommates? Why young San Franciscans aren't living with each other

https://www.sfchronicle.com/sf/article/roommate-data-san-francisco-22336270.php
1•littlexsparkee•3m ago•0 comments

Flue 2.0

https://flueframework.com/blog/flue-2/
1•coloneltcb•4m ago•0 comments

Schools installing pepper-spraying drones to help stop active school shooters

https://abc7.com/post/campus-guardian-angel-drones-american-schools-install-pepper-spraying-mithr...
2•lxm•7m ago•0 comments

How to spot overlapping subproblems before you start coding DP

https://leetcopilot.dev/blog/how-to-spot-overlapping-subproblems-before-writing-dp
1•alexwang24•7m ago•0 comments

How we made a viral commercial for developers

https://blog.railway.com/p/how-to-make-viral-commercial
3•dban•11m ago•1 comments

World Models Are AI's Next Frontier

https://time.com/article/2026/07/15/world-models-are-ai-s-next-frontier/
2•Gooblebrai•13m ago•0 comments

Coal back in favour as US plant bidding war highlights rising demand to power AI

https://www.ft.com/content/babf4c89-1a6f-447f-a17e-7e3e48f359b8
3•JumpCrisscross•14m ago•0 comments

Reaping the Whirlwind: Inside the Potomac River Midair Collision

https://admiralcloudberg.medium.com/reaping-the-whirlwind-inside-the-potomac-river-midair-collisi...
2•kraussvonespy•15m ago•0 comments

Deliberate indifference: NY state put imprisoned man's life at risk, judge rules

https://gothamist.com/news/deliberate-indifference-ny-state-put-imprisoned-mans-life-at-risk-judg...
1•GurnBlandston•15m ago•0 comments

The Old Man and the Strait

https://www.mcsweeneys.net/articles/the-old-man-and-the-strait
2•MaysonL•15m ago•0 comments

I Went to the Amazon to Fly in a 1942 Workhorse of Aviation

https://www.nytimes.com/2026/07/31/world/americas/plane-douglas-dc3-wwii-colombia.html
1•limitedfrom•16m ago•0 comments

Show HN: I rebuilt my 2008 football/lineup site

1•tole42•16m ago•0 comments

How the Airbus A350’s Massive Landing Gear Is Built

https://www.youtube.com/watch?v=P4i-0lTryEs
1•skibz•17m ago•0 comments

The Least Private Operating System Ever Created [video]

https://www.youtube.com/watch?v=M_720LesVg4
2•dp-hackernews•17m ago•0 comments

I Filmed Plants for 12 Years

https://www.youtube.com/watch?v=tMUPNCR35h0
1•nyc111•17m ago•0 comments

Microchip released XC compilers for free

https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers
1•danielt3•17m ago•1 comments

Implementing PaxosLease in Python with HTTP Flask

https://bytepawn.com/paxoslease-python.html
1•abelanger•20m ago•0 comments

Tailscale didn't stop the Hugging Face intrusion

https://tailscale.com/blog/hugging-face-intrusion
23•bluehatbrit•21m ago•7 comments

AI companies destroy rare and non recoverable physical books

https://www.heraldscotland.com/opinion/26422014.library-alexandria-burns-ai-companies-destroying-...
10•DoddgyEggplant•23m ago•0 comments

Maths shows why your vote may not count the way you think it does

https://www.cam.ac.uk/research/news/maths-shows-why-your-vote-may-not-count-the-way-you-think-it-...
2•amichail•23m ago•0 comments

I pretrained the best small model under 100M parameters

https://twitter.com/HarshalsinghCN/status/2083223503554449745
1•cybernovas•25m ago•1 comments

Temu is a comically bad app

https://daringfireball.net/2026/07/temu_is_a_comically_bad_app
1•bpavuk•26m ago•1 comments

The icons that might solve Hollywood's AI problem [video]

https://www.youtube.com/shorts/SsK4ILb3j5I
1•perching_aix•26m ago•0 comments

Temu App Launch Sequence

https://social.panic.com/@cabel/116987028774035194
2•yurivish•27m ago•1 comments

Nuclear Waste Cleanup: DOE Is Missing Opportunities to Apply Lessons

https://www.gao.gov/products/gao-26-108082
2•Jimmc414•30m ago•0 comments

Flock CEO Admits Flock Alerts on People

https://ipvm.com/reports/flock-ceo-alerts-people
4•jhonovich•31m ago•0 comments

Google pauses AI satellite images, after fears of deepfakes in the sky

https://www.npr.org/2026/07/31/nx-s1-5914652/google-adds-ai-to-satellite-images-raising-fears-of-...
1•Jimmc414•31m 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?