Category Archives: Uncategorized

Idea: Low Emission Zones & Engine Control Units

The idea is that a car’s ECU would know (triggered by GPS or NFC communication) when it is in a low emission zone and to automatically alter its driving parameters to reduce emissions while within the low emission zone. Advertisements

Posted in Driving, Emissions, Uncategorized | Leave a comment

Find what is setting a global variable in javascript

Having identified an unknown global variable in your JavaScript application, how should you go about finding what is setting it? Well one way is to watch for the variable being set as follows.  In this example, I look for something … Continue reading

Posted in Uncategorized | Leave a comment

iOS Safari correct viewport size

In our html5 application on iOS, in particular when running as a home screen icon, there was an annoying extra 20px of space at the bottom of the window that allowed the content to be scrolled up underneath the status … Continue reading

Posted in Uncategorized | Leave a comment

HOWTO: Generate a javascript stack trace

(new Error(‘oops’)).stack

Posted in Uncategorized | Leave a comment

showModalDialog replacement

Ok, so this is not a drop-in replacement for showModalDialog, because it does not block javascript, and does require some code changes.  I wrote it to demonstrate that we don’t really need showModalDialog, we can achieve the use case (prevent interaction … Continue reading

Posted in Uncategorized | 4 Comments

Is Linux Secure? — Answer: NO

I find it amusing that probably the single most critical security flaw in the history of the internet (heartbleed) does not affect Windows!   Amusing because for a long time the Linux camp has claimed how ‘secure’ it is compared … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

TESO

Huge Fuck Up Nuff Said

Posted in Uncategorized | Leave a comment