frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The bottleneck isn't writing code anymore. It's understanding it

https://threedots.tech/post/understanding-code-is-bottleneck/
1•roblaszczak•47s ago•0 comments

Does 40 Hz gamma stimulation work and what it does to the brain

https://medium.com/@6thMind/does-40-hz-gamma-stimulation-actually-work-what-it-does-to-the-brain-...
1•smanuel•4m ago•0 comments

Tampermonkey: Enhance the functionality of your favorite web pages

https://www.tampermonkey.net/index.php?browser=chrome&locale=en
2•janandonly•4m ago•0 comments

GDP and prosperity across technology paths

https://philiptrammell.substack.com/p/gdp-and-prosperity-across-technology
1•gmays•5m ago•0 comments

MetroCard Vending Machine and MetroCard Express Machine Auction

https://www.mta.info/article/mvm-mem-sale
1•impish9208•7m ago•0 comments

ARC-AGI-3: A New Challenge for Frontier Agentic Intelligence

https://arxiv.org/abs/2603.24621
1•Anon84•7m ago•0 comments

Closing the Hardware Gap: What QEMU 11.1 Brings to Arm Developers

https://www.linaro.org/blog/closing-the-hardware-gap-what-qemu-11-1-brings-to-arm-developers/
1•mariuz•8m ago•0 comments

JEP draft: Windows/GCC Port

https://openjdk.org/jeps/8288293
1•racheldashner•9m ago•0 comments

Designing a Query System

https://bal-e.org/speed/krabby/2026/query-system-design/
1•birdculture•9m ago•0 comments

Leadership Lessons from the Odyssey

https://danielmangum.com/posts/odyssey-leadership-lessons/
1•hasheddan•10m ago•0 comments

The Simple Elegance of the Integrated Timing Belt Loopback Fastener

https://danielmangum.com/posts/integrated-timing-belt-loopback-fastener/
2•hasheddan•10m ago•0 comments

Should AI labs be treated like the owners of dangerous animals?

https://www.economist.com/science-and-technology/2026/08/06/should-ai-labs-be-treated-like-the-ow...
2•sbulaev•11m ago•0 comments

Typora theme for long-form Chinese – token-built, 0 important

https://github.com/huiyonghkw/hekouwang-typora-theme
2•huiyonghkw•11m ago•0 comments

GitHub Star History, Revived

https://star-history.dera.page
2•Mubelotix•11m ago•1 comments

Factoring Your Code

https://grugbrain.dev/#grug-on-factring-your-code
1•tosh•11m ago•0 comments

Ask HN: How do you do PR reviews now?

3•blef•15m ago•0 comments

Tucker Carlson unveils 10-point manifesto amid third-party speculation

https://www.axios.com/2026/08/06/tucker-carlson-third-party-israel-trump
3•rawgabbit•16m ago•1 comments

Show HN: Solsticio – daily sun/moon logic puzzle with a deterministic generator

https://solsticio.app/
1•pepinal•18m ago•0 comments

My Precious Attention

http://replicated.live/blog/click.html
1•gritzko•18m ago•0 comments

The Agent Access Model – The Cloudflare Blog

https://blog.cloudflare.com/the-agent-access-model/
1•emreb•18m ago•0 comments

Humans missed 1 in 3 threats approving AI agent commands across 40k game runs

https://scalex.dev/blog/ai-agent-permissions-stats/
2•Wirbelwind•20m ago•1 comments

PR-desc – generate PR descriptions from a Git diff, no AI required

https://github.com/us702/pr-desc-cli
1•uzair702•20m ago•0 comments

Atlantic hurricane season looking like a dud, but there will be a price

https://arstechnica.com/science/2026/08/this-atlantic-hurricane-season-is-looking-like-a-dud-but-...
1•AliCollins•21m ago•0 comments

Show HN: I made GifJot to turn part of my screen into a GIF I can paste

https://gifjot.com
1•jamkoo•22m ago•0 comments

Show HN: OpenThat.Link – Trigger a webhook, open a link in your browser

https://openthat.link
3•stuess•22m ago•1 comments

Run coding agents with local models

https://lanes.sh/blog/whats-new-v046
1•s-xyz•23m ago•0 comments

Streaming QR codes at 60 FPS

https://www.tomshardware.com/networking/streaming-qr-codes-at-60-fps-achieves-nearly-190-kb-s-dat...
1•colinprince•25m ago•0 comments

Show HN: Jolt a decentralised content syndication network

https://alexanderwanyoike.github.io/jolt/
1•mercutio93•25m ago•0 comments

The Labor Market Impacts of GLP-1s

https://www.nber.org/papers/w35475
1•b__d•26m ago•1 comments

GitHub – AI book writing tools (curated list)

https://github.com/finxter/awesome-ai-book-writing
1•zweig2•28m 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?