Better HN
topnewbestaskshowjobs
Log inSign up

java-man

1,596 karma · joined Feb 17, 2014 (12y ago) · 1,672 submissions

1314F8B8382A325318F60A61644FF24E
Submissions

comment 3y ago · link · parent

This will never happen here in the US - a much smaller amount will get spent on lobbying with a dazzling effect.

comment 3y ago · link · parent

The whole idea of the Option key fails discoverability principle.

comment 3y ago · link · parent

But put the dedicated item in the menu? No way!

comment 3y ago · link · parent

A CYA way of saying the test failed.

comment 3y ago · link · parent

They never stop trying, don't they?

comment 3y ago · link · parent

Always been a problem to differentiate one gray from all other gray colors...

comment 3y ago · link · parent

Red turning signals on many cars here in the U.S. don't make much sense either. Turn signals that animate in the wrong direction? Halves of the U.K. flags pointing to wrong side used as turn signals on Minis?

This is just another example of idiotic design. Nothing will change unless it's regulated. Good luck with that!

/rant

comment 3y ago · link · parent

No CVE score? Looks pretty serious to me.

comment 3y ago · link · parent

Right. My goal is to find a good solution.

One possible solution is a dual, or split caret, with direction indicators [0]. So at least when the insertion position depends on the type of character being typed, one can see where it may go. What do you think of that?

And also, I didn't quite understand which kind of navigation (using LEFT and RIGHT arrow keys) you prefer or feel natural - the visual or "logical". The thing about logical one is that the caret might move in the opposite direction (relative to the arrow key pressed) when crossing bidi boundaries (browsers seem to use logical).

[0] https://user-images.githubusercontent.com/107069028/27779060...

comment 3y ago · link · parent

If you have to fight it, does it still work perfectly?

But seriously, thank you. The question is - how do you think it should work in the presence of mixed text? Should there be dual carets to indicate where RTL/LTR symbol will get inserted?

Are you using a fully localized version? What happens when you type digits, does the caret show the right insertion spot?

comment 3y ago · link · parent

Similar cry for help from 2013:

[0] https://ux.stackexchange.com/questions/36774/designing-bidi-...

comment 3y ago · link · parent

Thank you for your response!

It looks like you are mostly dealing with the browser, right? Things might have changed since you wrote it in 2017: I see Chrome on macOS do the "right thing" when typing Arabic, the punctuation gets inserted to the left of Arabic. I am using codepen RTL TextArea example which has

   <div dir="rtl"><textarea /></div>
The browser seems to use "logical" navigation in this case, that is, if I place the caret in the middle of digits (1234567) and press RIGTH key the caret moves left.

Do you use any software specifically designed for Arabic market?

493.

Ask HN: Bidirectional Text Navigation

8 points · by java-man · 3y ago · 7 comments

comment 3y ago · link · parent

I think it was:

    JDK 21 reached General Availability on 19 September 2023 [0]. Production-ready binaries under the GPL are available from Oracle [1]; binaries from other vendors will follow shortly.
[0] https://openjdk.org/projects/jdk/21/

[1] https://jdk.java.net/21/

comment 3y ago · link · parent

JEP 444: Virtual Threads is a game changer, I think.

comment 3y ago · link · parent

Every worker saying "Friday is off".

comment 3y ago · link · parent

Zero information on how keys are stored/created/maintained.

Without this information - supported by independent source code audit, open sourcing of the client code, and reproducible builds - all the claims are meaningless, in my humble opinion.

comment 3y ago · link · parent

Riiiigh. Lay off 700 who are building electric car at Ford and blame the competition.

[0] https://www.cnn.com/2023/10/16/business/ford-f150-lightning-...

comment 3y ago · link · parent

Meaning: please keep doing it, the fine does not even qualify to be a slap on the wrist.

comment 3y ago · link · parent

Same was said for camera lenses [0]. I suspect mainly due to lack of liquidity.

[0] https://www.kenrockwell.com/tech/lens-or-camera.htm

comment 3y ago · link · parent

A slap on the wrist.

comment 3y ago · link · parent

Eleven!

https://www.youtube.com/watch?v=NMS2VnDveP8

comment 3y ago · link · parent

Thank you.

While it's good for marketing (come use our cloud!), this makes no sense frome the user perspective - what if one wants to ue someone else's voice?

comment 3y ago · link · parent

The article does not explain how sharing the voice between devices work, whether it uses iCloud or could the voice be exported directly?

comment 3y ago · link · parent

Virtual threads are going to make a lot of code much simpler.

comment 3y ago · link · parent

Not always - many paintings were probably made with fingers using a very advanced technique (shading), see for example, the bear [0].

[0] https://www.smithsonianmag.com/history/fate-of-the-cave-bear...

comment 3y ago · link · parent

It might still be too early to know the age of the drawings (the article estimates "at least 24,000 years old"), but I couldn't help noticing that these drawings are much simpler than much older art in the Chauvet cave (dated to around 30-35 thousand years old) [0].

[0] https://en.wikipedia.org/wiki/Chauvet_Cave

comment 3y ago · link · parent

Audit the billionaires next.

comment 3y ago · link · parent

A company with revenue in billions fails to reward someone who does QA for them.

Consequence: next vulnerability is sold to malicious actors.

1
161718
56