Not only encoding/decoding but searching and sorting is also different. We may also cover font rendering, unicode modifiers and emoji. They are so common and fundamental but very few understand them.
Handling text is a minefield. UTF-8 is great but when you get into graphemes, there's basically no way to handle them properly unless you write some code to generate graphene recognition based off the spec which is rather large and continuously updated.
Same for font rendering, there is a reason why harfbuzz is used everywhere. Getting an 80% working renderer is easy but the remaining 20% can take years.
It really "handling text correctly"should be a masters, and I'd sign up in a heartbeat.
Yes. As a site owner who keep fighting with bots and malicious traffic, I wish web browsers provide me a way to identify real users from bot traffic. Otherwise I'll have to put everything behind account registration.
I think it depends on what you're compressing. I experimented with my data full of hex text xml files. xz -6 is both faster and smaller than zstd -19 by about 10%. For my data, xz -2 and zstd -17 achieve the same compressed size but xz -2 is 3 times faster than zstd -17. I still use xz for archive because I rarely needs to decompress them.
There are charging machines that accept cash cards / debit cards, but only those issued by Japanese banks. So cash is the only option for touristists. You can go completely cash-less if you can use mobile Suica / ICOCA, which let's you charge your phone with Apple Pay / Google Pay (with osaifu-keitai).
Japan has lots of IC cards in various regions, and they have spent a lot of effort integrating their system. Unfortunately some IC cards like Kumamon decided to opt-out due to high maintenance fees.
AFAIK, you can go through up to 4 different company networks once you enter paid-area. Beyond that, you'll need to do the override settlement (乗り越し精算) with the help of station staff.
Suica has a pretty large sensing distance (85mm). So it can "power up" the card at a distance before getting close to the reader.
To avoid large touch area causing accidental touches, places like vending machine requires you to keep your card within sensing area for up to 1 second before completing the transaction.
https://www.mmc.co.jp/corporate/en/news/2024/news20240821.ht...
reply