9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 1y ago · link · parent
As for the article, the slowdown can be also caused by increased use of shared resources like caches, TLBs, branch predictors.
comment 1y ago · link · parent
Also, (according to Durov, who is not very reliable source) Apple forced Telegram to remove animated eggplant and peach emojis [3].
Also, while little unrelated, Apple complied when it was requested to remove VPN apps from app store for Russian users, and if I remember correctly it complied with similar censorship requests from Chinese government.
[1] https://techspace.africa/how-to-enable-sensitive-content-on-...
[2] https://www.reddit.com/r/Telegram/comments/ejdjyg/unblock_te...
[3] https://www.reddit.com/r/Telegram/comments/r3ijtf/apple_comp...
comment 1y ago · link · parent
That's completely wrong. If a syscall (or a function) expects text in encoding A, you should not be sending it in encoding B because it would be interpreted incorrectly, or even worse, this would become a vulnerability.
For every function, encoding must be specified as are specified the types of arguments, constraints and ownership rules. Sadly many open source libraries do not do it. How are you supposed to call a function when you don't know the expected encoding?
Also, it is better to send a pointer and a length of the string rather than potentially infinitely search for a zero byte.
> and the result is that if you want UTF-16 support in your existing C-string-based syscalls
There is no need to support multiple encodings, it only makes things complicated. The simplest solution would be to use UTF-8 for all kernel facilities as a standard.
For example, it would be better if open() syscall required valid UTF-8 string for a file name. This would leave no possibility for displaying file names as question marks.
comment 1y ago · link · parent
comment 1y ago · link · parent
I am surprised why so many people use banking apps on phones. The apps often use SMS or even push notification (because it's cheaper) for confirmation and once you got access to the phone you can do whatever you want. Also banking apps tend to spam users with distracting notifications, and they often require extended rights, for example to scan other apps, to access contact list etc. For example, one of Russian banking apps includes an antivirus.
> What about in-person banking?
Rarely. Last time I went in-person, I found that the bank switched to a model (don't remember how it's called) where the office looks like a cafe with tables and employees come between them with laptops and there was really long waiting time so I got an impression that they don't want people to come in-person. Although I had some fun overhearing an angry customer complaining that his card was blocked for receiving transfers and immediately withdrawing large sums of money. He wasn't able to explain the source of the money or provide any documents but got a promise that his card would be unblocked.
Luckily there are still banks with traditional offices.
comment 1y ago · link · parent
I think that was not a bad idea. Other open source OSes target expensive devices like Pixel and as a result many people are not buying them because paying a premium for a non-standard phone with buggy software and lacking features doesn't make much sense.
comment 1y ago · link · parent
comment 1y ago · link · parent
Small screen - cannot fit many controls or code. Small keys - cannot type fast. No touchpad - cannot do precise clicks, therefore cannot have many controls on the screen. Try imagining something like editing lots of small notes in a music editor with your fingers...