The Best Free Code Tutorials

What follows is a list of the best free code tutorials in my opinion. I’m proposing only the programming tutorials that I found taught me the fastest and the ones I enjoyed participating in.

best free code tutorials

There are many slow, boring video series I’ve gone through in the hopes of learning to program, but what follows are the programs that I found to teach me the subject quickly and were fun to complete.

Overall Best Free Code Courses

  1. Free Code Camp – http://freecodecamp.com/ – Free Code Camp is an open source, game-like software course that teaches everything from HTML to computer science ideas like
  2. CodeFights – https://codefights.com/ – I would suggest this is more of an intermediate way of learning. Once you get good with algorithms, this might be a great way to get on the radar of interesting software engineering companies.
  3. Codecademy – http://codecademy.com/ – These exercises are the best for getting an initial introduction to any technologies covered on their platform. Also, if I want to revamp some skills quickly before approaching a new project, bashing through Codecademy is a great way for me to freshen up on skills.

Best Specific Code Technologies

JavaScript

JavaScript is a very important language for the internet. If you want to have a good idea of what JavaScript looks like when navigating the web, go to Chrome>Preferences>Content Settings and shift the “Allowed” tab off. Once you’ve turned JavaScript off, go to your favorite websites and see the difference.

NPM

What is NPM? Node Package Manager is a protocol for using JavaScript to build applications. At this point, all I know is that it empowers the programmer to use the terminal to build web applications in JavaScript.

Regular Expressions (RegEx)

What is a regular expression? A RegularExpression is a line of text formatted to get you a result. For example, if you wanted to find all the dollar amounts from a tremendous text document, you can use a regular expression to pull out all the numerical numbers after a “$” symbol.

jQuery

What is jQuery? jQuery is a library of JavaScript which makes using JavaScript easier on web pages. For example, you write a HTML search box into a webpage and you want to process the input from the user to do something. You could use jQuery to take the user information and put it into a JavaScript algorithm.

Learn.jQuery.com – http://try.jquery.com/

SQL

What is SQL? SQL is an acronym for Structured Query Language. Pronounce it, sea quell, rather than S.Q.L.  This is a database language for retrieving data and creating data. Note: a basic understanding of RegularExpressions will help before starting the SQL tutorials.

Expample Format
SELECT <something>
FROM <dataset>
WHERE <attributes you care about>

SQL Bolt – https://sqlbolt.com/

Best Free Code Tutorials – Parting Words

I’m no expert at this. In 2016 I spent a year deep diving into software engineering, but I ran into a wall and decided to build a school bus home. That home took me about 9 months to build so I fell off the programming horse during the months from March to November of 2017.

For me, there is still a haze obscuring my path to understanding software engineering. Though the haze has lifted consistently during my studies, I still feel considerably lost in it. The above suggestions were from the tutorials that cleared the haze out the fastest. I’m sure it’s not a complete list, but it is the list of technologies that helped me the most.

Please add any suggestions in the comments below. I would really appreciate learning faster ways to blow the haze away.

Elchanan Mossel’s Probability Problem in JavaScript

An interesting problem popped into my twitter feed this morning:

Here’s how I wrote the problem in JavaScript:

function rollDie() {
  return Math.floor(Math.random() * (7 - 1) + 1);
}

function allEven(arr) {
  for (var i = 0; i < arr.length; i += 1) {
    if (arr[i] % 2 !== 0) {
      return false;
    }
  }

  return true;
}

function rollsToSix() {
  var rollResults = [];
  var sixRolled = false;

  while (sixRolled === false) {
    var roll = rollDie();

    if (roll === 6) {
      rollResults.push(6);
      sixRolled = true;
    } else {
      rollResults.push(roll);
    }
  }

  console.log(rollResults);
  return rollResults;
}

function howManyPositiveResults(attempts) {
  var positiveResults = 0;

  for (var i = 0; i < attempts; i += 1) {
    var resultOfRoll = allEven(rollsToSix());

    if (resultOfRoll === true) {
      positiveResults += 1;
    }
  }

  return positiveResults;
}

console.log(howManyPositiveResults(100));

The above program runs the results 100 times and returns the number of positive results. It also logs all the rolls even if the consecutive rolls included odd numbers.

It was fun to watch Mike Lawler do this problem with his children. I learned another approach to the problem from him. You can watch it here:

Exploring Elchanan Mossel’s fantastic probability problem with kids

t6r – Twitter Spam Hack Reactor Founders With Their Own Random Quotes

Getting stuck is the hardest thing about learning computer programming.

While working my way through Free Code Camp, I was stuck on the Random Quote Generator project. It’s part of their intermediate front end development certification.

