Code Monkey home page Code Monkey logo

fall_2014_lessons's Introduction

General Assembly Data Science Course 14 - Fall 2014

This repo includes materials for the General Assembly Data Science course in NYC. Navigate the directory structure to find what you're looking for. The README.md files are often the most central in a directory, and will display by default when you navigate on github.

Upcoming Activity:

  • 12/8/2014 - Review
  • 12/10/2014 - Final Presenations - Dry Run
  • 12/15/2014 - Final Final Presenations

Office Hours

Rob will be available by appointment, [email protected]

Jarret and David will hold regular office hours

Jarret: Sun - 4:00-6:00 PM [email protected]

David: M,W - 5:30-6:30 [email protected]

Syllabus

| Date | Location | Topic | Assignment Due |:----------|:--------|:------|:------|:------ | 9/24/2014 | GA East (902 Broadway, 4th Floor) |Intro to Intro to Data Science | Submit first pull request (lab01) | 9/29/2014 || Intro to Machine Learning | Chicago housing price predictor (dataexplor01) | 10/1/2014 | | Linear Regression | lab02 iPython notebooks | 10/6/2014 | GA West (10 E. 21st St, 4th Floor) | Data Visualization and EDA | | 10/8/2014 | | Model Selection | dataexplor02 | 10/13/2014| | Columbus Day (Holiday/ No class) | | | 10/15/2014 | | Regularization, Dimensionality Reduction | dataexplor03 | 10/20/2014 | | Classification, Logistic Regression | dataexplor04 | 10/22/2014 | | Probability and Bayes Theorem, Naive Bayes Classifiers | | 10/27/2014 | | Evaluating Classifier Models | dataexplor05 | 10/29/2014 | | Project Lightning Talks | Project Update | | 11/3/2014 | | Time Series Analysis | dataexplor06 | 11/5/2014 | | Guest Speaker, Time Series Workshop | | 11/10/2014 | | Clustering, k-means | dataexplor07 | 11/12/2014 | | Recommendation Systems, Collaborative Filtering | | 11/17/2014 | | Natural Language Processing | dataexplor08 | 11/19/2014 | GA East (902 Broadway, 4th Floor) | Bayesian A/B Testing | | 11/24/2014 | | Decision Trees and Ensemble Methods | | 11/26/2014 | | (Holiday/ No class) | | 12/1/2014 | | Guest Speaker, Geospatial Problems | | 12/3/2014 | | Data Engineering: Distributed Computing, Hadoop + Guest Speaker | | 12/8/2014 | | Review | | 12/10/2014 | | Presentation Workshop | Presentation Slides/Outline | 12/15/2014 | |Final Presentations | Final Project Due

Getting Help

Github Issues

For general or specific course help, students can get the fastest response by posting an issue, to the issues page for this repository

  • Jarret or David will review each issue
  • Students and other instructors following the repository will also be able to address the issue, improving response time.

Submitting Assignments

We will be using the Fork and Pull git model for submitting labs and some assignments.

For the first assignment:

  1. Fork the assignments repo for the class:

  2. clone the repo to your newly created Data Science Toolbox

vagrant@data-science-toolbox:~$git clone [email protected]:<yourgithubusername>/fall_2014_assignments.git

in <yourgithubusername>/fall_2014_assignments/lab01, make a directory with your first initial/full last name.

vagrant@data-science-toolbox:~$export DIR=<"flastname">
vagrant@data-science-toolbox:~$mkdir $DIR; cd <yourgithubusername>/fall_2014_assignments/lab01/$DIR;

With a text editor, create and save a markdown file with the following content:

  • Your name and what you do
  • One liner about your coding and math background
  • Any social web you use and don't mind sharing (e.g. linkedin, twitter)
  • A data blog post you read recently for sharing with the class create a branch of the repository with a unique name, and then commit to that repo
