We have rewritten SilverBench from Silverlight to JavaScript… and it works!

Microsoft killed Silverlight in 2012, and as you may have noticed the Internet Explorer is the last browser that supports it. So as the result, less and less users are using SilverBench to benchmark or stress test their PCs. Today we are launching SilverBench v2 rewritten entirely in the JavaScript, so you can now benchmark […]

How to execute JavaScript after inserting into element.innerHTML automatically

Here is a scenario: you have some software/component that inserts partial HTML into page using JavaScript element.innerHTML function; you can insert any HTML tags including <script>; you can not call any JS function (software/component does not have such functionality), and inserted script using innerHTML is not executed automatically. After some lost time trying to come […]

2011 links no. 3

Interview With Sacha Barber in The Code Project. The ABA problem occurs during synchronization, when a location is read twice, has the same value for both reads, and “value is the same” is used to indicate “nothing has changed”. However, another thread can execute between the two reads and change the value, do other work, […]