Growing Ideas


The musings of a growing learner.

High Hopes for my first Sinatra App

My eyes must have shone with excitement as I sat down to write my first webapp. In the words of Rhino the Hampster (from the movie Bolt), β€œAll of my training has prepared me for this moment.”


Fetching Information from an API in Ruby for a CLI

In the past I had used JavaScript to get information from an API but had never done it in Ruby before so when a school project came up to build a CLI (Command Line Interface) that needed to scrape info from the Web or use an API, I decided to try to pull information from an API. But, what should my CLI app do? After some deliberation and preliminary scouting for APIs, I decided to make a CLI weather fetching app that would get information from a weather API. And so WeatherPup (because it plays fetch πŸ˜‰) came into existence. I wanted WeatherPup to fetch weather conditions based on a US Zip Code or a GPS Coordinate pair (a latitude and longitude pair).


About This Growing Coder

Growing up on a farm taught me a lot about life. When I was a child, I remember waking up during the 6am hour to do my chores before I left for school. There were also many summers in the early June heat when even us kids would go out and move hay bales into piles for my Dad to load into our pickup. And then there was the garden. Did you know that children are great at weeding? My parents thought so.