Challenge Problems: a worked example II: now with more javascript!

**!!! WARNING !!!

This is very much a work in progress. Let's just assume that nothing here actually works until a week, min, before the date of the talk.

!!!WARNING!!!**

Talk to be given at coloradoSprings.js, Septemeber 23, 2015.

Forked from and based on my talk given at develop denver, August 6th 2015

Problemsets

More info

Wikipedia: Cycle Detection

Building slides

Build Requirements

  • python 2.7.x
  • node
  • sass

Don't forget to git submodule update --init.

After that, cd slidedeck && make. Slides are generated as slidedeck/index.html

Running testcases

In directory code/:

node fixture.js <implementation> [<case>] runs case/<implementation>.js. If <case> is specified, only the indicated case from cases.json is tried.

fixture.py <implementation> [<case>] runs case/<implementation>.py. If <case> is specified, only the indicated case from cases.json is tried.

Manifest:

  • README.md: this file
  • slidedeck/: slidedeck root
  • slidedeck/Makefile: slidedeck Makefile. Interesting targets are default, generate-html, and generate-sass
  • slidedeck/bin/assemble.py: slidedeck generator, called by Makefile
  • slidedeck/src: slide source files
  • slidedeck/custom: custom stylesheets
  • slidedeck/deck.js: submodule copy of deck.js
  • slidedeck/highlight.js: stock copy of highlight.js
  • code/cases.json: test cases
  • code/fixture.js: test fixture for js implementations
  • code/fixture.py: test fixture for python implementations
  • code/implementations/: solution implementations
  • code/implementations/markup: copies of implementations with elements for presentation. Not much interesting here.