frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

There are things with ranks, but it's not always clear what the ranks mean

https://devblogs.microsoft.com/oldnewthing/20261104-00/?p=112830/
1•ibobev•1m ago•0 comments

Why AI Will Not End Scholarly Publishing (and the Publish-or-Perish Institution)

https://nicolaijfoss.substack.com/p/why-ai-will-not-end-scholarly-publishing
1•jruohonen•1m ago•0 comments

Hiding prompt injections in PDFs, and six judges that catch them

https://tomclancy.info/joshua-judges-ruth.html
1•tclancy•1m ago•0 comments

Free OKR Spreadsheet Template for Google Sheets and Excel

https://effortbox.com/blog/okr-spreadsheet/
1•textwriter•1m ago•0 comments

Show HN: I built a free trivia hosting app with no accounts or subscriptions

https://quiztoolkit.com/
1•thepolymoth•3m ago•0 comments

A Portrait of the Luddite as a Young Man

https://shipwrecklibrary.com/the-modern-word/pynchon/sl-paper-gibbs/
1•measurablefunc•4m ago•0 comments

Vasomechanic treatment associated with increased efflux of human brain proteins

https://www.nature.com/articles/s41467-026-78894-y
2•bookofjoe•5m ago•0 comments

Day AI: Context Graph and Agent Control Plane for GTM

https://day.ai/
1•handfuloflight•5m ago•0 comments

The Microcontroller Inside a LoRa Chip

https://hackaday.com/2026/11/07/the-hidden-microcontroller-inside-a-lora-chip/
1•andrewstuart•13m ago•0 comments

York teenager invents device to stop rats damaging railway

https://www.bbc.com/news/articles/cqz0vnle17rzo
1•Tomte•15m ago•0 comments

We're bringing back the HN meeting in Mexico City

4•ysangkok•20m ago•1 comments

Sama Wants You to Have More RAM, Not Less, Changes Name to "RAM Altman"

https://www.gadgetreview.com/sam-altman-says-he-wants-you-to-have-even-more-ram-not-less-changes-...
1•Bluestein•20m ago•0 comments

Show HN: Spiral Nest – an ant colony simulation inside a bubble chamber

https://johnveds15-spiral-nest.static.hf.space/index.html
1•johnveds15•21m ago•0 comments

From the server to SQLite to reactive Svelte state

https://www.milieu.cloud/blog/from-the-server-to-sqlite-to-reactive-svelte-state
1•joeldrapper•24m ago•1 comments

Flash C – Open-source C Compiler and (Turbo-C like) IDE for Linux x86-64

https://github.com/dilshan/flash-c
1•peter_d_sherman•24m ago•0 comments

A bash script that emails Sam Altman once a day to report the RAM he missed

https://ram-altman.lol/
3•cstuder•26m ago•0 comments

Some thoughts on AI, scientific papers, and peer review

https://www.alekpetty.com/blog/ai_in_science.html
2•jruohonen•28m ago•0 comments

NASA accepting astronaut applications until December 3

https://www.nasa.gov/news-release/nasa-seeks-next-generation-of-explorers-to-join-astronaut-corps/
4•armcat•29m ago•0 comments

Learn C++ Before You Learn What It Costs You

https://fagnerbrack.com/learn-c-before-you-learn-what-it-costs-you-d254d484dbff
2•fagnerbrack•29m ago•0 comments

Retro Bowl

https://poki.com/en/g/retro-bowl
2•TED1•31m ago•0 comments

How we built Render OIDC

https://render.com/blog/how-we-built-render-oidc
2•anurag•31m ago•0 comments

Tell HN: HN Is Wrong

7•npguy•33m ago•5 comments

Show HN: Agent Manager – keyboard-first workflow for running many coding agents

https://github.com/wainmann/agent-manager
3•yoanwaidev•34m ago•0 comments

Drawably creates animated, hand-drawn UI controls with randomized sketches

https://github.com/danielwh2/drawably
3•javatuts•35m ago•0 comments

Webframe runs web pages as CLI programs using a hidden system web view

https://github.com/tractordev/webframe
1•javatuts•35m ago•0 comments

The Death of the Natural Soundscape

https://psuvanguard.com/the-death-of-the-natural-soundscape/
2•jruohonen•36m ago•0 comments

Fixing IDN hostname validation in a Java JSON Schema library (IDNA2003 → 2008)

1•rravimeena•40m ago•0 comments

Trace-engine-CLI: analyse DevTools traces with agents

https://github.com/ChromeDevTools/trace-engine-cli
2•jackfranklin•41m ago•0 comments

We got tired of paying for CAD, so we built our own [video]

https://www.youtube.com/watch?v=YKVOVaaIY48
2•amelius•41m ago•0 comments

reveal.js: a slick, JavaScript-based, FOSS presentation framework

https://neilzone.co.uk/2022/05/tinkering-with-revealjs-a-slick-javascript-based-foss-presentation...
1•Bluestein•41m 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?