Every night, I record the story of my day and send it to Erik as a private track on SoundCloud. He listens later at night on the West Coast or early in the morning. This is one of the things we do to stay close while we’re far apart. (San Francisco and Boston, while I’m away at school.)
So every night I record a new track, and every track has a number; last night’s was #87. But sometimes I miss a number, or use one twice. So to practice Ruby and to solve the problem in a satisfying way, I wrote this script to automatically increment tracks above or below a certain threshold. (The gist on GitHub.)
Here’s the thing: much of my life online is stored on sites with great APIs—Twitter, SoundCloud, even Tumblr. To be able to play with that data programmatically is a powerful, mind-bending experience. I love sites like RubyMonk and Codecademy for learning programming, but there’s nothing like solving a real problem you really have with a few lines of code.
APIs connect what I want to do with what I want to learn.
-
lisasanchez likes this
-
taylordavidson reblogged this from dianakimball
-
taylordavidson likes this
-
loganabbott likes this
-
nickthejam likes this
-
rachelmercer likes this
-
ramzy likes this
-
younginnewyork likes this
-
dexigo likes this
-
jomc likes this
-
sarzha likes this
-
couch likes this
-
yargrolyat likes this
-
cursesandswears reblogged this from dianakimball and added:
multiple levels. First...all, adorable romantic tech use! Second
-
cursesandswears likes this
-
roomthily likes this
-
kirklove likes this
-
dianakimball posted this



