I spent most of the day building the simple rails application, “Treebook”, from Team Treehouse.
I found this great article by Richardson Dackam: “How I TRAINed to learn Rails”
After reading this article I got inspired to do the projects on “Learn Ruby the Hard Way”. I’m already through the first 12 exercises and added a repository on Github (practicing Git by doing this).
After going through 70% of Codecademy’s Ruby course and completing the Ruby Foundations on Team Treehouse these exercises were pretty easy. The only reason I stopped at exercise 12 was because I’m tired and having trouble keeping my mind on track; I’ve been up since 7am (it’s 11:30 now).
I DID finally learn about the %s and %d that I would see in code…funny how I never learned that.
I also accidentally found out that when using Sublime text that if I hit Ctrl-B it’ll run the program in a console without me having to go the command line and manually running the program. It also gives benchmark performance stats. It totally blew my mind when I found out Sublime Text could do that…
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.
“To avoid criticism say nothing, do nothing, be nothing.”
My name is Glenn, and I’m learning front-end web coding. This blog will document my progress.