Tuesday, December 8, 2015

CST205 week 7 - Dictionaries are great


This week was really all about the dictionary. There was some file IO and that was nice, but I played with that a bit the week before working on parsing linkedin pages. 

Tuesday, December 1, 2015

Week 6: Pair Programming++


This week was centered around two questions:

  1. How do you summon captain planet? 
  2. What happens when you do? 

The answers are 1) Teamwork and 2) He kicks ass. That's what we're talking about this week with Pair Programming++. Sure there was some good programming action that we had going on this week. I wrote a python script to parse out a thousand user ids from linked in and setup a script to automatically browse them which had linkedin boot me out and threaten me. We made a game too. But that's not much new. The real theme for the week was learning about how to work together with a few people in real-time on a small script without stepping on each others toes.

So here is my preferred method of teamwork, and like any good plan or get rich quick strategy it has 4 key elements.

  1. Google hangout - This is your bread and butter. Talk about stuff.
  2. Google drawings - What are you talking for if you could be drawing 
  3. Codeshare.io - This is where you all work together on one file
  4. Github - Dump things here when you are done or if people work on the project during off peak hours have them submit pull requests with their code
Using this deadly combination of technology our group had a good time this week working on our adventure game. We co-ordinated via google hangouts, made drawings of our game map, collaborated in real-time on codeshare.io, and checked things in on github. For a while there I was worried we wouldn't get on track, but teamwork prevailed and by our powers combined... we made something cool. 


My favorite python package of the week is PyAutoGui found here: https://pypi.python.org/pypi/PyAutoGUI
This lets you automate your PC in neat ways so you can interact with programs without having to learn their APIs or figure out other ways to hack them. Just pretend a person is using the PC. It can search the streen for images and such too.