Saturday, November 10, 2012

3 hours later...Not done, trying to fix an error:)

So all was going fine and dandy, with the 'gosu' tutorial, till i got an error on lesson 9, yesterday.
I have spent all day today trying to find out how to fix it.

I have deleted my folder and started the tutorial over from scratch 3 times, hoping to get pats it that way, if I had made an error, I even copied and pasting everything from the tutorial into my text editor to no avail. Thankfully Alberto Morales from the Reston Rails Meetup has been so kind as to look at the code and let me know, what's wrong with it.

So grateful for the help of a seasoned developer to come along side and help a total noob like me:)

I'll let you know what happens tomorrow, or when I hear back. I'm going to play around with the Michael Hartl Rails Tutorial for the next hour, as I am too burnt out from the last 3 hours to fiddle with the 'gosu' gem anymore:)- Till tomorrow - Josh

Friday, November 9, 2012

Almost done 'Ruby4kids' Tutorial 'Gosu' Gem


I've done much better studying this week, I'm currently sitting at 16 hours for the week. I studied 3 hours today. It's amazing how much time you can spend on trying to fix an error or a text editor that's not working, and it's just as amazing how much you can get done when everything is working. I was on Chapter 2 of the game yesterday, and I finished tonight on Chapter 10, not 100% done, because I'm still getting an error, I will figure out what I typed wrong tomorrow.

I'm going slowly through this tutorial, and I'm hand coding it in , not copying and pasting it, cause I'm trying to feel a little better at fixing errors, understanding Ruby a little better and just really learning and not just zipping through something. I like the tutorial so far.

I think after 'Ruby4kids" I think I'll go back and finish 'Learn to Program' by Chris Pine, I'm just finishing Chapter 9 except I still have to do the exercises, there are 15 chapters total, so roughly 2/3 done, that's not too bad.

I forgot to mention, I really need to work on my typing form and speed at some point, one of the most embarrassing things about going to the Rails Meetups is getting left behind, just do to the simple fact I'm "hunting and pecking" and everyone else is actually typing, and not even thinking about it. Not sure if I should start doing that now, or down the road as I feel more confident in actual coding, i usually do better when I focus on 1 thing at a time.

I don't know, let me know if anyone has any ideas or good courses, because I suck at typing:) - Josh

1 file saved = 1 hour...or "Wow that was a waste of time"

Studied 2 hours Thursday (yesterday), working on the 'Ruby4kids.com' 'Gosu' gem lesson, in which you make a little game. I ended up spending an hour figuring out how to save files after changing them.

I use Sublime Text 2 as my text editor and have liked it. However as of 3 days ago whenever I save a file after making a change to the code it says: 'Unable to save 'example file''. I tried googling and googling for the answer to the problem, and have found out that apparently the latest version of Sublime Text 2 has a bug when saving files, and the only way to get around it is to type this code into your terminal: sudo /Applications/Sublime\ Text\ 2.app/Contents/MacOS/Sublime\ Text\ 2.

With that, you should be able to save files as normal with no problem, but it takes up a terminal as you're using it. The best solution I finally found was to: After making a change to a file click on the 'save as' button, then when the box pops up with the file to save, re-type in the name of the file that you want to save (treating it as a new file) and it saves with no problem.

So I would switch from Sublime Text 2 to a different editor but I like ST2 and I really don't know how to use some of the others, I figure the time it takes me to save the file can't take any longer than learning a new text editor, and hopefully a future update will fix it.

The game is going well, had some errors, but I have conquered, now to work on it some more today.-Josh 

Wednesday, November 7, 2012

Arlington Rails Meetup.

Last night I started the Ruby4kids.com 'Gosu' and finally figured out you can't save a png file using the command line. I just kept trying because I thought that's what they wanted me to do, anyway got it working now, gonna' work on it some more tonight.

Went to the Arlington Rails Meetup for the first time tonight, which was good. Had a great presentation by Guille Carlos owner of http://bitpop.in/ on "Building a Web Framework" using the Gem 'gob' it was good even though I got lost and made a ton of errors, better luck next time:) Thankfully some of the nice developers their helped me out so I learned alot. Met Jim Gay of Saturnflyer.com. He was nice and helped answer me questions and get me unstuck several times.

So all in all, these meetups are well worth the hour + drive, if for nothing more just getting to ask questions and talk to real developers. I would also say the Rails community is very welcoming, I really like that.

Doing much better on study time this week. Now to code.-Josh

Tuesday, November 6, 2012

First Rails Meetup = Awesome!!!

Went to my first Rails Meetup yesterday. I learned more in 3 hours there then a week on my own! I'm so energized to go to the next Reston Meetup. I've now joined the D.C. Rails Meetup, and the Arlington Rails Meetup as well as the Reston Rails Meetup.

I am taking a pause on Chris Pine's book "Learn to Program" and instead I'm going to: ruby4kids.com/gosu/the-game-window. I'm taking a break, to practice writing Ruby code more, and the reason for that is Ruby expert Alberto Morales recommended it to me as a good idea, so that's what I'm going to do for now.

I studied 6 hours Yesterday, so I'm really happy about that. Excited to go to the Arlington Rails Meetup for the first time tomorrow. I also just signed up for "Code retreat" December 8th, * hours of intense learning.

I'm excited to be learning ROR....time to code:) Josh