• Home
  • About
    • Bio
    • CV
  • Music
    • Shows
    • Works
  • Research
    • Works
  • Programming
    • Projects
  • Blog
    • Watson
    • Viget
  • Contact
    • Message
    • Subscribe
    • Availability

Git Hell

21 Jun 2016

Reading time ~2 minutes

What I Did

  1. Intern project weekly check in
  2. Design and Interns Q&A session regarding the reality of life after the collegiate bubble.
  3. Pairing with Eli to get myself started with actually writing unit tests with RSpec as well as to understand the nuances of git commands like the difference between rebasing and merging.
  4. Work on Haxxor-News: mostly confirming user activation and starting password reset.

What I Learned

  1. How object is the ancestor of everything in Ruby. Previously, RSpec called its functions on Object, which was viewed to be not the best idea, because that space is core Ruby. The current syntax works around this through the expect method opposed to the dotted should method.
  2. gitk provides for a nice visualization of a project’s git history.
  3. It may not be the best idea to run Puma locally, because today Eli discovered that I had 8 instances of Puma running and listening on port 3000, which apparently caused browser to show a blank page. I used
  4. the grep command is useful for searching outputted text of other commands.
  5. My text editor’s package search function is useful for locating git conflict markers.
  6. I should always consider when to use git rebase over git merge. Also, I should always only submit pull requests that tackle a single feature at a time.

What I Still Don’t Understand

  1. The difference between virtual attributes and actual database column attributes (when to use which)
  2. The benefits of factory girl over fixtures - exactly how much time is wasted using the later.
  3. Exactly which things I should focus on for testing (either unit tests or feature specs)

What I’m Interested in Learning

  1. Jeremy gave me a bunch of links to look up how to get up and running with basic FED stuff. I’m looking forward to sprucing up the look of Haxxor-News with some basic styling.


Share Tweet +1