Almost fell out of my chair when I read the Guardian Pick comment:
Sounds like a case of the port not calling the kettle back.
Almost fell out of my chair when I read the Guardian Pick comment:
Sounds like a case of the port not calling the kettle back.
Caption: Me trying to reproduce a bug from production on my local machine
Facebook was very timely with this one...
@Watson said in The Official Funny Stuff Thread™:
@PleegWat said in The Official Funny Stuff Thread™:
@Watson said in The Official Funny Stuff Thread™:
@PleegWat said in The Official Funny Stuff Thread™:
But when presented with 018 it appears to parse it to (decimal) 1 and discard the rest of the literal without printing a diagnostic at any error level, which is bad.
>php -a Interactive shell php > echo (017=='017') ? 'true' : 'false'; false php > echo (018=='018') ? 'true' : 'false'; PHP Parse error: Invalid numeric literal in php shell code on line 1 php >
?
Must be a version thing. I tested on a work box running an ancient version of PHP and I forgot they've been tightening up their game since 5.x
Ah, that would do it. You'll be glad to know then that these days
0=="not zero"
is false,
I wonder how many places that change caused things to break.
edit: No I don't
@robo2 said in Aviation Antipatterns Thread:
or has "trying to fly without fuel" always been an antipattern for jet planes? Don't know, I am not into planes so much...
I'd say it's more of an antipattern for pilots.
@Tsaukpaetra said in The Official Status Thread:
@dcon said in The Official Status Thread:
WTF? Oh yeah, when ubuntu goes to sleep, it logs me off and kills all processes.
Probably some IT security that makes the machine "more" "secure".
status
Fuck, I'm dumb sometimes...
Forgot I was running the laptop on battery. Started a build which involves pulling down 15 or 20G docker image. Go to lunch. Come back - I've been logged off, build stopped. WTF? Oh yeah, when ubuntu goes to sleep, it logs me off and kills all processes.
Plugged in now, and started said download all over again. FML.
@HardwareGeek As you know... The size of the house doesn't matter here. It's the size of the lot. You can pretty much guarantee that it will be torn down.
Took a bunch of clicks - but I found the lot size: 7841sf. For Silly Valley, that's actually a fairly large lot. (Mine's 8200sf)
@boomzilla said in Things that remind you of WDTWTF members:
Oh come now. You know a WDTWFT member would still be sitting in that boat.