Trigger question (PHP warning)
-
Dude... duuuuuuude. I use PHP... I have no position!
"Bent over" is not a position you recognize as such?
Filed under: Depending on who's doing the
SPANK!
ing, you may even not have the grounds for a complaint
-
at home (yes I do PHP for fun)
Seek help immediately. This calls for drastic measures: Commitment, restraint so you don't do yourself (or others) further injury, and then maybe electroshock therapy.
-
Oh, that's a perfectly reasonable warning and also I don't use C very much so normally namespaces fix that problem. This is one of the many reasons we have to keep explaining to new developers that they should not use
using namespace std;
.
-
There was a time when -Wall indeed meant all warnings. Then they added more warnings.
Smarter people would've made sure
-Wall
applied to the new ones.
-
Smarter people would've made sure -Wall applied to the new ones.
but.... backwards compatibility!
-
@FrostCat said:
Smarter people would've made sure -Wall applied to the new ones.
but.... backwards compatibility!
That's a TDEMSYR if I ever heard one.
-
@accalia said:
@FrostCat said:
Smarter people would've made sure -Wall applied to the new ones.
but.... backwards compatibility!
That's a TDEMSYR if I ever heard one.
hey, the devil herself isn't here and someone needs to advocate for her!
(i'm not disagreeing with you personally)
-
That's a TDEMSYR if I ever heard one.
But it's true. In the sense that this was their rationale.
-
-
-
Filed under: Rules for lovely tdwtf boys
/me adds the above to his ever-growing list
-
Personally, on his knees might be more appealing
Filed under: Rules for lovely tdwtf boys
<head> like a hole.
-
no you can't take it
no you can't take that away from me
-
so sad... that was the only amusing thing about PHP, all the other things just make you cry or rage.
-
How about the system defaults for latitude and longitude pointing to Israel?
-
That's just in case someone writes an ICBM targeting system in PHP…
-
So it would type cast and end up pointing them into a random sea?
-
It's not random! That sea off Equatorial Guinea is well known for capturing all sorts of things, such as being the only place where capybaras and polar bears are found together in the wild. (Well, according to some species occurrence databases I've looked at this is true…)
-
You're getting that outcome? Interesting, sounds like you're still using 5.3.10 or earlier because that was definitely supposed to be fixed in 5.3.11.
-
A better title would have been
Trigger warning (PHP question)
-
Interesting, sounds like you're still using 5.3.10 or earlier because that was definitely supposed to be fixed in 5.3.11.
Nah, the data's bad in the database so GIGO rules.
Fun fact: with species occurrence databases it's also important to exclude the location of major museums in your filtering, otherwise you get your data polluted with the GPS coordinates of the cabinet where the sample is stored. It shouldn't be like that, but the people digitising the records apparently didn't give a fuck for actual meaningfulness…
-
YMBNH
-
So it would type cast and end up pointing them into a random sea?
Not just any sea. The Dead Sea.