vagrant@data-science-toolbox:~$git checkout -b my_name_class_1
vagrant@data-science-toolbox:~$git add .
vagrant@data-science-toolbox:~$git commit -m 'my first git commit!'
vagrant@data-science-toolbox:~$git push origin my_name_class_1

Add a pull request. This is the actual submission of your work. You can do this on github by finding your branch and clicking "Create pull request." Developers, feel free to use some command line tool for this if you prefer it.

Again, a link to github documentation on the Fork and Pull git model.

fall_2014_lessons's People

Contributors

babihutan avatar cranbury avatar eric-xu avatar robdoherty2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fall_2014_lessons's Issues

datasciencetoolbox in windows

several students running windows have been unable to successfully ssh into the virtualbox.

so far, I am unable to reproduce the error on my system:
OS: Windows7 Pro, Service Pack 1, 8 GB Memory
Vagrant 1.6.5
Oracle VM VirtualBox 4.3.16
putty 0.63

Vagrantfile config:

# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  # All Vagrant configuration is done here. The most common configuration
  # options are documented and commented below. For a complete reference,
  # please see the online documentation at vagrantup.com.

  # Every Vagrant virtual environment requires a box to build off of.
  config.vm.box = "data-science-toolbox/dst"

  # Disable automatic box update checking. If you disable this, then
  # boxes will only be checked for updates when the user runs
  # `vagrant box outdated`. This is not recommended.
  # config.vm.box_check_update = false

  # Create a forwarded port mapping which allows access to a specific port
  # within the machine from a port on the host machine. In the example below,
  # accessing "localhost:8080" will access port 80 on the guest machine.
  # config.vm.network "forwarded_port", guest: 80, host: 8080
  config.vm.network "forwarded_port", guest: 8888, host: 8888

  # Create a private network, which allows host-only access to the machine
  # using a specific IP.
  # config.vm.network "private_network", ip: "192.168.33.10"

  # Create a public network, which generally matched to bridged network.
  # Bridged networks make the machine appear as another physical device on
  # your network.
  # config.vm.network "public_network"

  # If true, then any SSH connections made will enable agent forwarding.
  # Default value: false
  # config.ssh.forward_agent = true

  # Share an additional folder to the guest VM. The first argument is
  # the path on the host to the actual folder. The second argument is
  # the path on the guest to mount the folder. And the optional third
  # argument is a set of non-required options.
  # config.vm.synced_folder "../data", "/vagrant_data"

  # Provider-specific configuration so you can fine-tune various
  # backing providers for Vagrant. These expose provider-specific options.
  # Example for VirtualBox:
  #
  # config.vm.provider "virtualbox" do |vb|
  #   # Don't boot with headless mode
  #   vb.gui = true
  #
  #   # Use VBoxManage to customize the VM. For example to change memory:
  #   vb.customize ["modifyvm", :id, "--memory", "1024"]
  # end
  #
  # View the documentation for the provider you're using for more
  # information on available options.

  # Enable provisioning with CFEngine. CFEngine Community packages are
  # automatically installed. For example, configure the host as a
  # policy server and optionally a policy file to run:
  #
  # config.vm.provision "cfengine" do |cf|
  #   cf.am_policy_hub = true
  #   # cf.run_file = "motd.cf"
  # end
  #
  # You can also configure and bootstrap a client to an existing
  # policy server:
  #
  # config.vm.provision "cfengine" do |cf|
  #   cf.policy_server_address = "10.0.2.15"
  # end

  # Enable provisioning with Puppet stand alone.  Puppet manifests
  # are contained in a directory path relative to this Vagrantfile.
  # You will need to create the manifests directory and a manifest in
  # the file default.pp in the manifests_path directory.
  #
  # config.vm.provision "puppet" do |puppet|
  #   puppet.manifests_path = "manifests"
  #   puppet.manifest_file  = "default.pp"
  # end

  # Enable provisioning with chef solo, specifying a cookbooks path, roles
  # path, and data_bags path (all relative to this Vagrantfile), and adding
  # some recipes and/or roles.
  #
  # config.vm.provision "chef_solo" do |chef|
  #   chef.cookbooks_path = "../my-recipes/cookbooks"
  #   chef.roles_path = "../my-recipes/roles"
  #   chef.data_bags_path = "../my-recipes/data_bags"
  #   chef.add_recipe "mysql"
  #   chef.add_role "web"
  #
  #   # You may also specify custom JSON attributes:
  #   chef.json = { mysql_password: "foo" }
  # end

  # Enable provisioning with chef server, specifying the chef server URL,
  # and the path to the validation key (relative to this Vagrantfile).
  #
  # The Opscode Platform uses HTTPS. Substitute your organization for
  # ORGNAME in the URL and validation key.
  #
  # If you have your own Chef Server, use the appropriate URL, which may be
  # HTTP instead of HTTPS depending on your configuration. Also change the
  # validation key to validation.pem.
  #
  # config.vm.provision "chef_client" do |chef|
  #   chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
  #   chef.validation_key_path = "ORGNAME-validator.pem"
  # end
  #
  # If you're using the Opscode platform, your validator client is
  # ORGNAME-validator, replacing ORGNAME with your organization name.
  #
  # If you have your own Chef Server, the default validation client name is
  # chef-validator, unless you changed the configuration.
  #
  #   chef.validation_client_name = "ORGNAME-validator"
