frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Perfecting Terminal Character Width Using Correction Tables

https://www.jeffquast.com/post/perfecting-terminal-character-width-using-correction-tables/
1•birdculture•25s ago•0 comments

Postgres 19 is out, and it's available on Neon and Databricks Lakebase

https://www.databricks.com/blog/postgresql-19-available-lakebase
1•sp_from_db•1m ago•0 comments

Perceptle

https://perceptle.com/
1•soheilpro•5m ago•0 comments

The Game – Help people with math

https://game.poshenloh.com/
1•qainsights•11m ago•0 comments

ChatGPT for SNES

https://www.bxfoundry.com/chatgpt_snes/
1•evan_•12m ago•0 comments

New tools are helping chemists reveal a hidden world of contamination

https://www.science.org/content/article/chemists-are-uncovering-hidden-world-pollution
1•EA-3167•14m ago•0 comments

The Part About Machines (On AI Literary Scandals)

https://thepointmag.com/examined-life/the-part-about-the-machines/
1•anarbadalov•15m ago•0 comments

Using a Natural Language for Programming

https://thingspool.net/shards-of-sanity/page-6.html
1•architsch•16m ago•1 comments

US National Cyber Director to step down

https://www.axios.com/2026/11/19/trump-national-cyber-director-sean-cairncross-leaving
2•qphe95•16m ago•0 comments

Builders ask Brussels to let people take their social network with them

https://eurosky.tech/news/freedom-of-movement-in-digital-europe/
1•doener•21m ago•0 comments

If you're concerned about citation hallucination by LLMs, you're 2 years behind

https://twitter.com/DrSamuelBHume/status/2123396478336995398
1•doener•24m ago•0 comments

AI can be tricked to target civilians as military targets by preteding it's game

https://www.vals.ai/blogs/autonomous-warfare
1•DeepLogin•24m ago•0 comments

More than 1k French riot police call in sick

https://www.thetimes.com/world/europe/article/french-police-off-sick-after-protests-7qx3l6k20
2•madihaa•30m ago•0 comments

On the Possible Ontological Formation of Black Holes

https://www.academia.edu/145377871/On_the_Possible_Ontological_Formation_of_Black_Holes
1•cgnspace•32m ago•0 comments

Ask HN: Are you SEO-ing (LLMO?) your job postings?

1•prpl•35m ago•0 comments

Show HN: Bot-inator – Mac agent that writes its own tools, runs them sandboxed

https://github.com/Bforsyth1234/bot-inator
1•bforsyth•37m ago•0 comments

Gke-sandboxes: Agent sandboxes with filesystem snapshots at 1.9¢/hour

https://github.com/comp-work/gke-sandboxes
1•follgad•38m ago•0 comments

Version Everything

https://iamvishnu.com/posts/versioning-everything
3•vishnuharidas•45m ago•0 comments

In-place migration to GKE Dataplane V2

https://cloud.google.com/blog/products/networking/gke-dataplane-v2-in-place-migration
1•teichmann•47m ago•0 comments

Agent Duel

https://github.com/bottomless/agent-duel
2•simonebrunozzi•48m ago•0 comments

I recreated the WORLD in Minecraft at 1:1 scale

https://twitter.com/cdngdev/status/2122416145517117463
3•mmh0000•48m ago•1 comments

To All the Folks Who Are About to Be Rich

https://lg.substack.com/p/to-all-the-folks-who-are-about-to
2•kevinlou•49m ago•0 comments

Krita is a sketching and painting program designed for digital artists

https://docs.krita.org/en/index.html
1•doener•50m ago•0 comments

How to Earn a Bad Obituary

https://www.laude.org/updates/how-to-earn-a-bad-obituary
1•hhawk•54m ago•0 comments

EU targeted by cyber attack using AI: 'No one is immune'

https://www.independent.co.uk/news/world/europe/eu-cyber-attack-artificial-intelligence-b3087999....
3•nephihaha•57m ago•0 comments

Show HN: erXos – a microkernel OS in Erlang based on Genera/Plan 9/QNX ideas

https://stass.github.io/erXos/
2•stass•59m ago•1 comments

Prime Intellect: Security Advisory PI-SA-2026-001

https://www.primeintellect.ai/security/advisories/deepseek-v4-1-flash-model-substitution
2•dvaplima•1h ago•4 comments

Gemini 4 Neon is the new #1 on the Models Engineering Index

https://git-aarvin.github.io/mei/
25•hn-aarvin•1h ago•10 comments

Model or Cautionary Tale? What the South Bay Tells Us About Data Centers

https://www.coyotemedia.org/ai-data-centers-san-jose/
1•cdrnsf•1h ago•0 comments

Prepaid gas bonds: A differentiated source of tax-exempt income

https://www.blackrock.com/us/individual/insights/prepaid-gas-bonds
2•toomuchtodo•1h 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?