frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Parsing Unicode graphemes is not easy

https://zaerl.com/2026/10/27/parsing-unicode-graphemes-is-not-easy/
1•program•2m ago•0 comments

Express Course

https://studio.code.org/courses/express-2025/units/1
1•thatslast•5m ago•0 comments

Sunlight night: US startup's demo of lighting Earth from space draws criticism

https://www.theguardian.com/us-news/2026/oct/26/california-sunlight-space-mirrors-satellites
1•prmph•6m ago•0 comments

Ask HN: What QoL improvements have you made while doing "agentic" SWEngineering?

1•jrowilliams•7m ago•0 comments

Meet The AI Agents Trying to Be Real-Life Journalists

https://www.wired.com/story/ai-agents-are-trying-to-be-journalists-now/
1•thm•8m ago•0 comments

Ask HN: How to report IP abuse to Cloudflare?

1•huhtenberg•10m ago•0 comments

Highlighting What Changed: A Go Diff-Mask for AI Agent Screenshots

https://towardsdev.com/highlighting-what-changed-a-go-diff-mask-for-ai-agent-screenshots-64551334...
1•cheikhdev•11m ago•0 comments

Show HN: HypeSeoul – AI-painted isometric map of Seoul that runs on Seoul time

https://hypeseoul.xyz/?s=hn
1•bitjaru0402•12m ago•0 comments

Forced myself to use codex desktop app

1•tornikeo•13m ago•0 comments

Ask HN: Has anyone used Phoenix, Langfuse, or OpenObserve?

1•nvmdbljstm•15m ago•0 comments

A small change in your Rails app that can save some money and time

https://widefix.com/blog/bot-scans-rollbar-quota-new-relic-alerts/
1•ka8725•16m ago•0 comments

Trump Likes It? NZ Election Edition

https://trumplikesit.vercel.app/
1•beatthatflight•20m ago•0 comments

A small, grumpy desk creature that keeps notes while you are away

https://grumble.soloop.app/
3•grumble_•24m ago•0 comments

Show HN: 600+ Web Assets. Scroll for free inspiration...

https://forevercomponents.com/
2•sam_automates•28m ago•0 comments

What Is 'You Can See Everything' About?

https://www.derekthompson.org/p/what-is-you-can-see-everything-actually
2•momentmaker•29m ago•1 comments

MCP-warden local credential broker so AI agents never see your secrets

https://github.com/ermoluk/mcp-warden
1•ermoluk•32m ago•0 comments

Roblox downloaded 145GB models from us (including adult content) without asking

https://open3dlab.com/news/roblox-downloaded-145-gb-of-models-from-our-sites/
42•choult•32m ago•6 comments

Original Affluent Society

https://en.wikipedia.org/wiki/Original_affluent_society
1•baxtr•32m ago•0 comments

Daily Orbs

https://dailyorbs.com/
1•10xDev•35m ago•0 comments

Gforth 1.0

https://gforth.org/manual/1.0/NEWS.html
2•joshcsimmons•36m ago•0 comments

The good old days (of programming)

https://fixnum.org/2026-10-26-the-good-old-days/
1•sspiff•37m ago•0 comments

DeepSeek reportedly raises $15B days after US restrictions

https://techcrunch.com/2026/10/22/deepseek-reportedly-raises-15b-days-after-us-restrictions/
3•01-_-•37m ago•0 comments

Hey, Y Combinator - What will happen to humans?

6•pikseladam•38m ago•3 comments

Grok deepfake case reopened after Bureau reporting

https://www.thebureauinvestigates.com/stories/2026-10-22/grok-deepfake-case-reopened-after-bureau...
1•01-_-•38m ago•0 comments

Gems of DuckDB 2.0.0

https://duckdb.org/2026/10/26/gems-of-duckdb-200
2•jonbaer•43m ago•0 comments

Simple NetBSD Webserver

https://bsandro.tech/posts/simple-netbsd-webserver/
2•ibobev•48m ago•0 comments

GDPR change lets companies train AI on Europeans' personal data without consent

https://twitter.com/IntCyberDigest/status/2114838732197224927
2•weberer•49m ago•0 comments

Keeping API keys out of our AI agent's sandbox, and what that doesn't solve

https://askdoozy.com/blog/ai-agent-api-keys-sandbox
1•shivsarthak•49m ago•0 comments

Show HN: Ulak – Run Docker without a local Docker daemon

https://github.com/syy/ulak
3•xorxor•50m ago•0 comments

OpenLDK: Bringing the Java World into Common Lisp

https://atgreen.github.io/repl-yell/posts/openldk-java-in-common-lisp/
2•ibobev•50m 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?