frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Pragmatiq – open-source framework for foundational models in banking

https://github.com/dynamiq-ai/pragmatiq
1•vitalii-duk•38s ago•0 comments

Cursor (IDE) tried launching on HN 8 times unsuccessfully

https://twitter.com/marclou/status/2067590152957112647
1•jabo•57s ago•0 comments

Thoma Bravo takes one of the largest PE write downs in history on Medallia

https://www.privateequitywire.co.uk/blackstone-led-consortium-takes-control-of-medallia-in-major-...
1•horticulturist•1m ago•0 comments

Broadband Access and Adolescent Fertility

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6919838
2•paulpauper•7m ago•0 comments

Donald Trump, Champion of Renewable Energy

https://paulkrugman.substack.com/p/donald-trump-champion-of-renewable
2•dxs•8m ago•0 comments

Does anything I write matter anymore?

https://www.noahpinion.blog/p/does-anything-i-write-matter-anymore
1•paulpauper•8m ago•0 comments

What If the Work We're Busy Automating Is Needless?

http://charleshughsmith.blogspot.com/2026/06/what-if-work-were-busy-automating-is.html
1•dxs•8m ago•0 comments

Research in math will change (from my email)

https://marginalrevolution.com/marginalrevolution/2026/06/how-research-in-math-will-change-from-m...
1•paulpauper•8m ago•0 comments

Cuba approves unprecedented free-market reforms to stave off economic collapse

https://www.cbsnews.com/news/cuba-approves-free-market-reforms-in-effort-to-stave-off-economic-co...
1•spikels•10m ago•0 comments

OS Written in Embedded Swift

https://github.com/asaptf/swift-os
1•w10-1•12m ago•1 comments

The Story of Semicolon

https://sheets.works/data-viz/semicolon
1•theanonymousone•12m ago•0 comments

A Man Who Ran Putin's Hit Squad [video]

https://www.youtube.com/watch?v=JsdSeHnJzU4
2•dralley•14m ago•0 comments

Why are Linux devices called TTY? [video]

https://www.youtube.com/watch?v=31JBOlrzPXs
1•737max•15m ago•0 comments

A framework for systematically addressing undefined behavior in the C++ Standard [pdf]

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p3100r6.pdf
1•linkdd•17m ago•0 comments

My Taste Is Better Than Your Taste

https://www.jasonwu.ink/signals/2026-06-19-my-taste-is-better-than-your-taste
2•whiteblossom•18m ago•1 comments

Outlaw Billionaires

https://www.ddesignlab.org/our-work/outlaw-billionaires
3•robin_reala•21m ago•0 comments

Google has made us Stupid

https://www.spokenlikeageek.com/2026/06/19/google-has-made-us-stupid/
2•speckx•22m ago•0 comments

Try AI Operators on PostgreSQL

https://samtsql.com/
1•itrummer•25m ago•0 comments

Worlds Smallest microcontroller, the Cortex M0 MCU MSPM0C1104

https://www.hackster.io/mortenpaghfrederiksen/world-s-smallest-32-bit-arm-the-cortex-m0-mcu-mspm0...
1•andrewstuart•26m ago•0 comments

Ask HN: How to stop your coding agent from creating just AI slop for the UI/UX?

1•AlanAAG•27m ago•1 comments

Show HN: Surface skill for HTML pages a coding agent watches and reacts to

https://github.com/aac/surface
1•andrewacove•30m ago•1 comments

Americans Want More Trains. Amtrak Delivers

https://amtraknewera.com/
2•mooreds•33m ago•0 comments

Where in the wave of Physical are we now?

1•meligoli•34m ago•2 comments

Indian Peaks Wilderness

https://www.indianpeakswilderness.org/indian-peaks-wilderness
1•mooreds•34m ago•0 comments

Bison herd defend a newborn calf from wolf attack in a primeval Polish forest

https://www.livescience.com/animals/land-mammals/watch-bison-herd-defend-a-newborn-calf-from-wolf...
1•speckx•35m ago•0 comments

InfiniBand, RoCE, and All That

https://fergusfinn.com/blog/infiniband-roce-rdma/
2•kkm•35m ago•0 comments

Ask HN: What's the hardest part of maintaining a legacy codebase?

1•rafaepta•35m ago•3 comments

When Local Blocks Go Global: The India-Telegram BGP Incident

https://www.kentik.com/blog/when-local-blocks-go-global-the-india-telegram-bgp-incident/
1•wmf•37m ago•0 comments

"Optimizing" Concurrent Regexes

https://ayende.com/blog/204035-a/optimizing-concurrent-regexes
1•ayende•38m ago•0 comments

Flint Paper Battery

https://www.flintlabs.com/
1•wilsonfiifi•39m ago•1 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?