Rubik_Tesselation

Ever run npm test on fresh line of code, and see you terminal jam up on some newly written loop like for(let i = 0; i <…etc…etc)? You quit, then your fan starts getting very loud. Yet you notice your MacBook doesn’t even feel very hot. So, you check your activity monitor, and the number one highest CPU usage is kernal_task. Maybe you quickly close a bunch of running apps, like Spotify and Slack and Zoom, and the fan subsides; or instead, your cursor does that color palette spin. So does that really fix the problem?

My advice here is…


Another post today continuing with my math problem project. This one is very mathy, but if you understand the straightforwardness of the theory, this one is not as confusing as my previous entry.

###PROBLEM STATEMENT

  • The prime factors of 13195 are 5, 7, 13 and 29. The largest prime factor in this case is 29.
  • What is the largest prime factor of the number 600851475143 ?

So, quick story: I bought a four pack of Rubik cubes this week. I’ve got the strategy down for a 3x3, memorized quite a few of the algorithms, and pretty much know what patterns…


If you’re coming from my last blog, you’ve probably picked up on the fact I started doing the classic Euler project. So here’s the next challenge…

## Problem: Even Fibonacci

- Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:

- 1,2,3,5,8,13,21,34,55,89…

  • By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.

You can skip this next section if you are familiar with the Fibonacci sequence(referred to as fib_seq from…


If you are new to programming, I’m going to recommend a book that will allow you to take your eyes off a screen (unless you really prefer it online) for 30min-1hr day: Code Complete (link to amazon).

In this blog, I will apply some lessons learned from chapter 9 on Pseudocode Programming Process (PPP) with an easy algorithm. If you’re looking into this blog, I’m hoping you have an understanding of procedural and object-oriented Ruby, and little bit of math. We’ll be using a few essential methods to solve our problem.

First things first, here is our problem statement:

  • If…

Last week, I participated in an online event hosted by skilled. If you are unfamiliar with the site, basically they provide a platform for mock technical interviews. Pass or fail, I find it’s a worthwhile experience to check out their services if you are in the interviewing processes.

Anyone who has ever worked in software engineering can tell you that these types of assessments are the gatekeeper to getting a job offer. A resume only goes so far; these problems allow you the opportunity to prove your skills to a potential employer. …


First of all, what is Ruby-on-Rails? Simply, it’s a ruby gem, a code library, which is open source, and an MVC web framework. What’s great about that, is that using Rails, you won’t have create the base application functionality over and over again. So let’s jump into how to get started, and then run a migration (assuming you’re a Mac user).

Open a command terminal on you computer. Run the following:

gem install rails

Next generate a new rails app like this:

rails new your-apps-name

Notice the dashes between each word there, and it’s lowercase? That’s important. …


I’m assuming if you’re coming to this article from my last, you felt there was a little bit of unresolved information. Can you elaborate a little bit on this ORM thing? Why all this secrecy behind ActiveRecord?

An Object-Relation Mapper allows object-oriented programming to use an SQL database, which is not object oriented. If you are trying to create a program to store object values, using this system, the data is converted back and forth; its persistent. The basic “mapping” concept boils down to this very simply…think:

Class → Database Table

Instances → Table Rows

attr_accessor → Column name

**Keep…


Seeing this recent article about Theranos in between deploying apps on Heroku, it felt like the right time to talk structured query languages and databases.

In this first blog, I’ll discuss a little bit how the two are related and used by this Rubyist. In following entry, I will discuss ActiveRecord and ORMs.

So what exactly is this SQL? Simply, it’s a “domain-specific” programming language with a “special purpose”: it’s only used for talking to databases. I’ve used it to handle data in a relational database management system, or RDBMS. …

aaron feingold

web developer making apps for people with appetite

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store