It turns out that Fixnums are special and are represented as “immediate values”, which from what I understand is just Ruby for “literals”. This kind of lets the air out of the whole “everything in Ruby is an Object” when they are really no such thing.

Fizz Buzz

Wayne asked us newbies to solve the Fizz Buzz problem for homework. Here is my solution. I got stuck at the start, where I couldn’t remember how to make anything print–let alone all the numbers between 1 and 100. I also got stuck on how and where to introduce the iterative step. I find the way…. Continue reading “Fizz Buzz”.

Learning Ruby (again)

Things are going a bit better than the last time I tried to pick up Ruby. Part of it is just the fact that I’m not learning it this time for work, but kind-of on the side. But I think a big part of it is just getting my feet wet with just the Ruby language rather…. Continue reading “Learning Ruby (again)”.

Onward and Upward

This week we wrapped up git and got started on Ruby. I’m starting to build the muscle memory with git. Although they are mostly simple tasks I can make a change in an html document, stage those changes, and then commit them to a repository in github. This feels like major progress given how I…. Continue reading “Onward and Upward”.

Trial by Fire

After several weeks of dreaming big and working through some conceptual difficulties, we Praxis fellows have returned to the concrete task of learning to code and program.   Currently, we are wandering our way through the world of Ruby on Rails.   It has been a while since I have had the opportunity to learn something completely…. Continue reading “Trial by Fire”.

Ruby Cat Poem

AA                  line tabbed mmmmmmmmmmmmm nononono                         mmmmmmmmmmmmm m doof cat Cat a in Catnip  Grass I     llllllllllllllllllll split a               tsil do     II         Fishies                     I IIIIIIII —Learn Ruby The Hard Way, Ex. 10, modified to create cat poem (source)

Poster Abstract and Code Camp

It’s been a tad quiet on the blog front over the past couple weeks. Here is what the Praxis squad has been up to. It’s been a great week for collaborative writing. We put together a poster abstract for DH 2013 that crystallized a lot of our thoughts on Prism and crowdsourcing thus far. Perhaps…. Continue reading “Poster Abstract and Code Camp”.

Data visualizations: Learning d3.js

[cross-posted at] The SCI study on humanities graduate programs and career preparation is humming along, and while survey responses come in, I’ve been working on determining how best to translate the data into meaningful graphics. After a lot of experimenting, I think the winner is d3.js. Short for for Data-Driven Documents, D3 is Michael…. Continue reading “Data visualizations: Learning d3.js”.

The Sidler’s Guide: Just Smile and Hit Your Mark

I can’t help feeling like a Seinfeldian sidler. Prism is up. The code has been written, the pages designed, and the tests passed. Everyone is gathering together getting ready for the post-prism photo-op when out of nowhere some bearded weirdo who smells like tapas and olive oil rides into the frame on a tiny horse…. Continue reading “The Sidler’s Guide: Just Smile and Hit Your Mark”.

On Complexity

When I wrote my first “real” code for a website, things were a lot simpler. I was taking SGML TEI files and running them through a DSSSL generator to create static HTML files. It was pretty straight-forward: I would tag a document, cross my fingers that it would validate, then run a script that would…. Continue reading “On Complexity”.