frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I'm Building an App to make $10k/month and I'm Recording the whole thing

https://twitter.com/jomatech/status/2071774976173355221
1•rzk•2m ago•0 comments

Show HN: Fail2ban-Dashboard

https://github.com/webishdev/fail2ban-dashboard
1•musicmatze•3m ago•0 comments

The evolution of window and class extra bytes in Windows

https://devblogs.microsoft.com/oldnewthing/20260629-00/?p=112484
1•Stratoscope•3m ago•0 comments

Building AI for Production Requires More Engineering Than AI

https://geekyants.com/blog/the-hidden-cost-of-delaying-ai-product-modernization-in-enterprise-bus...
1•Max536752•3m ago•0 comments

Bloomberg: Spain Built Too Much Solar. Investors Want Out

https://www.bloomberg.com/news/articles/2026-06-29/spain-s-solar-and-wind-power-boom-is-an-invest...
1•vblanco•6m ago•1 comments

Scientists say most people need more protein than current guidelines suggest

https://www.sciencedaily.com/releases/2026/06/260622091429.htm
1•bushwart•7m ago•0 comments

What If a City Ran on UTC for Two Weeks?

https://zulu.sekor.eu.org/
1•modinfo•11m ago•1 comments

Getty Images Plans to End Shutterstock Deal After U.K. Imposes Conditions

https://www.wsj.com/business/getty-images-plans-to-end-shutterstock-deal-after-u-k-imposes-condit...
1•thm•11m ago•0 comments

Thoughts on the Near Future

https://xcancel.com/i/article/2072056960430789032
1•alecco•12m ago•1 comments

Anthropic launches Claude Science, Google and OpenAI racing to compete

https://techfundingnews.com/anthropic-launches-claude-science-and-google-and-openai-are-already-r...
2•enlightpixel•13m ago•0 comments

34,266 repos were scanned: 1 in 4 orgs showed gaps in AI agent config files

https://blog.codacy.com/we-scanned-34266-repos.-1-in-4-orgs-showed-gaps-in-ai-agent-config-files
1•claudiacsf•14m ago•0 comments

Turning Supacode into a Full, Agent First IDE

https://corti.com/turning-supacode-into-a-full-ide-flexible-panes-for-agents-editor-file-manageme...
1•TechPreacher•15m ago•0 comments

Ente Is Open

https://ente.com/open/
3•shaunpud•20m ago•0 comments

Open-source Claude/Codex/Cursor limits tracker for Mac

https://github.com/aalksii/creditwatcher
1•aalksii•21m ago•0 comments

Ocean surface temperatures hit a record high for June

https://www.theguardian.com/environment/2026/jul/01/ocean-surface-temperatures-hit-a-record-high-...
1•montalbano•22m ago•0 comments

Getty's Shutterstock merger falls apart

https://www.theverge.com/tech/960047/getty-shutterstock-merger-agreement-termination
1•rarisma•25m ago•0 comments

Free online tools in one place

https://www.quelloai.com
1•gusdestro•26m ago•1 comments

Siplinx AI Meeting Notetaker for Zoom, Google Meet

https://siplinx.com
1•aman-flyprox•26m ago•0 comments

Neuralink: Our First Transdural Procedure [video]

https://www.youtube.com/watch?v=F8p2MamNBgE
1•Klaster_1•26m ago•0 comments

The Primitive Is the Product

https://www.amplifypartners.com/blog-posts/the-primitive-is-the-product
1•tosh•27m ago•0 comments

How Spotify Is Killing the Open Podcast Ecosystem (2020)

https://singhkays.com/blog/how-spotify-is-killing-the-open-podcast-ecosystem/
1•downbad_•27m ago•0 comments

Sonnet 5 Is Dead in the Water

https://www.vincentschmalbach.com/sonnet-5-is-dead-in-the-water/
3•vincent_s•29m ago•0 comments

Side-Channel Protections in Hardware Implementations of PQC ML-KEM Verification

https://arxiv.org/abs/2606.31681
2•austinallegro•33m ago•0 comments

Hays Code

https://en.wikipedia.org/wiki/Hays_Code
2•thunderbong•33m ago•0 comments

The Economics of Starlink and SpaceX

https://ispcol.potaroo.net/2026-06/spacex.html
1•fanf2•34m ago•0 comments

Palantir on AI Sovereignty

https://twitter.com/PalantirTech/status/2072114267776491695
4•tosh•40m ago•1 comments

Isaac Asimov Laments the "Cult of Ignorance" in the United States (1980)

https://www.openculture.com/2026/07/isaac-asimov-laments-the-cult-of-ignorance.html
2•mdp2021•44m ago•0 comments

C++26: Constexpr Virtual Inheritance

https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance
3•jandeboevrie•48m ago•0 comments

A return to two-pizza culture

https://www.allthingsdistributed.com/2026/06/return-to-two-pizza-culture.html
2•futurecat•52m ago•0 comments

Nsram: The Artificial Neuron on a Silicon Chip

https://spectrum.ieee.org/artificial-neurons-on-silicon-chips
1•rbanffy•56m 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?