A restart: doubling down
Submitted about 3 years ago
(8:40pm - 10:15pm)
I didn't make it through my last 100DaysofCode attempt, in part due to poor timing. I was planning a wedding, but now I'm on the other side of it - I got married last month! I'm dedicating myself to getting a software engineering job, and my plan for doing that is to put myself on a bootcamp schedule. For 12 weeks, I'm committing to 12 hours of coding per week: I'll plan to code on my hourlong lunch breaks at my day job, plus 2 hours on Tuesday & Thursday nights and 3 hours on Saturday mornings. During that time, I'd like to update the projects already in my portfolio and create a couple of new ones using TDD.
Here's the preliminary list I put together when I was brainstorming this 'at-home bootcamp':
Things I am planning to practice/review in my 'at-home bootcamp'
* Incorporating TDD into all the coding I do
* Getting better at coding on the spot (to help with pairing and for future coding interviews)
* Practice explaining topics to others (either in blog posts or in person) - because teaching others is one of the best ways to learn, and it will help my communication skills as a dev
* Learn a bit about sorting algorithms https://www.toptal.com/developers/sorting-algorithms/
* Build out smaller projects to add to my portfolio
[+ A couple of ideas I have include a command-line weather app & command-line flashcards app.
+ Other ideas here: https://www.linuxtrainingacademy.com/projects/
+ There are also ruby/rails projects with other students' code that I can compare to my own at the Odin Project: https://www.theodinproject.com/]
* Review all episodes of the BaseCS podcast: https://www.codenewbie.org/basecs
* Review Vaidehi Joshi's BaseCS blog posts: https://medium.com/basecs
* Refactoring with patterns from Refactoring book and Practical Object-Oriented Design in Ruby book
* Review and/or write blog posts on common interview questions https://github.com/MaximAbramchuck/awesome-interview-questions#ruby
I started this endeavor today, and I spent the entire time trying to get my dev environment up to speed. brew update && brew upgrade took 20 mins, and then I tried to make a small change and precompile my assets in my blog directory only to find that my gems were out of date too. I just wanted to precompile my rails assets really quickly so I could get Heroku to remember that my website should have CSS, since taking a quick peek at the site live showed that the proper CSS was once again nowhere to be seen. I've spent the rest of the time troubleshooting why, even though bundle shows that the gems I need are installed, rails can't find them when attempting to precompile the assets (specifically nokogiri and railties). It seems that my gem home and rbenv disagree on where gems should be installed these days, so I've tried to get them to agree but haven't had luck so far. Steps I've tried include:
* updating my bash_profile to move rbenv init and my home path settings closer to the top
* installing the latest version of ruby with rbenv and not just homebrew
* uninstalling and reinstalling the latest version of ruby in rbenv
* uninstalling and reinstalling the latest version of ruby in rbenv, but this time with a rbenv rehash in between every step
* restarting iTerm after all of these steps just to be sure they're taking place
* nuking the .gem and .rbenv directories in my home directory as well as the Gemfile.lock in my blog's directory
Still, my gem home stays that gems are being installed in a ruby 2.3.0 folder while my local and global ruby versions are set to 2.5.1 in rbenv. But hey, for some reason while I've been working on this the CSS on my blog site decided to update on its own...what logic does it follow?!?!?! This problem is to be continued...
As a side note, today I also bought a ticket to WeRise conf and requested time off work that whole week so I can get some coding in during the few days before the conference.