frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Bad Apple but every frame is real-world United States terrain Aerial photography [video]

https://www.youtube.com/watch?v=wLm5sH_n1Uc
1•seri4l•42s ago•0 comments

'Slopaganda' named Oxford word of the year 2026

https://www.bbc.com/news/articles/c6rrgeevnw8lo
1•10xDev•1m ago•0 comments

A Closer Look at Claude's Mac "Apps"

https://www.macstories.net/stories/a-closer-look-at-claudes-mac-apps/
1•JumpCrisscross•9m ago•0 comments

Cryptography Incident Review Group Review Group

https://cirgrg.org/
2•dmitrygr•9m ago•0 comments

Ask HN: How are you keeping your websites safe?

1•vikas123456789•10m ago•2 comments

Humanity Is No Longer Replacing Itself, and No Market Will Fix It

https://www.promarket.org/2026/11/30/humanity-is-no-longer-replacing-itself-and-no-market-will-fi...
1•consumer451•12m ago•1 comments

What Does Any of This Have to Do with Physics?

https://nautil.us/what-does-any-of-this-have-to-do-with-physics-236309
1•bkudria•12m ago•0 comments

Econ Data Format

https://alexpeek.org/econ-data-format.html
2•alexp312•20m ago•0 comments

Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

https://bel.belfortlabs.com/
2•solyin•21m ago•1 comments

Ten Open Historical Problems Solved with Gemini 4 Neon

https://github.com/oliverzink/open-historical-problems
1•oliver-zink•21m ago•0 comments

An introduction to wheel variants for Python package maintainers

https://astral.sh/blog/wheel-variants-for-maintainers
1•edmorley•22m ago•0 comments

Lydie: A writing app that works on a folder of Markdown files

https://github.com/lydiehq/lydie
1•doener•22m ago•0 comments

Philipp Emanuel Weidmann (P-E-W): Our Era's Aaron Swartz

https://gist.github.com/Hellisotherpeople/b6554c0e03c7bb9ab9b0829b9062ff09
2•Der_Einzige•23m ago•0 comments

Modern Tcl for the AI Era

https://beetlebug.org/ztcl/
1•jcollins•24m ago•1 comments

Mistral Multimodal Embed

https://mistral.ai/news/mistral-multimodal-embed/
2•agluszak•25m ago•0 comments

Homestead Acts

https://en.wikipedia.org/wiki/Homestead_Acts
2•tosh•26m ago•1 comments

Steam Next Fest: February 2027 – Cancelled

https://partner.steamgames.com/doc/marketing/upcoming_events/nextfest/feb_2027
2•ariru•26m ago•0 comments

OKPalette

https://okpalette.color.pizza/
1•bookofjoe•28m ago•0 comments

Ask HN: What cool smart home integrations do you have?

1•janalsncm•30m ago•0 comments

ItaliaCiv

https://italiaciv.it/
2•simonebrunozzi•30m ago•0 comments

Running the Nvidia driver inside baremetal UEFI (and a GPU enabled LLM)

https://github.com/bane9/GPUOS
1•bbranislav99•32m ago•0 comments

MD Thermochrome: The Joy of Rules

https://mass-driver.com/article/md-thermochrome-the-joy-of-rules
1•hn-aarvin•33m ago•0 comments

Backdoored PHP Obfuscator

https://isc.sans.edu/diary/33556
1•basilikum•33m ago•0 comments

Chimera Vocal Synth Engine

https://www.chimera.audio/
1•bvaldivielso•34m ago•0 comments

Not all frontiers are worth pacing

https://blog.coredump.cx/p/not-all-frontiers-are-worth-pacing
2•surprisetalk•34m ago•0 comments

AI Agent Has the Keys to Everything. Now What?

https://mihaisplace.com/blog/your-ai-agent-has-the-keys-to-everything-now-what
1•mmarvramm•34m ago•0 comments

Macapps.best ProductHunt, but for Mac Apps

https://macapps.best/
1•onmyway133•34m ago•1 comments

Don't be afraid to make changes in your life

https://0xff.nu/new-purpose/
3•hxii•42m ago•0 comments

Skyblivion Is Coming Q1 2027 – Official Release Date Coming in December

https://www.reddit.com/r/skyblivion/comments/1y9k5sr/skyblivion_is_coming_q1_2027_official_release/
2•accrual•43m ago•1 comments

What can we learn from the Railway hack?

https://blog.pragmaticengineer.com/the-pulse-what-can-we-learn-from-the-railway-hack/
2•mikeleeorg•43m 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?