

Reading this made me wonder if I was having a stroke, because it seems like English but I don’t recognize so many of the words. 👴
Reading this made me wonder if I was having a stroke, because it seems like English but I don’t recognize so many of the words. 👴
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.
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.
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.
$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 like the implication that people working for non-profits should make less money than people working for for-profit companies.
If a network engineer makes $130k at a non-profit versus $140k at a for-profit, they are effectively donating $10k a year to the cause. Very few people making $130k are donating $10k a year.
Yes, there are always more efficient and cheaper ways to work, but forcing non-profits to grind and answer and defend every penny spent just makes them shitty places to work on top of the financial hit the employees are taking. 😔
I feel personally attacked.
Those answers can be used to convict you. Don’t say anything!
I wish people would stop conflating energy with electricity.
So Germany had ⅔ of it’s electricity from renewables, but still has gas for warming homes, petrol for cars, diesel for trucks, and so on.
Maybe up until they stopped having “don’t be evil” as their company motto?
Stock options and grants are a tool to trick you into accepting lower pay and conflating your interests with those of the capital class. (Speaking as someone who has received both!)
From RFC 2804:
- The IETF believes that adding a requirement for wiretapping will make affected protocol designs considerably more complex. Experience has shown that complexity almost inevitably jeopardizes the security of communications even when it is not being tapped by any legal means; there are also obvious risks raised by having to protect the access to the wiretap. This is in conflict with the goal of freedom from security loopholes.
https://datatracker.ietf.org/doc/rfc2804/
This was written in 2000 in response to US government requests to add backdoors to voice-over-IP (VoIP) standards.
It was recognized 25 years ago that having tapping capabilities is fundamentally insecure.
Hm, maybe. I know that de Tocqueville found Americans to be obsessed with money in the 1830’s. Nothing seems to have changed in the past 200 years in that regard. 🤔
From the link you provide:
I mean, maybe it shouldn’t have been done?