frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Built an AI powered image editor for IntelliJ

https://plugins.jetbrains.com/plugin/29778-imageedit-pro
1•erikpau•1m ago•0 comments

Evolving Instruction Following Beyond IFEval and "Avoid the Letter C"

https://surgehq.ai/blog/advancedif-and-the-evolution-of-instruction-following-benchmarks
1•gk1•2m ago•0 comments

Creating an HTML "spoilers" element with no JavaScript (2024)

https://www.wavebeem.com/blog/2024/spoilers-element-no-js/
1•todsacerdoti•4m ago•0 comments

Installing Gnome on OpenBSD 7.8

https://btxx.org/posts/openbsd-gnome/
2•ogogmad•5m ago•0 comments

AerynOS's new AI/LLM policy

https://hachyderm.io/@AerynOS/115950356703969231
1•pedromoss•8m ago•0 comments

Show HN: repro.fyi – a guide on making minimal repros

https://repro.fyi
1•stevekrouse•9m ago•0 comments

I Put a LASER WELDER on my 3D Printer (And it worked) [video]

https://www.youtube.com/watch?v=dG639pDfDKw
1•beeflet•9m ago•0 comments

Why Rust won't make your embedding model inference fast

https://filipmakraduli.substack.com/p/what-actually-makes-embedding-model
1•fm1320•9m ago•0 comments

Fortinet admits FortiGate SSO bug still exploitable despite December patch

https://www.theregister.com/2026/01/23/fortinet_fortigate_patch/
2•Bender•12m ago•1 comments

Hacker taps Raspberry Pi to turn Wi-Fi signals into wall art

https://www.theregister.com/2026/01/23/raspberry_pi_wifi_wall_art/
1•Bender•13m ago•0 comments

The GNU C Library version 2.43 released

https://sourceware.org/pipermail/libc-alpha/2026-January/174374.html
2•edelsohn•13m ago•0 comments

ShinyHunters claims Okta customer breaches, leaks data belonging to 3 orgs

https://www.theregister.com/2026/01/23/shinyhunters_claims_okta_customer_breaches/
1•Bender•13m ago•0 comments

FileVault on macOS Tahoe Uses iCloud Keychain to Store Its Recovery Key

https://sixcolors.com/post/2025/09/filevault-on-macos-tahoe-no-longer-uses-icloud-to-store-its-re...
2•Noaidi•16m ago•0 comments

Energy Shares Outperform Early in the Year as Shale Drilling Pulls Back

https://oilprice.com/Energy/Energy-General/Energy-Shares-Outperform-Early-In-The-Year-As-Shale-Dr...
1•PaulHoule•16m ago•0 comments

Claude Code's new hidden feature: Swarms

https://twitter.com/NicerInPerson/status/2014989679796347375
2•AffableSpatula•18m ago•0 comments

Show HN: Ask your repos what shipped in plain English

1•inferno22•19m ago•1 comments

Nvidia Presents the First AI Framework 100% Generated by AI [pdf]

https://github.com/NVlabs/vibetensor/blob/main/docs/vibetensor-paper.pdf
1•jiangcore•20m ago•0 comments

In Praise of Artificial Learning

https://carlhendrick.substack.com/p/in-praise-of-artificial-learning
2•RickJWagner•20m ago•0 comments

Vivace-graph-v3: CL graph database and Prolog implementation

https://github.com/kraison/vivace-graph-v3
1•todsacerdoti•20m ago•0 comments

U.S. Automakers' Foreign Troubles Now Extend to Canada

https://www.nytimes.com/2026/01/24/business/general-motors-ford-canada-china.html
1•ripe•21m ago•0 comments

Ask HN: May an Agent accepts a license to produce a build?

7•athrowaway3z•22m ago•3 comments

Why autosave is not recovery

https://zippers.dev/blog/why-savior-exists
1•Pepp38•22m ago•1 comments

The Hubble Telescope – Optical Systems Failure Report (1990) [pdf]

http://www.company7.com/c7news/19910003124_1991003124.pdf
1•QuadmasterXLII•24m ago•0 comments

Trump Administration Pushes Out Key Officials Focused on China Tech Threat

https://www.wsj.com/politics/national-security/trump-administration-pushes-out-key-officials-focu...
1•srameshc•25m ago•0 comments

How AI Is Learning to Think in Secret

https://www.lesswrong.com/posts/gpyqWzWYADWmLYLeX/how-ai-is-learning-to-think-in-secret
2•mannykannot•26m ago•1 comments

Speculative frenzy catapults silver above $100/oz

https://www.reuters.com/world/india/gold-silver-platinum-extend-recordsetting-rally-2026-01-23/
1•geox•29m ago•1 comments

The Slow Singularity

