Node.js

Starting NODE.js:

Nodemon didn’t like this:

Screen Shot 2016-05-08 at 7.42.50 PM

I had my curly brace and parenthesis in the wrong order, should be }); works like a charm now.

I like that it shows you where you made a mistake in your code and what line in what file.

I had a pretty lousy day at the algorithm board this morning: this morning’s challenges were to make a copy of a stack using only a queue for storage and to create a queue function using two stacks. I thought I had a great idea for the copy stack, I looked at it the night before until I asked the opinion of the instructor who led me to realize that I didn’t know if the stack given was an array or a linked list. My group of 2 other cohort mates were stumped trying to figure this out but we didn’t give up trying, we kept writing ideas for algorithms on the board. Afterwards, a couple of our fellow cohort mates came up to us and started walking us though what we had and explained why it wouldn’t work and what we should have done. I went through, writing on the board, interpreting what they were saying… I have to say I appreciate the feedback from them. We didn’t finish the algorithms and when another group presented the copy stack function it seemed we were heading in the right direction, we just didn’t get the answer. Nonetheless, I understood their solution. The same goes for the other algorithm, I just didn’t get enough time to really think about it considering we spent our time on the first one. Stacks and Queues together are quite tricky. I need to spend more time on them this weekend going over the basics again and using that to build some of the functions that are presented as challenges in the book. (The book being the Algorithm Challenges book created by Martin, an instructor for the Dojo and he went through the program when the founder was teaching the program).

I ran into some little problems, like the one above as well as when I worked on an assignment where we condense the code we need to run the .html, .css, images and .js files…I merely didn’t realize, my server was trying to open a directory named images/images/_img.jpg because I specified it to look in the images folder and on my html I put the image src as /images/_img.jpg…I scratched my head looking at this one for about 30 mins before asking the instructor to take a look at it…He explained to me the problem I had above and I fixed the code.

Man, it’s always a little thing that’s the problem.

It was a pretty light day, I finished the whole Node.js section, including all the assignments and was feeling like a boss but that thought quickly faded because tomorrow we start Express.js which is supposed to make the server a lot more easier for us, this is also when we start to put into practice MVC which from doing LAMP last month seems like an easy concept to grasp just finding the right syntax in javascript to execute it properly.

I skipped out early today as did a couple other of my cohort mates after I tried to help a fellow co-horter with an assignment. It turns out he isn’t running Nodemon(which automatically updates your server for you without you having to restart it) on his machine because he was unable to install in properly. I was unaware of this so I was thinking the problem was in his server.js file which technically it was, the server hadn’t been restarted…Another cohort mate reached that conclusion after tinkering with it for a few minutes and I left out shortly thereafter.

My Decision to Attend a Bootcamp

I’ve been saying for a couple years now that if I just quit my job and work diligently, I would be able to get a job as a Developer. Well, I never had to guts to quit until January 2016.

My journey to attend a bootcamp starts in January 2016 when I got rejected from yet another Entry Level Developer job. I was fed up and believed that I had the experience to get the job considering I went to college and studied some coding (in PHP, MySQL, HTML/CSS) and have been focused on Web Development for a year and half but nonetheless, I was looked over.

At the end of January 2016, I fasted with my church (The Daniel Fast) and focused my fast on finding the direction for my career because the job I was at just wasn’t cutting it for me (there was no creativity being a Data Analyst and my job was tedious and redundant). I was looking on Course Report one day and a bootcamp called Coding Dojo appeared on my screen (it was listed on the site, it stood out to me so I clicked on their website). I believe it was only God that lead me to the site because to this day, I have no idea how or why I was even on coursereport.com.

I liked what I saw on the site, individuals expressing how excited they were about code and how confident they’d become in learning to code and this spoke to me. I applied after a couple days of lingering around their site; I scheduled an interview the very next day with little time to prepare for the coding portion. During the interview, I showed my reservations about my confidence in code and was encouraged by the interviewer to talk it out and surprisingly I was able to come up with conclusions to find the answers in the code. On Monday, I received in an e-mail congratulating me on being accepted into the bootcamp.

WOW! I thought, I have to quit my job now, there’s no turning back. From the time I signed up to the interview, I started putting more of my Faith in God and watching Him work in my life, I mean, I couldn’t forget that He’s the one that brought me this far. I began applying for loans through my banks, through the loan companies provided on their site and received a ‘No’ from every one of them. It was disappointing to say the least but I kept praying for answers. By Friday (5 days after being accepting into the bootcamp), I ran out of places to apply and sent an e-mail to the Dojo explaining to them I was unable to afford the bootcamp. I was answered back with another suggested loan company earnest.com – I applied that day, they needed more information from me by that evening so I responded immediately. From reading their reviews, the process took most 7 -10 business days so I kept checking in with customer service a couple times and finally on the 10th day when my hope was wavering, I received confirmation that my loan had been approved.

I notified the Dojo after the acceptance of the loan terms and began getting excited to learn with like-minded individuals who just want to code!

I am nervous, excited and scared – I’m quitting my job, using my savings (Thanks Dad for teaching me how to save at an early age :] ) and starting a new journey with what I hope to be some awesome people.