frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Migrating from TrueNAS to NixOS without losing data after the rug pull

https://www.nijho.lt/post/truenas-to-nixos/
1•basnijholt•1m ago•0 comments

The 80% Problem: The Last 20% Is Where the Engineer Used to Live

https://www.jonathanbeard.io/blog/2026/06/27/the-80-percent-problem.html
1•speckx•3m ago•0 comments

Bernie Sanders unveils $7T plan to give Americans control of AI industry

https://arstechnica.com/tech-policy/2026/06/bernie-sanders-unveils-7-trillion-plan-to-give-americ...
2•FinnLobsien•4m ago•1 comments

The Trouble with Reused Phone Numbers in CIAM

https://ciamweekly.substack.com/p/the-trouble-with-reused-phone-numbers
2•mooreds•4m ago•0 comments

Flint: Fast Library for Number Theory

https://flintlib.org/
1•smasher164•4m ago•0 comments

How can engineering leaders avoid becoming Bond villains?

https://stackoverflow.blog/2026/06/26/paging-charity-how-can-engineering-leaders-avoid-becoming-b...
1•mooreds•5m ago•0 comments

Apple iPhone 20: Everything We Know About the Redesign Coming in 2027

https://www.cnet.com/tech/mobile/apple-iphone-20th-anniversary-edition-rumors-2027/
1•taubek•9m ago•0 comments

Rekor – immutable tamper resistant metadata ledger

https://github.com/sigstore/rekor
1•gregsadetsky•10m ago•0 comments

Application Gatekeeping: An Ever-Expanding Pathway to Internet Censorship

https://www.eff.org/deeplinks/2025/11/application-gatekeeping-ever-expanding-pathway-internet-cen...
1•thunderbong•11m ago•0 comments

WordPalette – Generate a brand palette and visual identity from a word or image

https://wordpalette.github.io/
1•javatuts•12m ago•0 comments

Quantum computing startup says it will leapfrog everybody

https://arstechnica.com/science/2026/06/quera-promises-thousands-of-error-corrected-qubits-by-2029/
1•samizdis•14m ago•0 comments

This will save you hours on your CCNA/CCNP

https://old.reddit.com/r/ccnastudygroup/comments/1uh7eop/this_will_save_you_hours_learning_for_yo...
6•salad_vr•15m ago•4 comments

The Apple Disk II Controller Card

https://www.bigmessowires.com/2021/11/12/the-amazing-disk-ii-controller-card/
1•stmw•16m ago•0 comments

I have made a simple CLI and would like feedback

https://github.com/Tophatguard/KRSH
1•Tophatguard•16m ago•0 comments

Claude in Microsoft Foundry is now generally available

https://claude.com/blog/claude-in-microsoft-foundry
1•Xtrah•16m ago•0 comments

No Code Exec? No Problem Living the Age of VBS, HVCI, and Kernel CFG (2022)

https://connormcgarr.github.io/hvci/
1•Retr0id•16m ago•0 comments

Light Switch "Wakes Up" Sleeping Cancer Cells

https://www.optica-opn.org/home/newsroom/2026/june/light_switch_wakes_up_sleeping_cancer_cells/
1•visha1v•17m ago•0 comments

KitForge–generate an AI agent manifest; scaffold with enforced approval gates

https://www.agent-kits.com/kitforge
1•stoicstoic•18m ago•0 comments

A Solution to A.I.'S Growing Power Demand: Homes

https://www.nytimes.com/2026/06/24/business/energy-environment/ai-data-centers-tesla.html
1•visha1v•19m ago•1 comments

Gene Sequence: e2e CRISPR gRNA design pipeline – sequence to 3D model in ~5s

https://crisprr.bio/
1•pranay_joshi•20m ago•0 comments

Candle marked from 1 to 30 EUR, priced at 30 EUR

https://driesdepoorter.be/product/burningmoney/
3•driesdep•22m ago•0 comments

Guide to Using Large Language Models and Generative AI in Economic History

https://www.nber.org/papers/w35374
1•paulpauper•22m ago•0 comments

Scott Wheeler on Stephen Sondheim

https://www.thefp.com/p/great-americans-stephen-sondheim
1•paulpauper•22m ago•0 comments

Prism: An Impure Functional Language with Typed Effects

https://www.stephendiehl.com/posts/prism/
1•birdculture•23m ago•0 comments

The Humbling of the Once Almighty Dollar

https://paulkrugman.substack.com/p/the-humbling-of-the-once-almighty
3•paulpauper•23m ago•0 comments

Supreme Court rules geofence warrants are protected by privacy rights

https://techcrunch.com/2026/06/29/in-major-privacy-win-supreme-court-rules-geofence-warrants-are-...
2•igortru•25m ago•0 comments

Architectural Patterns: Moving Beyond Cloud-Native to Local-First

https://www.infoq.com/podcasts/natural-evolution-cloud-native/
1•msolujic•25m ago•0 comments

Family of magnetic field-boosted superconductors in rhombohedral graphene

https://www.nature.com/articles/s41586-026-10815-x
4•igortru•25m ago•0 comments

Clean build time is the wrong CI metric

https://krabarena.com/battles/gradle-vs-maven-vs-bazel-for-incremental-ci-builds
2•PashaGo•26m ago•0 comments

Show HN: Privacy Friendly Age Verification System

https://private-age-estimation.vednig.workers.dev
1•vednig•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?