1,260 karma · joined November 2, 2009
[0] http://natashenka.ca/posters/ [1] https://news.ycombinator.com/item?id=7156405
Hey, at least you have the option of getting it on iTunes. Where I am, neither iTunes, Amazon Instant Video or any other online service is willing to even sell me the content I want.
[1] http://dev.mysql.com/doc/refman/5.6/en/mysql-tips.html#safe-...
That's not true. You can write answers right away, but you need to acquire some rep before you can write comments .
See the string comparison routine in 5.3 [3] and 5.4 [4]. The new implementation still inspects the strings to see if they are numeric and then tries to do a numeric equality check rather than string equality check, leading to amusing tricks like
var_dump("0xFF" == "255.0"); // true!
But if both values overflow the long type and their double representations are equal, the new implementation falls back to actual string equality. A quick check at [5] shows that both values heron87 compared have identical double representations, assuming (sizeof double == 8), so the new representation detects the long overflow, then it sees that double representations are also identical, and then it returns to string equality rather than numeric equality. The old implementation did not consider long overflow and ended up comparing the numeric values.[1] https://bugs.php.net/bug.php?id=54547
[2] https://bugs.php.net/bug.php?id=62097
[3] https://github.com/php/php-src/blob/PHP-5.3/Zend/zend_operat...
[4] https://github.com/php/php-src/blob/5.4/Zend/zend_operators....
Full run-time type checking would have overhead. It would also be unnecessary in places where data flows from Typescript function to Typescript function — those places should already be foolproof after the compile-time checks.
And yes, it is reasonable to expect the customer to provide the licenses for the software, but hosting companies can also sell monthly software usage to their customers - we ended up choosing a host that did exactly this. The monthly cost we pay for Windows + MSSQL will not reach the total cost of a full MSSQL license for three years.
[1] http://www.reddit.com/r/programming/comments/1gfve8/how_not_...
[2] http://www.reddit.com/r/programming/comments/1gfve8/how_not_...
I accept that for managed servers they need to connect from outside to manage them, but how hard would it be to drop all traffic except for the IP range their management systems use?
I am getting quite different results - it records http requests and user input (keyboard/mouse).
Windows 7 x64, Chrome 25.0.1364.172 m :
# navigate to chrome directory
cd C:\Users\User\AppData\Local\Google\Chrome\Application\
# run chrome with a new profile
chrome --user-data-dir="../User Data/recording_test" --first-run --record-mode
# use the new chrome profile to browse around
# close chrome
# launch it in playback mode
chrome --user-data-dir="../User Data/recording_test" --playback-mode
# watch disaster ensue as it locks your mouse (not keyboard),
# replays all activity (url bar input, navigation, mouse cursor movements...),
# and doesn't even stop when you alt-tab
# to a different application
It feels unpolished - mouse scroll wasn't recorded, the "translate this page?" bar wasn't showing up the same way as in the recording, and most importantly, I managed to switch to a different application and it continued sending input to that application. HTTP requests did get cached as promised, and non-cached requests (due to missing scroll event, it clicked on a different link) resulted in a cache error. "c:\path\to\chrome\dir\chrome" --user-data-dir="c:\path\to\chrome\dir\User Data/test" --record-mode(I spent several years reverse-engineering Command & Conquer RA2, I should know - that game has hacks and flukes everywhere.)
[1] http://www.html5rocks.com/en/tutorials/pointerlock/intro/