Test Automation

Dynamically generating mocha tests

Antonio Bebiano wrote “My first project at OW Labs was the development of World Energy Council’s trilemma index tool. This tool’s main purpose is to enable users to see how worldwide countries rank against three variables: energy security, energy equity and environmental sustainability. If you would like to know more about these variables go ahead and check the…”

By Engineers11 (Own work) [CC BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons

Scripting vs. Engineering

Ian Rogers wrote “I’ve come to the conclusion that the terms like “programming”, “coding” etc. have become horribly ambiguous which has enabled: organisations to offer courses on html/css editing as “coding” people to make claims like “nodejs is more productive than java” (which is a nonsense statement either way) various arguments along the lines of “is X a…”

By Paul Stein from New Jersey, USA (Crayon Test I) [CC BY-SA 2.0 (http://creativecommons.org/licenses/by-sa/2.0)], via Wikimedia Commons

bbfy: BBCode in the Age of JavaScript

Alexander Kahl wrote “Some readers might remember BBCode, a dated HTML-like syntax that enables users of forums to apply markup to their posts while minimising the danger of injecting malicious content into the whole website. (note: modern HTML doesn’t use these tags, anymore) While ubiquitous back in the early noughties, it has become a rare sight these days. WYSIWYG editing components…”

By Ixocactus (Own work) [CC BY-SA 4.0 (http://creativecommons.org/licenses/by-sa/4.0)], via Wikimedia Commons

ECMAScript 6

Jarek Siembida wrote “Recent projects got me dealing with JavaScript and this got me thinking about the language. You know, The Bad Parts. The damage has been done and there is no simple way to backpedal out of it. But hey, there is ECMAScript 6 to our rescue, is there not? Its final shape and form is known…”

By Tony Hisgett from Birmingham, UK (Dalek 1) [CC BY 2.0 (http://creativecommons.org/licenses/by/2.0)], via Wikimedia Commons

Telepresence Dalek: Part 2 – Video

Tom Parker wrote “Previously I wrote about the remote control parts of the Telepresence Dalek, but that’s only half the problem. The other half is video, both to provide a view of the Dalek’s PoV for the operator and to display the operator’s face on the Dalek.”

By Tony Hisgett from Birmingham, UK (Dalek 1) [CC BY 2.0 (http://creativecommons.org/licenses/by/2.0)], via Wikimedia Commons

Telepresence Dalek: Part 1 – Remote control

Tom Parker wrote “Earlier this month, I went to a science-fiction convention by the name of Dysprosium. At said convention was a competition called “Dalekdrome”, with the idea of taking remote controlled Daleks and then customising them. When I was first told about this, I was at another convention where someone was attending via a telepresence robot, and so…”

By mark sebastian (Flickr: Macro (#50542)) [CC BY-SA 2.0 (http://creativecommons.org/licenses/by-sa/2.0)], via Wikimedia Commons

Asynchronous interaction between a Windows Forms WebBrowser control and the hosted web page

Yong Wen Chua wrote “The System.Windows.Forms.WebBrowser control allows one to host a web browser inside a .NET application (the “hosting application”). The control exposes the ObjectForScripting property which allows an object on your application to be accessed by the web page hosted in the WebBrowser control through the Javascript window.external object. Invoking code on the hosted web page from…”

Lunchtime hack: My cycling routes

James Uther wrote “Like most Android users (because I think it’s the default) Google tracks my location. Thankfully, they provide a way for me to view and edit the data collected (Thus satisfying some major rules of personal data collection – well done!). But the interface on location history is clunky as a visualisation, so let’s spend lunch…”

CSS Transitions can’t animate display change

Sam Carr wrote “I’d like to demonstrate a fairly simple CSS issue that caught me out, and the straightforward solution. Put simply CSS Transitions do not work if there is a change in the display property as part of the same change that fires the transition, but you can workaround this by separating out the display change. If…”

A simple Knockout page router

Sam Carr wrote “Knockout.js is a pleasantly simple approach to data-binding ViewModels into your HTML. Like many JavaScript libraries it sticks to a core mission with a few simple concepts, which makes it quite approachable. Its simple template support means that you don’t need to write much code to get a top-level page router going in your single…”