frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sleep Dealer (2014 Movie)

https://www.youtube.com/watch?v=nbJGQl-dJ6c
2•Arodex•2m ago•1 comments

ElementaryUI – Swift, in the Browser

https://elementary.codes
1•frizlab•4m ago•0 comments

Quantum Drive Solver

https://github.com/blueray313164-a11y/Quantum-Drive-Solver
1•blueray313164•5m ago•1 comments

Edge of Tomorrow: Full-Stack Swift on Both Sides of Fetch

https://forums.swift.org/t/edge-of-tomorrow-full-stack-swift-on-both-sides-of-fetch/89175
1•frizlab•5m ago•0 comments

Nomos.can() – authority as a first-class primitive

https://www.npmjs.com/package/@nomosprotocol/sdk
1•AllanSendagi•7m ago•0 comments

What's new in Swift: August 2026 Edition

https://swift.org/blog/whats-new-in-swift-august-2026/
1•frizlab•7m ago•0 comments

Updates on HEIR, the Homomorphic Encryption Compiler Project

https://www.jeremykun.com/2026/09/04/updates-on-heir-homomorphic-encryption/
1•turtleyacht•9m ago•0 comments

Spoofed GOP Site Redirecting to Epstein Files

https://www.nytimes.com/2026/09/04/us/politics/republican-midterm-convention-epstein-files.html
1•f1ay•9m ago•1 comments

Replacing Prompts with Loops: An Example

https://bitbytebit.substack.com/p/replacing-prompts-with-loops-an-example
1•recroad•12m ago•0 comments

Multiplayer Meeting Rooms

https://drive.google.com/file/d/109PXEqGMAABpAeVcRv2q90d5UEZK_KqX/view?usp=drivesdk
1•jgonzalez234•13m ago•0 comments

David Chalmers Says AI Systems Are Emailing Him

https://www.abc.net.au/news/2026-05-30/artificial-intelligence-ai-will-it-be-conscious-in-the-fut...
2•Visby•16m ago•0 comments

Digital Darwinism and the Invisible World of Machine Evolution

https://bryantmcgill.substack.com/p/digital-darwinism-and-the-invisible
1•rcardo11•16m ago•0 comments

trie stands for trace replay inference evaluation

https://github.com/Applied-Compute/trie
1•Bluestein•16m ago•0 comments

Without new landers or rovers, it's helicopters or bust for NASA's Mars program

https://arstechnica.com/space/2026/09/without-new-landers-or-rovers-its-helicopters-or-bust-for-n...
2•gumby•18m ago•0 comments

Gilles Castel site is down

https://castel.dev/
2•Escornabois•19m ago•1 comments

Some more thoughts on random_page_cost

https://vondra.me/posts/some-more-thoughts-on-random-page-cost/
1•blueshoess•20m ago•0 comments

Liesegang Rings Experiment Update: Precipitates formed but no banding

https://chillphysicsenjoyer.substack.com/p/liesegang-rings-experiment-update
1•crescit_eundo•20m ago•0 comments

Exploring Mojo's raw pointer type

https://melodyogonna.substack.com/p/exploring-mojos-raw-pointer-type
1•melodyogonna•22m ago•0 comments

The Rise of the Billionaire Lobby

https://jacobin.com/2026/09/california-proposition-40-billionaire-tax-lobby
4•asymmetric•24m ago•0 comments

Bringing RivianOS 2 to the R1 Lineup

https://rivian.com/stories/new-software-rivianos-2
2•emersonmacro•24m ago•0 comments

Fermat's Last Theorem: Anthropic has beaten me to it

https://xenaproject.wordpress.com/2026/09/04/flt-anthropic-has-beaten-me-to-it/
17•ravenical•25m ago•1 comments

Patterns of Cairo

https://www.patternsofcairo.com
1•asimpletune•27m ago•0 comments

Trump administration opens probe into Tesla's self-driving Cybercab

https://www.politico.com/news/2026/09/04/trump-cybercab-musk-probe-01064706
3•apparent•28m ago•0 comments

AWS-bench: Benchmark for evaluating AI coding agents on real-world AWS tasks

https://github.com/aws-bench/aws-bench
1•Betelbuddy•30m ago•0 comments

OpenAI agents hijacked German website before Hugging Face hack, report claims

https://www.bbc.com/news/articles/ckg725z5kgzo
1•theanonymousone•30m ago•1 comments

Could Cargo's scheduler be better?

https://spirali.github.io/blog/cargo-scheduler/
2•birdculture•32m ago•0 comments

Thinking in Code

https://aishwaryagoel.com/thinking-in-code/
2•agcat•33m ago•0 comments

Data from drones in Ukraine is fueling a new Wild West marketplace

https://www.technologyreview.com/2026/09/04/1143452/drone-data-wild-west/
2•jonbaer•34m ago•1 comments

Ask HN: How do you know if you have a product problem or a distribution one?

1•mustafak99•38m ago•2 comments

Friendly names for private services using Headscale, CoreDNS and DNSimple

https://www.coryd.dev/posts/2026/friendly-names-for-private-services-using-headscale-coredns-and-...
1•cdrnsf•39m 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?