Debugging Method For Rubyclass Object

class Object
    def additional_methods
        if self.instance_of?(Class)
            self.methods.sort - Class.methods
            self.methods.sort - Object.methods

#example usage
class Foo
    def self.a
    def Foo.b
    def c
    def d

{:class=>Foo,:instance=>}.each do |name,obj|
    puts "#{name} additional methods: #{obj.additional_methods.join(',')}"

Aliens in the Living Room

After walking through my living room in the night and seeing a oscillating blue light coming from the Wii, I decided to do a little research on the web. Apparently, your Wii’s drive light will glow blue when you get a new message. So it really is checking mail, etc when it is in sleep mode.

Now I just need some new games to come out for it, particularly of the RPG or strategy type.


I’ve been asked to recommend a CMS system. It’s for a small business, that makes websites for local businesses. I’ve done some freelance work for them. While I want to help them out, it brings me to the difficulties I see with CMS systems.

They seem like a good idea. Simplifying content presentation so that non-coders can make web pages. But as a programmer, I would need to read an entire book in order to make a web page with one of these mammoth systems like Drupal, or Joomla. Even WYSIWYG tools like Dreamweaver require serious time to learn. I would submit that HTML and CSS could be learned in just a little more time than it would take to learn such a tool. By learning the code, you can fix a problem when you get stuck with a CMS or tool.

I’d love to get excited about one of these tools. To be able to quickly throw static content on a page. I’d argue, that like web frameworks, they need to get simplified to be powerful. It’s a well worn motto, but look at what Rails has done for web frameworks.

BG: TV for a superdork like me

Yes, I’m ashamed to admit it, but I have been sucked into Battlestar Galactica (the new series) on the sci-fi network. I didn’t get into shows like Star Trek as a kid, just Star Wars. But this show has me hooked.

Anywho, the season finale was just on. The song that a few of the characters have been hearing turns out to be “All Along the Watchtower”, sending the fans into a torrent of speculation about time settings for the show, meanings, etc. At first, I thought it was a bit cheesy, as the characters recited spoken word Bob Dylan. This is especially true when contrasted with the coolness of Stewie doing spoken word Elton John on Family Guy.

But as I thought more about the song, I had to recant that opinion. The song is found on Dylan’s John Wesley Harding album, an album full of religious overtones. Dylan worked on this album while recovering from a motorcycle accident, which many feel marked a turning point in his career and life. It is often speculated that the two figures (the joker and the thief) are allusions to the men hung next to Christ (or Christ as the joker, and the thief as next to him). The song has a sense of impending confrontation, and many ties to the idea of class systems.

All of these themes tie into the current thread of the show. Much like the use of music in the Sopranos, it would seem that this was carefully chosen. And much as I like the Sopranos for reasons that have nothing to do with mafia stories, I find myself like Battlestar Galactica for reasons that have little to do with spaceships.