Skip to content

Instantly share code, notes, and snippets.

View danabauer's full-sized avatar

Dana Bauer danabauer

  • Philadelphia
  • 21:10 (UTC -04:00)
View GitHub Profile

I want people to use existing Python libraries available now (multivac) to run a function remotely on the cloud. We already have some sample code. Process data remotely.

Presentation will be in a notebook. Then we can run the code from the notebook.

Go through cloudpipe setup and put together some examples. Put together an outline that makes sense to me from our docs. Find examples I can think of. Calculating pi and addition.

Real world use cases are a little different. You have a workload that you need to run. Like Travis, when you ask for work not when you make a commit.

##Conference talks/workshops accepted goal: give three conference talks/workshops/posters in 2015

  • Teach Python 101 (lead teacher) workshop at Pycon 2015
  • Teach Python for Data Analysis (TA) workshop at Pycon 2015
  • Teach Cloudpipe (TA/co-teach) workshop at Pycon 2015
  • Keynote at PyData Dallas, April 24-26, 2015
  • Deploying apps on OpenStack at QCon NYC on June 8-9
  • Hack for Humanity at Grace Hopper Conferece (leading an OpenStack team with Egle Sigler), October 2015

##Conference talk/workshop/poster proposals

###Prerequisites:

  • Terminal for Mac/Linux or Command Prompt for Windows. SSH installed.
  • Solid understanding of how to use the command line when developing software.
  • Familiarity with git/GitHub.
  • No experience with OpenStack necessary.
  • Familiarity with Python is helpful, but you don't have to be a Python developer to participate.

###What to bring:

  • Laptop.
  • GitHub account.
@danabauer
danabauer / app-on-os-wksp.md
Last active March 17, 2021 14:29
Stickie feedback from first half of Apps on OpenStack workshop at QConNewYork

###Green stickies (things that went well and things they learned)

  • "Good session"
  • "first half was detailed"
  • "required more than 3 hours"
  • "overall 5"
  • "hands on approach is great!"
  • "very clear instructions"
  • "easy copy/paste instructions"
  • "small group helps with personal assistance"
  • "helpers are friendly, energetic, and helpful"
@danabauer
danabauer / anagram.py
Last active March 17, 2021 14:29
PL coding test
#!/usr/bin/env python
'''
An anagram is a word formed by rearranging the letters of another, like "topside" and "deposit". In some cases, there might be as many (or more) anagrams than there are characters, like "post", "spot", "stop" and "tops".
Write a program to find all of the anagrams in a dictionary in which there are at least 4 letters in the word and at least as many anagrams as there are letters.
The dictionary will be a file on disk with one line per word. Your operating system likely already has such a file in /usr/dict/words or /usr/share/dict/words.
The output produced by your code should be in this format:
emit, item, mite, time
merit, miter, mitre, remit, timer
@danabauer
danabauer / deploying-apps.txt
Created September 2, 2015 04:48
Links to tutorials on deploying Flask and Django apps
nginx vs apache
https://anturis.com/blog/nginx-vs-apache/
uWSGI vs. Gunicorn
http://blog.kgriffs.com/2012/12/18/uwsgi-vs-gunicorn-vs-node-benchmarks.html
Deploying Django
http://www.djangobook.com/en/2.0/chapter12.html
Django - uWSGI - nginx
@danabauer
danabauer / date-csv.py
Created September 2, 2015 04:50
parsing dates in open source program csv
import datetime
import csv
if __name__ == '__main__':
from_raw = raw_input('\nEnter FROM Date (e.g. 2013-11-29) :')
from_date = datetime.date(*map(int, from_raw.split('-')))
print 'From date: = ' + str(from_date)
to_raw = raw_input('\nEnter TO Date (e.g. 2013-11-30) :')
to_date = datetime.date(*map(int, to_raw.split('-')))
@danabauer
danabauer / date2-csv.py
Created September 2, 2015 06:10
more date parsing of OSS sign-up data
import datetime
import csv
if __name__ == '__main__':
from_raw = raw_input('\nEnter FROM Date (e.g. 01-Nov-14) :')
from_date = datetime.date(from_raw.split('-'))
print 'From date: = ' + str(from_date)
to_raw = raw_input('\nEnter TO Date (e.g. 25-Nov-14) :')
to_date = datetime.date(to_raw.split('-'))
@danabauer
danabauer / eyeo-job-titles.md
Last active June 13, 2017 08:01
Job titles at the 2012 Eyeo Festival

Job titles at Eyeo 2012

  • computational designer
  • computational graphics designer
  • computational artist
  • computational data artist
  • computational botanist
  • critical engineer
  • data philospher
  • a truth and beauty operator
'''
Use case 1
Scrape the catalog for an AOI/TOI: Filter the RapidEye Grid-UTM catalog for products in an AOI
(United States in Iowa) with an acquisition period between "2014-04-01" and "2014-09-15" with a maximum
cloud cover value of "20%." Download all of the analytic assets.
'''
import requests
from datetime import datetime
import pytz