frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A lot could happen in space this year

https://arstechnica.com/space/2026/01/here-are-the-launches-and-landings-were-most-excited-about-...
1•rainallday•1m ago•0 comments

Golomb-Rice coding for compressing a set of hashes

https://www.johndcook.com/blog/2026/01/09/golomb-rice/
1•ibobev•2m ago•0 comments

LLM Memory Is Broken

https://philippdubach.com/posts/summarizing-conversation-history/
2•7777777phil•3m ago•0 comments

GLX: A Bash Replacement–Oriented Programming Language for System Scripting

1•danishk-sinha•3m ago•0 comments

AI gig work explainer [video]

https://www.youtube.com/watch?v=JQ5i_zkiZrw
2•RitesofThing•5m ago•0 comments

So, you want to serialize a B-Tree?

https://kerkour.com/btree-serde-sqlite
2•redcannon218•5m ago•0 comments

ICE Is What Happens When America Refuses to Learn from Black History

https://jemartisby.substack.com/p/ice-is-what-happens-when-america
3•TheUtleyPost•6m ago•0 comments

The Realities of Generative AI in Software Engineering

https://medium.com/takealot-engineering/the-realities-of-generative-ai-in-software-engineering-e1...
1•igitur•8m ago•0 comments

HEINEKEN's Digital Transformation: Why Change Management Comes First?

https://virtocommerce.com/blog/heineken-change-management
1•lizzieyo•9m ago•0 comments

Orbital Rocket Simulation

https://www.donutthejedi.com/
4•tgig•9m ago•1 comments

The 1000 Commits Problem

https://davekiss.com/blog/the-1000-commits-problem
1•foltik•10m ago•0 comments

The Value of Technological Progress

https://worksinprogress.co/issue/the-value-of-technological-progress/
1•ortegaygasset•10m ago•0 comments

Apple's John Ternus Could Be Tim Cook's Successor as CEO

https://www.nytimes.com/2026/01/08/technology/apple-ceo-tim-cook-john-ternus.html
1•tosh•11m ago•0 comments

How problematic is resampling audio from 44.1 to 48 kHz?

https://kevinboone.me/sample48.html
1•brewmarche•11m ago•0 comments

Ollee Watch one: Drop-in smart PCB for Casio F‑91W

https://www.olleewatch.com/shop/p/ollee-watch-one-kit
1•Lwrless•11m ago•0 comments

Code Review in the Age of AI

https://addyo.substack.com/p/code-review-in-the-age-of-ai
1•ostenbom•12m ago•0 comments

GLX: A New Programming Language, Replacement for Bash and Other Shell

1•danishk-sinha•14m ago•0 comments

Cloudflare: /cdn-cgi/ Endpoint

https://developers.cloudflare.com/fundamentals/reference/cdn-cgi-endpoint/
2•tosh•15m ago•0 comments

If you think you are good at math, you need to change your major out of STEM [video]

https://www.youtube.com/watch?v=7s8PfNFeKkQ
1•CGMthrowaway•18m ago•1 comments

Show HN: RCS Composer – a visual editor that outputs RBM JSON

1•lukaslukas•18m ago•0 comments

MCP CLI: Dynamic discovering and interacting with MCP servers

https://github.com/philschmid/mcp-cli
1•philschmidxxx•19m ago•1 comments

A Year of MCP: From Internal Experiment to Industry Standard

https://www.pento.ai/blog/a-year-of-mcp-2025-review
1•leopiney•20m ago•0 comments

Ash HN: Excavating Decision Archaeology

2•brihati•21m ago•0 comments

Scroll to Accept? – AI's pull-to-refresh moment

https://ideas.fin.ai/p/scroll-to-accept
1•destraynor•21m ago•0 comments

Automatic TLS Certificates for Common Lisp with pure-TLS/acme

https://atgreen.github.io/repl-yell/posts/pure-tls-acme/
1•todsacerdoti•21m ago•0 comments

You Can't Debug a System by Blaming a Person

https://humansinsystems.com/blog/you-cant-debug-a-systems-by-blaming-a-person
2•yunusozen•22m ago•0 comments

Beating the House for the Love of Math

https://advantage-player.com/blog/from-excel-to-web-blackjack-calculator
1•prolly97•22m ago•1 comments

AngelScript

https://en.wikipedia.org/wiki/AngelScript
3•flykespice•25m ago•0 comments

An alternative to code mode: serverless MCP

https://www.speakeasy.com/blog/how-we-reduced-token-usage-by-100x-dynamic-toolsets-v2
2•ndimares•26m ago•0 comments

Meta Unveils Nuclear-Power Plan to Fuel Its AI Ambitions

https://www.wsj.com/tech/ai/meta-unveils-sweeping-nuclear-power-plan-to-fuel-its-ai-ambitions-65c...
3•fortran77•27m ago•1 comments
Open in hackernews

Packed Data Support in Haskell

https://arthi-chaud.github.io/posts/packed/
77•matt_d•8mo ago

Comments

nine_k•8mo 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•8mo ago
We are always reinventing wheels. If we didn't, they'd all still be made of wood.
Zolomon•8mo ago
They mention this in the article.
spockz•8mo ago
It reminds me more of flat buffers though. Does protobuf also have zero allocation (beyond initial ingestion) and no pointer jumps?
cstrahan•8mo ago
No, one example of why being variable sized integers.

See https://protobuf.dev/programming-guides/encoding/

carterschonwald•8mo ago
One thing that sometimes gets tricky in these things is handling Sub term sharing. I wonder how they implemented it.
tlb•8mo 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•8mo 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•8mo 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•8mo ago
honestly i wish more stuff worked this way - fewer hops in memory always makes me happy
lordleft•8mo ago
This was very well written. Excellent article!
NetOpWibby•8mo ago
Is this like MessagePack for Haskell?