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

What is 2015_1128 Code Challenge?

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

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

The above repository should be deployed at so you can use a browser (Chrome works best) to study the behavior of the JavaScript:

We start with three tasks: Install Ubuntu, enhance it, and create account named ann:
  • After I learn some Emacs or some other editor, I Install Node.js in this folder: ~ann/node/
  • cd ~ann
    tar zxf node-v5.0.0-linux-x64.tar.gz
    rm -rf node
    mv node-v5.0.0-linux-x64 node
  • Then, I add Node.js to PATH:
    export       PATH="/home/ann/node/bin:${PATH}"
    echo 'export PATH="/home/ann/node/bin:${PATH}"' >> ~ann/.bashrc
  • Run a test:
    which node
    node -e 'console.log("hello world")'
  • Install CoffeScript to test npm:
    which npm
    npm install -g coffee-script
    ls -la /home/ann/node/lib/node_modules/
    which coffee
    coffee -e 'console.log "hello coffee!"'
  • Start work on an app:
    cd ~ann
    rm -rf app29
    git clone
    cd ~ann/app29
    .  ~ann/app29/app29env.bash

If you want to deploy this repository to Heroku, follow this recipe:
  • Create an account at website
  • Download/Install Heroku client
    cd ~ann
    tar zxf heroku-client.tgz
    echo 'export PATH=/home/ann/heroku-client/bin:${PATH}' >> ~ann/.bashrc
    echo  export PATH=/home/ann/heroku-client/bin:${PATH}
  • I created ssh-key for ann account (assuming ann has none yet):
    ann@dev06:~$ ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/home/ann/.ssh/id_rsa): 
    Created directory '/home/ann/.ssh'.
    Enter passphrase (empty for no passphrase): 
    Enter same passphrase again: 
    Your identification has been saved in /home/ann/.ssh/id_rsa.
    Your public key has been saved in /home/ann/.ssh/
    The key fingerprint is:
    7c:73:e0:26:8b:62:f6:a4:1d:78:22:e5:cd:3a:5c:eb ann@dev06
    The key randomart image is:
    +--[ RSA 2048]----+
    |                 |
    |                 |
    |          .      |
    |       . . .     |
    |    .   S = .    |
    |   o +.. = o     |
    |  ..B.B..        |
    |   +oX..         |
    |    ooE          |
  • I used heroku-client to "login" my shell. I gave a copy of ann public ssh-key to heroku:
    heroku status
    heroku auth:login
    heroku auth:whoami
    heroku keys:add
  • I used heroku-client to create a blank app named app29 at
    cd ~ann/app29
    ~ann/heroku-client/bin/heroku create app29
  • git-push ~ann/app29 to heroku
    cd ~ann/app29
    git add .
    git commit -am hello
    git push heroku master
  • I saw ~ann/app29 deployed at


  • How to get started with ConvNet.js?
  • What Python based Deep Learning technology can I run on my laptop?
  • Can I compare how I learn to how Deep Learning Learns?

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

If you have questions, e-me: Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me