Yeah, can use httpx or aiohttp for sending requests.
qwop
Same, I think it's more common only to use when necessary.
The main case I can think of to use it more is for performance to save an import at runtime, but I don't think that's really valid, especially since the fact you're using the type annotation suggest the module would have been used elsewhere anyway so the import would be cached.
The argument against using anywhere is that it could be misleading as your editor may indicate that the import is definited even if it wouldn't be at runtime. Not sure if things like pylance have special handling to avoid this, would have to check...
You still need to import the type before using it in a stringified type annotation for it to be valid though, so you'd need the import in an if TYPE_CHECKING:
block either way, no?
"Python crash course" sounds good - I haven't read it personally but my experience with no starch press books is that they're pretty good.
Other options are "A byte of Python" and "Automate the boring stuff with Python".
I am also someone who prefers physical books. When I was learning I went to my local library and took out pretty much their entire section of Python books (not that big) and read through them.
Most important is to find out what works for you!
Nice project! What approach to solving the sudoku did you use, is it a backtracking algorithm?
Having a look at the code it looks like there's quite a lot of repetition that could probably be refactored to be a bit cleaner!
Last time I checked companies don't share backdoors they've added in release notes.
What sort of features 🤔
What better headline would you propose in this case?
I don't think that rule is valid here, the question isn't there because the answer is definitively "no" and they just want clickbait, it's there because the actual article is about the question.
(Side note: I'm aware most people here will strongly argue that the answer is no, and I agree, but that is not my point.)
Of the 1,723 adults surveyed across the UK, 73% said technology companies should, by law, have to scan private messaging for child sexual abuse and disrupt it in end-to-end encrypted environments.
Found this interesting. I found the survey results here: https://docs.cdn.yougov.com/68pn2b6b57/NSPCC_OnlineSafetyBill_230427_W.pdf
The exact question I believe is being referred to was:
And do you think technology companies should or should not be required by law to use accredited technology to identify child sexual abuse in end-to-end encrypted messaging apps?
This seems like a really bad question, since it implies a coexistence of end to end encryption and big tech companies being able to read people's messages, which doesn't really make sense (or at least requires more clarification on what that would mean). The question as it is is basically "do you think child sexual abuse is bad".
I use VSCode with config options to disable telemetry. Probably not perfect but good enough for me, I'm very happy using VSCode
I wish I could have extensions default to off and be able to turn them on selectively on sites. For things like darkreader I don't want to use it 90% of the time so it shouldn't need to have at access to site data.
By the way, I don't like the title of this article, how is it done "remotely", it's just a list in about:config, no? Sounds clickbaity.
Ah yeah, I see what you meant.