frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: When you code with AI, do you tell it how to manage state?

1•amelius•30s ago•0 comments

AI video in courtroom sparks major legal battle

https://www.youtube.com/watch?v=57O-FVEywj0
1•sbmthakur•1m ago•0 comments

Ford CEO Says Europe Is Lost to Chinese Electric Vehicles

https://gizmodo.com/ford-ceo-says-europe-is-lost-to-chinese-electric-vehicles-2000820582
1•bookofjoe•1m ago•0 comments

Show HN: Sumi – ink landscapes that move, with sound synthesised on the device

https://apps.apple.com/us/app/sumi-living-ink-paintings/id6795591095
1•syake03•2m ago•0 comments

AI Bots Appeared After Reddit Partnered with OpenAI

https://documentingourdecline.substack.com/p/ai-bots-appeared-after-reddit-partnered
1•suzzer99•4m ago•0 comments

Why you do so much and get so little. Read this if you feel stuck

https://twitter.com/acecreamu/status/2106424655955607972
1•acecreamu•5m ago•0 comments

Scientific Overview of Asteroid Analysis

https://www.astrophyzix.com/2026/10/september-2026-overview.html
2•JEOFFEZZ•8m ago•0 comments

BigHappyFriend Likes Humans (2025)

https://flashfictiononline.com/articles/bighappyfriend-likes-humans/
1•bucket2015•10m ago•0 comments

Show HN: ShipSlides – turn a URL into editable slides with a serverless agent

https://shipslides.dev
1•iacguy•11m ago•0 comments

Show HN: AgentMachinist: make your coding agent show its work

https://github.com/vscarpenter/AgentMachinist
1•vscarpenter•13m ago•0 comments

Pretrained Deep Learning Intent Signals for Mobile DSPs

https://bgweber.medium.com/pretrained-deep-learning-intent-signals-for-mobile-dsps-2eb1834c62db
2•bweber•15m ago•1 comments

Show HN: I made a Mac app to centralize and monitor my dev tools

https://coisland.app/
1•LeDonT•16m ago•0 comments

You.com trains on your data by default with no opt out

https://you.com/docs/administration/zero-data-retention
1•hek2sch•18m ago•0 comments

Better Call Jev

https://bettercalljev.vercel.app
3•beerglass•18m ago•0 comments

We ported the original Doom to SQL

https://cedardb.com/blog/sqldoom/
1•Alephinitesimal•19m ago•0 comments

Changes to Gemini model access and limits

https://support.google.com/gemini/answer/17004136?hl=en
3•tolugenius•20m ago•0 comments

Guillermo Rauch: "We've confirmed a KVM 0day through our Vercel bounty program"

https://twitter.com/rauchg/status/2106402024804020657
2•ronfriedhaber•21m ago•0 comments

Show HN: Terminal Gym – a Claude mod that makes you do pushups between prompts

https://github.com/DrumAndCode/terminal-gym
1•heynaitik•24m ago•0 comments

An Algorithmic Failure Beneath the Secret Ballot

https://blog.citp.princeton.edu/2026/08/03/an-algorithmic-failure-beneath-the-secret-ballot/
1•leecoursey•26m ago•0 comments

The KV Cache Is the New Memory Wall

https://jaehun.me/en/posts/paper-2609-30854v1/
2•acossta•27m ago•0 comments

The Server Side Cloud Swift SDK

https://cloud.google.com/blog/topics/developers-practitioners/introducing-the-server-side-cloud-s...
2•frizlab•28m ago•1 comments

Holocron: The Backup of Last Resort

https://smyck.net/2026/10/03/holocron-the-backup-of-last-resort/
1•ahlCVA•31m ago•0 comments

Show HN: I made a browser-based instrument out of the CHOMPI CLUB source

https://www.temeculadsp.com/nibbi/play
1•johnwheeler•35m ago•0 comments

How to Create More Than You Think

https://th3realsacha.substack.com/p/the-power-of-overthinking
1•yarapavan•35m ago•0 comments

We asked three AIs about the risks of AI. They disagreed with their makers

https://vocemundi.com/we-asked-three-ais-about-the-risks-of-ai-they-disagreed-with-their-makers-a...
1•thomaslaurent•38m ago•1 comments

13% of my website visitors block Google Analytics

https://markosaric.com/google-analytics-blocking/
2•birdculture•38m ago•1 comments

What's the Date?

https://www.lesswrong.com/posts/vzKWsEskYBEWTwpBP/what-s-the-date
1•cubefox•40m ago•0 comments

Using Theme park rides and smartphones for demonstrating Newtonian mechanics

https://iopscience.iop.org/article/10.1088/1361-6404/aea271
1•bryanrasmussen•41m ago•1 comments

Being a good CPU neighbor (2016)

https://barro.github.io/2016/02/being-a-good-cpu-neighbor/
1•bilegeek•42m ago•0 comments

Show HN: thezoomist.com – Closer to Everything

https://thezoomist.com/
1•mmdtdev•45m ago•1 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?