Posts

  • Scraping The City of Toronto's Council Data

    I am working with two of my classmates to create an API for the City of Toronto’s City Council data. We’ve spent a lot of time discussing the idea, and this week we got down to work.

    Read more...

  • jQuery Tic Tac Toe

    To add to my repository of incomplete games, we made a Tic Tac Toe game to day. I set up a 9 x 9 grid of divs and added an event listener on each div. On each click the jQuery adds either an “X” or an “O” to the cell depending on whose turn it is.

    Read more...

  • Three Different Pongs

    I’m learning JavaScript and jQuery this week. To challenge myself, I decided to try to make a pong game in my browser. I ended up making three versions of the game. One using the DOM, another using pure JS, and a third in Processing. None of them are totally finished, but the basics are there.

    Read more...

  • HTML Forms are Boring

    I’ve taught myself lots about HTML and CSS. Although it can be really finicky, I really enjoy getting it right, but forms are boring. I haven’t taken the time to memorize each type of input or how to style buttons. There’s no glamour in a good, accessible form.

    Read more...

  • Responsive iframe CSS

    NOTE: Looks like the soloution below will fix most videos but not YouTube. Check out this solution from CSS Tricks that uses a wrapper div around the iframe.

    Read more...

  • Arrays vs Hashes in Ruby

    This weekend I created a small, Ruby CRM application that stores contact information. You can check out my code on GitHub. While I was building this app, most people were using an array to store their contact information, but I wanted to use a Hash. I kew that theoretically Hashes are fster than Arrays, but I didn’t know why.

    Read more...

  • Mars Rover

    The Mars rover problem goes like this: you have write a program that can deploy rovers that will accept a series of commands to navigate a grid. The rover can only move forward or turn. It cannot move diagonally or move sideways. The rovers move through a grid aligned to the cardinal directions & the bottom left hand corner of the grid is (0, 0).

    Read more...

subscribe via RSS