by yorwba · 6y ago · 0 comments
I’m using a Surface Book, which has a touchpad with precise two-finger scrolling. I use Firefox, and I tested it in Chrome and old Edge too just to be sure.
With JavaScript disabled, I can scroll horizontally and it works well. I like it.
With JavaScript enabled in Firefox and Chrome, scrolling either horizontally or vertically caused unreasonably fast horizontal scrolling. My guess is that it’s just scrolling the page a certain number of pixels horizontally per wheel event, and ignoring the delta which precise scroll devices provide. Even if it took the delta into account it’d still be wrong to scrolljack in this way because preventing the browser from doing the scrolling breaks inertial scrolling so that it cannot feel native. (This is a large part of why I say that scrolljacking is unconditionally bad: I believe that it’s genuinely impossible for web content to scrolljack and feel right, because the web platform doesn’t expose the necessary details.)
It behaves itself on old Edge, but has other layout bugs, which introduce a vertical scrollbar. I suspect that the scrolljacking script is detecting something (browser or vertical overflow) and disengaging, rather than that the scrolljacking is perfect on Edge.
I’d say that user agents should be responsible in cases like this for translating vertical scrolling into horizontal on such pages. Not user code. And definitely not if I scrolled horizontally myself and am using a device that reports deltas.
The right fix is to ensure that the major browsers (and editors) handle this properly so that there is no urge to hijack scrolling. Mongolian is not the only vertical script.
> And scrolljacking is always bad, I have concluded. I have not encountered a single site that scrolljacks and does it right
Amen.
I'd say this is a decent tradeoff.
Obviously it shouldn't interfere with touch scrolling, which is sometimes also done on laptop device screens (which typically conform to the desktop experience by default).
The closest I've worked with is a booking website for an international parcel delivery company. We offered the application in idk, dozens? of languages. Hebrew was one of them, it's a right-to-left language and our whole website became right-to-left when switching to that, so the main menu was on the right instead of the left, things like that. Great work by our CSS people.
This is incorrect. They originated in the LTR writing systems of India, which is why the full name is Hindu-Arabic Numeral System.
https://en.m.wikipedia.org/wiki/Arabic_numerals
If you read Arabic, this is clear because the numbers are written in the opposite direction as the words.
> they were written and read starting from the least significant digit on the right.
Only the ones and tens place are read from the right - which many languages do, including English in the 'teens' words:
thir-teen == three and ten
four-teen == four and ten
fif-teen == five and ten
In modern Arabic, the hundreds and above are read left to right.
For example:
42: ithnaan (2) wa (and) 'arba3an (40)
142: maa'a (100) wa (and) ithnaan (2) wa (and) 'arba3an (40)
I don't know if the original Hindu system read from most significant left digit first, but if it did then the historical transmission into Europe may have entailed two flips of numeric endianness.
But I thought they originated in India, where left-to-right scripts were in use, which is why Arabic is bidirectional with the digits written left-to-right.
And one of our most common mistakes when speaking English is saying the number wrong. For example, 85 is pronounced fünfundachtzig, five and eighty, but it would not be uncommon for a German to misspeak in English and say fifty-eight.
I wonder if this has anything to do with what you wrote?
I found that surprisingly interesting.
Then I was disappointed to see that the English version is just another WordPress site that could be promoting anything from self-help books to artisan truck parts.
This got me curious about whether Mongolian has enough Chinese loanwords that it could be written in a mixture of Chinese characters and phonetic script (similar to Japanese). That question led me to this article on the difference between Sino-Xenic and other borrowings from Chinese, using Mongolian as an example: http://www.cjvlang.com/Spicks/sinoxenic.html#nonsinoxenic It mentions in passing that some people in Inner Mongolia do mix Chinese and Mongolian scripts in informal writing.
If you think otherwise, why don't you try writing the English text of your comment with Chinese characters?
What does "adopt the script" mean? From what I understand, Korean is an alphabet language designed to look a bit like Chinese if you squint hard, and Vietnamese is straight up a latin alphabet language.
Hangul is the script you are thinking of, which was invented and introduced in the 15th century by King Sejong.
However, there are many Chinese loan words in Korean language, especially on an academic level. You can even find Chinese characters in Korea today, usually in newspapers, on street or restaurant signs. For example, the Korean word for "president" is 대통령 (Taet'ongnyeong), but in newspapers it may be written as 大統領, which are the matching Chinese characters.
Also, most Korean parents choose Chinese characters to write for their children's names, which read (more or less, as Korean does not have tones) the same as the Korean characters.
The article posted by GP also clarifies a distinction between adopting Chinese loan words as any given language may (such as the word "tea" in English), versus a particular model of bulk adoption of not only characters but vocabulary that occurred in JKV languages.
https://en.wikipedia.org/wiki/Hangul
Its history will also tell you what it meant for Chinese characters to be adopted by China's neighbors.
The fun fact is that all alphabets in the world ultimately derive from the Phoenician alphabet as it spread West, North East, and South East.
Hebrew: Aleph, Bet, Gimel, Dalet, ...
Greek: Alpha, Beta, Gamma, Delta, ...
Also, there's evidence that the Phoenician alphabet evolved from the Demotic alphabet, which was basically a late cursive script evolved from Egyptian hieroglyphs.
It shows multiple design issues, how some are resolved and some are not. From Wikipedia: “it is the only vertical script that is written from left to right. (All other vertical writing systems are written right to left.) This is because the Uyghurs rotated their script 90 degrees anticlockwise to emulate the Chinese writing system.“