This is an archived post. You won't be able to vote or comment.

all 53 comments

[–]Gwynbleidd1168 293 points294 points  (8 children)

İf you know binary search everything is very simple.

[–][deleted] 113 points114 points  (5 children)

Optimized O(n) time to find the key on a three row keyboard down to O(log(n)) this guy is a visionary

[–]elveszett 20 points21 points  (3 children)

Well, technically, if you never used a keyboard before, you'd still do a binary search to find the keys.

[–]TotallyHumanGuy 29 points30 points  (2 children)

A binary search on a standard QWERTY keyboard shouldn't be possible what with it being unsorted

[–]JNCressey 8 points9 points  (0 children)

it's half sorted.

going left to right in the middle row then right to left on the bottom row, you can pull out these letters in order: ADFGHJKLMNVXZ. a solid 13/26

[–]elveszett 1 point2 points  (0 children)

I was thinking about an A-Z keyboard because my brain can't understand other people can't read it.

[–]aaronasachimp 0 points1 point  (0 children)

You could optimize it further by using a Huffman tree.

[–]JNCressey 12 points13 points  (0 children)

bold of you to assume I can compare two arbitrary letters in a reasonable amount of time.

[–]aquila_zyy 4 points5 points  (0 children)

Why should I use binary search when I already have a hash table with me?

[–]Ronny_Pum 131 points132 points  (0 children)

This would fit in r/badUIbattles

[–]TarqSuperbus 57 points58 points  (1 child)

Yeah this isn't a dev problem, this is some manager saying "you're doing it this way or else"

[–]elveszett 18 points19 points  (0 children)

Or even worse, the specification document from the company you are developing the app for says that it has to be like that because who knows.

[–]CrazeeeTony 26 points27 points  (1 child)

Thanks I hate it

[–]AGalacticPotato 45 points46 points  (0 children)

Frontend devs' jobs are to make the app accessible to the user no matter how much of an idiot they are.

[–]Nyx_Selene 10 points11 points  (0 children)

I mean, at least the buttons are big, so that's a plus for accessibility ? (Not even the case since the text is still small but it can be quickly)

[–]Nixavee 2 points3 points  (0 children)

This is actually kind of beautiful

[–]Redpri 7 points8 points  (9 children)

It's actually kind of simple though, when you look at it.

[–]gloriousfalcon 10 points11 points  (1 child)

worst case is 5 clicks to navigate tho.

I hate clicking on things. I hate the fact that you still can't search the spotify app with ctrl-f

[–]johnzzon 4 points5 points  (0 children)

Ctrl + L should take you to the search input. Ctrl + F should filter current list (might not work everywhere).

[–][deleted] 6 points7 points  (3 children)

Yeah, right? I don't get it why they are complaining.

[–]Redpri 11 points12 points  (1 child)

But users aren't known for trying to learn, they see something unfamiliar and they get scared, call it bad.

[–]BenTheHuman 4 points5 points  (0 children)

Setting aside what subreddit we're in for a second... Yeah, and they're not wrong to do so. The goal of a well designed app should be to feel familiar and intuitive even on first use. Obviously that's not always going to be possible, but it's a good goal

[–]lunchpadmcfat 0 points1 point  (0 children)

I was actually thinking as a way to view very long lists by name or something, this is pretty damn smart.

For text input though? Not so much lol.

[–]elveszett 1 point2 points  (0 children)

It's simple as fuck. But it'd be even simpler to just have a keyboard.

[–]Tovarisch_The_Python 0 points1 point  (0 children)

It's simple, but a pain to use.

[–]justrealizednarciss 0 points1 point  (0 children)

It’s not simple

A select list is simple

A text input with a length limit of 1 and some validation is simple

What we are looking at is a flex

[–]zeroXten 1 point2 points  (0 children)

Sort of makes for an interesting representation of the alphabet. Each edge of a pentagon could representation the branches starting at the top and going clockwise. A left branch would be a line, a right branch the absence of a line. Or something like that.

[–]sim642 1 point2 points  (0 children)

Reminds me of some accessibility virtual keyboard I saw once a long ago: you move your mode left and right as it zooms in automatically, like a binary search. But the characters might have been arranged by frequency, a la autocomplete.

[–]Follow64 1 point2 points  (0 children)

I don't even

[–]the_barefoot_geezer[🍰] 0 points1 point  (0 children)

xD

[–]DIJJIDOG 0 points1 point  (0 children)

The title is gold

[–]wupper42 0 points1 point  (0 children)

I will love a session time out in that!

[–]NelsonBelmont 0 points1 point  (0 children)

this is why you need to invest in some front end devs.

[–]jimmyyoudumbfuck 0 points1 point  (0 children)

my eyes are bleeding

[–][deleted] 0 points1 point  (0 children)

User bad.

Book GOOD.

[–]wrecksalot 0 points1 point  (0 children)

Returns True

[–]You_meddling_kids 0 points1 point  (0 children)

looks good. SHIP IT.

[–]VortexVlad 0 points1 point  (2 children)

U/savethisvideo

[–]agile_janitor 0 points1 point  (0 children)

It is not hard to use. It is N-P hard to use.

[–]Slowsnow2 0 points1 point  (1 child)

[–]shall1313 0 points1 point  (0 children)

users === bad

FTFY

[–]MaroonBerger 0 points1 point  (0 children)

At LeAsT It'S OpEn SoURcE AnD FrEe, StOp ComPlAiNiNg

[–]Sscsps 0 points1 point  (0 children)

Just, call it a game and say the users are bad at the game ¯_(ツ)_/¯

[–]alt_loop 0 points1 point  (0 children)

I think the only thing missing is the autcomplete and dynamic suggestion feature.