frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Difference Between Rest and Idleness

https://idle.news/blog/on-the-difference-between-rest-and-idleness/
1•vinhnx•1m ago•0 comments

We're combatting AI scams with security, legislation and more

https://blog.google/innovation-and-ai/technology/safety-security/combatting-ai-scams/
1•gnabgib•2m ago•0 comments

XP-era Windows spotted haunting London's driverless railway

https://www.theregister.com/offbeat/2026/06/13/xp-era-windows-spotted-haunting-londons-driverless...
1•Bender•4m ago•0 comments

UK digital ID gets brain trust to 'challenge' ministers on policy

https://www.theregister.com/public-sector/2026/06/12/uk-digital-id-gets-brain-trust-to-challenge-...
1•Bender•4m ago•0 comments

Google fires sueball at alleged Chinese phishers over AI-powered fraud ops

https://www.theregister.com/security/2026/06/12/google-fires-sueball-at-alleged-chinese-phishers-...
1•Bender•5m ago•0 comments

Tracking Wind Patterns Using 3D Mercator Map

https://github.com/jamalrfordii-arch/Vanguard-Map
1•Lawyer24•13m ago•0 comments

Image Compression

https://www.makingsoftware.com/chapters/image-compression
1•vinhnx•20m ago•0 comments

AI agent on GitHub gives recipe for blueberry pie

https://github.com/home-assistant/core/pull/173465
2•Tiberium•23m ago•2 comments

An octagon on the White House lawn for Trump's 80th birthday, the nation's 250th

https://apnews.com/photo-gallery/trump-birthday-ufc-octagon-white-house-lawn-6e4b0ad3db6e8ccde792...
2•petethomas•24m ago•1 comments

Ask HN: How to get access to GPT cyber or glasswing as a solo dev?

1•predkambrij•25m ago•2 comments

WhatsApp Claims It Thwarted an NSO Spyware Campaign

https://www.privacyguides.org/news/2026/06/14/whatsapp-claims-it-thwarted-an-nso-spyware-campaign/
6•Cider9986•30m ago•0 comments

QodFlow – a Kanban board AI agents can drive via MCP

https://www.qodflow.com
2•deimargd•32m ago•0 comments

US Secretary of War Comments on Anthropic

https://twitter.com/PeteHegseth/status/2065897156226015690
11•MallocVoidstar•35m ago•2 comments

Is there a name for the type of comments agents add where they leak the prompt?

3•xdennis•41m ago•0 comments

Frontier Language Model Intelligence, over Time

https://artificialanalysis.ai/?model-creators=anthropic%2Cmistral#frontier-language-model-intelli...
2•doener•42m ago•0 comments

Anthropic's Zero Trust for AI Agents Sets the Right Test. The Bearer Token Fails

https://blog.hello.coop/2026/06/anthropics-zero-trust-for-ai-agents-sets-the-right-test-the-beare...
3•mooreds•43m ago•0 comments

LLMs Pre-Commodify Ideas

https://summerlightning.substack.com/p/llms-pre-commodify-ideas
3•Stwerner•45m ago•0 comments

A collection of things that are not Arabic

https://notarabic.com/
2•Georgelemental•46m ago•0 comments

On May the 4th, Let's Remember Why Fans of All Factions Love Star Wars (2016)

https://www.themarysue.com/on-may-the-4th-lets-remember-why-fans-of-all-factions-love-star-wars/
2•mooreds•50m ago•0 comments

State Attorneys General Are Investigating OpenAI

https://www.nytimes.com/2026/06/13/technology/states-investigating-openai.html
16•donohoe•54m ago•2 comments

Llama.cpp – Run LLM Inference in C/C++

https://llama-cpp.com/
2•doener•55m ago•0 comments

P2claw – Peer-to-peer hosting for vibe coders

https://p2claw.com/
3•apitman•1h ago•0 comments

Immutable Collections for JavaScript

https://immutable-js.com/
2•doener•1h ago•1 comments

Show HN: A bunch of Apache2/MIT log generators

https://github.com/expanso-io/log-simulators
3•TheIronYuppie•1h ago•0 comments

Show HN: I built 80 mini-games using Fable before it was shut down

https://minigames.world/en
43•legocoder•1h ago•44 comments

Some Ethical Problems with AI

https://arkvis.com/blog/2026-06-10_some-ethical-problems-with-ai.html
2•phyzix5761•1h ago•0 comments

Boot making and mending including repairing, lasting and finishing (1898)

https://gutenberg.org/cache/epub/78854/pg78854-images.html
2•petethomas•1h ago•0 comments

ReactOS (FOSS "Windows") achieves 3D-accelerated Half-Life on real hardware

https://www.phoronix.com/news/ReactOS-Running-Half-Life
39•jeditobe•1h ago•2 comments

Atlassian "Data Contribution"

2•yells_jovially•1h ago•0 comments

Claude Code v2.1.172: Sub-Agents Can Now Spawn Sub-Agents

https://byteiota.com/claude-code-v2-1-172-sub-agents-can-now-spawn-sub-agents/
2•sscaryterry•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?