Sometimes there’s also the line that goes down at the start of the sprint, because the team still had to finish some dumb busywork to complete a story from the previous sprint.
This was just recently removed from sudo. Truly the end of an era
<span style="color:#323232;">Remove "This incident will be reported." from user warnings.
</span><span style="color:#323232;">
</span><span style="color:#323232;">This used to indicate that email had been sent to the administrator
</span><span style="color:#323232;">telling them that someone tried to run sudo. Whether or not sudo
</span><span style="color:#323232;">sends email is now configurable, so the warning may not be accurate.
</span><span style="color:#323232;">It is also confusing to the user since they will not know who the
</span><span style="color:#323232;">incident is being reported to. See also https://xkcd.com/838
</span>
Ok some of these I understand but what the fuck. Why.
Edit: ok I have a theory. == checks equality without casting to any types, so they’re not equal. But < and > are numeric operations, so null gets cast to 0. So <= and >= cast it to 0, and it’s equal to 0, so it’s true.
greater than, smaller than, will cast the type so it will be 0>0 which is false, ofcourse. 0>=0 is true.
Now == will first compare types, they are different types so it’s false.
Also I’m a JavaScript Dev and if I ever see someone I work with use these kind of hacks I’m never working together with them again unless they apologize a lot and wash their dirty typing hands with… acid? :-)
edit: as several people already pointed out, my answer is not accurate. The real solution was mentioned by mycus
I know it’s a joke, but it’s an old one and it doesn’t make a lot of sense in this day and age.
Why are you comparing null to numbers? Shouldn’t you be assuring your values are valid first? Why are you using the “cast everything to the type you see fit and compare” operator?
Other languages would simply fail. Once more JavaScript greatest sin is not throwing an exception when you ask it to do things that don’t make sense.
You need to be agile when you scrum on kubernetes. Especially when you react on nodejs and your json is out to lunch. Y2K was a mercy killing and we couldn’t see it.
parseInt is meant for strings so it converts the number there into a string. Once the numbers get small enough it starts representing it with scientific notation. So 0.0000001 converts into “1e-7” where it then starts to ignore the e-7 part because that’s not a valid int, so it is left with 1
This is a reucurring theme at this specific subject unfortunately. He doesn’t seem to put much effort into it, as most slides are just plain text and nothing else. I stopped attending after the second class.
That truly sucks. Yeah, some professors can be like that. I had a math professor offer bonus points to the first 3 students completed the assignment, only for the majority to cheat and just look up the answer and turn that in. It became a contest of who could copy the fastest and one student even admitted to doing it, but she just didn’t care and gave points to the cheaters anyway.
programmerhumor
Oldest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.