Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Paramite At that point, there were a lot of 0 upvote posts, discussing dumb theories or trolling. Plus this kind of blows my mind that the op and commenters didn't know what was going on. It seemed like the obvious solution to me.
-
That and... blame your language...? Come on now. Bitch about PHPs real shortcomings....
Like how checking for an array type is is_array(), but checking for existence is isset(). -
rozzzly16718yI _totally_did_not_have_ like a long response typed out in the Desktop Webapp. And I most certainly did not accidentally click outside of of the <textarea /> by like 1px causing the modal to close which triggers the unloading le <textarea /> from the DOM. All results the value/text content of my almost-rant to be discarded.
@dfox, you reaaaaaaaaaaally should sync unposted rant content to LocalStorage (unique to rant ID) each time the text in the "post comment" changes
http://caniuse.com//...
Native BrowserApi === no deps, wonderful compatibility, wont bottleneck on your grandmothers computer. would take like 10 lines in 10 minutes to implement in ES5..
I'll write if you want. It's such an easy thing to implement
contact: pclienau@gmail.com / github.com/rozzzly
Otherwise I'll prob just write some userscript.. meh. Take the free UX polish dewd. -
rozzzly16718y@StefanH
bothersome devils advocate here:
Sure, modern ballistics' guidance system (and those of cars, etc) are thrown off by the poor handling of floating point values; loss of precision, parity bits, something and the that other thing other thing. But that's orders of magnitude less of a factor in miraculously missing missiles than accuracy of measurements, especially GPS.
But If the US is _literally_ a dozen times a day going to spend up to 1m$$ per "smart-weapon" to bombard a few dozen innocent civilians (and potentially the intended terrorist).. well I goddamn hope they can how to use some damn arbitrary-precision integers (eg: BigInteger in java) and not primitives lmao
Related Rants
No offense, but if you're expecting 0 and not -80, then you know you're using floats.... Are there really devs that don't know what floating point round off is?
undefined
floats
numbers