frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Going back to go forwards and instruction design

https://lukes-blog.vercel.app/posts/011-reversion&instruction
1•octopls•59s ago•0 comments

The Dangers of SSL Certificates

https://surfingcomplexity.blog/2025/12/27/the-dangers-of-ssl-certificates/
1•azhenley•1m ago•0 comments

Floppy disk pre-paid cash card launched in Taiwan

https://www.tomshardware.com/pc-components/storage/floppy-disk-pre-paid-cash-card-launched-in-tai...
1•naves•1m ago•0 comments

Dinosaur Food: 100M year old foods we still eat today

https://borischerny.com/food/2022/01/17/Dinosaur-food.html
1•jxmorris12•3m ago•0 comments

Liberating Bluetooth on the ESP32

https://exquisite.tube/w/mEzF442Q4hUXnhQ8HmfZuq
1•todsacerdoti•4m ago•0 comments

Show HN: Namebump is a registrationless, KVS. Unused names are bumped overtime

https://github.com/robertsdotpm/namebump
1•Uptrenda•4m ago•0 comments

W6LG – Silent Key

https://www.youtube.com/watch?v=uIvZd71xOQM
1•jayknight•8m ago•1 comments

macOS Tahoe Bug Causes Studio Display Flickering Issues

https://www.macrumors.com/2025/12/18/macos-tahoe-studio-display-flickering/
1•tosh•8m ago•0 comments

Show HN: Twine – A tool to dynamically trace calls in production Elixir systems

https://github.com/ollien/twine
1•birdculture•9m ago•0 comments

44% of Gnome Core Apps Are Written in C, 13% in JavaScript and 10% in Rust

https://www.phoronix.com/news/GNOME-2025-Code-Stats
1•mikece•9m ago•0 comments

I'm bored, what should I build?

1•SpyCoder77•10m ago•2 comments

39C3: To sign or not to sign: Practical vulnerabilities in GPG and friends [video]

https://media.ccc.de/v/39c3-to-sign-or-not-to-sign-practical-vulnerabilities-i
1•todsacerdoti•12m ago•0 comments

Mapping of preprocessed source code to original source code

https://patents.google.com/patent/US20250306875A1/en
1•marcopolis•13m ago•0 comments

Starlink in crosshairs: How Russia could attack Elon Musk's conquering of space

https://apnews.com/article/russia-starlink-musk-ukraine-space-china-canada-c69c1fda5ffc93828712ab...
1•pseudolus•13m ago•1 comments

Show HN: Export your NotebookLM data – conversations, sources, citations

https://apify.com/clearpath/notebooklm-api
1•cpath•14m ago•0 comments

When you give tech gifts, also give the gift of installation

https://sixcolors.com/post/2025/12/when-you-give-tech-gifts-also-give-the-gift-of-installation/
1•tosh•14m ago•0 comments

SpaceX Buys over 1000 Cybertrucks

https://finance.yahoo.com/news/spacex-buys-over-1-000-170521478.html
1•jojo3000•15m ago•0 comments

Immigration lawyers say the H-1B chaos is forcing tough business calls

https://www.businessinsider.com/h-1b-visa-changes-prompt-companies-to-tighten-sponsorship-staffin...
2•pseudolus•16m ago•0 comments

Wish List: A more flexible Apple display strategy

https://sixcolors.com/post/2025/12/wish-list-a-more-flexible-apple-display-strategy/
2•tosh•16m ago•1 comments

Airlines call in psychologists to stop passengers risking their lives for bags

https://www.telegraph.co.uk/business/2025/12/27/airlines-call-psychologists-passengers-risking-li...
6•pseudolus•18m ago•7 comments

Pre-Commit Framework

https://pre-commit.com/
2•handfuloflight•19m ago•0 comments

What I Learned Building a Storage Engine That Outperforms RocksDB

https://tidesdb.com/articles/what-i-learned-building-a-storage-engine-that-outperforms-rocksdb/
1•alexpadula•20m ago•0 comments

Big Tech stole $35T from the public [video]

https://www.youtube.com/watch?v=P_TMuVQPfxw
5•xqcgrek2•21m ago•0 comments

The TV Writer Bought Web Domain After Predicting Trump Kennedy Center Takeover

https://www.hollywoodreporter.com/news/general-news/toby-morton-donald-trump-kennedy-center-takeo...
3•homarp•21m ago•0 comments

Gaming on a Receipt Printer [video]

https://www.youtube.com/watch?v=oEqvYXYI56s
1•zdw•22m ago•0 comments

Launching a global user-controlled digital identity

https://siros.org/blog/launching-a-global-web-first-foundation-for-secure-user-controlled-digital...
1•madspindel•23m ago•0 comments

Jujutsu Workshop

https://blinry.org/jj-workshop/
1•zdw•23m ago•0 comments

Bankruptcies are exploding across the economy

https://www.businessinsider.com/bankruptcies-across-economy-small-business-households-corporate-2...
5•zerosizedweasle•24m ago•0 comments

Server Radar – Track Hetzner Server Prices and Receive Email Alerts

https://radar.iodev.org/
1•todsacerdoti•25m ago•0 comments

Vanilla: Wii U Gamepad software clone

https://github.com/vanilla-wiiu/vanilla
2•DeepPhilosopher•25m ago•1 comments
Open in hackernews

Packed Data Support in Haskell

https://arthi-chaud.github.io/posts/packed/
77•matt_d•8mo ago

Comments

nine_k•8mo 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•8mo ago
We are always reinventing wheels. If we didn't, they'd all still be made of wood.
Zolomon•8mo ago
They mention this in the article.
spockz•8mo ago
It reminds me more of flat buffers though. Does protobuf also have zero allocation (beyond initial ingestion) and no pointer jumps?
cstrahan•8mo ago
No, one example of why being variable sized integers.

See https://protobuf.dev/programming-guides/encoding/

carterschonwald•8mo ago
One thing that sometimes gets tricky in these things is handling Sub term sharing. I wonder how they implemented it.
tlb•8mo 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•8mo 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•8mo 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•8mo ago
honestly i wish more stuff worked this way - fewer hops in memory always makes me happy
lordleft•8mo ago
This was very well written. Excellent article!
NetOpWibby•8mo ago
Is this like MessagePack for Haskell?