frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I vibe coded a programming language, but I'd rather learn C the old way

1•alonsovm44•1m ago•0 comments

Some Basic LLM Etiquette

https://steenbok.space/blog/ai-etiquette/
1•sporkl_l•2m ago•0 comments

How AI Became More Expensive Than the Workers It Replaced [video]

https://www.youtube.com/watch?v=cfaZZPjA3g0
1•Bender•3m ago•0 comments

The Safari MCP server for web developers

https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/
1•coloneltcb•4m ago•0 comments

Ask HN: Best Local LLM Setup for a 128GB M4 Max Mac Studio?

1•linzhangrun•5m ago•0 comments

Seeing and Being Seen

https://www.sambish.com/essays/seeing/
2•sambishop•5m ago•0 comments

Honorary Police

https://en.wikipedia.org/wiki/Honorary_Police
1•petethomas•7m ago•0 comments

What we learned when a user tried to load a 1 GB GML file in a browser

https://geodataviewer.com/blog/why-vector-tiles-for-large-gis-datasets/
2•twainyoung•14m ago•0 comments

The V Programming Language: A Revolutionary Approach to Modern Development

https://www.msn.com/en-us/news/technology/the-v-programming-language-a-revolutionary-approach-to-...
1•baranul•16m ago•0 comments

Open Source LLM Statistics and Trends (2026)

https://openllmstack.com/blog/open-source-llm-statistics/
1•sherlockxu•17m ago•0 comments

Microsoft's 90s Weapon That Made Windows Fast [video]

https://www.youtube.com/watch?v=jH0BYAkPj78
1•csense•20m ago•1 comments

Is tech ruining the World Cup?

https://www.bbc.com/audio/play/m002yq16
3•1vuio0pswjnm7•20m ago•0 comments

Epistemic Heat Death and the Signal-to-Noise Ratio of the Global Web

https://github.com/psyll/Epistemic-Heat-Death-and-the-Signal-to-Noise-Ratio-of-the-Global-Web
2•lioeters•21m ago•0 comments

Tesla's Electric Semi Has Its First Fatal Crash

https://www.forbes.com/sites/alanohnsman/2026/07/01/teslas-electric-semi-has-its-first-fatal-crash/
3•cdrnsf•22m ago•1 comments

Creating Joy in the User Experience

https://daveon.design/creating-joy-in-the-user-experience.html
2•thunderbong•23m ago•0 comments

TurboQuant can reduce vector index size by 10x at 100M Row Scale

https://github.com/pgvector/pgvector/pull/989
1•mxfeinberg•24m ago•0 comments

Google must pay record €4.1B (£3.5B) fine over antitrust issues

https://news.sky.com/story/google-must-pay-record-4-1bn-fine-over-antitrust-issues-13559819
2•geoffbp•29m ago•0 comments

North Korea patents soybean-based chocolate to bypass cocoa and sanctions

https://biz.chosun.com/en/en-society/2026/06/22/KBDUJI6IFJAIJODLXUAHV5IH3I/
3•mushstory•31m ago•0 comments

Giving admins more visibility and control over Claude spend

https://claude.com/blog/giving-admins-more-visibility-and-control-over-claude-usage-and-spend
2•geoffbp•35m ago•0 comments

Show HN: PriceProbe – zero-dependency competitor price tracker in Python

https://github.com/willylam2222-bot/priceprobe
1•l2602591158•35m ago•0 comments

Why build quantum computers if you can simulate them?

https://medium.com/@jkim_tran/why-build-quantum-computers-if-you-can-simulate-them-8fa87577b35f
1•jennifer-trin•38m ago•0 comments

CarPlay Is Additive

https://www.caseyliss.com/2026/7/2/carplay-is-additive-you-dolts
20•sprawl_•39m ago•13 comments

Show HN: Drop Flap Boards for All

https://dropflapboard.com
1•PaybackTony•40m ago•0 comments

Ease Comes After

https://easel.games/blog/2026-june-update
2•BSTRhino•50m ago•2 comments

The World's Top Economists Are Sounding the Alarm on AI

https://www.wsj.com/tech/ai/the-worlds-top-economists-are-sounding-the-alarm-on-ai-d99055b6
2•1vuio0pswjnm7•51m ago•2 comments

We should reduce the amount of generated information

https://www.bponnaluri.com/why-we-should-reduce-the-amount-of-generated-information/
2•gulugawa•54m ago•0 comments

LawZero: Safety from Honesty in a Disinterested AI Predictor

https://arxiv.org/abs/2606.29657
2•KingKunta•59m ago•0 comments

Peter Thiel in Aspen: The pope is 'working for the Chinese Communists'

https://www.cnn.com/2026/07/02/us/peter-thiel-aspen-pope-china-ai-cec
10•bhouston•59m ago•7 comments

In Defense of AI Mandates

https://charitydotwtf.substack.com/p/in-defense-of-ai-mandates
2•cyndunlop•1h ago•0 comments

What is agentic AI today, and what do we want it to be?

https://news.mit.edu/2026/agentic-ai-and-what-do-we-want-it-be-0630
2•sudo_cowsay•1h 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?