542 karma · joined July 13, 2024
Remember that China blocks Western social media, yet posts a lot of Chinese government propaganda on Western social media. Making VPNs illegal for the general public does not entail making VPNs inaccessible to government agents.
I remember when escaping SQL input data was "the correct way" to use your mysql database. Parametrization? Nah, just use mysql_escape_string or whatever it was called.
How about no?
I don't like Apple either, they are DEFINITELY rent seeking and violating their users' privacy at the same time. There is no excuse for that. I think what the parent post was talking about is something historical. An iPhone at that time was a large step above a Nokia or a Sony Ericsson in terms of flexibility.
I would be happy to hear from anyone who knows about this subject if what I'm saying is correct.
Lol, that's so true.
>Google wants to be the only entity with unrestricted access to their catalog of other people's content,
Yeah, data is money. Reddit are doing the same thing, but even more aggressively. You want API access? Pay an astronomical amount of money for it, that is other people's content. Reddit also hosts a much small amount of media relative to YT.
For YT, I'm not so sure the increase in traffic is a drop in the bucket for them. It can depend a lot on which videos are being fetched. Cheap storage is cheap only for storing a large amount of data, not doing an unusual amount of (random) access.
Who knows.
What's going on with Google being extra stingy seems to correlate well with the AI boom (curse). I suspect there are companies running ruthless bots scraping TBs of videos from YouTube. Not just new popular videos that are on fast storage, but old obscure ones that probably require more resources to fetch. This is unnatural, and goes contrary to the behaviour pattern of normal users that YT is optimized for.
I think AI-companies abusing the internet is why things are getting more constrained in general. If I'm right, they deserve the bulk of the blame imo.
Snowden leaked that fact before Microsoft made the admission. But it's good that it's coming from them officially nonetheless.
Tell MacRumors it's Tim Cook's boot.
https://forums.macrumors.com/threads/ios-26-2-to-allow-third...
I knew bitnami were trouble when I saw their paid tier prices. Relevant article: https://devoriales.com/post/402/from-free-to-fee-how-broadco...
Oh, and it's owned by Broadcom.
There is something particularly dark and unjust about supporting the persistance of tyranny through the blaming of (solely or not) those who defend themselves.
Good news! You can do both.
/s
>The proper way to address it is to use asynchronous I/O APIs that allow for cooperative cancellation.
I completely agree here. Async is the go-to for IO-bound operations and the ability to cancel (sends an exception to the task) is a very useful feature.
Killing threads, as in non-gracefully stopping them is a bad idea regardless of language, and not something I would encourage nor something I do myself.
In Python, if there is CPU-bound long-running routine that need to be executed concurrently, then this can be done using multiprocessing. I'd say, if external resource usage is well-defined then a good way to stop such a task would be to send a sigterm, wait, then send a signal 9 if it hasn't stopped after a grace period. If needed, perform a cleanup afterwards.
The problem with python and threads in my experience is that even a graceful interruption of individual threads can be tedious to get right.
Thanks for the link btw.
No morals can be expected from publically traded companies. Finding a "PR firm" willing to do the lowly dirty job of going on HackerNews, MacRumors or wherever people are and blatantly lie and make stuff up shouldn't be too hard either, I can imagine.
A thought though. What happens if one of the bot operators sees the random stuff?
Do you think they will try to bypass it and put you and them in a cat and mouse game? Or would that be too time-consuming and unlikely?
Do you mean that there is no valid use-case where you wish to interrupt a blocking thread due to I/O, for example?
Or maybe you think Python can do that. Maybe I'm wrong, but as far as I can tell Python is not good at doing that.
Perhaps my choice of word "kill" confused you, and in that case I should've picked better wording reflecting what I meant. Perhaps you thought I meant people should kill threads/processes instead of fixing buggy CPU-intensive tasks? That's certainly not what I meant.
You don't seem to be very charitable in how you interpret what I'm saying. Instead of a very vague comment, it would've been better if you'd have explained your concern, and given me a chance to understand you.
Any time you have an arbitrary independent task that can be started and then stopped by the user, you will need processes in Python.
Java is a lot better at concurrency and has a vast library for concurrency primitives like atomic operations (CAS etc.)
Python's strengths lies in its strong ecosystem and ease of use. Many times that overshadows the benefits of Java's competent concurrency features.
If your thread gets stuck, the only recourse you will have is to kill the entire parent process.
This is partucularly problematic when it comes to mobile services as they allow people to be tracked.
Except if it's in /dev/null?
Apple is not bringing its users value by prohibiting sideloading of arbitrary apps. Rather, this is an extreme example of rent-seeking which has affected almost all countries around the world. It needs to be regulated away.