Wednesday, October 31, 2012

Oct. 30th after midnight...

Another sample exercise from chapter 4 from 'Learn to Program':

Sublime Text 2:


puts 'Yo, what up dawg?...hey what\'s yo favorite number?'
number = gets.chomp.to_i
mynumber = number + 1
puts 'What are you kidding me? '+number.to_s+' ???? .........'+mynumber.to_s+ ' really is a much better number!'

...And from terminal.


Last login: Wed Oct 31 00:09:07 on ttys000
Joshuas-MacBook-Pro:~ joshuakemp$ ruby bigger.rb
Yo, what up dawg?...hey what's yo favorite number?
39
What are you kidding me? 39 ???? .........40 really is a much better number!
Joshuas-MacBook-Pro:~ joshuakemp$
Goodnight = Josh tired
puts 'See you tomorrow'

Tuesday, October 30, 2012

Hurricane Sandy- Oct. 29th

Lost power from 11pm-3am, so no studying for me, although I did manage to squeeze in a chapter of Chris Pine's book 'Learn to Program'. I'm now on Chapter 6 and loving the book.

My goal is a minimum of 21 hours of study time per week, 3 hours per day. I started on Tuesday October 23rd. and ended with 14 hours of studying so not too bad but I need to do better. I'm counting from Sunday to Sunday.
Josh

Oct. 28th

Studied, for 3.5 hrs. made a very simple program, to ask a user their first, middle, and last name:

From Sublime Text 2


puts 'Hello!...what\'s your first name?'
firstname = gets.chomp
puts 'Your first name is: ' + firstname + ''
puts 'What\'s your middle initial?'
middleinitial = gets.chomp
puts 'Your middle initial is: ' + middleinitial + ' That\'s a dumb name son'
puts 'Not too pry, but what\'s your back name?'
backname = gets.chomp
puts 'Your back name: ' + backname + '  better than your middle initial at least'


...And from terminal, after running, using my name: Joshua T. Kemp.


Last login: Tue Oct 30 23:11:02 on ttys000
Joshuas-MacBook-Pro:~ joshuakemp$ ruby fullname.rb
Hello!...what's your first name?
Joshua
Your first name is: Joshua
What's your middle initial?
T
Your middle initial is: T That's a dumb name son
Not too pry, but what's your back name?
Kemp
Your back name: Kemp  better than your middle initial at least
Joshuas-MacBook-Pro:~ joshuakemp$

Not big, but I was happy, I didn't look in the back of Chris Pine's book 'Learn to Program' at his exercise help, so it took awhile.

I made one other program, and worked on the Michael Hartl Tutorial. Which as I said before I am going through at a snails pace this time around as I want to really try and grasp a lot more out of it, versus just copying and paste or just looking at the code and typing it, I really want to understand more after this time around.

I stopped studying after getting stuck with trying to push to Git because something is wrong with my SSH key or something, I'm going to have to figure out what I did or didn't do:)

Josh


Saturday, October 27, 2012

Hello and goodnight

I didn't study last night Friday, I was so exhausted from shoeing 10 horses. That's what I do by the way I'm a Farrier by day,  I newbie to Ruby by night.

I only did 1 hour tonight mainly because I ended up having to do a bunch of horses today (Saturday) my day off because of the big storm Sandy, coming.

With the the nasty storm Sandy, I'm hoping to not work the beginning part of this next week, and be able to log so serious hours of solid study time. My goal is a minimum of 21 hours per week.

                                                           Til Tomorrow-Josh Kemp

Friday, October 26, 2012

RVM errors

Well it's 12:43a.m. Mac has 13 minutes of life left, I guess it's quittin' time:) I've decided to re-do the Michael Hartl tutorial, slowly, not in a rush this time. The first time I did it I was applying to Dev Bootcamp and was hurrying to get it done so I could move on to the next interview.

I'm getting errors to install Libyaml and no Binary, so I switched Ruby versions from 1.9.3-p0 to 1.9.3-p125 and still the same. I've reinstalled, both versions of ruby twice and made sure Rvm was up to date, found some people struggling with similar issues on Stack Overflow. Goodnight world, we'll tackle it tomorrow.-Josh Kemp

Thursday, October 25, 2012

Learning the Command Line the hard way...is actually kinda' fun.

I have 14 minutes let of life on my Macbook Pro, it's excactly midnight, so I think that means it's quitting time:)

WHAT I DID TODAY:

I wrote down the 26 Unix command line commands I'm suppose to memorize, then copied them onto note cards, and have about half memorized.

I went on Treehouse and watched some ROR videos (very good).

Did my exercises on the command line, as the book has laid out.

Starting trying to 'Rvm use 1.9.3p0' and got an error, after much searching I found out I need to put a hyphen in like this: '1.9.3-p0', now no error, but I did get another error, and which I will have to continue on tomorrow.

I may end up switching and doing Michael Hartl's Rail's Tutorial, which I did several months ago, I feel really not comfortable at all.

Till tomorrow- Josh Kemp

Tuesday, October 23, 2012

It's been a long time.

I know it's been a long time. I have been spending so much time working and trying to get into developer schools. My wife got into a car accident, my truck's transmission went out, basically life. But excuses are over. I have decided it would take me over a year to raise the $25,500 I need to go to developer school for 3 months, then have enough money to make it, till I could get hired, total time being roughly 4 months.

After much effort and discouragement I have decided to do this on my own, Self taught, with the goal being to land a junior ROR developer job in 6 months time or at least before my 28th Birthday which is April 7th 2013, we'll see.

I am committing to 3 hrs. per day minimum, 7 days a week. I would do more but I'm still working full time and have my family as well. I hope to blog about my experiences everyday. Tonight I have been struggling with the command line so I've decided to go through "Learn the command line the hard way". Then Proceed with other things.

Till next time. Josh Kemp