I'm currently trying to learn nodejs and a small project I'm working is writing an API to control some networked LED lights.  The microprocessor controlling the LEDs has a processing delay, and I need to space commands sent to the micro at le...
I have an interesting situation that my usually clever mind hasn't been able to come up with a solution for :)  Here's the situation...  I have a class that has a get() method... this method is called to get stored user preferences... what it...
I can write non-blocking I/O in Node.js  very easily. It's what the entire library is set up for.  But any computation done is blocking. Any message passing over event emitters are blocking.  For example, emitting events are resolved immediately...
I read this nice article on how external scripts block the UI thread but it wasn't clear to me whether the blocking is actually due to the presence of the <script> tag or the src='/myscript.js' src attribute.  My question is does in...
There is an example of javascript blocking from Steve Souders from his Book 'High Performance Web Sites': http://stevesouders.com/hpws/js-blocking.php  Javascripts don't block Downloads anymore, but still do block rendering.  .. but there...
A lot of you are probably aware of the new EU privacy law, but for those who are not, it basically means no site operated by a company resident in the EU can set cookies classed as 'non-essential to the operation of the website' on a visitors...
I have used the "Better Google Analytics JavaScript that doesn’t block page downloading" to load Google Analytics dynamically so that it will not block HTML / page rendering.  However, it appears occassionaly that my HTML page will block re...
I'm trying to mock out a method which takes a long time for testing purposes but can't find a good way to do this in Javascript. Any good approaches besides writing a very long for loop?...
I have a fancy script that is nice, but not essential and surprise surprise, doesn't play nice with IE. How do I 'comment it out' for IE?  I know I can use the following to include statements for IE, but how do I exclude them?  <!--[if...
Here is one that is throwing me for a loop. I am trying to set a simple cookie that has one name:value pair on IE8. Tested on FF and it works fine. IE8 keeps blocking it.  I have read about the P3P stuff and created a basic P3P doc, no errors reporte...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.