frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Last Call for Mass Market Paperbacks

https://www.publishersweekly.com/pw/by-topic/industry-news/publisher-news/article/99293-last-call...
1•dsr_•2m ago•0 comments

DARPA GO: Generative Optogenetics

https://www.darpa.mil/research/programs/go
1•birriel•5m ago•0 comments

Rive in React Native – The Good, the Bad and the Janky

https://justanotherheroriding.github.io/portfolio/writing/rive-react-native
1•justAnotherHero•8m ago•1 comments

British Rail Sandwich (Wikipedia)

https://en.wikipedia.org/wiki/British_Rail_sandwich
1•valzevul•11m ago•0 comments

Ask HN: Can someone explain why Meta makes such bad design decisions?

1•Desafinado•12m ago•0 comments

The Eerie Parallels Between AI Mania and the Dot-Com Bubble

https://www.wsj.com/finance/stocks/the-eerie-parallels-between-ai-mania-and-the-dot-com-bubble-f9...
1•JumpCrisscross•14m ago•0 comments

SpaceX Starts a Wall Street Bake-Off to Hire Banks for Possible IPO

https://www.wsj.com/finance/banking/spacex-starts-a-wall-street-bake-off-to-hire-banks-for-possib...
1•JumpCrisscross•14m ago•0 comments

Neuroevolution of Augmenting Topologies in JavaScript

https://github.com/joshuadam/NEAT-JavaScript
1•joshuadam•15m ago•1 comments

Ask HN: Is starting a personal blog still worth it in the age of AI?

2•nazarh•16m ago•0 comments

JavaScript Engine Security in 2025 [pdf]

https://saelo.github.io/presentations/poc_25_js_engine_security_in_2025.pdf
1•akyuu•19m ago•0 comments

Discover the best websites you've never heard about

https://viralwalk.com/
1•gnabgib•21m ago•0 comments

Evalite: Evaluate your LLM-powered apps with TypeScript

https://github.com/mattpocock/evalite
1•handfuloflight•23m ago•0 comments

Show HN: Gradient.bg – Aesthetic Gradient Generator

https://gradient.bg
1•floships•23m ago•1 comments

Show HN: I vibe coded a vibe marketing platform

https://postking.app
1•ditegashi•23m ago•0 comments

CCTV appeal after museum artefacts stolen (in UK)

https://www.avonandsomerset.police.uk/news/2025/12/cctv-appeal-after-museum-artefacts-stolen/
1•gnabgib•25m ago•0 comments

UEmacs/PK 4.0: Full screen editor based on MicroEMACS 3.9e

https://github.com/torvalds/uemacs
1•doener•26m ago•0 comments

Musk's Last Grift

https://crookedtimber.org/2025/11/22/musks-last-grift/
3•stareatgoats•28m ago•2 comments

Nokia: The Deep Fall of an Industry Giant – The Rise and Fall of Nokia Mobile [video]

https://www.youtube.com/watch?v=_1t15PNb468
1•type0•31m ago•0 comments

History of Declarative Programming

https://shenlanguage.org/TBoS/tbos_15.html
2•measurablefunc•33m ago•0 comments

Trying out KOReader and Wallabag (the first few days and months)

https://planet.kde.org/matija-suklje-hook-2025-05-24-trying-out-koreader-and-wallabag-the-first-f...
2•Curiositry•35m ago•0 comments

Where Is GPT in the Chomsky Hierarchy?

https://fi-le.net/chomsky/
1•fi-le•41m ago•0 comments

Show HN: Add keyboard shortcuts to any site with a browser extension

https://github.com/one-with-violets-in-her-lap/bind
1•sleep678765•47m ago•0 comments

OpenAI Ends 'Vesting Cliff' for New Employees in Compensation-Policy Change

https://www.wsj.com/tech/ai/openai-ends-vesting-cliff-for-new-employees-in-compensation-policy-ch...
1•divbzero•50m ago•0 comments

Rat Dystopia

https://demystifysci.com/blog/2020/7/22/rat-dystopia
1•certyfreak•50m ago•0 comments

BA fears a future where AI agents pick flights and brands get ghosted

https://www.theregister.com/2025/12/13/british_airways_fears_a_future/
5•zeristor•54m ago•0 comments

Sloot Digital Coding System

https://en.wikipedia.org/wiki/Sloot_Digital_Coding_System
1•rmason•54m ago•0 comments

Will Larson Reflects on Staff Engineer [video]

https://www.youtube.com/watch?v=RBPtGtMY8bE
1•mooreds•55m ago•0 comments

Protect Earth creates and restores woodlands, meadows, and hedgerows in the UK

https://www.protect.earth
1•mooreds•56m ago•0 comments

Codewave

https://github.com/techdebtgpt/codewave
1•handfuloflight•1h ago•0 comments

IBM: What if quantum computing is as fundamental as the origin of zero?

https://www.ibm.com/think/news/is-quantum-computing-as-fundamental-as-origin-of-zero
3•donutloop•1h ago•0 comments
Open in hackernews

Packed Data Support in Haskell

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

Comments

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

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

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