frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Plinko Input – type a code by dropping balls

https://plinkoinput.com/
1•felixguilherme•1m ago•0 comments

The theory taking the rich by storm: China funds data center haters

https://text.npr.org/nx-s1-5844328
1•1659447091•3m ago•0 comments

Show HN: I let an AI C-suite run my company – starter kit from the inside

https://thepromptnova.gumroad.com/l/bfixc
2•clarezoe•5m ago•0 comments

Show HN: Llmbuffer – Python library for cache-optimized LLM conversation history

https://github.com/scottpurdy/llmbuffer
3•scottmp10•6m ago•0 comments

Show HN: Vatnode – EU VAT validation REST API with national registry fallback

https://vatnode.dev
2•rogulia•7m ago•0 comments

/dmg – a Claude Code skill for persistent memory and session sync

https://github.com/responsiblparty/claude-dmg-skill
2•responsiblparty•8m ago•0 comments

Nuts – pip/NPM for Java with first-class workspaces and JDK provisioning (9y+)

https://github.com/thevpc/nuts
2•thevpc•9m ago•0 comments

Show HN: Magenta Real-Time Music Generation on iPhone, Without the GPU

https://github.com/mattmireles/magenta-realtime-2-iphone
2•MediaSquirrel•10m ago•0 comments

Australia's Social Media Ban Is Floundering. Can It Still Help Younger Kids?

https://www.nytimes.com/2026/06/10/world/australia/australia-social-media-ban-under-16.html
3•uxhacker•13m ago•0 comments

Propel: Breaking the Solver Bottleneck in Task-Generator RL

https://vmax.ai/team/propel
2•AMavorParker•14m ago•0 comments

Widespread attacks on Iran have begun [video][50 mins]

https://www.youtube.com/watch?v=2KIzXrtKlbg
3•Bender•15m ago•1 comments

Patch for critical vulnerability in p2pool (Monero) to be released on 2026-06-13

https://github.com/SChernykh/p2pool/releases/tag/pre-release-v4.16
2•sxde•16m ago•1 comments

Did a Chatbot Write a Prize-Winning Story? Does It Matter?

https://www.newyorker.com/books/page-turner/did-a-chatbot-write-a-prize-winning-story-does-it-matter
2•petethomas•18m ago•0 comments

Could Switzerland Become the First Country to Cap Its Population?

https://www.newyorker.com/magazine/2026/06/15/could-switzerland-become-the-first-country-to-limit...
3•petethomas•18m ago•0 comments

Oracle beats on earnings, but stock drops on plans to raise another $20B

https://www.cnbc.com/2026/06/10/oracle-orcl-q4-earnings-report-2026.html
4•root-parent•18m ago•1 comments

Next 100 Days: XBOX Reset

https://news.xbox.com/en-us/2026/06/10/next-100-days-xbox-reset/
1•piotrgrabowski•19m ago•0 comments

Feedback Alignment in Self-Distillation

https://arxiv.org/abs/2606.11173
1•MediaSquirrel•19m ago•0 comments

US President says 'I love the inflation'

https://www.cnbc.com/2026/06/10/trump-inflation-cpi-iran-oil.html
14•root-parent•20m ago•4 comments

Trump baffles Wall Street with top dealmaker praise for Citi

https://www.ft.com/content/346fbc7b-3627-49e1-8f1e-af0cefef4000
3•petethomas•21m ago•0 comments

Datafarm: Two Bespoke Languages, Two Runtimes

https://williamcotton.github.io/datafarm-studio/
1•williamcotton•21m ago•0 comments

The Bricks and Mini-Figs Investigation by Coffeezilla [video]

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

WWDC 2026 – On-Device AI Deep Dive

https://gist.is/docs.google.com/en/deqIp-AK6Oxc
1•MediaSquirrel•23m ago•0 comments

A Written Language for the Cherokee So Efficient It Was Thought to Be Magic

https://www.smithsonianmag.com/innovation/man-created-written-language-cherokee-did-efficiently-e...
2•grahambargeron•25m ago•0 comments

Social Security's Final Countdown

https://opentechyou.blogspot.com/2026/06/the-digital-embrace-social-securitys.html
1•odilelof•26m ago•0 comments

Reducing Tail Response of Distributed Services Through System-Wide Scheduling

https://dl.acm.org/doi/10.1145/3698038.3698554
1•zekrioca•27m ago•0 comments

Free financial literacy platform for kids – 90 lessons, no paywall

https://learnfinly.com
2•narensara•28m ago•0 comments

OpenAI: PRC-linked influence operations are targeting AI debates in the US

https://www.businessinsider.com/openai-china-data-centers-influence-campaign-2026-6
3•sundarurfriend•29m ago•1 comments

Microsoft Agent 365

https://microsoft.github.io/agent-resources/agent365/
1•hmokiguess•30m ago•0 comments

Franco-German Future Fighter Effort Collapses over Irreconcilable Differences

https://www.twz.com/air/franco-german-future-fighter-effort-collapses-over-irreconcilable-differe...
3•PLenz•31m ago•0 comments

Type a command, get market analysis

https://stochastics.vercel.app
1•talos-better•33m 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?