end

Will's Problem

Wills-MacBook-Pro% vagrant reload
A Vagrant environment or target machine is required to run this
command. Run vagrant init to create a new Vagrant environment. Or,
get an ID of a target machine from vagrant global-status to run
this command on. A final option is to change to a directory with a
Vagrantfile and to try again.
Wills-MacBook-Pro% ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-I pkcs11] [-i identity_file]
[-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-W host:port] [-w local_tun[:remote_tun]]
[user@]hostname [command]
Wills-MacBook-Pro% ls
AT.postflight.1583 Pictures metisdata2.html
Applications Public metisdata3.html
Desktop VirtualBox VMs metisdata4.html
Documents dotfiles metisdata5.h
Downloads flashcards metisdata5.html alias
Dropbox metis metisdata5.json
Library metis_data.html pixtr
Movies metis_data2.html src
Music metis_prework
MyDataScienceToolbox metis_test.html
Wills-MacBook-Pro% cd MyDataScienceToolbox
Wills-MacBook-Pro% ls
Vagrantfile
Wills-MacBook-Pro% vagrant reload
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'data-science-toolbox/dst' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 8888 => 8888 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => /Users/willalisberg/MyDataScienceToolbox
==> default: Machine already provisioned. Run vagrant provision or use the --provision
==> default: to force provisioning. Provisioners marked to run always will still run.
Wills-MacBook-Pro% vagrant halt
==> default: Attempting graceful shutdown of VM...
Wills-MacBook-Pro% vagrant reload
==> default: Checking if box 'data-science-toolbox/dst' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 8888 => 8888 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => /Users/willalisberg/MyDataScienceToolbox
==> default: Machine already provisioned. Run vagrant provision or use the --provision
==> default: to force provisioning. Provisioners marked to run always will still run.
Wills-MacBook-Pro% pwd
/Users/willalisberg/MyDataScienceToolbox
Wills-MacBook-Pro% bash
bash-3.2$ exit
exit
Wills-MacBook-Pro% pwd
/Users/willalisberg/MyDataScienceToolbox
Wills-MacBook-Pro% vagrant provision
Wills-MacBook-Pro% vagrant ssh
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)

  • Documentation: https://help.ubuntu.com/
    Last login: Tue Sep 30 00:12:06 2014 from 10.0.2.2
    vagrant@data-science-toolbox:$ sudo ipython notebook --profile=dst
    2014-09-30 00:33:22.285 [NotebookApp] Using existing profile dir: u'/home/vagrant/.ipython/profile_dst'
    2014-09-30 00:33:22.298 [NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
    2014-09-30 00:33:22.335 [NotebookApp] Serving notebooks from local directory: /home/vagrant/notebooks
    2014-09-30 00:33:22.335 [NotebookApp] 0 active kernels
    2014-09-30 00:33:22.335 [NotebookApp] The IPython Notebook is running at: https://[all ip addresses on your system]:8888/
    2014-09-30 00:33:22.335 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 64785): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 10 ('10.0.2.2', 64786): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 64788): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 64791): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 64797): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 64800): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 10 ('10.0.2.2', 64801): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 64807): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 49281): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 49474): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 49968): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    exit
    $ exit
    ^C2014-09-30 00:46:18.487 [NotebookApp] interrupted
    Serving notebooks from local directory: /home/vagrant/notebooks
    0 active kernels
    The IPython Notebook is running at: https://[all ip addresses on your system]:8888/
    Shutdown this notebook server (y/[n])? y
    2014-09-30 00:46:20.237 [NotebookApp] CRITICAL | Shutdown confirmed
    2014-09-30 00:46:20.238 [NotebookApp] Shutting down kernels
    vagrant@data-science-toolbox:
    $ pwd
    /home/vagrant
    vagrant@data-science-toolbox:$ vagrant reload
    The program 'vagrant' is currently not installed. You can install it by typing:
    sudo apt-get install vagrant
    vagrant@data-science-toolbox:
    $ sudo apt-get install vagrant
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    bsdtar curl libarchive13 libcurl3 liblzo2-2 libnettle4 libruby1.9.1
    libyaml-0-2 ruby ruby-childprocess ruby-erubis ruby-ffi ruby-i18n ruby-log4r
    ruby-net-scp ruby-net-ssh ruby1.9.1
    Suggested packages:
    bsdcpio lrzip ri ruby-dev ruby1.9.1-examples ri1.9.1 graphviz ruby1.9.1-dev
    ruby-switch virtualbox
    The following NEW packages will be installed:
    bsdtar curl libarchive13 libcurl3 liblzo2-2 libnettle4 libruby1.9.1
    libyaml-0-2 ruby ruby-childprocess ruby-erubis ruby-ffi ruby-i18n ruby-log4r
    ruby-net-scp ruby-net-ssh ruby1.9.1 vagrant
    0 upgraded, 18 newly installed, 0 to remove and 87 not upgraded.
    Need to get 4,195 kB of archives.
    After this operation, 20.0 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main liblzo2-2 amd64 2.06-1.2ubuntu1.1 [46.1 kB]
    Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main libnettle4 amd64 2.7.1-1 [121 kB]
    Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main libarchive13 amd64 3.1.2-7ubuntu2 [259 kB]
    Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libcurl3 amd64 7.35.0-1ubuntu2.1 [173 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libyaml-0-2 amd64 0.1.4-3ubuntu3 [48.2 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/universe bsdtar amd64 3.1.2-7ubuntu2 [47.8 kB]
    Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main curl amd64 7.35.0-1ubuntu2.1 [123 kB]
    Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty/main ruby all 1:1.9.3.4 [5,334 B]
    Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty/main ruby1.9.1 amd64 1.9.3.484-2ubuntu1 [35.6 kB]
    Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty/main libruby1.9.1 amd64 1.9.3.484-2ubuntu1 [2,667 kB]
    Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty/main ruby-ffi amd64 1.9.3debian-1ubuntu2 [92.0 kB]
    Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty/main ruby-childprocess all 0.3.9-2 [20.9 kB]
    Get:13 http://us.archive.ubuntu.com/ubuntu/ trusty/universe ruby-erubis all 2.7.0-2 [120 kB]
    Get:14 http://us.archive.ubuntu.com/ubuntu/ trusty/universe ruby-i18n all 0.6.9-1 [36.0 kB]
    Get:15 http://us.archive.ubuntu.com/ubuntu/ trusty/universe ruby-log4r all 1.1.10-3 [102 kB]
    Get:16 http://us.archive.ubuntu.com/ubuntu/ trusty/universe ruby-net-ssh all 1:2.6.8-1 [93.4 kB]
    Get:17 http://us.archive.ubuntu.com/ubuntu/ trusty/universe ruby-net-scp all 1.1.1-1 [15.9 kB]
    Get:18 http://us.archive.ubuntu.com/ubuntu/ trusty/universe vagrant all 1.4.3-1 [189 kB]
    Fetched 4,195 kB in 6s (614 kB/s)
    Selecting previously unselected package liblzo2-2:amd64.
    (Reading database ... 59733 files and directories currently installed.)
    Preparing to unpack .../liblzo2-2_2.06-1.2ubuntu1.1_amd64.deb ...
    Unpacking liblzo2-2:amd64 (2.06-1.2ubuntu1.1) ...
    Selecting previously unselected package libnettle4:amd64.
    Preparing to unpack .../libnettle4_2.7.1-1_amd64.deb ...
    Unpacking libnettle4:amd64 (2.7.1-1) ...
    Selecting previously unselected package libarchive13:amd64.
    Preparing to unpack .../libarchive13_3.1.2-7ubuntu2_amd64.deb ...
    Unpacking libarchive13:amd64 (3.1.2-7ubuntu2) ...
    Selecting previously unselected package libcurl3:amd64.
    Preparing to unpack .../libcurl3_7.35.0-1ubuntu2.1_amd64.deb ...
    Unpacking libcurl3:amd64 (7.35.0-1ubuntu2.1) ...
    Selecting previously unselected package libyaml-0-2:amd64.
    Preparing to unpack .../libyaml-0-2_0.1.4-3ubuntu3_amd64.deb ...
    Unpacking libyaml-0-2:amd64 (0.1.4-3ubuntu3) ...
    Selecting previously unselected package bsdtar.
    Preparing to unpack .../bsdtar_3.1.2-7ubuntu2_amd64.deb ...
    Unpacking bsdtar (3.1.2-7ubuntu2) ...
    Selecting previously unselected package curl.
    Preparing to unpack .../curl_7.35.0-1ubuntu2.1_amd64.deb ...
    Unpacking curl (7.35.0-1ubuntu2.1) ...
    Selecting previously unselected package ruby.
    Preparing to unpack .../ruby_1%3a1.9.3.4_all.deb ...
    Unpacking ruby (1:1.9.3.4) ...
    Selecting previously unselected package ruby1.9.1.
    Preparing to unpack .../ruby1.9.1_1.9.3.484-2ubuntu1_amd64.deb ...
    Unpacking ruby1.9.1 (1.9.3.484-2ubuntu1) ...
    Selecting previously unselected package libruby1.9.1.
    Preparing to unpack .../libruby1.9.1_1.9.3.484-2ubuntu1_amd64.deb ...
    Unpacking libruby1.9.1 (1.9.3.484-2ubuntu1) ...
    Selecting previously unselected package ruby-ffi.
    Preparing to unpack .../ruby-ffi_1.9.3debian-1ubuntu2_amd64.deb ...
    Unpacking ruby-ffi (1.9.3debian-1ubuntu2) ...
    Selecting previously unselected package ruby-childprocess.
    Preparing to unpack .../ruby-childprocess_0.3.9-2_all.deb ...
    Unpacking ruby-childprocess (0.3.9-2) ...
    Selecting previously unselected package ruby-erubis.
    Preparing to unpack .../ruby-erubis_2.7.0-2_all.deb ...
    Unpacking ruby-erubis (2.7.0-2) ...
    Selecting previously unselected package ruby-i18n.
    Preparing to unpack .../ruby-i18n_0.6.9-1_all.deb ...
    Unpacking ruby-i18n (0.6.9-1) ...
    Selecting previously unselected package ruby-log4r.
    Preparing to unpack .../ruby-log4r_1.1.10-3_all.deb ...
    Unpacking ruby-log4r (1.1.10-3) ...
    Selecting previously unselected package ruby-net-ssh.
    Preparing to unpack .../ruby-net-ssh_1%3a2.6.8-1_all.deb ...
    Unpacking ruby-net-ssh (1:2.6.8-1) ...
    Selecting previously unselected package ruby-net-scp.
    Preparing to unpack .../ruby-net-scp_1.1.1-1_all.deb ...
    Unpacking ruby-net-scp (1.1.1-1) ...
    Selecting previously unselected package vagrant.
    Preparing to unpack .../vagrant_1.4.3-1_all.deb ...
    Unpacking vagrant (1.4.3-1) ...
    Processing triggers for man-db (2.6.7.1-1) ...
    Setting up liblzo2-2:amd64 (2.06-1.2ubuntu1.1) ...
    Setting up libnettle4:amd64 (2.7.1-1) ...
    Setting up libarchive13:amd64 (3.1.2-7ubuntu2) ...
    Setting up libcurl3:amd64 (7.35.0-1ubuntu2.1) ...
    Setting up libyaml-0-2:amd64 (0.1.4-3ubuntu3) ...
    Setting up bsdtar (3.1.2-7ubuntu2) ...
    Setting up curl (7.35.0-1ubuntu2.1) ...
    Setting up ruby (1:1.9.3.4) ...
    Setting up ruby1.9.1 (1.9.3.484-2ubuntu1) ...
    Setting up libruby1.9.1 (1.9.3.484-2ubuntu1) ...
    Setting up ruby-ffi (1.9.3debian-1ubuntu2) ...
    Setting up ruby-childprocess (0.3.9-2) ...
    Setting up ruby-erubis (2.7.0-2) ...
    Setting up ruby-i18n (0.6.9-1) ...
    Setting up ruby-log4r (1.1.10-3) ...
    Setting up ruby-net-ssh (1:2.6.8-1) ...
    Setting up ruby-net-scp (1.1.1-1) ...
    Setting up vagrant (1.4.3-1) ...
    Processing triggers for libc-bin (2.19-0ubuntu6) ...
    vagrant@data-science-toolbox:$ ^C
    vagrant@data-science-toolbox:
    $ ls
    notebooks repos
    vagrant@data-science-toolbox:~$ exit
    logout
    Connection to 127.0.0.1 closed.
    Wills-MacBook-Pro% ls
    Vagrantfile
    Wills-MacBook-Pro% nano Vagrantfile
    Wills-MacBook-Pro% vagrant reload
    ==> default: Attempting graceful shutdown of VM...
    ==> default: Checking if box 'data-science-toolbox/dst' is up to date...
    ==> default: Clearing any previously set forwarded ports...
    ==> default: Clearing any previously set network interfaces...
    ==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    ==> default: Forwarding ports...
    default: 8888 => 8888 (adapter 1)
    default: 22 => 2222 (adapter 1)
    ==> default: Booting VM...
    ==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    ==> default: Machine booted and ready!
    ==> default: Checking for guest additions in VM...
    ==> default: Mounting shared folders...
    default: /vagrant => /Users/willalisberg/MyDataScienceToolbox
    ==> default: Machine already provisioned. Run vagrant provision or use the --provision
    ==> default: to force provisioning. Provisioners marked to run always will still run.
    Wills-MacBook-Pro% vagrant ssh
    Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)
  • Documentation: https://help.ubuntu.com/
    Last login: Tue Sep 30 00:32:58 2014 from 10.0.2.2
    vagrant@data-science-toolbox:$ vagrant@data-science-toolbox:$ sudo ipython notebook --profile=dst
    vagrant@data-science-toolbox:$: command not found
    vagrant@data-science-toolbox:
    $
    [Restored]
    Wills-MacBook-Pro% pwd
    /Users/willalisberg
    Wills-MacBook-Pro% ls
    AT.postflight.1583 Pictures metisdata2.html
    Applications Public metisdata3.html
    Desktop VirtualBox VMs metisdata4.html
    Documents dotfiles metisdata5.h
    Downloads flashcards metisdata5.html alias
    Dropbox metis metisdata5.json
    Library metis_data.html pixtr
    Movies metis_data2.html src
    Music metis_prework
    MyDataScienceToolbox metis_test.html
    Wills-MacBook-Pro% cd MyDataScienceToolbox
    Wills-MacBook-Pro% pwd
    /Users/willalisberg/MyDataScienceToolbox
    Wills-MacBook-Pro% ls
    Vagrantfile
    Wills-MacBook-Pro% vagrant ssh
    VM must be running to open SSH connection. Run vagrant up
    to start the virtual machine.
    Wills-MacBook-Pro% vagrant up
    Bringing machine 'default' up with 'virtualbox' provider...
    v==> default: Checking if box 'data-science-toolbox/dst' is up to date...
    ==> default: Clearing any previously set forwarded ports...
    ==> default: Clearing any previously set network interfaces...
    ==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    ==> default: Forwarding ports...
    default: 8888 => 8888 (adapter 1)
    default: 22 => 2222 (adapter 1)
    ==> default: Booting VM...
    ==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    ==> default: Machine booted and ready!
    ==> default: Checking for guest additions in VM...
    ==> default: Mounting shared folders...
    default: /vagrant => /Users/willalisberg/MyDataScienceToolbox
    ==> default: Machine already provisioned. Run vagrant provision or use the --provision
    ==> default: to force provisioning. Provisioners marked to run always will still run.
    Wills-MacBook-Pro% vagrant ssh
    Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)
  • Documentation: https://help.ubuntu.com/
    Last login: Tue Sep 30 00:32:58 2014 from 10.0.2.2
    vagrant@data-science-toolbox:~$ sudo ipython notebook --profile=dst
    2014-09-30 01:36:02.668 [NotebookApp] Using existing profile dir: u'/home/vagrant/.ipython/profile_dst'
    2014-09-30 01:36:02.681 [NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
    2014-09-30 01:36:02.719 [NotebookApp] Serving notebooks from local directory: /home/vagrant/notebooks
    2014-09-30 01:36:02.720 [NotebookApp] 0 active kernels
    2014-09-30 01:36:02.720 [NotebookApp] The IPython Notebook is running at: https://[all ip addresses on your system]:8888/
    2014-09-30 01:36:02.721 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52789): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 10 ('10.0.2.2', 52790): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52793): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52795): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52799): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52809): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52812): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 10 ('10.0.2.2', 52813): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52815): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 52918): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(_sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    WARNING:tornado.general:SSL Error on 7 ('10.0.2.2', 53089): [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    ERROR:tornado.general:Uncaught exception
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 674, in _server_request_loop
    ret = yield conn.read_response(request_delegate)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 109, in result
    raise_exc_info(self._exc_info)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 631, in run
    yielded = self.gen.throw(*sys.exc_info())
    File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 165, in _read_message
    io_loop=self.stream.io_loop)
    File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 628, in run
    value = future.result()
    File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 111, in result
    raise self._exception
    SSLError: [Errno 1] _ssl.c:510: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
    Connection to 127.0.0.1 closed by remote host.
    Connection to 127.0.0.1 closed.
    Wills-MacBook-Pro% pwd
    /Users/willalisberg/MyDataScienceToolbox
    Wills-MacBook-Pro% cat Vagrantfile

    -- mode: ruby --

    vi: set ft=ruby :

Vagrantfile API/syntax version. Don't touch unless you know what you're doing!

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

All Vagrant configuration is done here. The most common configuration

options are documented and commented below. For a complete reference,

please see the online documentation at vagrantup.com.

Every Vagrant virtual environment requires a box to build off of.

config.vm.box = "data-science-toolbox/dst"

Disable automatic box update checking. If you disable this, then

boxes will only be checked for updates when the user runs

vagrant box outdated. This is not recommended.

config.vm.box_check_update = false

Create a forwarded port mapping which allows access to a specific port

within the machine from a port on the host machine. In the example below,

#config.vm.network "forwarded_port", guest: 8888, host: 8888

accessing "localhost:8080" will access port 80 on the guest machine.

config.vm.network "forwarded_port", guest: 8888, host: 8888

Create a private network, which allows host-only access to the machine

using a specific IP.

config.vm.network "private_network", ip: "192.168.33.10"

Create a public network, which generally matched to bridged network.

Bridged networks make the machine appear as another physical device on

your network.

config.vm.network "public_network"

If true, then any SSH connections made will enable agent forwarding.

Default value: false

config.ssh.forward_agent = true

Share an additional folder to the guest VM. The first argument is

the path on the host to the actual folder. The second argument is

the path on the guest to mount the folder. And the optional third

argument is a set of non-required options.

config.vm.synced_folder "../data", "/vagrant_data"

Provider-specific configuration so you can fine-tune various

backing providers for Vagrant. These expose provider-specific options.

Example for VirtualBox:

config.vm.provider "virtualbox" do |vb|

# Don't boot with headless mode

vb.gui = true

# Use VBoxManage to customize the VM. For example to change memory:

vb.customize ["modifyvm", :id, "--memory", "1024"]

end

View the documentation for the provider you're using for more

information on available options.

Enable provisioning with CFEngine. CFEngine Community packages are

automatically installed. For example, configure the host as a

policy server and optionally a policy file to run:

config.vm.provision "cfengine" do |cf|

cf.am_policy_hub = true

# cf.run_file = "motd.cf"

end

You can also configure and bootstrap a client to an existing

policy server:

config.vm.provision "cfengine" do |cf|

cf.policy_server_address = "10.0.2.15"

end

Enable provisioning with Puppet stand alone. Puppet manifests

are contained in a directory path relative to this Vagrantfile.

You will need to create the manifests directory and a manifest in

the file default.pp in the manifests_path directory.

config.vm.provision "puppet" do |puppet|

puppet.manifests_path = "manifests"

puppet.manifest_file = "default.pp"

end

Enable provisioning with chef solo, specifying a cookbooks path, roles

path, and data_bags path (all relative to this Vagrantfile), and adding

some recipes and/or roles.

config.vm.provision "chef_solo" do |chef|

chef.cookbooks_path = "../my-recipes/cookbooks"

chef.roles_path = "../my-recipes/roles"

chef.data_bags_path = "../my-recipes/data_bags"

chef.add_recipe "mysql"

chef.add_role "web"

# You may also specify custom JSON attributes:

chef.json = { mysql_password: "foo" }

end

Enable provisioning with chef server, specifying the chef server URL,

and the path to the validation key (relative to this Vagrantfile).

The Opscode Platform uses HTTPS. Substitute your organization for

ORGNAME in the URL and validation key.

If you have your own Chef Server, use the appropriate URL, which may be

HTTP instead of HTTPS depending on your configuration. Also change the

validation key to validation.pem.

config.vm.provision "chef_client" do |chef|

chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"

chef.validation_key_path = "ORGNAME-validator.pem"

end

If you're using the Opscode platform, your validator client is

ORGNAME-validator, replacing ORGNAME with your organization name.

If you have your own Chef Server, the default validation client name is

chef-validator, unless you changed the configuration.

chef.validation_client_name = "ORGNAME-validator"

end
Wills-MacBook-Pro% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'data-science-toolbox/dst' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 8888 => 8888 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /vagrant => /Users/willalisberg/MyDataScienceToolbox
==> default: Machine already provisioned. Run vagrant provision or use the --provision
==> default: to force provisioning. Provisioners marked to run always will still run.
Wills-MacBook-Pro% vagrant ssh
VM must be running to open SSH connection. Run vagrant up
to start the virtual machine.
Wills-MacBook-Pro% -- provision
zsh: command not found: --
Wills-MacBook-Pro% vagrant provision
==> default: VM is not currently running. Please, first bring it up with vagrant up then run this command.
Wills-MacBook-Pro%

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.