frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Duper – The Format That's Super

https://duper.dev.br/
16•epiceric•5h ago
An MIT-licensed human-friendly extension of JSON with quality-of-life improvements (comments, trailing commas, unquoted keys), extra types (tuples, bytes, raw strings), and semantic identifiers (think type annotations).

Built in Rust, with bindings for Python and WebAssembly, as well as syntax highlighting in VSCode. I made it for those like me who hand-edit JSONs and want a breath of fresh air.

It's at a good enough point that I felt like sharing it, but there's still plenty I wanna work on! Namely, I want to add (real) Node support, make a proper LSP with auto-formatting, and get it out there before I start thinking about stabilization.

Comments

notpushkin•3h ago
https://xkcd.com/927/
hshdhdhehd•1h ago
The X on the date time support means we need a new standard :)
ACAVJW4H•3h ago
Nice work this actually looks great. Of course, it’s only a matter of time before someone drops the XKCD about standards proliferation, so I’ll save them the trouble. Pre-emptive XKCD #927 deployed.
jitl•3h ago
I think a neat route would be to use this as an authoring plugin in VS Code, like prettier: write Duper (or JSON5, or whatever), and then downlevel it to regular json automatically when pressing cmd-s. You wouldn't get to keep your comments (or they could be transformed to { "//": "comment text" }).

Outside of that, it's tough to compete with JSON in the "human readable unschematized serialization format" market, especially targetting JavaScript:

