frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

HTML Can Do That

https://chrisburnell.com/html-can-do-that/
101•encyclopedism•1d ago

Comments

yurishimo•16h ago
Just a heads up but datalist is not really a great solution if you need a strong contract. The user can still type whatever they want into the field and there is no fuzzy filtering or typo mitigation. Once you add those requirements, a library that gives you a more fully featured combobox is likely going to make a lot of sense in your project.
sarchertech•6m ago
There’s still browser/OS typo mitigation.
vlucas•5m ago
Very true, and ran into this one specifically myself when going down the "HTML can do this!" road. HTML can NOT, in fact, replace a good combobox with search input. Datalist has significant shortcomings. I wound up using a React island for this single input inside otherwise normal HTML, despite my own objections, because it really it just that much better than the native options.
totallygeeky•15h ago
I've been tooling with site for years now and I'm always shocked at what can be done with raw HTML. These are some really neat examples, some work a bit funny when it comes to mouse vs. arrow key functionality though (in particular the dropdown/autocomplete), I'm wondering if that's an Edge specific issue or Chromium.
jdlshore•29m ago
The “hidden until found” feature surprised me. What’s the use case for something like that?
dofm•14m ago
Looks like it's basically like a one way show-hidden mechanism only the browser's built-in search will pop it open on matches.

So you could use it for additional notes, things like "view pricing terms" or "show exclusions" on product listings — stuff people need to read only when they need to read it — without it being hidden from them if they search for it.

seki285•9m ago
One thing that comes to mind is JS-less image preview, clicking on an image thumbnail reveals the full preview.
jamescun•26m ago
I'm that minutia in your statistics that is still rocking NoScript in 2026, enabling JavaScript on a site-by-site basis, but this is increasingly difficult with the modern web.

Hopefully these and others modern HTML features gain adoption, along with realizing perhaps a Single Page Application isn't necessary in most instances.

I don't often have to write frontend code, but when I do, there is very little in terms of interactivity you cannot do with HTML these days, worst case a little sprinkle of something like HTMX.

hyperhello•21m ago
I don’t understand why the group invented these new attributes and methods of action for dialogs that don’t seem relevant to anything else. Was there some silly patent to work around?
esprehn•5m ago
[delayed]
hakesson•19m ago
Yeah, I'm a great fan of both HTML and CSS "can do that". I find more useful things on the CSS side like :has, keyframes and container queries. Why duplicate code when you have it for free :)
Sohcahtoa82•11m ago
Yeah I've seen a page that described a whole bunch of things you can do with CSS. So many animation options!
dematz•17m ago
This comment by yurishimo should not be [dead], imo

>Just a heads up but datalist is not really a great solution if you need a strong contract. The user can still type whatever they want into the field and there is no fuzzy filtering or typo mitigation. Once you add those requirements, a library that gives you a more fully featured combobox is likely going to make a lot of sense in your project.

It is true! HTML can do a lot of cool stuff, it might get you 100% of the way depending on what you're doing. But if you have a lot of forms where users pick from a value set, and want to enforce no other strings and get a good search experience, datalist does not get you there.

Gualdrapo•4m ago
I seem to recall there was a proposal to add such thing to <select>s
bingemaker•6m ago
<img> also supports "srcset" which can make the image component responsive. Hope they add a placeholder to it which can account for loading state.
yoz-y•5m ago
I think it’s neat but at the same time I’m cautious about implementing an “almost feature” in what’s supposed to be a declarative language.

Now everybody needs to support it and nobody can really use it.

I’m talking about the features in work like media controls on dialog buttons.

AliExpress runs silent WebAudio fingerprinting that breaks Bluetooth multipoint

https://blog.laserphile.com/2026/08/aliexpress-webpage-keeping-multipoint.html
462•emctech•5h ago•150 comments

Malicious Rust crate Arrayref runs a build-time payload

https://safedep.io/arrayref-proc-macro1-rust-build-time-malware/
201•abhisek•2h ago•146 comments

Show HN: I trained a 125M model to autocomplete piano on-device

https://simedw.com/2026/08/20/midi-autocomplete/
240•simedw•3h ago•62 comments

Clean up Claude 5's token vomit with a separate LLM