Luckily, I had been applying to Hack Reactor and was conditionally accepted as soon as I completed the Pre-course Accept (PCA) program. While working through the PCA program with a big group of Hack Reactor people, we had the same project as Free Code Camp. We were to build a random quote generator.

So I used their random JavaScript algorithm to display random quotes at the click of a button. Very basic jQuery.

Heres the thing… the quotes are really funny. How could this be more useful?

It’s pretty clear that the random quotes were crafted by people who started the schools. The folks who came up with the first Hack Reactor curriculum.

So I wrote a short click to tweet algorithm and generated the quotes so they were easily shared on twitter. Now, anyone who wants to spam the founders of hack reactor with random quotes can do it with ease.

This is just for fun of course. A little mischievous fun on the internets. Despite the fact that I didn’t end up attending Hack Reactor, my experience learning with them for the PCA portion of the bootcamp was excellent.

Anyways, here’s how it turned out:

http://t6r.ianrobinson.net/

Setting Up Your Custom Domain Email Accounts

So I spent much of today trying to make the best screencasts I could.

I do have a question for anyone reading this blog.

Notice that in the first movie, I invest a lot of time into zooming in on the specific sections of importance.

In the second video, I ran of time and just completed it without the zooming in effects:

Which do you think is more useful for someone seeking this information? If you think the zoom is valuable, on a scale of 1-10 how important do you think it is?

Dismissed from App Academy

sf_bay_bridge
Sometimes things are black and white in San Francisco

I was dismissed from App Academy for failing all my exams on the 28th of November 2016. Ugh…

I am writing to inform you that due to your performance on the retake assessment it is our obligation to dismiss you from the course.
– App Academy

I tried as hard as I could to get good and pass the tests, but it wasn’t good enough.

After two retakes on the first two tests, I could never get the correct results on more than 85% of the specifications. Without exception, I found myself at the bottom of the class.

It really hurts, but I feel like it’s actually for the best. After the fourth examination, I wrote an email to my pod leader and let her know that I was leaving the building to save them the headache of asking me to leave. The last two weeks of my life had been spent in that classroom from 8:30 A.M. to 6:30 P.M.

For the next four hours I walked around San Francisco as my mood fluctuated between devastated defeat to excitement for a new chapter. It kept going back and forth. Now a few days later, I’m comfortable with it all. Here’s what I learned.

sf_tower

Things I Learned:

A LOT about Programming

App Academy (and Hack Reactor*) are excellent schools. They boil down the learning process and teach a lot of very challenging concepts quickly. Even though I’m happy I’m no longer attending a bootcamp, I wouldn’t tell anyone not to do them. They are great. I just wasn’t the right fit.

Office Life is Not for Me

My body started deteriorating in the first two weeks. Since being dismissed, five days have passed and I’ve gone to CrossFit three times. I’m back to feeling strong and healthy. The first day back, I was in very sad condition.

Since being dismissed I’ve spent the day outside, I’ve gone to movies in the middle of the day and I’ve taken sales calls whenever I wanted to. It was great to have this freedom locked up for a pair of weeks so I could reconnect with the value of freedom.

sf_sky_scraping_buildings3

My Current Position is Great

So my friends and I run a podcast production company where we are very free to do work we care about while traveling the world and never stepping foot in an office.

Spending two weeks in an office learning very dense material helped me to realize that I loved the position we have built for ourselves at Freedom Podcasting. Before the class, I had a magical view of working in a tall sky-scraping building with people that are highly sought after. After two weeks in App Academy, I’m happy to not be in an office anymore.

Programming Skills are Hard to Learn

On my last day at a/A we learned SQL in a day. It’s impressive that a/A has such an intense learning curve, but I feel like I’m happy to slow down a little bit and learn these skills at a deeper level.

Gender Neutral Bathrooms?

I’m not a big fan of gender neutral bathrooms or announcing our gender pronouns as a new way of communication.

I’m skeptical about organizations where social/political initiatives are institutionally forcing people to speak in a specific way. There was a great podcast with Jordan Peterson where he discusses the dangers of this movement.

sf_sky_scraping_buildings2

That’s it

I’m really sad I failed out. But I’m going to spend my time going to programming conferences, learning different technologies, lifting weights and growing Freedom Podcasting.

App Academy is an excellent program. It was just too intense for me at this point in my life.

Thank you for the run a/A -> Keep up the great work.

sf_sky_scraping_buildings

Learning Recursion in Ruby

“In order to understand recursion, you must first understand recursion.” – Source Unknown

