- Editing Files (Console Foundations)
- Moving and Deleting Files (Console Foundations) /*Earned Console Badge*/
- Users and Permissions (Console Foundations)
- The Refactor Factory (exercises 2, 3, 4, 5, 6, 7) /*Earned “The Refactor Factory” badge */
Learn Ruby The Hard Way
*Randomly browsed the Ruby Style Guide on Github
Today is Black Friday. I didn’t do any shopping, but of course I DID put in work on the web development angle.
I’ve thought ahead to when I start going to ruby meetups that I’ll need a laptop. It doesn’t make any sense to show up to a programmer meetup and talk about the cool stuff I’m writing, but not have any means of showing it off, or having a way to ask questions, right?
I’m really not in the market for a $1000 MacBook. Any large expenditure like that will have to wait until I actually have a job in the web development field. For now thriftiness is the name of the game.
I’ve researched the Google Chromebook, but I know that on-board storage is minimal. The price is soooo attractive ($199) but if I can’t develop web apps the machine is pretty useless.
I discovered a website/app/tool called Nitrous.io which allows you to develop “in the cloud”. The free account provides you with storage for your files and a command line prompt. I was REALLY impressed with the website. The one thing I was concerned about was being able to incorporate Twitter Bootstrap into my development. Luckily you can upload the css files and add them into your project. PROBLEM SOLVED!
I feel like I’m coming down with a cold, so I went to bed early last night. However, I DID get a chance to start Team Treehouse project “Build a Simple Ruby On Rails Application”.
This morning I woke up and got the idea to write a simple “What does the fox say?” program that was based on the code I wrote in the “Movie List” exercise on Codecademy. The code will be at the end of the post.
Things I wanted to accomplish with this program but didn’t have the knowledge:
- If response.nil? returns true to restart the program from the beginning to prompt the user for another animal.
I completed the Ruby Foundations video on Team Treehouse and decided instead of being passive and watching videos that I’d try to program a simple program.
I decided to tackle “Problem 1” on the Project Euler website:
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000.
The actual coding shouldn’t be that difficult…except I’m a noob and nothing is easy. I’m currently trying to figure out a solution to the problem by Google searching for loops, while loops, until loops, creating arrays, how to input numbers into an array using a while loop.
I’m frustrated. And that’s ok.
Edit: I came with solutions to Problem 1 AND Problem 2. All I needed was a cup of coffee.
Why does this blog exist?
To document my progress from novice web programmer to employment as a web developer.
Have you established a timetable to reach your goal?
Yes. I aim to complete complete my goal by November 1, 2014.
What tools are you using to learn?
Currently I’m using the Team Treehouse and Codecademy websites.
How often do you study?
Since I began (Oct 26, 2013) I’ve been studying everyday for between 1-3 hours.
What language/skills are you specializing in?
As of this post I’m heavily concentrating on Ruby on Rails.