[insert Solid Snake meme]

Backstory

It was a while ago that I decided to start to develop a messaging app to add to my portfolio. I wanted to have a bit of use using websockets, and I thought it would be a fun side project. There was just one thorn in my side that I was tired of dealing with, which was using postgres. Using postgres instead of the rails default sqlite is an important step if you’re wanting to host your backend on heroku. My current environment is a custom PC running Windows 10 and I’m using Ubuntu with Windows Subsystem for Linux (WSL)…


The core feature in any social media platform is having the ability to let users follow other users, and to see posts that those users made in your own feed. A while back I made a social media app for my boot camp final, which used Ruby on Rails and has a follow feature. In this article I’ll show how I was able to implement this surprisingly confusing feature.

A visual example of a Users table with a Relationships self-join table

So how do we allow users to follow each other in terms of our database? Of course we’ll have a user table, but how do we make a way for this…


“If you enjoy your job, you’ll never have to work a day in your life.” I’ve heard this said many times throughout my life so far. To simply enjoy what you do for a living is the ultimate dream. To work at something, and then get paid cash for it. Even when I was a kid, I knew I wanted to have something like this. However, I never could figure out what that job could be.

You might remember in elementary school people asking what you wanted to be when you grow up. The typical response might be a fireman…


Let’s say you’re styling a webapp, and you have been writing CSS for hours and hours. Over and over you are writing curly brackets, colons and semicolons. You end up having to write the same lines over and over just to get the style just right. You wonder to yourself, ‘there has to be another way…’, and it comes to you. Preprocessors.

Us being lazy creatures, we want to put in the least amount of effort. LESS has some nice features inspired by SASS, but we are forced to use curly brackets and all that jazz. SASS syntax gets a…


From the perspective of a developer, CSS is a bit of an oddity. CSS doesn’t inherently have logic, the ability to iterate or create loops, or to assign variables. This might be fine for simple static web pages. For larger sites and web apps, CSS can become tricky very quickly. CSS files can become long, like 700 lines long. If only there were something to help our CSS be easier.

Introducing SASS, which is short for syntactically awesome style sheets., It’s a CSS preprocessor, which means it will take your written code and process it into CSS. Which makes writing…


There are many useful tags in HTML. We have tags for headers, paragraphs, lists, tables, and so much more. One tag in particular stands out to be a little bit different. That’s the canvas tag. The canvas tag in html simply just lets us draw shapes onto our html page. That probably sounds pretty useless right about now. You might be asking ‘why would you ever want to have an entire section of your website to just shapes?’ With the canvas tag we can have dynamic graphics, in browser games, animations, and interactive video. Pretty cool, right?

What gives canvas…


A while back me and my brother were looking into games that we could play together in. We decided that we were going to play a modded version of Minecraft called skyfactory. However, renting a server can be pricy. Then it hit me. I have a tiny computer, called a Raspberry Pi, that could be my solution for a cheap Minecraft server.

The Raspberry pi is without a doubt an amazing computer for its size. It’s newer generations sports up to 8Gb of RAM and a quad core CPU. …


In my Flatiron school bootcamp we were assigned to do a pair project. Me and my partner decided to make a program that takes baseball data, inputs it into a local database, and returns relevant data to the user with a user input. This program would be written in Ruby, and it would use ActiveRecord, sqlite3, require_all, rake, and pry gems.

Starting out the project, we were actually considering using CSV files from a MLB databank. We had some concerns with using this since the data went back all the way to the 1800’s. It was a lot of data…

Riley Iverson

Software Engineering student at Flatiron School

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