https://github.com/zachahn/vomit
15•Bluestein•20m ago•2 comments

HTML Can Do That

https://chrisburnell.com/html-can-do-that/
104•encyclopedism•1d ago•17 comments

DiffusionGemma Technical Report

https://arxiv.org/abs/2608.00146
55•gmays•2h ago•9 comments

I like 'em thick: an apology to my English teachers

https://www.experimental-history.com/p/i-like-em-thick
18•Ariarule•1d ago•2 comments

Hacking with Claude on a $27 Smart Watch

https://www.mikekasberg.com/blog/2026/08/19/hacking-with-claude-on-a-27-smart-watch.html
31•speckx•1h ago•15 comments

Every Model Cheats

https://dreadnode.io/research/every-model-cheats-prompt-level-mitigation-of-cheating-on-offensive...
19•vga805•1h ago•6 comments

CIA funding helped keep NeXT afloat in the 80s

https://www.wsj.com/tech/steve-jobs-apple-next-cia-161b65f9?st=NWWds1&reflink=desktopwebshare_per...
53•EwanG•15h ago•15 comments

Launch HN: Vendo (YC S26) – Let users build features on top of your product

https://github.com/runvendo/vendo
5•yousefh409•16m ago•0 comments

An elliptic curve of rank ≥ 30

https://elliptic-rank.icarm.cloud/curve/273
22•robinhouston•1h ago•8 comments

Xorg-Server 26.0.99.901

https://lists.x.org/archives/xorg-announce/2026-August/003741.html
32•st_goliath•2h ago•4 comments

Proof of Human (YC S23) Is Hiring a Member of Technical Staff

https://www.ycombinator.com/companies/proof-of-human/jobs/ZTZHEbb-member-of-technical-staff
1•timshell•3h ago

Mojo is now open source

https://www.modular.com/blog/mojo-open-source
194•visheshdembla•1d ago•51 comments

Windows brings out the Rorschach test in everyone (2003)

https://devblogs.microsoft.com/oldnewthing/20030825-00/?p=42803
302•luu•9h ago•106 comments

Git at any scale

https://cursor.com/blog/git-at-any-scale
94•meetpateltech•1d ago•7 comments

Double-double: 31 digits of precision without leaving the FPU

https://marekfiser.com/blog/double-double-arithmetic/
8•iliketrains•3d ago•0 comments

Why the Ocean Cleanup hasn't solved the plastic pollution crisis

https://therevelator.org/why-ocean-cleanup-has-not-solved-plastic-pollution/
41•sohkamyung•2h ago•34 comments

Bun 1.4

https://bun.com/blog/bun-v1.4
98•meetpateltech•1h ago•35 comments

Nearly 1,400 live streams from Japan

https://tomarigi.me/
39•pajop•2d ago•8 comments

Theory of Fluids Enters the 21st Century

https://www.quantamagazine.org/theory-of-fluids-enters-the-21st-century-20260817/
36•librasteve•2d ago•2 comments

Show HN: Open-source Stripe Connect alternative

https://zoneless.com
16•tinyprojects•1h ago•5 comments

Show HN: Check if any of the $656M in unclaimed royalties at The MLC is yours

https://pub.doub.ly/
11•knaught•1h ago•3 comments

An American Mosaic (interactive map of ancestry census data)

https://www.nytimes.com/interactive/2026/07/01/us/america-ancestry-census-data-map.html
21•cckolon•3d ago•4 comments

Stop Anthropomorphizing Intermediate Tokens as Reasoning/Thinking Traces

https://arxiv.org/abs/2504.09762
99•nunodonato•1d ago•22 comments

Stwipe Acquires OpenWouter

https://stwipe.com/
138•eatonphil•1h ago•18 comments

Seeing beyond BMI: Estimating cardiometabolic risk with smartphone imagery

https://research.google/blog/seeing-beyond-bmi-estimating-cardiometabolic-risk-with-smartphone-im...
42•leanderjanssen•4h ago•19 comments

Risk Engineering

https://risk-engineering.org/
55•throwaw12•5h ago•7 comments

CI jobs artifacts should not be difficult

https://deadsimpleci.sparrowhub.io/doc/job-artifacts
14•melezhik•2h ago•10 comments