Quantcast
Channel: dave yarwood
Browsing all 64 articles
Browse latest View live

Happy New Year!

I have the day off work, so I figured I’d set up this blog on github. Maybe I don’t really need a blog just yet, but I figure at least I’ll have one at the ready whenever I end up having something...

View Article


_why's (Poignant) Guide to Ruby in Clojure: Part 1

When I first started learning Ruby, Why’s (Poignant) Guide to Ruby was a godsend. From an objective point of view, it’s really not the most detailed or thorough language tutorial, but then again, I...

View Article


_why's (Poignant) Guide to Ruby in Clojure: Part 2

Part 1 of this series can be found here.In this chapter, we start to see more of _why’s use of Ruby code to do metaphysical things like catch stars and use them to construct star-monkeys. Of course,...

View Article

_why's (Poignant) Guide to Ruby in Clojure: Part 3

Parts 1 and 2 of this series can be found here and here.Okay, is it me, or is Chapter 5 absurdly long compared to the other chapters in this book!? Holy moley. I’m going to have to split this one up...

View Article

_why's (Poignant) Guide to Ruby in Clojure: Part 4

Parts 1, 2 and 3 of this series can be found here, here and here.So here’s where _why starts getting into monkey-patching, which I would consider to be a key feature of Ruby… sure, it’s dangerous in...

View Article


4Clojure Problem #178

On a whim today, I decided to take on 4Clojure Problem #178, which gives you as input a collection of 5 strings like "HA" (ace of hearts) or "D2" (2 of diamonds), representing a poker hand, and asks...

View Article

4Clojure Problem #178 - Revised

I got some great feedback on my last post and decided to re-work my solution a bit. I think this turned out much nicer.The main things I improved:My first solution involved “predicates” (technically...

View Article

A novel solution to FizzBuzz

I’ve always been mildly interested in the FizzBuzz problem, which is a fairly simple test of one’s programming ability in a given language; the task is to generate a list of the first 100 “fizz buzz”...

View Article


Saint-Saëns' "The Swan" on Theremin

Theremin performance at Letters Bookshop from INDY Week on Vimeo.I figured I could use this blog to show off some music stuff that I’ve been doing, too. Why not, right? I’ve already got links to two...

View Article


_why's (Poignant) Guide to Ruby in Clojure: Part 5

Parts 1 through 4 of this series can be found here, here, here and here.At long last, here is part 5 of my series translating the code examples from w(p)gtr into Clojure! I meant to post this like, 4...

View Article

20 cool Clojure functions

One of my favorite things about Clojure is that there are just so many really neat, useful functions and macros built into the language, and I’m constantly learning about new ones that I didn’t know...

View Article

_why's (Poignant) Guide to Ruby in Clojure: Part 6

Parts 1 through 5 of this series can be found here, here, here, here and here.OK, to be honest I almost forgot that I was doing this! We’re in the home stretch now. It’s a little hard to follow the...

View Article

Antibubbles - Live @ the Layabout (8/5/11)

I was going through my computer and found this old Antibubbles live set – thought I’d share it. It’s from a fun house show we played at the Layabout in Durham on August 5, 2011.Antibubbles was a band...

View Article


Introducing Riffmuse

I’ve written a simple command line app in Clojure that will take a musical scale as a command line argument and algorithmically generate a short musical idea or “riff” using the notes in that scale. I...

View Article

RIP, iPod Classic :(

I read some interesting news this week about the iPod Classic… if you haven’t heard, Apple has killed off the iPod Classic.For me, personally, this is devastating news. I’ve used a 160 GB iPod Classic...

View Article


A character utility library for Clojure

(Note: some of the supplementary Unicode characters on this page may not display properly if you don’t have CJK fonts installed.)So, I’ve been kicking this idea around for a while, and I’ve finally...

View Article

_why's (Poignant) Guide to Ruby in Clojure: Part 7

Parts 1 through 6 of this series can be found here, here, here, here, here and here.Alright, so I kind of just remembered that there was still one chapter left to go – so here it is! Until _why decides...

View Article


Antibubbles - 'Cactus'

Here’s an unreleased Antibubbles song – it was part of a small batch of songs we were working on right before we broke up. This is a rehearsal recording from December 8, 2012, about a month before our...

View Article

Clojure character utilities, now available as a clojar!

A couple months ago I posted about a character utility library I whipped up for Clojure. It’s still a work-in-progress, but I think it’s in good enough shape for general use. I decided to make a clojar...

View Article

Pixel Rain

Here’s a little blast from the past – I just realized that I composed and programmed this “NES classical” piece for a composition class almost exactly 10 years ago. I had recently discovered MML, a...

View Article
Browsing all 64 articles
Browse latest View live