frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Opening a jar for 10 hours straight [video]

https://www.youtube.com/watch?v=X969XcyIHWY
1•pingou•1m ago•0 comments

AidaIDE – A desktop IDE built around SSH sessions

https://aidaide.app/vs/putty
1•westhemess•3m ago•0 comments

SlothDB is an OLAP DB ahead of DuckDB on Clickbench SQL database in C++20

2•souravroy78•3m ago•0 comments

Microsoft rejects critical Azure vulnerability report, no CVE issued

https://www.bleepingcomputer.com/news/security/microsoft-rejects-critical-azure-vulnerability-rep...
1•rurban•4m ago•0 comments

The 'Mythos Moment'

https://profserious.substack.com/p/the-mythos-moment
1•krona•6m ago•0 comments

Running Local Language Model on Game Boy Color

https://old.reddit.com/r/LocalLLaMA/comments/1tbi2n3/i_got_a_real_transformer_language_model_runn...
1•AbuAssar•10m ago•0 comments

SPF PermError: What Causes It and How to Fix It Step-by-Step

https://dmarcguard.io/blog/spf-permerror-fix/
1•meysamazad•11m ago•0 comments

How the New Testament Was Copied and Preserved

https://www.jeremysarber.com/p/how-the-new-testament-was-copied
1•meysamazad•11m ago•0 comments

Building Shopie for Mac with SwiftUI

https://mjtsai.com/blog/2026/05/08/building-shopie-for-mac-with-swiftui/
1•SoKamil•13m ago•0 comments

We need something better than touchscreens in cars

https://thejollyteapot.com/2026/05/10/we-need-something-better-than-touchscreens-in-cars/
1•meysamazad•14m ago•0 comments

Riding the Leopard

https://www.notboring.co/p/riding-the-leopard
1•watchful_moose•15m ago•0 comments

Nvidia Surpasses Germany

https://www.euronews.com/business/2026/05/16/nvidia-surpasses-germany-how-the-market-caps-of-tech...
5•DeathArrow•23m ago•0 comments

'White monkeys' paid to make Chinese businesses look global

https://www.theguardian.com/lifeandstyle/2026/may/16/fake-lawyers-scientists-chefs-punters-white-...
1•YeGoblynQueenne•27m ago•0 comments

Why our AI agent needed a causal graph, not just a RAG database

https://openyf.dev/blogs/world-model
1•youelfedr•30m ago•0 comments

Huginn Net – Multi-Protocol Passive Fingerprinting (P0f-Style)

https://github.com/biandratti/huginn-net
1•xvilka•33m ago•0 comments

PE packer with randomized VM ISA per output file (C++)

https://github.com/iamsopotatoe-coder/TinyLoad
3•iamsopotatoe•38m ago•0 comments

MicroZig: Embedded Applications in Zig

https://github.com/ZigEmbeddedGroup/microzig
2•tosh•41m ago•0 comments

DFDS to invest €1B in battery electric ships for the Channel

https://www.dfds.com/en/about/media/news/dfds-to-invest-1-billion-euro-in-battery-electric-ships-...
3•zeristor•44m ago•0 comments

Media Date Fixer: Clean Up Wrong Dates in Photo and Video Libraries

https://github.com/xam-ps/Media-Date-Fixer
1•xamp•50m ago•0 comments

Magic 1.0 – A highly modular email theme

https://celaro.co/journal/magic-launch
1•celaro•50m ago•0 comments

Ask HN: What's the minimum needed tech to sustain modern civilization?

1•curiousaboutml•50m ago•1 comments

Review: The Unaccountability Machine, by Dan Davies

https://old.reddit.com/r/books/comments/1ssv55y/the_unaccountability_machine_by_dan_davies/
2•skanderbm•51m ago•0 comments

Nostalgebraist's Hydrogen Jukeboxes

https://www.astralcodexten.com/p/nostalgebraists-hydrogen-jukeboxes
1•Michelangelo11•57m ago•0 comments

How a self-proclaimed Swiss king's 'empire' is riling local authorities

https://www.france24.com/en/europe/20260510-how-switzerland-self-proclaimed-king-built-a-land-emp...
1•smcin•58m ago•2 comments

kzoo.k

https://www.nsl.com/k/kzoo.k
2•tosh•1h ago•0 comments

My Thoughts on AI, Part 1: Fears, Opinions, and Mental Journey

https://blog.isquaredsoftware.com/2026/05/ai-thoughts-part-1-fears-opinions-journey/
1•mavelikara•1h ago•0 comments

Terse Code

https://iabdb.me/2021/04/13/terse-code/
2•tosh•1h ago•0 comments

Solving Connect Four

http://blog.gamesolver.org/
1•truegoric•1h ago•0 comments

Distrust Has a Job; It's Just Not the One You're Doing

https://age-of-product.com/micromanager-ai/
1•swolpers•1h ago•0 comments

World Models for Planning Agents

https://mpmisko.github.io/ai-fundamentals-world-models-and-latent-dynamics/
2•mpmisko•1h 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?