I just finished chapter 8 of 'Learn to Program' (and yes that's all the exercises too:)) I really like the Ruby syntax I see now how people say it "just works". I didn't study on Saturday, I ended up watching a movie with my awesome wife:)
Today I spent 3 hours learning and practicing Arrays. So my total for the week Oct. 29th-Nov.4th was 14.5hrs, I've got to do better, I messed up 2 days, 1 was when hurricane Sandy came through and we lost power, but NO EXCUSES! ...I will do better and conquer! :) -Josh Kemp
p.s. Ruby is a lot of fun so far.
Sunday, November 4, 2012
Fail yesterday....VICTORY TODAY!
Friday, November 2, 2012
HOLY CRAP!!!
Darn it, I'm like hey I'm gonna use the command line more, I wanna' move around some files and stuff, so I move around files, make a new directory, delete some old files, and it's all good, til apparently I ended up not only deleting the old files and directory, I also ended up removing all the files from the newly made directory, but not the new directory name itself. Man am I an Idiot!...and here I thought I was being careful and felt more confident, apparently pride does go before the fall. I'll have to far more careful, man the command line really is POWERFULL!
Okay....so I lied:(
I did finish reading all of chapter 7 except for doing the exercises, which I naively thought I would breeze through. Which I did except for the 2nd example. Here's that code finished...FINALLY!!
Sublime Text 2: View
puts 'Say hello to your Grandma'
while true
input = gets.chomp
if input == 'BYE'
puts 'See ya\' later gator :)'
break
end
if input != input.upcase
puts 'HUH?! SPEAK UP, SONNY!'
else
random_year = 1930 + rand(21)
puts ' No not since ' + random_year.to_s + ' !' ' ...it was a LONG time ago, as I recall.'
end
end
Thursday, November 1, 2012
'Learn to Program'---just finished Chapter 7
Studied for 3 hours last night, I went from 11pm-1am then I was too tired so I went to bed, got up at 5am studied for 1 more hour went back to bed at 6:12am. So all in all a good day.
angryboss.rb
bigger.rb
calc.rb
elseif.rb
fullname.rb
length.rb
linewidth.rb
Minutesindec.rb
reverse.rb
Secondsold.rb
These are mostly all the basic programs I've made so far. I also made a simple 'Hello what's your name style program' on my Rooted Droid Bionic, it runs 2.3.4 Gingerbread, so it's old but it runs the app for the Ruby IRB. It's pretty cool, you can create and execute programs.
I went and got my Macbook Pro looked at today at the Apple store in Fairfax, Va, the Optical drive wasn't working so we couldn't watch any Dvds or anything, turns out my 3 year old put a quarter in the drive, works fine now:)
Anyway back to studying. Till tomorrow.-Josh
Command Line- Copying and removing files
Studied 2 hours yesterday, made a couple nice little programs. Today I realized I have far too many random .rb files on my computer that I didn't know why I had or what they do. So I decided to make a new folder on the Desktop titled "Learningrb" and move a some files onto there, then remove the original file.
After some trial and error (mainly error :)) I must say I feel much better about the whole copying and removing files using the command line.
I love feeling a little bit more comfortable with the command line and getting better slowly...loving it:)
Josh Kemp
Follow Me
POPULAR POSTS
-
Yes, obviously Free Code Camp is popular. It's supposed to make things easier for you to learn how to code. My problem is the length of...
-
I have always promised honesty and transparency with this blog. Last time I gave a review about Free Code Camp, I wasn't super supporti...
-
You need a Regular Expression to validate a phone number or a user's email address, so what do you do? Go onto StackOverflow and copy so...
-
What up peeps ! I feel like every day gets better and better, I just gotta' say life is good, No brag, just fact :-) I thought I woul...
-
Some things about development are not taught in college, some things about development are not even taught on the job. Some things you are j...


