Avatar

Saizaku

Saizaku@lemmy.dbzer0.com
Joined
0 posts • 5 comments
Direct message

I mean if you had bothered to open the article, it’s in the 2nd paragraph:

The most comprehensive study of global climate inequality ever undertaken shows that this elite group, made up of 77 million people including billionaires, millionaires and those paid more than US$140,000 (£112,500) a year

permalink
report
parent
reply

At the (SQL) database level, if you are using null in any sane way, it means “this value exists but is unknown”.

Null at the SQL means that the value isn’t there, idk where you’re getting that from. SQL doesn’t have anything like JS’s undefined, there’s no other way to represent a missing value in sql other than null (you could technically decide on certain values for certain types, like an empty string, but that’s not something SQL defines).

permalink
report
parent
reply

Read, write, and execute are represented by the numbers 4, 2, and 1, respectively, and you add them together to get the permission

Maybe I’m the weird one here but this seems like a counter intuitive way to remeber/explain it. Each octal digit in the three digit number is actually just 3 binary digits ( 3 bit flags) in order of rwx. For example read and execute would be 101 -> 5.

permalink
report
parent
reply

That’s a fair point, I guess I used binary numbers so much i uni that I just know the small ones by heart and that’s why I find it easier. Following the example, I never convert 101 as 4+0+1, I just see it and know it’s 5.

permalink
report
parent
reply