https://mbideepdives.substack.com/p/the-slow-singularity
1•RickJWagner•30m ago•0 comments

Skills Are Replacing Commands, Rules, and Subagents

https://kasperjunge.com/blog/skills-replacing-commands-rules-subagents/
1•juunge•31m ago•0 comments

AI's Phase Transition Noise

1•dpforesi•31m ago•3 comments

Reactive jQuery for Spaghetti-Fied Legacy Codebases

https://css-tricks.com/reactive-jquery-for-spaghetti-fied-legacy-codebases-or-when-you-cant-have-...
1•thunderbong•32m ago•0 comments
Open in hackernews

XHTML Club

https://xhtml.club/
33•bradley_taunt•1h ago

Comments

jraph•1h ago
In the linked article:

> you should master the HTML programming¹ language

The footnote reads:

> 1. This is a common debate - but for simplicity sake I'm just calling it this.

It's not really a debate, HTML is a markup language [1], not a programming language: you annotate a document with its structure and its formatting. You are not really programming when you write HTML (the markup is not procedural) (and this is not gatekeeping, there's nothing wrong about this and doesn't make HTML a lesser language).

To avoid the issue completely, you can phrase this as: "you should master HTML" and remove the footnote. Simple, clean, concise, clear. By the way, ML already means "Markup Language", so any "HTML .* language" phrasing can feel a bit off.

[1] https://en.wikipedia.org/wiki/Markup_language

embedding-shape•1h ago
I dunno, you're being pedantic :) Yes yes, the name clearly ends up "Markup Language" so yeah, with a very strict definition of programming languages, HTML is not one of them.

But if we use a broader definition, basically "a formal language that specifies behavior a machine must execute", then HTML is indeed a programming language.

HTML is not only about annotating documents or formatting, it can do things you expect from a "normal" programming language too, for example, you can do constraints validation:

    <input name="token" required pattern="[A-Z]{3}-\d{4}" title="Must match ABC-1234 (3 uppercase letters, hyphen, 4 digits)" placeholder="ABC-1234">
That's neither annotating, just a "document" or just formatting. Another example is using <details> + <summary> and you have users mutating state that reveals different branches in the page, all just using HTML and nothing else.

In the end, I agree with you, HTML ultimately is a markup language, but it's deceiving, because it does more than just markup.

jraph•58m ago
> I dunno, you're being pedantic :)

It might be, I'm usually not, but this is all xhtml.club and this footnote are about, might as well be correct :-)

Constraint validation is still descriptive (what is allowed)

All details and summary are doing is conveying information on what's a summary and what's the complete story, and it has this hidden / shown behavior.

In any case, you will probably find something procedural / programming like in HTML, but it's not the core idea of the language, and if you are explaining what HTML is to a newbie, I feel like you should focus to the essential. Then we can discuss the corners between more experienced people.

In the end, all I'm saying is: you can just avoid issues and just say "HTML" without further qualifying it.

throwaway150•44m ago
I'm not sure we can call your parent comment pedantic. They're just being correct. Is it pedantic to say that fish is not a fruit? It's just correct to do so.

If anything, it is the act of stretching the definition of "programming language" so much that it includes HTML as a programming language that we should call pedantic.

