frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

No right to relicense this project

https://github.com/chardet/chardet/issues/327
70•robin_reala•49m ago•14 comments

Nvidia PersonaPlex 7B on Apple Silicon: Full-Duplex Speech-to-Speech in Swift

https://blog.ivan.digital/nvidia-personaplex-7b-on-apple-silicon-full-duplex-speech-to-speech-in-...
60•ipotapov•1h ago•24 comments

Google Workspace CLI

https://github.com/googleworkspace/cli
559•gonzalovargas•9h ago•195 comments

Relicensing with AI-Assisted Rewrite

https://tuananh.net/2026/03/05/relicensing-with-ai-assisted-rewrite/
90•tuananh•4h ago•73 comments

Smalltalk's Browser: Unbeatable, yet Not Enough

https://blog.lorenzano.eu/smalltalks-browser-unbeatable-yet-not-enough/
23•mpweiher•1h ago•3 comments

The L in "LLM" Stands for Lying

https://acko.net/blog/the-l-in-llm-stands-for-lying/
121•LorenDB•5h ago•53 comments

The Self-Help Trap: What 20 Years of "Optimizing" Has Taught Me

https://tim.blog/2026/03/04/the-self-help-trap/
44•bonefishgrill•2h ago•35 comments

Building a new Flash

https://bill.newgrounds.com/news/post/1607118
534•TechPlasma•13h ago•154 comments

AMD will bring its “Ryzen AI” processors to standard desktop PCs for first time

https://arstechnica.com/gadgets/2026/03/amd-ryzen-ai-400-cpus-will-bring-upgraded-graphics-to-soc...
66•Bender•2d ago•48 comments

Arabic document from 17th-cent. rubbish heap confirms semi-legendary Nubian king

https://phys.org/news/2026-02-arabic-document-17th-century-rubbish.html
13•wglb•2d ago•1 comments

Relax NG is a schema language for XML (2014)

https://relaxng.org/
23•Frotag•3h ago•9 comments

Show HN: Poppy – A simple app to stay intentional with relationships

https://poppy-connection-keeper.netlify.app/
83•mahirhiro•5h ago•24 comments

You Just Reveived

https://dylan.gr/1772520728
158•djnaraps•4h ago•40 comments

Jails for NetBSD – Kernel Enforced Isolation and Native Resource Control

https://netbsd-jails.petermann-digital.de/
9•vermaden•2h ago•2 comments

Something is afoot in the land of Qwen

https://simonwillison.net/2026/Mar/4/qwen/
661•simonw•17h ago•296 comments

MacBook Neo

https://www.apple.com/newsroom/2026/03/say-hello-to-macbook-neo/
1777•dm•19h ago•2079 comments

US tech firms pledge at White House to bear costs of energy for datacenters

https://www.theguardian.com/us-news/2026/mar/04/us-tech-companies-energy-cost-pledge-white-house
69•geox•7h ago•52 comments

Dario Amodei calls OpenAI’s messaging around military deal ‘straight up lies’

https://techcrunch.com/2026/03/04/anthropic-ceo-dario-amodei-calls-openais-messaging-around-milit...
559•SilverElfin•9h ago•301 comments

BMW Group to deploy humanoid robots in production in Germany for the first time

https://www.press.bmwgroup.com/global/article/detail/T0455864EN/bmw-group-to-deploy-humanoid-robo...
127•JeanKage•12h ago•112 comments

What Python’s asyncio primitives get wrong about shared state

https://www.inngest.com/blog/no-lost-updates-python-asyncio
53•goodoldneon•6h ago•31 comments

Dulce et Decorum Est (1921)

https://www.poetryfoundation.org/poems/46560/dulce-et-decorum-est
126•bikeshaving•11h ago•70 comments

NRC issues first commercial reactor construction approval in 10 years [pdf]

https://www.nrc.gov/sites/default/files/cdn/doc-collection-news/2026/26-028.pdf
107•Anon84•11h ago•71 comments

Noem Can't Explain Why She Hired 8-Day-Old Company for Ad Campaign

https://newrepublic.com/post/207381/kristi-noem-explain-company-ad-campaign
9•TrackerFF•32m ago•1 comments

Humans 40k yrs ago developed a system of conventional signs

https://www.pnas.org/doi/10.1073/pnas.2520385123
116•bikenaga•17h ago•53 comments

Dbslice: Extract a slice of your production database to reproduce bugs

https://github.com/nabroleonx/dbslice
12•rbanffy•3d ago•0 comments

Picking Up a Zillion Pieces of Litter

https://www.sixstepstobetterhealth.com/litter.html
114•colinbartlett•3d ago•42 comments

Moss is a pixel canvas where every brush is a tiny program

https://www.moss.town/
248•smusamashah•23h ago•26 comments

Chaos and Dystopian news for the dead internet survivors

https://www.fubardaily.com
95•anonnona8878•7h ago•35 comments

“It turns out” (2010)

https://jsomers.net/blog/it-turns-out
280•Munksgaard•18h ago•88 comments

NanoGPT Slowrun: Language Modeling with Limited Data, Infinite Compute

https://qlabs.sh/slowrun
168•sdpmas•15h ago•31 comments
Open in hackernews

Relax NG is a schema language for XML (2014)

https://relaxng.org/
23•Frotag•3h ago

Comments

masklinn•1h ago
I’ve become ambivalent about relaxng, I used it a bunch because I like(d) the model, and the “Compact” syntax is really quite readable, and it’s a lot simpler than XML schemas.

However the error messages, at least when doing rng validation via libxml2, are absolutely useless, so when you have a schema error finding out why tends to be quite difficult. I also recall that trying to allow foreign schema content inside your document without validating it, but still validating your own schema, is a bit of a hassle.

