frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Weebit Nano In-Memory Compute ReRAM Silicon Kit for AI Inference [video]

https://www.youtube.com/watch?v=Epqh1L0nOjA
1•ilaksh•28s ago•1 comments

Ask HN: What customer acquisition channel is working best for you?

1•salleisha•1m ago•0 comments

Why is Google cutting off Search from AI-free schools? Here are some theories

https://text.npr.org/nx-s1-6029408
1•kamaraju•1m ago•0 comments

Devin Apps

https://devin.ai/blog/devin-apps
1•qainsights•4m ago•0 comments

Show HN: Leetsys – Practice system design interviews with an AI interviewer

https://www.leetsys.dev
3•rbajp•5m ago•0 comments

Show HN: Agent-plan a CLI that automatically commits your agent's plans

https://github.com/ghmeier/agent-plan
1•ghmeier•6m ago•0 comments

How I run my agent fleet to build my product

https://www.stet.sh/blog/running-an-agent-fleet
2•bisonbear•7m ago•0 comments

UK Open Contracting (OCDS v1.1.5) Pipeline and Companies House Ingestion

https://github.com/s0ck3t/uk-public-procurement-api
1•jtyas•7m ago•0 comments

Show HN: BraKet - classify shell command effects in microseconds in TS or Rust

https://github.com/dirac-run/braket
1•GodelNumbering•8m ago•1 comments

I built offline GitHub (with `ogh` CLI, sync etc.) for coding with agents

https://github.com/pkarw/offline-github
1•pkarwatka•10m ago•0 comments

My own custom backup solution: backupkrake

https://rz01.org/backupkrake/
3•exitnode•15m ago•0 comments

Show HN: Cal.flare – cal.diy ported to Cloudflare Workers

https://github.com/ralphbibera/cal.flare
1•ralphbibera•16m ago•0 comments

Hugging Face Harness Leaderboard

https://joelniklaus-harness-leaderboard.hf.space/
1•JoelNiklaus•18m ago•1 comments

Show HN: Find and share essays

https://essaypod.com
1•Lithuanian•19m ago•0 comments

Show HN: Langfuse AI Gateway, open source rust gateway to trace every LLM call

https://github.com/langfuse/langfuse/tree/main/ai-gateway
2•clemo_ra•20m ago•0 comments

Show HN: Skylands – Run coding agents on any machine, approve from your phone

https://github.com/skylands-ai/skylands
1•autodidaddict•21m ago•1 comments

Jonathan Blow – If AI Solved Coding, Why Is My Software Still the Same? [video]

https://www.youtube.com/watch?v=IRK8h67ol7Q
4•helloplanets•21m ago•0 comments

Palmfrets, Minnesota guitarist's invention, strikes a new chord

https://www.echopress.com/business/minnesota-guitarists-invention-strikes-a-new-chord
2•bookofjoe•22m ago•1 comments

Roc(Language) and Joy(Framework): Productivity in Production [video]

https://www.youtube.com/watch?v=FN2VwXFcM1s
2•DASD•22m ago•0 comments

ChatGPT Wallet

https://openai.com/index/introducing-chatgpt-wallet/
2•meetpateltech•22m ago•2 comments

What would you think about Native requires and ensures clauses in Rust?

https://www.reddit.com/r/rust/s/z3A4zKBu8s
1•GenericPointer•23m ago•0 comments

Show HN: Hexalexagons, a daily word game on a hexagonal grid

https://hexalexagons.com/
3•michelleful•27m ago•2 comments

Show HN: Browser Hands – Claude in Chrome for Codex, Cursor and Any MCP Agent

https://github.com/214140846/browser-hands
1•sora2c0314•30m ago•0 comments

A long-period transient with a Sun-like companion

https://www.nature.com/articles/s41550-026-03016-z
1•mooreds•30m ago•0 comments

Nil-3B Open Source Sovereign AI

https://huggingface.co/nioncorp/nil-3b-gguf
1•ayakmarial•31m ago•1 comments

EU Digital Identity Wallet rollout: every EU state on one board

https://myid.ie/business/eu-digital-wallet-tracker/
6•mooreds•32m ago•0 comments

Ciguatoxin

https://en.wikipedia.org/wiki/Ciguatoxin
2•mooreds•32m ago•0 comments

Show HN: Harness Tuner – eval-driven tuning loop for agent tools, prompts, model

https://github.com/Kiln-AI/harness-tuner
3•scosman•35m ago•3 comments

Show HN: Rensa –a browser falling-block puzzle with chains and items

https://alpha.rensa.workers.dev/?lang=en
1•rensa000222•35m ago•0 comments

Ancient Egyptians revered dogs–can this street dog return to that former glory?

https://www.nationalgeographic.com/animals/article/ancient-egypt-street-dogs-baladis
1•thunderbong•36m 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?