frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Using ChatGPT is not bad for the environment

https://blog.andymasley.com/p/a-short-summary-of-my-argument-that
1•ck2•1m ago•0 comments

Show HN: HN Keyboard Boost – Minimal Keyboard Navigation for Hacker News

https://addons.mozilla.org/en-US/firefox/addon/hn-keyboard-boost/
1•jessesoo•1m ago•0 comments

Sam Altman: This is how we can make AI safe for everyone

https://www.ft.com/content/0c2e1077-f658-4b3d-9040-602615c961ca
1•bifftastic•3m ago•0 comments

Inside the Egg Price-Fixing Scandal That Spiked American Grocery Bills

https://www.wsj.com/business/retail/inside-the-egg-price-fixing-scandal-that-spiked-american-groc...
1•impish9208•4m ago•1 comments

Ella: Deterministic compute engine for ultra‑low‑latency systems

https://github.com/steforsyth5439-ai/ELLA-whitepaper
1•ste5439•6m ago•0 comments

HT-ML.app – Deploy HTML Artifacts from Claude Code and Codex

https://ht-ml.app/
1•nsmith22•7m ago•1 comments

The Repository Knows Why

https://community.ibm.com/community/user/blogs/frank-de-gilio/2026/05/28/the-repository-knows-why
1•rbanffy•7m ago•0 comments

Taming Production Database Migrations

https://www.lirbank.com/taming-production-database-migrations
1•andrelandgraf•9m ago•0 comments

Jj jj jj jj jj

https://caiustheory.com/jj-jj-jj-jj-jj/
2•birdculture•10m ago•1 comments

Florida Is Executing Prisoners at a Record Pace

https://www.propublica.org/article/florida-death-penalty-executions-ron-desantis
4•petethomas•10m ago•0 comments

Is there a "is fable up tracker" or notification hook?

1•217•11m ago•0 comments

Palantir vs. Republik [Swiss News Magazine]

https://www.republik.ch/2026/06/13/palantir-gegen-die-republik-das-urteil
1•Arodex•11m ago•1 comments

Reduce GVisor Cold Starts with GPU Snapshotting

https://cerebrium.ai/blog/reducing-gpu-cold-starts-with-memory-snapshots-restoring-cuda-workloads...
10•jono_irwin•14m ago•1 comments

Explaining relationship-based access control with a MIDI keyboard [video]

https://www.youtube.com/watch?v=nPL3W_oHSrE
1•melsmo•16m ago•0 comments

Show HN: I built a way for coding agents to use secrets with O seeing them

https://github.com/pdumicz/secret-shuttle
1•pdumicz•17m ago•1 comments

Show HN: Hunch, search your email by a hunch; with a conversation

https://margaine.com/hunch/
1•tlar•17m ago•0 comments

How the World Cup Builds Nations

https://www.nominalnews.com/p/wolrd-cup-football-nations-ethnicity
1•NomNew•19m ago•0 comments

Uber Shakes Up AI Data Labeling Business, Dismissing Top Leaders

https://www.bloomberg.com/news/articles/2026-07-01/uber-shakes-up-ai-data-labeling-business-dismi...
1•htrp•19m ago•1 comments

Why I like snake_case

https://graybeard.ing/why-i-like-snake_case/
2•rglover•21m ago•3 comments

My Notes After Databricks Data and AI Summit 2026

https://zilliz.com/blog/databricks-data-ai-summit-2026-data-layer
1•redskyluan•23m ago•0 comments

Vektorgeist

https://vektorgeist.com
1•Floukie•24m ago•0 comments

Grand Elemental, primordial matter churning like a living planet core

https://sand-morph.up.railway.app/grand-elemental-original
1•echohive42•25m ago•0 comments

Our First 66 Azure Deployments Show Interesting Patterns

https://webbynode.com/articles/our-first-azure-observations-strong-compute-emerging-network-signals
1•gsgreen•27m ago•1 comments

ZCode: GLM-5.2's own harness is officially live

https://twitter.com/zai_org/status/2072349453361557898
3•andrem•27m ago•1 comments

Proposed new satellite fleets could overwhelm the night sky

https://www.science.org/content/article/proposed-new-satellite-fleets-could-overwhelm-night-sky
2•Brajeshwar•28m ago•0 comments

Tidal hits subscribers with a 200% price increase

https://www.neowin.net/news/tidal-is-getting-a-price-hike/
1•bundie•29m ago•1 comments

Pidgin 3.0 Alpha 2 (2.96.0) has been released

https://discourse.imfreedom.org/t/pidgin-3-0-alpha-2-2-96-0-has-been-released/398
3•rw_grim•31m ago•0 comments

CorvinOS – self-hosted agentic OS where EU AI Act and GDPR compliance by design

https://github.com/CorvinLabs/CorvinOS
2•shumway•31m ago•0 comments

Amsterdam Invented the Fire Department

https://worksinprogress.co/issue/how-amsterdam-invented-the-fire-department/
3•Tomte•32m ago•0 comments

Ask HN: Freelancer? Seeking freelancer? (July 2026)

4•jon_north•32m ago•2 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?