

You’d need to explicitly check for None if using the len() construct as well, so this doesn’t change the point of the article.
You’d need to explicitly check for None if using the len() construct as well, so this doesn’t change the point of the article.
My ad blocker has blocked all pictures on this article, so I can’t say. 😄
We’ve had a similar ban in the Netherlands for a year or two now. Mobile phones were already not allowed in classes. Kids seem to have survived.
Forgotten as usual. 😉
Debt is not a force of nature. Money is owed to someone.
Yeah I disagree with the idea that there is no such thing as a fish.
It’s like saying that there are no striped animals because both zebras and snakes can have stripes.
Sure, there is no common ancestor for hundreds of millions of years but that doesn’t mean that they aren’t a thing. ¯\_(ツ)_/¯
A set of guiding principles from and all-knowing God is not what religion is. Maybe it’s what Abrahamic religions are, but there were religions before them and other religions even today.
I don’t think banning is a good answer. My own preferred solution is mandatory religious education. Once you learn about all of the religions of the world the idea that any of them could possibly be correct about either the nature of reality or deciding what is right becomes clearly absurd.
I looked a few years ago when a friend of my partner got a Tesla a few years ago. Picking a color cost like €2000 or so.
I always look on itch.io and GoG first!
Yes the article says to leave your phone if you can, and to use a burner phone otherwise.
My understanding is that Obama encouraged frank expression of different opinions in the Cabinet. Not every leader values blind obedience.
$1 $2 per month is expensive? 🤣
[edit: I can’t do simple math]
The claim was “Email server owners don’t look at the content”. This is untrue since possibly the largest owner of email servers looks at the content to monetize the service. That’s all.
Yeah, the largest email company is probably Google (maybe Microsoft). Google definitely looks at every email they receive for users!
I don’t really know much about French politics, but surely there is something similar that right wing reactionaries can get upset about there.
For example a Dutch friend of mine who has been radicalized by Joe Rogan, Twitter, and Facebook tells me that you can’t say anything bad about Islam in Holland, as he sends me link after link with fascist anti-Muslim propaganda. (Like… you can’t say things that the “news” that you just sent me is literally saying?)
Enshittification is a particular outcome of a particular stage of capitalism.
So, you’re “correcting” someone without them being wrong. ¯\_(ツ)_/¯
In Europe each stall has actual walls and the doors are actually doors. So mixing is fine, because everyone has actual privacy.
My point is that if your variable can be
None
then you need the same pattern for the length check.So for the Pythonic version:
if (foo is not None) and not foo: ...
For the explicit length check:
if (foo is not None) and (len(foo) == 0): ...
Honestly you’re probably better off using type hints and catching such things with static checks and not adding the
None
check.