Category: Programming

The Start of Project Week

The Start of Project Week

This week at Flatiron we started working on our long-term projects. We’ve worked in groups at various points through the semester, but working in a fixed group for a longer, bigger project brings a different perspective with it. On top of that is the challenge of this being our first complete Rails app. Working in a new group always has challenges as...

Debugging the Controller

Debugging the Controller

Debugging is an important part of getting your code to work, and today we got some more practice. We were given a simple Rails app and had to figure out what was wrong with it. The issue with the app is that when a new game is created, the name field remains blank. To solve this, I broke it down into a...

Building a Home for an App

Building a Home for an App

Before the holidays, we spent some time at Flatiron learning Sinatra. This week, we took the plunge into Rails. Both Sinatra and Rails are Ruby Frameworks, which let you get your Ruby apps online. But even though they serve the same purpose, they go about it very differently. Let’s say you have an ideal image in your mind of what you want...

Exploring Time and Space with the Box-Sizing Property

Exploring Time and Space with the Box-Sizing Property

Today we reviewed the box-sizing property in CSS, and the differences between content-box, border-box, and padding-box models. Of course, talking about boxes made me think of my favorite box – the Tardis. Since the Tardis has been recreated over time, and its size and configuration changes a bit when it “regenerates”, I figure it’s a perfect way to explain the box-sizing property....

Embroidery

Embroidery

This morning we looked at an embroidery website to troubleshoot it. If everything at that page looks alright to you, scroll down a little bit. The web page is built with nested h3 tags. Each section is inside the previous one, and so any styling in that section (such as font size) persists. The default font size for h3 is 1.17em. Using...

The Importance of Community

The Importance of Community

Tonight I went to the very wonderful Brooklyn JS meetup. Before coming to Flatiron School the language I was most comfortable with was Javascript. I really enjoy JS, and every time I go to an event like this I remember how much I love the Javascript community and how important community is. The talks were fantastic, and mingling with people afterwards was...

Singing with Sinatra

Singing with Sinatra

Sinatra is a Ruby framework. It helps you take your app and get it online, complete with a front-end. I’ve spent the past week making various Sinatra apps, and it’s been a lot of fun. My first was Are You Still Sad?, an emergency compliment site. A Sinatra app has a few basic components. An app.rb file, a views directory, and a...

Skynet Is Still A Long Way Off

Skynet Is Still A Long Way Off

Over the weekend, I was fortunate enough to find myself in lovely Amelia Island for the first-ever RobotsConf! It was a two-day marathon, aimed at taking software developers and teaching them everything there is to know about the maker movement. It was amazing. I learned so much and met so many wonderful people, I already can’t wait for next year’s conference. The...

Embrace the Inevitable Change

Embrace the Inevitable Change

Over Thanksgiving break, we were asked to make a playlister app. For the playlister, we needed to create Song, Artist, and Genre classes, which were all highly dependent on each other. Songs included the artist and genre objects. Artists included the song object and an array of genres. Genres included an array of songs and an array of artists. Everything was dependent...

Inheritance and Pokemon

Inheritance and Pokemon

Last night we read two chapters on inheritance from Sandi Metz’s book, Practical Object-Oriented Design in Ruby. The concept of inheritance is fairly simple on the surface. You create a bare-bones super-class that only includes things that sub-classes, or different types of that class, will have in common. You link your sub-classes to your super-class so that they get all characteristics of...