This site runs best with JavaScript enabled.

Getting Started With react-rails

As Rails developers, we know that Rails will always just works . :sparkles:The Rails Way:sparkles: has been well established by @DHH and cohorts to make a wonderful framework. There is no question that you can get things up and running fast with Rails. Across the pond there has been a bit of…

Read Article →

Sieve of Eratosthenes

What is the Sieve of Eratosthenes? It seems like such a fancy name for something. Wikipedia tells us that Eratosthenes was a Greek mathematician. Wow, cool. Apparently the ancient greeks were good at math :smile: A prime number sieve is an algorithm to find prime numbers. A prime number, of course…

Read Article →

Just Start Writing

Today, I went to a React Meet up in Portland Oregon (first one! :confetti_ball:). It was awesome and I highly recommend that everyone go to meetups that focus on the particular technology that you are interested in. Side note: in this meet up, we went over Javascript generators and redux-saga. The…

Read Article →

XCode's License Issue with Node

XCode license issues with node. It took me a while to figure out the issue to this error: Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo. After some googling the first line I came to this issue on stack overflow. I had thought there was a problem with nvm…

Read Article →

Javascript's <em>this</em> keyword

Javascript's :sparkles: this :sparkles: object could very well be one of the most miss understood concept in the language. The first think that we need to understand is that when all function is Javascript execute, it gets a this property. The value of this is determined by the value of the…

Read Article →

Basics of Functional Javascript: Array.forEach

Understanding JavaScript's Array.forEach method is essential to getting a grasp of functional programming in Javascript. The forEach method allows you to iterate over an array just like you could with a for-loop. ForEach() takes a callback function to be executed once per item in the array. No more…

Read Article →

Basics of Functional Javascript: Array.reduce

Reduce is one of the most powerful functions that you can use on an array. When you call reduce on an array, you have to give reduce a callback function. A simple reduce function would look something like this: In this case, reduce takes the contents of array and adds each one together. To…

Read Article →