jitl•1h ago
the compact non-xml syntax is neat: https://relaxng.org/compact-tutorial-20030326.html#id2814005

it reminds me of TypeScript.

As for XML itself, it seems like it was a huge buzzword fad in the late 90s/early 2000s, but it must not have lived up to the hype or we’d actually be using it today instead of JSON and Protobuf. I got to computer programming around when the web gave up on XHTML, so i’m not really sure what to make of the XML cultural moment. The vibe i get is of focus on precise data semantics for its own sake, very Cathedral, effort that didn’t end up delivering benefit to humans. What do you think?

brainwipe•1h ago
XML was much better than what was there before - which was a different standard for every endpoint and often no structure at all.

XML allowed you to use tools to build automatically. We have other better tools now but back then it was like magic. Download an XSD (the more common option to Relax NG but not superior IMO), point a pre-built tool for it and it'd build strongly typed model classes and validation checkers. Then, when you called the service, chances are it would work first time. It could also be used to write the specification too. That was unheard of before. Often the spec you'd get for service was different to what the endpoint served because keeping documentation up to date was not a priority.

XML then got a little overplayed. For example, XSL transforms allowed you to turn one XML into another and because XHTML existed you have people building entire front ends in it (not recommended). You ended up in a weird hinterland where XML wasn't just for representing structured data but it had built in functionality too. It was not the right tool for that job!

I've not needed it in a long time as I prefer lighter weight formats and I don't miss it.

Just my take, others will have their own!

riffraff•1h ago
XML as a document markup language was neat imvho.

Like, I remember working with DocBook XML[0] and it was fine. And the idea of being able to use different namespaces in a document (think MathML and SVG in XHTML) was neat too.

The problems arose from the fact that it was adopted for everything where it largely didn't make much sense. So people came to hate it because e.g. "a functional language to transform XML into other formats" is neat, but "a functional language written in XML tags" is a terrible idea"[1].

Likewise, "define a configuration in XML" seems a good idea, but "a build system based on XML plus interpolation you're supposed to edit by hand" is not great[2].

So people threw away all of the baby XML with the bathwater, only to keep reinventing the same things over and over, e.g. SOAP+WSDL became a hodgepodge of badly documented REST APIs, swagger yaml definitions and json schemas, plus the actual ad-hoc encoding.

And I mean, it's not like SOAP+WSDL actually worked well either, it was always unreliable. And even the "mix up namespaces" idea didn't work out, cause clients never really parsed more than one thing at a time, so it was pointless (with notable small exceptions). XML-RPC[3] did work, but you still needed to have the application model somewhere else anyway.

Still, JSON has seen just as much abuse as a "serialization" format which ended up abused as configuration, schema definitions, rules language... It's the circle of life.

[0] https://docbook.org/

[1] https://developer.mozilla.org/en-US/docs/Web/XML/XSLT

[2] https://ant.apache.org/manual/using.html

[3] https://en.wikipedia.org/wiki/XML-RPC

imtringued•57m ago
>And I mean, it's not like SOAP+WSDL actually worked well either, it was always unreliable.

I don't think it ever worked. See this [0]. It's pretty crazy that people build one of the most complex and verbose data exchange formats in the world and then it turns out that duplicating the open and close tag and including the parameter name and type in the attributes bought you nothing, because implementations are treating your SOAP request as an array of strings.

[0] https://snook.ca/archives/other/soap_request_pa

arethuza•38m ago
SOAP always seemed to mostly work then if something did fail it was an utter nightmare to work out what the problem was - WSDL really wasn't much fun to read.

Whereas when REST APIs came out (using JSON or XML) they were much easier to dive into at the command line with curl and work out how to get things started and diagnose problems when they inevitably came up.

riffraff•29m ago
that seems like a particularly bad implementation :) IME things worked ok 70% of the time, but I do recall big matrixes of "does client library X work with server Y" with a lot of red cells.
IshKebab•1h ago
I still think the reason XML failed is largely because it's a document markup language not an object serialisation language, and 99% of the time you really want the latter.

You don't need attributes, you probably don't need namespaces, you probably do want at least basic types.

Look at this for example: https://docs.rs/serde-xml-rs/0.8.2/serde_xml_rs/#caveats

JSON solves all of that for serialisation. The only problem with JSON is it has ended up being used for configuration, and then you really need at least comments. I wish JSON5 was as well supported as JSON is.

tannhaeuser•39m ago
The XML spec starts like this:

> The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML.

Where "generic SGML" refers to markup beyond the basic HTML vocabulary hardcoded into browsers, such as SVG and MathML. XML was specifically designed such that mere parsing doesn't require element-specific rules such as SGML-derived HTML tag omission/inference, empty elements, and attribute shortforms, by excluding these features from the XML subset of SGML. Original SGML always required a DTD schema to inform the parser about these things that HTML has to this day, and not just for legacy reasons either ie. new elements and attributes making use of these features are introduced all the time (cf. [1]).

Now XML Schema (W3C's XML schema language, and by far the most used one) isn't very beautiful, but is carefully crafted to be upwards compatible with DTDs in that it uses the same notion of automaton construction to decide admissability of content models (XSD's Unique Particle Attribution rule), rooted in SGML's zero lookahead design rationale that is also required for tag inference. Relax NG does away with this constraint, allowing a larger class of markup content models but only working with fully tagged XML markup.

XML became very popular for a while and, like JSON afterwards, was misused for all kind of things: service payloads in machine-to-machine communication, configuration files, etc., but these non-use cases shouldn't be held against its design. As a markup language, while XML makes a reasonable delivery or archival language, it's a failure as an authoring language due to its rigidity/redundancy and verbosity, as is evident by the massive use of markdown and other HTML short syntaxes supported by SGML but not XML.

[1]: https://sgmljs.sgml.net/docs/html5.html