Use in the browser requires some degree of bundle size increase, since the parser code needs to be loaded before your format can be used. WebAssembly libraries are usually quite large compared to a pure-JS implementation. According to [bundlejs](https://bundlejs.com/?q=%40duper-js%2Fwasm&treeshake=%5B*%5D), @duper-js/wasm weighs in at about 488 kB uncompressed, 159 kB gzip.

Use in any JavaScript runtime means you're competing against the runtime's native `JSON.parse` and `JSON.stringify`. In v8, these are very quick and have runtime-level tricks to go faster, for example see [v8's recent post on making JSON.stringify 2x faster](https://v8.dev/blog/json-stringify) when serializing plain objects with no funny business .toJSON methods, replacer, or indent formatting.

Besides those points, my major complaint about JSON is how expensive it is to encode binary data for transmission; in JSON I usually do base64, with your format it's transformed to escape characters that are less efficient than base64, right? \xNN is base16 with 2 extra bytes wasted on the \ and x, or \uNNNN which is base 10 with 2 extra bytes. Is there a way you can fit binary with no expensive encode/decode step into the format?

So, for me this seems suitable as a config file format: there you get good benefit from comments, identifiers, easier string authoring. Not sure I need the binary raw string thingy in config files that much, but I guess it doesn't hurt.

aappleby•59m ago
Where the ** is the grammar specification? Prose is nice, but with a BNF I could plug this into my parsing expression grammar library right quick and give it a rundown.
anilgulecha•37m ago
The object notation format that's going to win is the one that's going to maximally support LLM output. I've come across BAML before, but it's not widely used for some reason.

Today JSON is winning, but for more complex structures, there's still syntax issues in output. XML does reasonably well (given the deep react jsx/HTML in the training corpos), so perhaps that will make a comeback.

Are there benchmarks on this? I think the SOTA models are fine -- they can work with most models, but the fun is that models that are 90% of SOTA performance and cost 90% less - which output format do they work best with. This is where the winner will be found.

TLDR: probably JSON or XML will remain the config format for a while.

Show HN: Handhelds Space – A comprehensive handheld device wiki

https://handhelds.space/
1•Cassandra99•2m ago•0 comments

Meta readies $25B bond sale as soaring AI costs trigger stock sell-off

https://www.ft.com/content/120d2321-8382-4d74-ab48-f9ecb483c2a9
2•1vuio0pswjnm7•2m ago•0 comments

Notes by djb on using Fil-C (2025)

https://cr.yp.to/2025/fil-c.html
1•transpute•3m ago•0 comments

Big Tech's market dominance is becoming ever more extreme

https://www.ft.com/content/ae4d7961-cf59-4369-8e64-8a9c9da956d1
1•1vuio0pswjnm7•8m ago•0 comments

Nvidia to supply more than 260k Blackwell AI chips to South Korea

https://www.reuters.com/business/media-telecom/nvidia-supply-more-than-260000-blackwell-ai-chips-...
1•mgh2•8m ago•0 comments

Art Rats in New York City

https://www.newyorker.com/culture/the-weekend-essay/art-rats-in-new-york-city
1•petethomas•14m ago•0 comments

Yes, you should understand backprop (2016)

https://karpathy.medium.com/yes-you-should-understand-backprop-e2f06eab496b
3•swatson741•15m ago•0 comments

Linux Kernel Ported to WebAssembly – Demo Lets You Run It in Your Web Browser

https://www.phoronix.com/news/Linux-Kernel-WebAssembly
1•sroussey•19m ago•0 comments

Ball Lightning May Be All in Your Head (2010)

https://www.nationalgeographic.com/science/article/100514-science-ball-lightning-hallucinations-m...
2•r721•21m ago•0 comments

Plumbing vs. Internet, Revisited

https://gwern.net/blog/2025/plumbing-vs-internet
4•Ariarule•36m ago•0 comments

The Magnificent Seven made up 37% of the S&P 500's value in October 2025

https://www.fool.com/research/magnificent-seven-sp-500/
1•SoftTalker•37m ago•0 comments

Best AI Rank Tracking Tool

https://airankchecker.net/
1•furkanyaman•38m ago•1 comments

Netflix Announces Ten-for-One Stock Split

https://ir.netflix.net/investor-news-and-events/financial-releases/press-release-details/2025/Net...
2•mgh2•1h ago•0 comments

Show HN: DepositGenie – stop unfair deductions with photos and AI reports

https://apps.apple.com/us/app/depositgenie-deposit-armor/id6753661067
1•Zach_Dreamsmith•1h ago•0 comments

LM8560, the eternal chip from the 1980 years

https://www.tycospages.com/other-themes/lm8560-the-eternal-chip-from-the-1980-years/
6•userbinator•1h ago•0 comments

There is not such thing as AGI, natural or artificial

https://www.youtube.com/watch?v=CBmz3pFdK-4
2•wslh•1h ago•0 comments

Ghosts in the Codex Machine

https://docs.google.com/document/d/1fDJc1e0itJdh0MXMFJtkRiBcxGEFtye6Xc6Ui7eMX4o/edit?usp=drivesdk
2•dsr12•1h ago•0 comments

Louvre thieves tried to negotiate with Israeli firm to sell jewels on Darknet

https://www.ynetnews.com/article/s11q11lzjwl
2•harambae•1h ago•0 comments

You Don't Need Anubis

https://fxgn.dev/blog/anubis/
17•flexagoon•1h ago•6 comments

The importance of handwriting is becoming better understood (2023)

https://www.economist.com/culture/2023/09/14/the-importance-of-handwriting-is-becoming-better-und...
2•breve•1h ago•1 comments

Show HN: Workspace-updater – Fast update CLI for pnpm workspace catalogs

https://www.npmjs.com/package/workspace-updater?activeTab=readme#usage
1•smashah•1h ago•1 comments

Hashtable vs. A-list in Scheme, which to choose?

https://nalaginrut.com/archives/2025/11/02/hashtable_vs_alist
2•nalaginrut•1h ago•0 comments

MITRE ATT&CK v18 released

https://medium.com/mitre-attack/attack-v18-8f82d839ee9e
3•beeburrt•1h ago•0 comments

Show HN: Repo Pilot – AI that helps you find your next open-source contribution

https://repopilot.live/
1•ritvikmahajan17•1h ago•0 comments

Knowledge Insulating Vision-Language-Action Models: Train, Run Fast, Generalize [pdf]

https://www.physicalintelligence.company/download/pi05_KI.pdf
1•arunc•2h ago•0 comments

AI researchers 'embodied' an LLM into a robot, it channeled Robin Williams

https://techcrunch.com/2025/11/01/ai-researchers-embodied-an-llm-into-a-robot-and-it-started-chan...
3•danielmorozoff•2h ago•0 comments

CIA chief meets EU officials to soothe US Intel-sharing fears

https://www.politico.eu/article/cia-chief-john-ratcliffe-quietly-meets-eu-officials-to-soothe-us-...
4•JumpCrisscross•2h ago•0 comments

Polynomial rings in several variables [pdf]

https://www.ma.imperial.ac.uk/~dhelm/M3P8/notes9.pdf
2•measurablefunc•2h ago•0 comments

What is the best way to use Claude Code from my phone?

2•tripleyeti•2h ago•1 comments

Crossfire: High-performance lockless spsc/mpsc/mpmc channels for Rust

https://github.com/frostyplanet/crossfire-rs
26•0x1997•2h ago•0 comments