WHAT.
THE.
FORK.

Up and down (increment/decrement) arrows for account numbers.

WHAT.

#LossyPNG

@rl_dane this happens when you set input type=number in the HTML. I guess it's done so that the keypad is automatically opened on the phone's virtual keyboard for input. It looks a bit ridiculous in desktop browsers though.

@mccd

Ok, that makes sense, but then desktop browsers giving you up and down arrows doesn't make sense. Is there a way to specify the size of the number so the browser doesn't assume you need arrows? XD

@rl_dane yeah there's a semantic mismatch. I guess it was originally intended for "How many people are coming to your party" types of form questions, and was then co-opted by mobile to subtly change its meaning.
@rl_dane maybe just the easy option for a number only field?

@rl_dane

Yep, I'm sure that's the designer's intent. Click the up-arrow three hundred fourteen million, one hundred fifty-nine thousand, five hundred twenty-six times 😆

@rl_dane

of course, I'm *waaaaaay* to lazy to determine that text by hand:

$ number 31415926 | tr '\012.' ' ,' | xsel -ib

😆

@gumnos

What is number?

@rl_dane

One of those little under-appreciated treasures commonly found on BSD systems 🙂

$ apropos number | grep ^number
number(6) - convert Arabic numerals to English

$ number 1234
one thousand.
two hundred thirty-four.

(it's /usr/games/number on my OpenBSD & Ubuntu systems, and /usr/bin/number on my FreeBSD box)

@rl_dane

Huh, if I had actually read the man-page, I could have used the -l option to remove the need for tr(1):

$ number -l 31415926 | xsel -ib

🤦

@gumnos

Man, it took me a heck of a long time to realize that \012 was \n. I was reading it as \0 (null), 1, 2, and I couldn't understand why your two parameters to tr weren't the same length. 

@mason

@rl_dane

Yeah, my brain uses '\012` with tr(1) because using "\n" vs '\n' vs an unquoted \n seems to vary depending on the shell and flavor of tr, but '\012' is POSIX and works everywhere. Got stung too many times, so it's burned into my usage now 😆

@mason

@rl_dane amazing 😭😭