syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

Question:
What is 2015_1227 Code Challenge?

The 2015_1227 Code Challenge is a learning exercise for students attending Dan's Linux JavaScript Class at 3pm on 2015-12-27 at Hacker Dojo:

http://www.meetup.com/Dans-Linux-JavaScript-Class/events/227617350

This class is similar to the class on 2015-12-20 except that we will study enhancements to deep500.meteor.com done during the week of 2015-12-20.

In class we will study Deep500 with the chrome-browser debugger:

https://github.com/danbikle/deep500

Already, the above repository should be deployed at meteor.com for you so you can use a browser to study the behavior of the JavaScript:

https://deep500.meteor.com

The steps I followed to run this repository on my Ubuntu host are listed below:
  • This repo depends on Meteor so I installed it:
    cd ~
    curl https://install.meteor.com/ | sh
    echo 'export PATH=${HOME}/.meteor:$PATH' >> ~/.bashrc
    bash
  • Next I ensured that my Ubuntu host had both curl and git:
    sudo apt-get install curl gitk
  • Then I cloned the deep500 repo:
    cd ~
    git clone https://github.com/danbikle/deep500
  • Then I started the Meteor server:
    cd ~/deep500
    git checkout -b mybranch
    ~/.meteor/meteor
  • I started Chrome and browsed this URL:
    http://localhost:3000
  • I saw a page which was mostly empty.
  • I created an account via the Sign-in-link.
  • Then I logged in and created a model.
  • Next, I clicked the 'chart em' button to see what I call the "blue-green visualization".
  • Then, I pressed the use-this-model button to see another "blue-green visualization".

Questions

  • How to compare code on 2015-12-27 to code on 2015-12-20?
  • How to diagram steps followed by Deep500 after the use-this-model button is pressed?
  • What obvious bug does the use-this-model button have?
  • What are some obvious enhancements the use-this-model button needs?
  • Where in the code do I see global variables?
  • How might I enhance the code so I use fewer global variables?
  • Where in the code do I violate the DRY principle?
  • If I press the use-this-model button on 2010 and the model was trained using data from 2010, what should I see?
  • When I press the use-this-model button I get values from the radio buttons using what kind of syntax?
  • The model-creation form also uses radio buttons, how do I get values from them?
  • Which kind of syntax is 'better' for getting values from the radio buttons?

That could be considered an adequate code challenge for a two hour Meetup.

If you have questions, e-me:

bikle101@gmail.com


syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me