Dalma's Blog


A record of the things I learn at Flatiron School

How I Built My First Ruby Gem

I built a Ruby command line interface (CLI) gem application as my first portfolio project in the Online Web Development Program at Flatiron School. I created a program that displays the weekly schedule of bills to be debated on the United States House of Representatives floor. It pulls data from the House Floor web page, as well as from individual bill pages on Congress.gov. Interestingly, the House Floor schedule does not provide links to the individual bill pages. Fortunately, my program does!


Is There An Enumerator That Compares Nested Arrays?

I just completed my Tic Tac Toe project with an unbeatable AI. I was able to get almost every part working how I wanted, except for one small bit of code in which I wanted an enumerator to iterate over nested arrays in a parent array and compare them to each other. Specifically, I wanted my AI to check whether the opponent player had a potential double. In other words, to check if there are two intersecting edges occupied by the opponent (and only the opponent).


9 Ways to Learn Effectively

There is learning, and then there’s effective learning. Everyone can learn, but not everyone knows how to learn effectively.


An 8-Year-Old Planned My Life