Avatar

SzethFriendOfNimi

SzethFriendOfNimi@lemmy.world
Joined
15 posts • 1.3K comments
Direct message

A two panel meme with Candace and her mom from the cartoon Phineas and Ferb. They are alone in the car with Candace’s mom driving.

In the top panel sits Candace in the passenger seat, smiling and gesturing with her hands to show excitement and she’s speaking.

Text at the bottom of this panel says “they are so nice to put alt-text under their memes just for people like me to get the joke.”

In the bottom panel the same scene but this time her hands are at rest together while Candace’s mom looks at her and is speaking.

Text at the bottom of this panel says “I worry about you sometimes Candace.”

permalink
report
reply

A library card and library resources such as Libby

permalink
report
reply

Careful. They might charge you 0.20 for every mouse click on that thing.

permalink
report
reply

So in JavaScript there’s the assignment

=

and the comparator is

==

Since there’s no types JS will do implicit conversion before comparison when using == in a case like this

if(false == '0'){
    //this is true
}

But with === it doesn’t. It means literally compare these

if(false === '0'){
    //this is false
}else{
    //so this will execute instead 
}

But this, however, will

var someState = false;
 if(someState === false){
    //this is true
}
permalink
report
parent
reply

Because even the possibility that you implemented somebody else’s proprietary code from memory or inspiration opens up a lot of legal issues.

And while you may win there’s no winners when you or your employer has to pay your side of legal fees. It’s best to just avoid it to make that process easier.

permalink
report
parent
reply

Mercator Projection. So many ways to try to represent a sphere on a flat 2D plane but none are perfect

https://theconversation.com/five-maps-that-will-change-how-you-see-the-world-74967

And this “True Size” map is fun to play with.

TheTrueSize

permalink
report
reply

Again for anybody working on their own games or who does software. Avoid this like the plague.

permalink
report
reply

Remember, always validate your inputs.

permalink
report
reply

I know it’s a joke but I prefer the tab option. It’s easy to convert tabs to any particular spacing or code point width. It can also vary, if wanted, based on terminal or editor type.

People with worse eyesight can have a wider indentation while those who choose can opt for something more compact

permalink
report
reply