Monday, July 13, 2015

Day 113: Back to The Odin Project and the Javascript Book

Quite a bit has happened since my last post.  I went on vacation to South Texas for about a month to spend some time with my family.  While there, I took advantage of the trip to go to Mexico to get two teeth pulled and braces installed.  Now I'm back in Austin and ready go back to coding!  

I can continue with Ruby and do the Prep Work, but since the deadline for the application has passed for this cycle, I'm going to go back and continue with Javascript.  I want to solve the third Euler Problem.  During that one month break due to the move to South Texas and the frequent trips back and forth to Mexico related to my braces, I figured out the Javascript code for determining whether a number is a prime number or not.  I used my previous find (the pseudocode posted earlier) as a base.  Here's the Javascript code:

var a = 8;
var b = a - 1;
var IsPrime = true;
while (b !== 1) {
  if (a % b === 0)
    IsPrime = false;
    b = b - 1;
}

if (IsPrime === true) {
  console.log("Prime");
}
else {
  console.log("Not Prime");
}

So now, what I need is to master functions in Javascript so that I can combine the code above with a function to solve Euler Problem 3.  In order to do that, I'm going to continue working on the Javascript book, then follow The Odin Project's coursework where I left off.  I've learned to use new software tools like Balsamiq, problem solving tools like pseudo code, and project management methodologies like AGILE due to the prep work, and all of these tools have given me a much better understanding of the bigger picture.

I'm at 545 hours now.  I'm pretty proud of that, but at the same time, I'd like that number to be 1000+ sooner rather than later.  I'm thinking I will reward myself with another trip to Asia once I hit 1000 hours, then come back to America again after that, and I should be ready for an entry level position, or close to it, at that point.  Things are looking great!

I decided to avoid news sites from now on, and that's been a really good decision, as I'm interacting with family and friends more, going out for more walks, and just feeling better from not reading all the bad news that comes out every day.  It's difficult for me because I'm a political science major, so I love reading the news and keeping up with world events, but really, it's detrimental to my personal development, there just isn't a return on investment there.

I need the internet in order to learn to code, but at the same time, it's so easy to get sucked into that no-productivity black hole consisting of news sites.  So, no more of that, I'll try to be much more mindful of where I spend my online time at.

There's a couple of coding schools that are now open or have opened up in Austin, and I'll consider attending them, but unless their pay is tied to your outcome, they may just be degree mills, like many universities are, so I'd only consider them after doing quite a bit of research.  That's the thing about the Viking Code School, you only pay if you get a job, which means the incentive to have you be a competent web dev when you graduate is pretty high.

So, I read pages 1 to 74 of the Javascript book again, and I'm on pg 78 now, which is Chapter 22, Strings: Measuring Length and Extracting Parts.  Strings are indexed like arrays, so you can slice them, and they begin at 0, just like arrays.

SUMMARY OF CODING SKILLS

Total Treehouse Points: 5,385

Treehouse Points by Subject Matter (Miscellaneous not included): 
HTML:                                663 
CSS:                                1,599 
Design:                            1,193 
Development Tools:            747 
Javascript:                      1,120

Treehouse Ranking (%): "You have more total points than 94% of all students."

Treehouse Badge(s) Earned Today:



Treehouse Courses Completed:
How to Make a Website
HTML
CSS Foundations
CSS Layout Techniques
Aesthetic Foundations
Design Foundations
Adobe Photoshop Foundations
Adobe Illustrator Foundations (66% complete, switched focus from web design to web dev)
Git Basics
Introduction to Programming
Javascript Basics

Codecademy (& other) Courses Completed:
HTML and CSS (Codecademy) 

Books Read or in Progress:

Completed: "Head First HTML and CSS," by E. Robson & E. Freeman
In Progress: "Eloquent JavaScript," by Marijn Haverbeke (On pg 27)
In Progress: "Head First Javascript," by Eric Freeman and Elisabeth Robson (On pg 56)
In Progress: "A Smarter Way to Learn Javascript," by Mark Myers (on pg 78)

My Progress on The Odin Project:
1.  Introduction to Web Development             100% Complete
2.  Web Development 101                                29% Complete
3.  Ruby Programming                                       0% Complete
4.  Ruby on Rails                                               0% Complete
5.  HTML5 and CSS3                                           0% Complete
6.  Javascript and JQuery                                  0% Complete
7.  Getting Hired as a Web Developer                 0% Complete

Hours Spent Coding Today: 6
Total Hours Coding: 551

No comments:

Post a Comment