frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Building Better Country Selects

https://talysto.com/blog/building-better-country-selects/
6•dlrush•1h ago

Comments

goodmythical•1h ago
yeah the standard country dropdown is basically a scrollathon from hell and nobody wants to play "find the united kingdom" when they're just trying to buy some socks real quick
klondike_klive•30m ago
It's a mess. Do I look in the list of frequently-selected countries and hope to find that we're still in there? Or look for UK? United Kingdom? Great Britain?

I've been foxed before in American forms where I'm forced to select UK but it shows up as GB, even though there is no GB in the list! Every time I come to fill out the form I look at what I did last year and go through the same anti-pattern.

simosmik•1h ago
I like the flags and extra search metadata however it does look quite big. My intial reaction was to scroll, not to press a button to find a country. Still better than the current one though. I'd love to see also a better country phone number selection which in a lot of cases does not even work as it should
forthwall•39m ago
I feel like the best solution is a custom dropdown, instead of a modal, modals rreally take you out of context, when you're editing a form, its a bit jarring to be thrown to a modal, the best country select in my opinion is what you've listed, but also it's in a dropdown.
blturner•39m ago
better yet https://zipcodefirst.com
nlawalker•25m ago
This was discussed a few days ago in https://news.ycombinator.com/item?id=47292485

EDIT to remove negativity, was unnecessary.

Gualdrapo•30m ago
> A full country list inside a native `<select>` has several structural limitations:

> No filtering. Users cannot narrow the list by typing

But you can use an `<input type="text">` instead and add a `<datalist>`[0] to it with the list of countries and you will be able to filter them by typing. Granted, it still has no full support (namely, firefox), but still that's much better than a `<select>` with no filtering ability whatsoever.

Not sure why this is not more known, though, I've seen it just like a couple of times in the wild. Now, back to job searching...

[0] https://developer.mozilla.org/es/docs/Web/HTML/Reference/Ele...

quesera•22m ago
In English: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

:)

LollipopYakuza•18m ago
tl;dr use an autocomplete dropdown

Ask HN: Embedding Claude Code as Infrastructure?

1•technocrat8080•1m ago•0 comments

Show HN: I built an open harness that excels at autonomous ML research

https://github.com/snoglobe/helios
1•snwy•5m ago•0 comments

AI should help us produce better code

https://simonwillison.net/guides/agentic-engineering-patterns/better-code/
2•birdculture•6m ago•0 comments

DIY scanner to visualize sound waves in 3D [video]

https://www.youtube.com/watch?v=Ky7AWh8nd-A
1•i2pi•7m ago•0 comments

Do AI-enabled companies need fewer people?

https://seldo.com/posts/do-ai-enabled-companies-need-fewer-people/
1•handfuloflight•7m ago•0 comments

SmallClaw: Local-first AI agent framework built for small models

https://github.com/XposeMarket/SmallClaw
1•thunderbong•8m ago•0 comments

Windows 98 NVMe Driver [video]

https://www.youtube.com/watch?v=YUoJS2xXRmQ
1•Modified3019•9m ago•1 comments

Iran warns US tech firms could become targets as war expands

https://www.wired.com/story/iran-warns-us-tech-firms-could-become-targets-as-war-expands/
4•anigbrowl•11m ago•1 comments

Why isn't vibe coding creating more shareware?

2•watershawl•12m ago•1 comments

Divine-OS – Persistent Identity Layer for AI Agents

https://github.com/AetherLogosPrime-Architect/Divine-OS
1•Aetherlogos•13m ago•1 comments

I-Harmonium

https://github.com/gajraj-m/iharmonium
1•macote•14m ago•0 comments

Show HN: s@: decentralized social networking over static sites

http://satproto.org/
2•remywang•15m ago•0 comments

Experimental Type Union Type C#

https://github.com/dotnet/csharplang/discussions/9663
1•ahmedfouad•16m ago•0 comments

PFAS pesticides contaminate nearly 40% of non-organic California produce

https://www.ewg.org/research/forever-chemicals-contaminate-nearly-40-non-organic-california-grown...
2•OutOfHere•19m ago•0 comments

The Perverse, Tender Worlds of Paul Thomas Anderson

https://www.newyorker.com/magazine/2026/03/16/the-perverse-tender-worlds-of-paul-thomas-anderson
2•tzury•19m ago•0 comments

Show HN: AI-nexus – Only 2-3 rules and skills load per prompt in Claude Code

https://github.com/JSK9999/ai-nexus
1•suntrix3•21m ago•0 comments

Atlassian lays off 1,600 workers ahead of AI push

https://www.theguardian.com/technology/2026/mar/12/atlassian-layoffs-software-technology-ai-push-...
2•voxadam•21m ago•1 comments

Why Physical AI Is Hard

https://dexterity.ai/blog/why-physical-ai-is-hard
1•devy•28m ago•1 comments

Hex1b, the .NET Terminal Application Stack

https://hex1b.dev/
2•bladeee•29m ago•0 comments

Postman: predicting spatial protein expression from pathology slides

https://strandai.com/blog/postman-early-access
1•odedfalik•30m ago•1 comments

Is AI the end of software engineering or the next step in its evolution?

https://www.theverge.com/ai-artificial-intelligence/767973/vibe-coding-ai-future-end-evolution
1•ianrahman•30m ago•0 comments

I built a protocol to catch LLMs mid-thought, before they commit to an answer

https://github.com/IvY-Rsearch/wire
1•IvY-Rsearch•31m ago•3 comments

An agent that starts learning from zero state

https://github.com/ChangweiZhou/digitalbaby
1•Pencilbard•32m ago•0 comments

Startup Idea: Make geography irrelevant when browsing the internet

1•mowcirclular•32m ago•1 comments

Mac Neo and my afternoon of reflection and melancholy

https://twitter.com/stevesi/status/2031842797838614548
1•cebert•33m ago•1 comments

'Convincing' AI scams drove UK fraud cases to record 444,000 last year

https://www.theguardian.com/money/2026/mar/12/ai-scams-uk-fraud-artificial-intelligence-mobile-ba...
2•chrisjj•33m ago•0 comments

Show HN: Gitingest for Jupyter Notebook Accessibility

https://jupycheck.vercel.app/
1•deviscold•34m ago•1 comments

David Foster Wallace: This Is Water (2005)

https://fs.blog/david-foster-wallace-this-is-water/
2•vermilingua•36m ago•0 comments

Plan to Unblock Strait of Hormuz Collides with Realities of Global Insurance

https://www.wsj.com/finance/u-s-plan-to-unblock-strait-of-hormuz-collides-with-realities-of-globa...
6•petethomas•38m ago•1 comments

One of Grammarly's 'experts' is suing the company over its AI feature

https://www.theverge.com/ai-artificial-intelligence/893451/grammarly-ai-lawsuit-julia-angwin
3•october8140•46m ago•0 comments