The Wayback Machine - https://web.archive.org/web/20080224033829/http://www.styledbits.com:80/

And Back to C?

I’ve spent a portion of the day trying to pump out some decent music for our RPM2008 contribution with little results. It happens sometimes, so I went out for a walk and tried again. Still nothing. I am however, finally getting my rsync repo setup so Paul and I can share the raw GarageBand tracks. I said I’d do this a week ago, but I obviously lied. The files are copying now, so that’ll be done soon.

In the meantime, trying to do something creative, I thought I’d toy with Pygame - an open source multimedia framework written in Python. It looks intuitive, and is a wrapper for the SDL libraries. Unfortunately, it doesn’t play well with OS X. I originally had the idea that I could hack it so it would run on my box, but quickly realized that I’m missing the point. If I ever wanted to distribute my project to others, I’d have to provide crazy instructions to those that wanted to run it on OS X. I need to be closer to click-and-run.

So, I started looking for an alternative framework. It doesn’t look there are any real solutions in Python or Ruby, but I can go the pure SDL route or use Allegro if I’d like to (or have the guts to) use C. Both are robust and proven, and I had written a few small games (more like demos) in SDL back in college. I wish I had the brains to use revision control then, because it’d sure be nice to look over what I had done. Oh well.

It’s been a while since I’ve done anything serious in C, so I’ll probably make some ugly mistakes. The first time I ever worked with C was in 1996, and I was 16. I was trying to get my Slackware linux distro to use my network card, and the device driver wouldn’t compile. I had more balls than brains then, and decided that the best way to solve the problem was to comment out the offending line. And it worked. The driver compiled and my card freakin’ got out on the local net. Wow. I felt like I had been initiated into some sort of secretive occult group. It is now more than obvious that it was all dumb luck, but hey, it was encouraging.

Most of my college CS courses were rooted in C, and I did pretty well in them. Towards the end of my course work, the staff decided to move the department to C++. I got the basics without much trouble, but never felt that I mastered it. For example, if you ask me what a template is, I’ll just give you a blank stare.

Now I’m working with it again. I just wrote a simple app that uses the Allegro libraries, and I have a little guy that walks around my screen at the command of my keyboard. Not too shabby for very little work. Even better, this code can be compiled on the three platforms I care about - Linux, Windows, and OS X.

We’ll see if I’m still smiling when I get my first segfault ;-)

Do You Know What is More Gross Than Sour Milk?

Sour chocolate milk, my friends.  Sour chocolate milk.

That’s all I got.  Good night.

Baggu

Brooke had the good sense to pick up a couple of these for us.  It is all too often that I have to run an errand on the way home from work and end up with yet another plastic bag.  With this, I just toss it in my laptop case and have it handy wherever I may go.

It’s Not Like Clockwork

I have been trying to work out project music every morning upon waking. It’s just not happening. I get an occasional burst of inspiration, but I’m not able to develop it. I think the roadblock is the knowledge that I can’t take too much time, as I need to catch the train to work in short while.

The evidence suggests that weekend evenings are my most productive. I haven’t been able to turn out bad-ass-sure-things like Paul’s yet, but I am able to get a few workable structures laid down here or there.

I hope to throw the last of my ideas out this weekend, and then move on to refining our existing tracks.

In the end, no matter where these tracks go, this has been a great experience. Realizing that I haven’t lost the musical aspects of my personality has made me grin and adds some balance to my day-to-day life.

Boston is Not a Fan of Huckabee

To quote the entire piece:

The founder of the rock band Boston is enraged that Mike Huckabee is using his band’s hit “More Than a Feeling” on the campaign trail. He’s written a letter to Huckabee demanding the GOP candidate stop using it. “Boston has never endorsed a political candidate, and with all due respect, would not start by endorsing a candidate who is the polar opposite of most everything Boston stands for,” wrote Tom Scholz. “In fact, although I’m impressed you learned my bass guitar part on ‘More Than a Feeling,’ I am an Obama supporter.” 

hehe. 

I Like Python

I’ve been working with Python more and more at work and in personal experiments.  It’s nice!  I’d toyed with it in the past while exploring Django, but never really dug into it.  Being a Ruby fan, I do miss block support - but, the namespace features and excellent readability certainly make it attractive enough.

I think that I can build better utilities with Python than I currently can in Perl or Ruby, although that can only be proven through trial.

A Fair Quote

Over at PerlBuzz:

Sure, PHP 6 may have a shorter release cycle than Perl 6 has, but at the end of it all, we’ll have Perl 6, and you’ll still have PHP.

Inspiration on the Edge of Dreamland

I had one of those rough nights in which I couldn’t tell what was keeping me from sleeping more - pages from my network monitoring system or my old and cranky dog. By the time I had wrapped everything up, it was 6:15 AM, and I was wired with adrenalin.

Not being able to go back asleep, I decided to take the time before going into work to work on some music for our RPM 2008 contest. While none of it is great, you can catch my two favorites here and here. I also came up with a few other ideas, but didn’t have enough time to commit them. We’ll see what tomorrow brings.

As Paul mentioned yesterday, our work is open to the public and even has an RSS feed if you want to contribute or keep up.

GreenDimes Update

GreenDimes

Dax had inquired not too long ago how my experience with GreenDimes is going. They provide an anti-junk mail program (for snail mail, that is), and it has an environmentalist edge. I was initially unsure if I was getting results, but after a few months I can certainly state that I am no longer receiving junk mail. Every item in my mailbox can be accounted for.

So, if you’re tired of all the crap that arrives at your house, give GreenDimes a try. They’ll even plant a few trees for ya.

Rock Band

Brooke and I had dinner w/ Benjamin this evening, and he introduced us to this thing called Rock Band. It’s all the rage with the kids these days. The three of us alternated amongst the guitar, drums, and vocals. I was terrible at the drums, but could at least keep the rhythm with the guitar. Vocals… well, jeez. I’m glad you weren’t there to hear me pull those off.

All in all - Rock Band is a helluva lot more fun that I thought it would be.