View 01_walkthrough.md

Downloaded Miniconda installer from here:

http://conda.pydata.org/miniconda.html

In a terminal:

$ sh ./Downloads/Miniconda-latest-MacOSX-x86_64.sh
Enter (read license agreement)
yes (accept license agreement)
Enter (use default installation location)
View premiums.py
'''
http://stackoverflow.com/questions/31632461/can-mechanize-support-ajax-filling-out-forms-via-javascript/
'''
import urllib.parse, urllib.request
URL = "https://interactive.web.insurance.ca.gov/survey/survey?type=homeownerSurvey&event=HOMEOWNERS"
LOCATIONS = '''
ALAMEDA ALAMEDA
View minimal.sh
$ find . -type f -name "*.py"
./setup.py
./mypkg/__init__.py
./mypkg/config.py
./mypkg/shapes/__init__.py
./mypkg/shapes/square.py
$ find . -type f -name "*.py" | xargs head -n999
==> ./setup.py <==
from setuptools import setup, find_packages
View traversal.py
import yaml
tree = yaml.load('''
---
- folder1
- folder2:
- subfolder1:
- deepfolder1
- subolder2
- folder3
View app_factory.py
import os
from flask import Flask, Blueprint, g
api = Blueprint('api', __name__)
class Server(object):
def __init__(self, data):
self.data = data
View keybase.md

Keybase proof

I hereby claim:

  • I am lost-theory on github.
  • I am stevek (https://keybase.io/stevek) on keybase.
  • I have a public key whose fingerprint is 5393 7141 0A78 7E8A C2B2 6FBC C662 4F35 8456 52AB

To claim this, I am signing this object:

View gist:e90014c1d1d6bcf4ca2c
>>> orange_vit_c = "78 mg, 130%"
>>> orange_vit_c = (78, 130) #mg, %
>>> tablet_vit_c = (250, 416)
>>> 250/78.0
3.2051282051282053
>>> 416/130.
3.2
>>> drink_vit_c = (None, 1500)
>>> rda_vit_c = (90, 100)
>>> #i've eaten 1500 + (416*3) percentage points of Vitamin C
View rq_custom_scheduler.py
from datetime import datetime
import logging
logging.basicConfig(level=logging.DEBUG)
from redis import Redis
from rq_scheduler import Scheduler
from rq_scheduler.utils import to_unix
class CustomRQScheduler(Scheduler):
View notes.md
View 01_intro.md

FutureStack 14 notes

Best talks day 1

  • Taming the Modern Datacenter, Mitchell Hashimoto, Hashicorp
    • look at the future of CM systems using Terraform, moving up a level from managing per-machine resources, enabling Infrastructure as Code for the modern distributed data center (mix of IaaS like AWS/DO, PaaS like Heroku, and SaaS for things like DNS and email); I'm a bit skeptical all the complexity of Terraform is significantly better than a minimal layer of glue code to wire up different APIs together.. still interesting though
  • Towards a Data Driven Product, Techniques and Tools at GitHub, JD Maturen, GitHub
    • covered the basics of data science & analytics, gave some insights into how GitHub does it
  • Understanding Developers in a Post Agile Environment, Ward Cunningham (inventor of wiki), New Relic
    • some interesting ideas on how to become a master engineer, "leveraged activities" vs. normal activities,