radicalethics•49m ago
What happens if I simply add an iterator mechanism to HTML (well, I guess we need variables too)? Is it no longer a markup language here (I won't add anything else):

<for i=0; i<1; i++> <html> </html> </for>

Better question, why don't we upgrade XML to do that?

jraph•46m ago
That's not technically HTML anymore.

But if you disagree with this, or somehow work around this statement by replacing your for element with some "for-loop" custom element (it is valid HTML to add custom tags with dashes in their names), my stronger argument is at https://news.ycombinator.com/item?id=46743219#46743554

direwolf20•3m ago
That's basically the design of PHP with different syntax. <?for($i=0;$i<1;$i++){?> <html></html> <?}?>

Nobody uses PHP this way any more though — people treat it like Python or Node and write the entire codebase inside a big <? block

JSP is similar with different syntax again — nobody uses JSP either

falcor84•48m ago
I think that it is a debate, and it depends on the role of HTML in your system.

If all you're doing is using HTML to "annotate a document with its structure and its formatting", then yes, I'll accept that it's not quite programming, but I've not seen this approach of starting with a plain non-html document and marking it up by hand done in probably over two decades. I do still occasionally see it done for marking up blog posts or documentation into markdown and then generating html from it, but even that's a minuscule part of what HTML is used for these days.

Your mileage my vary, but what I and people around me typically do is work on hundreds/thousands of loosely coupled small snippets of HTML used within e.g. React JSX, or Django/Jinja templates or htmx endpoints, in order to dynamically control data and state in a large program. In this sense, while the html itself doesn't have control flow, it is an integral part of control flow in the larger system, and it's extremely likely that I'll break something in the functionality if I carelessly change an element's type or attribute value. In this sense, I'm not putting on a different hat when I'm working on the html, but just working on a different part of the program.

jraph•43m ago
> React JSX, or Django/Jinja templates

Those are not HTML. PHP neither, even when used as a templating language for HTML.

> htmx endpoints

Not really familiar with htmx, but I would say this is HTML augmented with some additional mechanisms. I don't know how I would describe this augmented HTML, but I'm not applying my "not programming" statement to htmx (I probably could, but I haven't given enough thoughts to do it).

> In this sense, I'm not putting on a different hat when I'm working on the html, but just working on a different part of the program.

I agree with this actually. I wouldn't consider that writing HTML (or CSS) is really a separate activity when I'm building some web app.

throwaway150•35m ago
> In this sense, while the html itself doesn't have control flow, it is an integral part of control flow in the larger system

That's correct but I don't see what it has got to do with the question of whether HTML is a programming language or not.

Strings do not have control flow but strings are integral part of larger programs that have control flow. So what? That doesn't make strings any closer to being programming languages.

nathell•1h ago
It’s ironic that the very site in question, despite claiming XHTML compliance, is served as text/html instead of application/xhtml+xml, so the browser will never parse it as XML.

To quote [0]:

> All those “Valid XHTML 1.0!” links on the web are really saying “Invalid HTML 4.01!”.

Although the article is 20 years old now, so these days it’s actually HTML5.

Edit: Checked the other member sites. Only two are served as application/xhtml+xml.

[0]: https://webkit.org/blog/68/understanding-html-xml-and-xhtml/

jraph•56m ago
And this makes the XML prolog invalid, because it's invalid to have it in HTML.

Not having it is XHTML compliant though, so it could just be removed.

assimpleaspossi•45m ago
>>these days it’s actually HTML5.

There is no HTML5. It's just a buzzword. https://html.spec.whatwg.org/dev/introduction.html#is-this-h...?

jraph•38m ago
That's a stretch. Your link says

> Is this HTML5?

> In short: Yes.

See also [1].

That HTML5 was used in marketing doesn't make the technical term disappear. HTML5 is a bit more precise than HTML, it refers to the living standard that's currently in use, as opposed to HTML 4.01 and the previous versions of HTML.

[1] https://en.wikipedia.org/wiki/HTML5

assimpleaspossi•17m ago
It's not a technical term. Nowhere in the current HTML standard will you find a versioning of HTML. That's why it's now called a "living standard". You will never find a HTML6 or higher. That note you found is to help with any confusion.
jraph•8m ago
> You will never find a HTML6 or higher

You might be right, but we don't know yet. Microsoft said that for Windows 10.

You might also be right that the current Living Standard specification doesn't really call it HTML5, but you'll find many people writing HTML for a living say HTML5 to refer to it, and telling them that HTML5 doesn't exist doesn't really help and is a bit wrong too if you have a descriptive approach to languages.

kevincox•54m ago
I would really like to use XHTML. It would make my HTML emitter much simpler (as I don't need special rules for elements that are self-closing, have special closing or escaping rules and whatever else) and more secure.

However no browsers have implemented streaming XHTML parsers. This means that the performance is notably worse for XHTML and if you rely on streaming responses (I currently do for a few pages like bulk imports) it won't work.

jraph•50m ago
> no browsers have implemented streaming XHTML parsers

Dang, I hadn't considered this. That's something to add to the "simplest HTML omitting noisy tags like body and head vs going full XHTML" debate I have with myself.

One for XHTML: I like that the parser catches errors, it often prevent subtle issues.

reconnecting•47m ago
Valid HTML 4.01 (1) made in 2025 counts?

I don’t thing it’s about luddites as website mentioned. Many professions have tools suggesting that person have extensive experience and in terms of web development, XHTML or old standards of HTML are such.

1. https://www.tirreno.com

throwaway150•43m ago
It does not? HTML 4.01 is not XML. So not XHTML. What's the confusion?
reconnecting•35m ago
Both technologies are from the same period and share same validation culture from W3.
jraph•20m ago
> Both technologies are from the same period

Not really, XHTML is as current as HTML 5.

XHTML 1.0 is older and is indeed (more or less?) the XML variant of HTML 4.01.

reconnecting•9m ago
How so? HTML 4.01 is from 1999, XHTML 1.0 from 2000.

XHTML club mentioned valid XHTML 1.0 Strict (or Transitional), not general XHTML.

jraph•26m ago
The XML part of XHTML is an important feature which HTML 4.01 doesn't have tough.

Writing valid HTML should be a bare minimum (I know it isn't!).

reconnecting•21m ago
It is not “your HTML”, it’s HTML 4.01 from 1999, when XHTML 1.0 is from 2000. The common is the origins of validations that comes from W3 validator (1).

Same badges, same limits.

1. https://validator.w3.org/

jraph•18m ago
Sorry, I edited my reply in the meantime and I probably broke your citation.

but what you are describing is XHTML 1.0, not XHTML in general.

HTML5 has its XHTML variant too, sometimes called XHTML 5.

reconnecting•9m ago
Valid XHTML 1.0 Strict (or Transitional) is requirements of XHTML club, thus my comparison with HTML 4.01
jraph•4m ago
> Valid XHTML 1.0 Strict (or Transitional) is requirements of XHTML club

Where do you see this?

I see that they do use XHTML 1.0 Strict but I don't see this requirement written.

Brad, we need your clarification here, it's critical, we need you to tell us which one of us is wrong! :-)

hannob•45m ago
I used to create a number of simple web pages in XHTML back in the days when we believed XHTML was the future. Recently, while going through and restructuring some of my old "online stuff", I learned that XHTML really isn't in a state that I'd want to use it any more:

* XHTML 1.0 and 1.1 are officially deprecated by the W3C.

* XHTML5 exists as a variant of HTML5. However, it's very clear that it's absolutely not a priority for the HTML5 working groups, and there's a statement that future features will not necessarily be supported by the XHTML5 variant.

* XHTML5 does not have a DTD, so one of the main advantages of XHTML - that you can validate its correctness with pure XML functionality - isn't there.

* If you do a 'view source' in Firefox on a completely valid XHTML 1.0/1.1 page, it'll redline the XML declaration like it's something wrong. Not sure if this is intended or possibly even a bug, but it certainly gives me a 'browser tells me this is not supposed to be there' feeling.

It pretty much seems to me XHTML has been abandoned by the web community. My personal conclusion has been that whenever I touch any of my old online things still written in XHTML, I'll convert them to HTML5.

al_borland•42m ago
I was in college when XHTML was all the rage and everything we wrote had to pass validation. I still get uncomfortable adding breaks without closing them.
GavinAnderegg•42m ago
In the early 2000s I was 100% sold on the idea of strict XHTML documents and the semantic web. I loved the idea that all web pages could be XML documents which easily provided their data for other sources. If you marked your document with, an XHTML 1.0 Strict or XHTML 1.1 doctype, a web browser was supposed to show an error if the page contained an XML error. Problem was, it was a bit of a pain to get this right, so effectively no one cared about making compliant XHTML. It was a nice idea, but it didn't interact well with the real world.

Decades later, I'm still mildly annoyed when I see self-closing tags in HTML. They're no longer required and they remind me of the strict XHTML dream.

EDIT: I just checked, and my site (at least the index page) still validates! https://validator.nu/?showsource=yes&doc=https%3A%2F%2Fander...

jraph•16m ago
> I'm still mildly annoyed when I see self-closing tags in HTML

Why? That's (mildly) bad for your health.

direwolf20•6m ago
You're annoyed when people are trying to keep the dream alive?

Since HTML5 specifies how to handle all parse errors, and the handling of an XML self-closing tag is to ignore it unless it's part of an unquoted attribute value, it's valid HTML5.

strogonoff•4m ago
As someone who has gotten into the idea of semantic Web long after XHTML was all the rage[0], I somewhat resent that semantic Web and XML are so often lumped together[1]. After all, XML is just one serialisation mechanism for linked data.

[0] I don’t dislike XHTML. The snob in me loves the idea. Sure, had XHTML been The Standard it would have been so much more difficult to publish my first website at the age of 14 that I’m not sure I would have gotten into building for Web at all, but is it necessarily a good thing if our field is based on technology so forgiving to malformed input that a middle school pupil can pass for an engineer? and while I do omit closing tags when allowed by the spec, are the savings worth remembering these complicated rules for when they can be omitted, and is it worth maintaining all this branching that allows parsers to handle invalid markup, when barely any HTML is hand-written these days?

[1] Usually it is to the detriment of the former: the latter tends to be ill-regarded by today’s average Web developer used to JSON (even as they hail various schema-related additions on top of JSON that essentially try to make it do things XML can, but worse).

netsharc•6m ago
> Validation is ignored, and most modern sites are built with little concern for structure or longevity.

I remember going online with a modem in the 90s. There was a new ISP in town, but their homepage took forever to load. I viewed the source, and whatever page generator they were rendered the page as HTML tables (this was fine back then), and added repetitive style tags to every table cell instead of using CSS (although I wonder if this was before CSS) or not doing so for empty cells, and that their homepage was so bloated and slow to load on dial-up.

I wonder how it is nowadays. But I suppose in the age that accomodates apps like Teams and Slack, who cares?