Is there a global approach to catch network errors in javascript

The window.onerror handler catches Javascript errors in Chrome 13+, Firefox 6.0+, Internet Explorer 5.5+, Opera 11.60+ and Safari 5.1+. There’s already a really good answer on StackOverflow which provides a lot of information about it. It does not catch failures to load resources, though. As far as other elements (such as images) are concerned, jQuery … Read more

Software memory bit-flip detection for platforms without ECC

The thing is, ECC is dirt cheap compared to “software ECC countermeasures”. You can easily detect if they have ECC modules and complain (or print a warning) when they don’t. http://www.cyberciti.biz/faq/ecc-memory-modules/ For example, can we see all writes to memory (both from user and kernel space), to distinguish between intended memory changes from in-memory bit … Read more

Cosmic Rays: what is the probability they will affect a program?

From Wikipedia: Studies by IBM in the 1990s suggest that computers typically experience about one cosmic-ray-induced error per 256 megabytes of RAM per month.[15] This means a probability of 3.7 × 10-9 per byte per month, or 1.4 × 10-15 per byte per second. If your program runs for 1 minute and occupies 20 MB … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)