I woke up at 6:45am today to go knock out several more chapters of Chris Pine's book "Learn to Program". I ended up spending 1.5 hours trying to get my text editor to work with the terminal, which is sad because the other night I had no problems at all.
I was using Text Mate to run the little snippets of code in Chris Pine's book, but my 30 trial ran out and I am too cheap to buy it for $50. So I thought well I'll just use Sublime Text 2, I've used it when I did Michael Hartl's Ruby on Rails Tutorial when I was trying to get into Dev Bootcamp, so no problem I thought.
Well apparently since I used it last Satan himself must have messed with it because I couldn't get ANY files to save, no matter what. I then spent the next 30-35 minutes trying to google ways to save files with Sublime Text 2 to know avail. My next approach was to try changing the default settings, which I finally succeeded in doing and got the files to save, most of the time. Another 15 minutes of trying to run the program in the terminal with no success, so I'm back to googling, after another 20 minutes I decide to try something different : the lot less cool but easier to use Text Wrangler. Well apparently the same curse was after me, no programs would run in the terminal either.
20 minutes later I realize the error is where I'm saving the file and then running the program in the command line in the wrong directory.
Wow, what a moron! I just spent 1.5 hours, when the problem just needed me to 'cd' to a different directory. Well I didn't do any real programming, but I did reaquaint myself with the terminal and text editor so I feel dumb but I guess that was good I did learn something.
I still don't get why the Sublime Text 2 won't let me save files except in certain areas like Desktop but not in other places. I'm sure it's something simple that I don't understand yet, well that's what's cool about programming always something to learn for another day:)
Thursday, September 20, 2012
Text Editors-1.5 hours for adding two numbers:)
Follow Me
POPULAR POSTS
-
UPDATE September 2016: We are now inundated with bootcamps and it's getting harder to land a junior developer position. I created a co...
-
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...