Asynchronous Neural Networks in JavaScript
March 6, 2018
For the past few months I’ve been trying to get some of my robots to roam around the house with a mind of their own, learning as they go. It turns out that the task is harder than I thought. The main issue is paralell signal processing. To illustrate: a single robot will have usually […]
Immutability in JavaScript: A Contrarian View
April 13, 2017
So if everyone says Immutability is good, that means mutating objects is bad, right? I wrote this originally as a answer to a stack overflow question posted by someone who was as baffled by this JavaScript programming trend as I was. Here is my answer to this topic, it is contrarian and may also be […]
How to Build a Cross-Platform Metal Detector App
October 22, 2015
Did you know that your smartphone has an in-built magnetometer to power its compass? The earth’s magnetic field is big but not particularly strong, and that means that the magnetometer in your phone is sensitive enough to detect small ferrous metal objects such as a coin, a large nail or a piece of cutlery which […]
25 Techniques for Javascript Performance Optimization
February 21, 2012
These are some the techniques I use for enhancing the performance of JavaScript, they have mostly been collected over various years of experience using the language for improved responsiveness of websites and web applications.
Object-Oriented JavaScript Inheritance
September 29, 2011
This is simple but crucial stuff in JavaScript. Its easy to forget how to do object-oriented inheritance from scratch when you are dealing with several JS frameworks and each of them has pre-built methods that support this functionality in a slightly different way.
How to obtain SOAP Request body in C# Web Services
May 21, 2011
Microsoft left something out when designing web services, fortunately there is a nifty way to obtain the original SOAP request within a C# web service.