frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Cachebox

https://github.com/smarzola/cachebox
1•smarzola•19s ago•0 comments

California's landmark anti-plastics law sparks anger as 17 states move to sue

https://www.theguardian.com/environment/2026/jun/26/california-single-use-plastic-law
1•andsoitis•35s ago•0 comments

Show HN: A REPL for browsers that agents love

https://fuckui.com
1•keepamovin•2m ago•1 comments

The dordolec, the 'evil eye' and superstition in Albania

https://michaelharrison.org.uk/2013/05/the-dordolec-the-evil-eye-and-superstition-in-albania/
1•jruohonen•2m ago•0 comments

The Fake Pilot (2010)

https://www.news.com.au/travel/travel-updates/fake-pilot-thomas-salme-says-passengers-were-never-...
2•redbell•3m ago•0 comments

The making of the digital twin of the Panorama of the Battle of Murten

https://www.epfl.ch/labs/emplus/projects/terapixelpanorama/murten-panorama-digital-twin-scanning-...
1•ano-ther•3m ago•0 comments

GPT-5.6: The System Card

https://thezvi.substack.com/p/gpt-56-the-system-card
1•7777777phil•3m ago•0 comments

City counsellors under fire for AI Orange Line map [video]

https://www.youtube.com/watch?v=MmLikQaka8E
1•functionmouse•4m ago•0 comments

'Crypto vs. community': local US lenders join forces to fight 'stablecoins' law

https://www.theguardian.com/technology/2026/jun/28/crypto-v-community-local-lenders-fight-stablec...
1•biorach•5m ago•0 comments

Clean GitHub repo tricks AI coding agents into running malware

https://www.bleepingcomputer.com/news/security/clean-github-repo-tricks-ai-coding-agents-into-run...
1•Brajeshwar•7m ago•0 comments

What is your most fascinating tech used in Formula1(F1)?

1•adithyaharish•8m ago•0 comments

Michigan bill would bar employers from requiring after-hours coms with workers

https://www.cbsnews.com/detroit/news/workplace-boundaries-act-employees-after-hours/
2•cebert•9m ago•1 comments

5k Restaurant Menus, Years 1880-1920

https://pudding.cool/2026/06/menu-collection/
1•xbryanx•10m ago•0 comments

Show HN: I built an AI fence visualizer

https://www.fencepreview.com/
1•atharvtathe•13m ago•0 comments

Are there any features modern Anime AI lacks

1•anitroves•13m ago•0 comments

Report on the State of Scholarship in the Humanities [pdf]

https://cdn.vanderbilt.edu/vu-wpfsx/wp-content/uploads/sites/51/2026/06/State-of-Scholarship-Repo...
1•loughnane•13m ago•0 comments

EU to legislate about Chat Control behind closed doors

https://www.patrick-breyer.de/en/double-threat-to-private-communications-undemocratic-chat-contro...
4•NeutralForest•15m ago•0 comments

Build Your Own IP Geolocation Setup Without the SaaS Tax in an Afternoon

https://kerochan.lol/blogs/ip.html
1•petee•15m ago•1 comments

North Korea dictator Kim Jong Un is illegitimate because his mother was Japanese

https://www.bbc.com/news/articles/cpvp3xn489no
3•ck2•16m ago•1 comments

Flock cameras track more than your license plate, and they're spreading fast

https://www.engadget.com/2203000/flock-cameras-recording-license-plate/
35•SanjayMehta•19m ago•2 comments

In the AI era, be a builder or a seller, not a measurer

https://www.businessinsider.com/ai-tech-jobs-builder-seller-not-measurer-cloudflare-2026-6
1•backlit4034•20m ago•0 comments

Show HN: Clanker TV

https://botflix.tv/
1•jshaivitz•25m ago•0 comments

Show HN: A live (natural language) interpreter / translator

https://www.liveterp.com/
1•TroubleSprouter•25m ago•0 comments

Who will be the senior engineers of 2036?

https://www.linuxfoundation.org/blog/who-will-be-the-senior-engineers-of-2036
1•nezhar•26m ago•0 comments

Global recession and the end of the middle class: What 'AI exuberance' could do

https://www.smh.com.au/politics/federal/global-recession-and-the-end-of-the-middle-class-what-ai-...
2•thedays•26m ago•0 comments

Dependently typed Clojure DSL with a Lean4 compatible kernel

https://github.com/replikativ/ansatz
1•yogthos•26m ago•0 comments

Reinforcement learning towards broadly and persistently beneficial models

https://alignment.openai.com/beneficial-rl/
1•gmays•26m ago•0 comments

What Happens When You Delete the Pauses from Your Day

https://www.reworked.co/employee-experience/ai-may-be-eliminating-the-routine-your-brain-needs/
1•eustoria•27m ago•0 comments

Claude Code turned every engineer into three. Now companies need more PMs

https://venturebeat.com/infrastructure/claude-code-turned-every-engineer-into-three-now-companies...
2•champagnepapi•27m ago•0 comments

Our Favorite Reddit Apps for Android in 2026

https://www.lifewire.com/reddit-apps-for-android-8773696
1•eustoria•27m 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?