August 12, 2013 - Team Dysania

Captain's Log: 2013.08.12

  • Vyki merged another pull request from markijbema requiring Rubocop gem
    • For consistent code style, according to Ruby Style Guide
    • Default cop settings
    • Spacing corrections
  • Sam cc'd us on new thread on Discourse Meta: "Sometimes onebox hangs"
    • We'll need to address HTTP request issues (limits/timeouts) in our gem
  • LA Ruby/Rails August meetup recap
  • Discussed possible topics for lightning talk at LA Women's Ruby/Rails Group August Monthly Bash next Thursday
  • JZ kicked herself for forgetting her laptop charger at home
  • Captain Kurt was sleep-deprived so we ended our session early
  • HOMEWORK:
    • Create 4 new oneboxes (2 each) based on Amazon and Example
    • Create new object that matches given URL to correct onebox class
      • This functionality is currently in lib/onebox/preview but should be separate since it'll get huge
      • Pair-program on this
      • TDD - commit spec first, then class
    • From last week - look at what parse_open_graph does

link



August 07, 2013 - Team Dysania

Captain's Log: 2013.08.07

  • Started creating oneboxes solo based on Amazon and Example
    • Vyki made Wikipedia onebox and succeeded
    • JZ tried to make Flickr onebox but failed
      • Flickr images are generated w/ Javascript, so we can't use our usual way of parsing an HTML response
      • Discourse uses parse_open_graph function to access Flickr content
      • Realized we lacked functionality to onebox sites that support Open Graph Protocol
      • Note to self: pick easier onebox to do first...
  • We need to put off gem release until we can support Open Graph Protocol sites :(
  • Painted the bikeshed (try refreshing the page repeatedly...)
  • Attending LA Ruby/Rails August meetup tomorrow
  • Got a text from Jen - we'll be presenting our onebox gem at LA Women's Ruby/Rails Group August Monthly Bash
  • HOMEWORK:
    • Look at what parse_open_graph function does
    • Self-assigned: listen to latest Ruby Rogues #117 featuring mentors Sam Saffron and Robin Ward
    • Start creating oneboxes for sites that don't support OGP
    • Remove html body from Nokogiri CSS selectors in oneboxes - it's redundant. Use classes and ids instead of tags (if possible)
    • At some point, need to create a guide for making oneboxes

link



August 06, 2013 - Team Dysania

Captain's Log: 2013.08.06

  • Major gem changes/cleanup in prep for 1.0 release
    • Renamed gem from discourse-oneboxer to onebox
    • Renamespaced Discourse::Oneboxer to Onebox
    • Deleted all the files we didn't originally write
  • Note to selves
    • Don't use git rm . unless you want to delete your entire directory
    • Make sure you're in the correct Git branch ALWAYS
    • Refresh your Sublime project once in a while...your files might not be missing after all. Don't panic!
    • Captain Kurt - where's our pizza??
  • First pull request from an outside contributor! Shout out to Mark IJbema
  • It seems we have a bit of an audience
  • HOMEWORK:
    • Update remotes to point to the right repository
    • Update dysania/onebox README
      • extra credit: provide example using onebox
    • For all services (Coveralls, Travis, Code Climate) - update to point to right repository
    • Update dysania/discourse from upstream
    • Clean up branches
      • git branch --merged: all branches merged w/ current branch
      • git branch -D [branch-name]: delete local branch
      • git remote prune origin: remove remotely deleted branches (i.e. deleted on GitHub)
    • If there's time, do as many oneboxes as you can
    • Read about semantic versioning - semver.org
    • Learn about bike shedding in programming context
    • Introduce ourselves on meta.discourse

link



dysania.la@gmail.com

powered by jekyll