frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Use-media-stream 2.0.0 – React hook for getUserMedia that cleans up after itself

https://kothariji.github.io/use-media-stream/
1•kothariji•1m ago•0 comments

GrokImage – AI Visual Generator Integrating Grok, Gemini and Nano Banana

https://grokimage.ai/
1•RustyArmor•1m ago•0 comments

TriageBox – quick Gmail checker, sorting and AI summaries

https://triagebox.pfa87.cc/
1•moctey•1m ago•0 comments

The Road to MS-DOS 2.0

https://nemanjatrifunovic.substack.com/p/the-road-to-ms-dos-2
1•whobre•1m ago•0 comments

Cost-per-success, not cost-per-call: the LLM routing number nobody measures

https://nitishagar.medium.com/the-cheap-model-that-tripled-your-bill-06c5c796fa25
1•nitishagar•2m ago•0 comments

Avoiding Digital Productivity Traps

https://calnewport.com/avoiding-digital-productivity-traps/
1•Tomte•2m ago•0 comments

Has anyone built a way to measure attention during meetings?

1•CatalystPz•2m ago•0 comments

Why 'open' AI systems are closed, and why this matters (2024)

https://www.nature.com/articles/s41586-024-08141-1
1•soupspaces•6m ago•0 comments

All Your Projects Are Now Brownfield

https://psyonik.tech/posts/youre-a-glorified-cleanup-crew/
1•pSYoniK•7m ago•0 comments

Show HN: Salary raise calculator with tax and inflation estimates

https://salaryincreasecalculator.app/
1•Tim999•8m ago•0 comments

Evaluate the profanity used working with Codex and Claude Code

https://github.com/marcelpetrick/AgenticSwearJar
1•marcelpetrick•11m ago•1 comments

Mainline Closed Beta: Open-source, science-based chess training

https://github.com/kleinebossie/Mainline
1•joebos•15m ago•1 comments

First Binary Distribution of the OpenSSL Library: Windows Installer Test Release

https://github.com/openssl/openssl/discussions/32317
1•theandrewbailey•18m ago•0 comments

"I used Fable 5 to bring Command and Conquer: Red Alert 2 to iPhone and iPad"

https://xcancel.com/antibot/captcha
1•doener•21m ago•0 comments

Electric Is Joining Databricks

https://electric.ax/blog/2026/08/11/electric-joining-databricks
1•chaychoong•21m ago•0 comments

An Advanced Attacker Is Targeting Salesforce and ServiceNow

https://www.reco.ai/blog/city-forum-campaign-salesforce-servicenow
2•daretograsp•22m ago•0 comments

Facebook is paying controversial creators to produce rage-bait content

https://www.abc.net.au/news/2026-08-06/ragebait-how-facebook-is-paying-controversial-creators/106...
13•robtherobber•24m ago•3 comments

Turbo Pascal on CP/M, MSX-DOS and MS-DOS – Pascal for Small Machines

http://pascal.hansotten.com/delphi/turbo-pascal-on-cpm-msx-dos-and-ms-dos/
2•rbanffy•25m ago•0 comments

Life Lessons from Reinforcement Learning

https://www.jasonwei.net/blog/life-lessons-from-reinforcement-learning
1•harpsichord9•26m ago•0 comments

Finding Metrics That Matter

https://www.octoshark.net/p/measuring-matters
1•akexl•29m ago•0 comments

Beef and dairy drive 41% of biodiversity damage linked to global farmland

https://www.oxfordmartin.ox.ac.uk/news/beef-and-dairy-drive-41-of-biodiversity-damage-linked-to-g...
12•robtherobber•29m ago•0 comments

The Principal-Agent vs. Agents Problem

https://twitter.com/arampell/status/2087258098427982012
1•tosh•29m ago•0 comments

Why sexualisation of women by Grok's GenAI is a data privacy issue

https://www.computerweekly.com/news/366648854/Why-sexualisation-of-women-by-Groks-GenAI-is-a-data...
2•beardyw•34m ago•0 comments

Worms: The Directors Cut (Amiga) – A Playguide and Review – By Lemonamiga.com [video]

https://www.youtube.com/watch?v=Xnz0_G5GIJg
1•doener•35m ago•0 comments

Inflation Peaks – drive over India's inflation

https://timeseriesofindia.com/economy/play/inflation-peaks/
2•Karupan•35m ago•0 comments

It's time to sue Sony, join us [video]

https://www.youtube.com/watch?v=gUHyYkPnJv0
3•whosgotch•36m ago•0 comments

Discovery of 'slow' electrons in 2D material could lead to new memory device

https://phys.org/news/2026-08-discovery-electrons-2d-material-memory.html
1•frozenseven•37m ago•1 comments

Show HN: Craft (Minecraft clone) rewritten in Rust under a $120 budgeted (Grok)

https://zozo123.github.io/Craft/
1•zozo123-IB-IL2•38m ago•0 comments

AI Infrastructure Leadership Summit

https://rafay.swoogo.com/inquiry/12744303
3•kikiodazie•38m ago•1 comments

I deleted 60% of my subscribers on purpose

https://tinyfound.beehiiv.com/p/from-europe-with-love
1•alexbelyanin•39m 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?