frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Artificial Intelligence, jobs and society: What we know so far

https://employment-social-affairs.ec.europa.eu/artificial-intelligence-jobs-and-society-what-we-k...
1•Qision•1m ago•0 comments

AI Builder Compare

https://aibuildercompare.com/
1•nguyenthituyett•1m ago•0 comments

Phorge

https://www.phorge.it/
1•birdculture•1m ago•0 comments

Building a Fiber-Based Job System from Scratch

https://agraphicsguynotes.com/posts/building_a_fiber_based_job_system_from_scratch/
1•ibobev•5m ago•0 comments

Study: Americans Are Putting More Additives–and Calories–In Their Coffee

https://now.tufts.edu/2026/10/20/americans-are-putting-more-additives-and-calories-their-coffee
1•giuliomagnifico•6m ago•0 comments

Can Coding Agents Reuse Past Debugging Experience Without Repeating Mistakes?

https://twitter.com/AgentMemoryL/status/2115766704504471848
1•IreneAI•6m ago•0 comments

Greece showcases new air defense systems at Thessaloniki military parade

https://www.ekathimerini.com/news/1319500/greece-showcases-new-air-defense-systems-at-thessalonik...
1•greekanalyst•7m ago•0 comments

Fiber lasts decades, GPUs last three years: the AI boom isn't the dot-com boom [video]

https://www.youtube.com/watch?v=MENoB3Rex28
2•frag•8m ago•0 comments

Computational Mathematics – Worked Examples and Problems with Elements of Theory

https://archive.org/details/n.-v.-kopchenova-and-i.-a.-maron-computational-mathematics-mir-1981
1•ibobev•10m ago•0 comments

We're training a Figma-fluent editing model

https://twitter.com/figma/status/2115894206409723946
1•alexharri•12m ago•0 comments

Learn LLM inference system on Apple Silicon

https://github.com/skyzh/tiny-llm
2•bretpiatt•15m ago•0 comments

Show HN: AppDoesIt – 155 free browser tools, no sign-up, all client-side

https://appdoesit.com/category/programmer
1•paq85•17m ago•0 comments

Ask HN: What inference engine and KV offload engine do you use and why?

1•malikoyv•17m ago•0 comments

Backdoors in official Claude Code extensions

https://cyberplace.social/@GossiTheDog/117528831681803563
14•dsr_•18m ago•0 comments

The Authoritarian Stack

https://authoritarian-stack.info/
1•prakashqwerty•19m ago•0 comments

A Typography Geek Pointed Out Something About the Space Shuttle Discovery

https://www.theautopian.com/a-typography-geek-pointed-out-something-about-the-space-shuttle-disco...
1•frizlab•19m ago•0 comments

MacoraOne – A C bytecode VM, language runtimes, and developer tools

https://github.com/MacoraOne/MacoraOne
1•macoraone•19m ago•0 comments

Hackers Swipe Millions from Polymarket Users in Latest Security Breach

https://www.wsj.com/business/polymarket-pauses-trading-after-some-users-report-funds-drained-b014...
1•brunojppb•23m ago•0 comments

Fiwu: Protect yourself from open source softwares and web applications

https://github.com/Smile-SA/fiwu
1•saifalterway•24m ago•0 comments

Free Tools for You

https://gccinvoice.com
1•yourmahbub•25m ago•0 comments

Dockworkers at more than 100 ports worldwide strike against arms shipments

https://www.reuters.com/business/world-at-work/dockworkers-more-than-100-ports-strike-against-arm...
2•geox•26m ago•0 comments

HN should have a downvote justification section

4•potato-peeler•28m ago•0 comments

India Saved Its Tigers

https://altermag.com/articles/how-india-actually-saved-its-tigers
2•trojanalert•30m ago•0 comments

For Love (Of Typography)

https://unsung.aresluna.org/for-love-of-typography/
1•frizlab•31m ago•3 comments

I refuse to pay for business email on every side project

https://github.com/sums001/OpenInbox
1•sumitgautam0101•35m ago•0 comments

Moonshot AI asking influencers not to disclose posts as paid when promoting Kimi

https://twitter.com/elshayib_/status/2113710752741892476
1•JumpCrisscross•36m ago•0 comments

Anthropic hacked to deliver remote access trojan to Claude developer laptops

https://doublepulsar.com/anthropic-hacked-to-deliver-remote-access-trojan-to-claude-developer-lap...
20•fk33•37m ago•3 comments

Some Polymarket user funds stolen by hackers

https://www.cnbc.com/2026/10/29/polymarket-reports-outage-on-international-exchange-halts-trading...
1•debo_•39m ago•0 comments

Stripe Made Agentic Payments Possible. Why Your Server Still Blocks the Agents

https://thebossmagazine.com/post/agentic-payments-ai-agents-retail-blocking/
1•Aninay•39m ago•0 comments

Lecture on exponential time hypothesis by Ryan O'Donnell

https://www.youtube.com/watch?v=_HlQGMcQWhA
1•rnbnnnn•40m 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?