Posts by Marco Aurelio • 201 points
2 posts
-
4
votes2
answers103
viewsA: Is there any risk of not validating the name of a function used in JSONP?
You can validate the call function, but this will restrict the use of your service. An attack could occur as a way to inject code into some page, where the javascript return code(jsonp) would be…
-
1
votes1
answer267
viewsA: Using double type in c++ can be "faster" in terms of running time than using floats?
As Ivella commented, the "precise" mode is used for when you need more precision in float calculations. The extra time seems to be in the transmission of the extra bits in each of the operations.…