frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Xi pushes 'Greater BRICS' economic ties to give bloc larger global role

https://www.reuters.com/business/aerospace-defense/xi-pushes-greater-brics-economic-ties-give-blo...
1•_djo_•6m ago•0 comments

Memorable moments in Chromecast's history (2024)

https://blog.google/products-and-platforms/devices/google-nest/chromecast-history/
1•gregsadetsky•8m ago•0 comments

Apple's Dimensional Drawings

https://developer.apple.com/accessories/dimensional-drawings/
2•herbertl•8m ago•0 comments

AI Boom / Bust – Boom Boom Pow

1•wwolfson97•11m ago•0 comments

"Chilling" warning or overreaction? AI bioweapons report divides experts

https://www.science.org/content/article/chilling-warning-or-overreaction-ai-bioweapons-report-div...
2•sbulaev•12m ago•0 comments

Free Domain Monitoring through echelongraph.io

1•akd29121988•16m ago•0 comments

Trump Throws His Support Behind Flock Cameras: 'I Like Them'

https://www.mediaite.com/politics/trump-throws-his-support-behind-flock-cameras-i-like-them/
2•valeg•19m ago•0 comments

The biggest dinosaurs couldn't sit on their eggs

https://www.cbc.ca/news/science/titanosaur-eggs-9.7336841
2•BiraIgnacio•19m ago•0 comments

OpenAI and Anthropic Hit the Brakes

https://www.axios.com/2026/09/13/ai-labs-regulation-safety
2•kooi•21m ago•1 comments

AI Coding Dictionary

https://www.aihero.dev/ai-coding-dictionary
1•dnw•23m ago•0 comments

The Coming War on General Computation (2011)

https://en.wikisource.org/wiki/The_Coming_War_on_General_Computation
7•gregsadetsky•24m ago•0 comments

X.com busts Chinese bot farm, incl accounts making claims about AI data centers

https://www.tomshardware.com/tech-industry/policy/x-busts-200-000-strong-chinese-bot-farm-includi...
1•throwaway2037•25m ago•0 comments

Carterfone

https://en.wikipedia.org/wiki/Carterfone
3•gregsadetsky•27m ago•0 comments

Show HN: Spikeforge

https://spikeforge.net/
1•a0174•29m ago•0 comments

Can an R/C Car Hit 100k Scale Miles? Self Driving Edition

https://www.youtube.com/watch?v=LjQ59b9OKyg
1•jdalgetty•30m ago•0 comments

Robots protest rampant AI in Poland

https://techxplore.com/news/2026-09-robots-protest-rampant-ai-poland.html
1•jareklupinski•33m ago•0 comments

Math in the Movies – Sneakers (1998)

https://theworld.com/~reinhold/math/sneakers.adleman.html
1•walterbell•34m ago•0 comments

How the Eminem Show Made Me a Hip-Hop Fan

https://medium.com/theentertainmentbreakdown/how-the-eminem-show-made-me-a-hip-hop-fan-5e9a7e1838e7
1•raynchad•34m ago•0 comments

Why Society Tears Down Its Heroes

https://medium.com/theentertainmentbreakdown/on-the-demolition-of-heroes-aec8912d8c11
2•raynchad•34m ago•2 comments

Recursive Synthetic Improvement

https://twitter.com/zafstojano/status/2097689256961466486
1•gmays•37m ago•0 comments

Agent security starts before the first prompt

https://fewshotacademy.com/blog/secure-the-tools-around-your-agent
1•mangatgoyal•37m ago•0 comments

Mental time travel and the evolution of the human mind

https://pubmed.ncbi.nlm.nih.gov/9204544/
1•andsoitis•39m ago•0 comments

X nuked my premium account out of nowhere

1•proc0•39m ago•2 comments

Ask HN: How is AI actively a threat to humanity if it's only online?

3•CM30•42m ago•4 comments

Mental Time Travel

https://royalsocietypublishing.org/rstb/article/379/1913/20230406/109563/Measuring-episodic-memor...
1•andsoitis•43m ago•0 comments

Former CIA official found with $40M in gold bars reaches tentative plea deal

https://apnews.com/article/gold-bars-cia-official-virginia-7be1def515c9aa99326eab39cd8ff589
1•Jimmc414•45m ago•1 comments

I think Effect-TS is a strong fit for AI agent development

https://effect.website/
1•anshsingh020404•46m ago•0 comments

Dynamics in Mesoscopic Systems

https://www.ds.mpg.de/meso/en
1•andsoitis•47m ago•0 comments

Ask ChatGPT or Gemini the same "best X" twice, ~1/3 of the answer changes

https://github.com/jjoseph18/ai-recommendation-consistency
1•EpsilonJ•48m ago•1 comments

Show HN: <15MB Local-first Interactive LaTeX Scratchpad in the Browser

https://telox.dev/app/scratchpad/
1•eigenblake•49m 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?