SPOILER ALERT: If you’re an App Academy student, the answers are listed in this blog post so don’t read any further if you want to develop answers on your own.

How it Clicked For Me

visualizing factorials
Subsets Factorial Example

The key to understanding recursion is to get the base case.

To find the base case, define the easiest result.

Then think about the second easiest result.

As soon as you can get the first, second and third value, you have the solution for infinity.

It’s important to focus on the simplest case because when learning recursion, your mind can wander in the possibilities.

In the subsets example one can find a lot of strange patters when looking at all the subsets. Things like:

  • Could we work on this based on array length?
  • Is there a pattern in the order?
  • Perhaps we could shuffle the arrays and ask if they are in the range?

These sorts of thoughts can go for infinity. I think this is what recursion is seen as such a challenging thing. There is a lot of room for thinkers to develop ideas that get more and more complex as the program gets longer.

In the end, recursion will win.

Let’s start with the easiest implementation to understand, factorial.

Continue reading “Learning Recursion in Ruby”

Bootcamp Prep – The Videos I Wish I Had When I Started

Coding Bootcamp Prep Course
The view from the App Academy building… awash in code.

It’s challenging to prepare for the technical interview application process at immersive coding
bootcamps like App Academy and Hack Reactor.

I’m trying to make it easier… here’s a collection of videos that I think make it easier.

Creation Story

For most of 2016, I was working hard to learn the needed coding skills to pass the technical interviews. My goal was to get accepted to the top programming bootcamps in San Francisco.

In July of 2016, I applied to MakerSquare, Hack Reactor and App Academy.

I was accepted into Hack Reactor and App Academy, both of which are considered very challenging schools to get into.

After a lot of deliberation I chose to be a part of the November, 2016 cohort at App Academy.

At the time of writing this, I have 2 months until the start of the cohort so I want to spend the time teaching others how I think about the technical challenges and provide material to speed the skill acquisition of future aspiring programmers.

Tools

There are a lot of tools to get hung up on. If you follow along with the video course, you can skip that.

In this course we will use Node and a simple text editor. Both are easy installs.

Programmers are crazy about their tools and that is a good thing. We’re learning the basics so we don’t need the fancy stuff. Fancy tools will actually hurt you during your coding interview because they become a crutch.
During many interviews, you won’t be able to run your code or write in an editor that gives you hints on syntax. We’re doing this spartan style so you have the core ability to pass the technical interview no matter what tools they ask you to program in.

Language

We will be using JavaScript. Here’s why:

JavaScript is used to build almost all websites these days.

Even if you’re going to a school that focuses on Ruby or Python, you will still find yourself using JavaScript (or it’s derivatives) to display the results of your code on a website.

For that reason, it makes sense to learn JavaScript first. The syntax is more challenging (IMHO) and therefore it is better to start there. Once you get good at JavaScript, Ruby and Python are easy to pick up. I transitioned from Ruby to JavaScript and I think it would have been easier to go the other way.

When I started, I learned Ruby. After transitioning to JavaScript, I wish I had started there and moved to Ruby later.

I hope you find this useful.

You can download the course material as I create it via this GitHub repository.

Coding Bootcamp Acceptance Decision and a Southwest Roadtrip

(This is a now page, and if you have your own site, you should make one, too.)

Updated September 19th, 2016

Acceptance to App Academy and Hack Reactor

One day in July, I decided I had studied enough. It was time to apply to my top coding bootcamps. After a handful of technical interviews, I had two acceptance letters from my two top-choice schools. It was a very nice feeling.

The hard part was deciding between Hack Reactor and App Academy. Both are great schools. In the end, it was App Academy’s tuition model, and the fact that I had already organized housing in the bay area for the App Academy cohort. If I were to do Hack Reactor, I would be forced to find a place to live in San Francisco for two months before my other housing would available.

It would cost me about $10,000 USD more upfront to go to Hack Reactor than App Academy. That was a deciding factor.

Both schools have excellent reputations. It’s an honor to be accepted to their programs. I did work really hard at it before hand.

Before Starting Coding Bootcamp

I’ll be headed to App Academy on November 14th, 2016. Here is what I plan to accomplish before then.

  1. Organize Freedom Podcasting (our podcast production service business) for my 3 month absence
  2. Business travel to Sedona, AZ via Las Vegas and the Grand Canyon.
  3. Teach and produce a course on the software skills needed to get into the top coding bootcamps
  4. Make a meaningful contribution to an open source project
  5. Publish an open source project which accepts iTunes podcast URLs and returns the source URL (which iTunes hides from users)
  6. Read a book about money, a book about history and a book about humanity

11greatbentlyside