One of the unremarked indignities of getting older is how long it takes to scroll back from today when using those odometer scrolly things in supposedly well-designed apps that need to know your date of birth.
@robpike My favorite is when the scrolly thing starts at the current year, as if the median user were literally born yesterday

@robpike

Yeah, so true.

(And, "unremarked indignities of getting older" is a great heading.)

#UnremarkedIndignities

@robpike Any type of control but a textbox for numeric input is inexcusably bad UX.

Any good browser or UI toolkit should disallow them and silently replace them with textboxes.

@dalias @robpike Isn't it an ancient attempt at a security device, harking back to the days (last century?) when there were malware thingies called "key loggers" which could capture what you typed in a text box but couldn't capture what you selected in a scrolling widget?
@TimWardCam @robpike If so that's just sad and stupid. I always assumed they were something mindless UI devs believed they were supposed to use anywhere there was a "finite set of choices" and they didn't want to validate input..
@dalias @robpike Yes well, my web site has dropdowns for dates because I'm too lazy to write any decent validation, but at least it almost always defaults to the date that the punter wants.
@TimWardCam @robpike You need server side validation regardless. Client side is just a convenience for the user.
@dalias @robpike Yes I know.
@dalias @robpike They're date types in the database so the database is doing the server side validation for me. 🀣

@dalias @TimWardCam @robpike

You can totally check fields and turn their input boxen red for invalid data.

@dalias @robpike
all modern browsers support a standard date picker with fine UX: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
the problem are webdevs who only know their Javascript framework and have little idea about HTML/CSS and therefore needlessly build their own pretty but shitty datepickers
<input type="date"> - HTML: HyperText Markup Language | MDN

<input> elements of type="date" create input fields that let the user enter a date. The appearance of the date picker input UI varies based on the browser and operating system. The value is normalized to the format yyyy-mm-dd.

MDN Web Docs
@kolya @robpike That is NOT fine UX. Fine UX would be interpreting that as a text field that validates YYYY-MM-DD.
@robpike you’re right, it should totally be a readonly number field with tiny up-down arrows.
@tastapod @robpike Or I guess you could fetch the user's age from one of your 1422 trusted partners with whom you share the user's personal information. One of them surely have it.
@robpike a most hateful user experience
@robpike I always take the last option...
@robpike The sad thing is that we (the big web development we) have been subjecting older users to this for years but only just got old enough to notice it
/me is grateful not to be part of that "we" despite definitely being part of the big [web] development 'we' because he doesn't collect PII, because the best way to not risk users' data to unscrupulous 3rd parties, is to never ask for it in the first place.

CC: @[email protected]
@robpike and it gets worse every year
@robpike Similar to how the US is buried near Uganda and Uzbekistan in some "choose your country" lists.

@robpike every UI date picker is terrible.

My attempt is particularly bad: https://bracken.cc/webcal-proxy

Webcal Proxy

@robpike once this is solved, please move all of the devs that write the state pickers from California to Wisconsin. It would be ok if some of them went to Wyoming or Washington.
@robpike like spinning the giant price wheel on the price is right
@robpike irony: dying of old age while attempting to scroll all the way down to your birth year
@robpike Makes you feel sorry for all the Zimbabweans born on the 31st of December.
@robpike Gives me Occupational Overuse Syndrome.
@robpike Seems like it would be a social good to have the scroller start at 125 and go down. Young people have more life left to waste, so it's fair that they scroll further than old people.

@robpike

Also horrible for US states. Especially those farther down in the alphabet. When my work address was in Washington, it was much, much faster to type WA than do a dropdown or prizewheel.