If you are using NightwatchJS getting ESLint errors like these; 6:1 error "describe" is not defined no-undef 16:3 error "beforeEach" is not defined no-undef 39:3 error "it" is not defined no-undef Simply ignore the relevant Nightwatch globals in your .eslintrc ... "globals": { // ignore these nightwatch globals "describe": false,...

While setting up NightwatchJS so that I could do some end-to-end testing on a React/Redux project, I encountered this error; > nightwatch -e chrome Starting selenium server... There was an error while starting the Selenium server: Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/grid/selenium/GridLauncher : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method)...

In my ongoing love affair with static code analysis tools, I wanted to find a good code linter for Javascript, to use with Sublime. More specifically, a React.js project, with Mocha for tests, and of course using the awesome ES6 syntax (with Babel). With a background in Ruby and Go,...

Seth Bling's MarI/O is an implementation of the NEAT machine-learning algorithm that teaches itself to play Super Mario. My initial attempts to run MarI/O were on OSX. While these attempts were ultimately unsuccessful, I did learn a few things. Attempt #1: BizHawk on OSX I first tried to use the...

I was recently intrigued by Seth Bling's MarI/O - a neural network slash genetic algorithm that teaches itself to play Super Mario World. Seth's implementation (in Lua) is based on the concept of NeuroEvolution of Augmenting Topologies (or NEAT). NEAT is a type of genetic algorithm which generates efficient artificial...