frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Deep Space Network Now

https://eyes.nasa.gov/apps/dsn-now/dsn.html
1•nhhvhy•32s ago•0 comments

Chess Openings by Nationality

https://jamesshapiro.com/writing/chess-openings-by-nationality
1•stephsmithio•2m ago•0 comments

Show HN: Musql, JIT-compiled SQL, up to 300x faster than SQLite, 1000x vs. Turso

https://github.com/samyfodil/musql
1•dsamy•4m ago•0 comments

The Alchemical Transformations of the Mutus Liber (1677)

https://publicdomainreview.org/collection/mutus-liber/
1•benbreen•4m ago•0 comments

We Asked Starbucks Why Their 'Sugar-Free' Drinks Have Sugar

https://gizmodo.com/we-asked-starbucks-why-their-sugar-free-drinks-have-sugar-and-now-were-just-m...
2•Tomte•7m ago•0 comments

GoatedContext: Cross-repo, local preference context and cross-agent injection

https://github.com/razzyshmazzy/goatedcontext
1•nicozametto•8m ago•0 comments

How to keep learning in the age of LLMs

https://ogzhanolguncu.com/blog/how-to-keep-learning-in-the-age-of-llms/
1•shraddhaag•12m ago•0 comments

Experimental MSU-1 streaming and standard-memory profiles

https://github.com/agg23/openfpga-SNES/pull/123
1•Tomte•13m ago•0 comments

Sharded, encrypted storage between friends over Yggdrasil

https://github.com/peterretief/yggstore
1•peter_retief•14m ago•0 comments

Designing for Voice-First

https://www.antonsten.com/articles/designing-for-voice-first/
1•cat-whisperer•15m ago•0 comments

Show HN: Rgpu – a PyTorch device whose tensors live on a remote GPU

https://github.com/ymcrcat/rgpu
1•boxstream•18m ago•0 comments

Show HN: Pareto Partisan? Relative Gains and Support for Public Policy

https://github.com/soodoku/pareto_partisan
1•neehao•22m ago•0 comments

Show HN: Detangle, Dependency rules for JavaScript, checked in under a second

https://www.debugdiary.dev/log/detangle-dependency-rules-for-javascript-in-under-a-second
1•debug-diary•23m ago•0 comments

Thoughts on This Website Audit?

https://www.crawkcheck.io/
1•emmanss•25m ago•0 comments

Is Criminal Forensics Bullshit?

https://nautil.us/is-criminal-forensics-bullshit-1285587
2•Tomte•29m ago•0 comments

Botanical Contact Printing

https://www.jennydean.co.uk/contact-printing-on-fabric-and-paper/
1•t-3•30m ago•0 comments

I mortgage my house so you can vibe code while pooping

https://www.jackhamr.ai
1•jrda•31m ago•0 comments

Mistral Large 4 Preview: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/mistral-large-4
2•theanonymousone•34m ago•0 comments

Toketer – See what every AI prompt costs you, live in your editor

https://marketplace.visualstudio.com/items?itemName=toketer.toketer
1•soumyadeep-toke•38m ago•0 comments

Show HN: KORA Doctor – find LLM calls your agent may not have needed

https://github.com/Krako-Labs/kora-doctor
1•hkalbert71•39m ago•0 comments

Show HN: Snug, a local-only bookmark export, import and backup extension

https://github.com/AndryOre/snug
1•AndryOre•40m ago•0 comments

Gigabyte B300 Workstation PC

https://www.gigabyte.com/press/news/2317
1•willvk•40m ago•1 comments

Crunchbase Data Shows AI's Most Active Startups Are Becoming Serial Acquirers

https://news.crunchbase.com/ma/ai-startup-acquisitions-legal-healthcare-openai/
1•snikolaev•43m ago•0 comments

AI-powered time tracking for freelancers and agencies

https://www.tracktimer.app
1•welsenesbros•43m ago•0 comments

Vote to Promote Sergey Miryanov

https://discuss.python.org/t/vote-to-promote-sergey-miryanov/109283
1•GloVin•45m ago•0 comments

I'm Broke and Mostly Friendless, and I've Wasted My Whole Life (2018)

https://www.thecut.com/2018/11/im-broke-and-friendless-and-ive-wasted-my-whole-life.html
1•soulofmischief•46m ago•0 comments

The S&P 500 Hits a New Record High, Powered by Tech–and Not Much Else

https://www.wsj.com/finance/stocks/the-s-p-500-hits-a-new-record-high-powered-by-techand-not-much...
1•doener•47m ago•0 comments

The reason Anthropic must IPO now [video]

https://www.youtube.com/shorts/E80oYhrGa8c
1•thelastgallon•50m ago•0 comments

AlphaSteel Review 2026: Ingredients, Benefits and Complete Guide

https://script.google.com/macros/s/AKfycbwV2N-YUcgAYobr4uCu8TKqL0Gm8C5bVHWXp0fqHdwGE-WZuXoH1idAjw...
1•ralugatz•53m ago•0 comments

Chrome's Response to Recent CcTLD Registry Hijacks

https://blog.google/security/chromes-response-to-recent-cctld-registry-hijacks/
2•shscs911•54m 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?