Categories
Geek It Happened to Me

And For One Brief Shining Moment, I was the Number One Joey

Because Eldon Brown knows that I am the World’s Most Humble Egomaniac™, he knows that the following would be of interest to me:

Screen shot: Google search results showing 'The Adventures of Accordion Guy' as the #1 result for 'Joey'.

My blog, as I write this, is now the #1 Google result for “Joey”. I even beat out the television show Joey!

I

thought I’d enjoy my moment in the sun, as Google rankings are

ever-changing, impermanent, fluid things.

MSN Search agrees with Google’s findings:

Screen shot: Google search results

  showing 'The Adventures of Accordion Guy' as the #1 result for 'Joey'.

Categories
Geek

My Semi-Regular Plug for "The Farm"

The Farm: The Tucows Developers’ Hangout

is the blog that I’m paid to write (or, more accurately, it’s part of

what I do at my job). It’s for programmers, and while it’s an official

Tucows site, I do try to imbue it with the “voice” and “personality”

for which The Adventures of Accordion Guy in the 21st Century is known. Last month, The Farm got a record number of pageviews — over 300,000 — and I hope to get us up to the half-million mark sometime next year.

There’s lots of good stuff in today’s entries,

including a number of announcments of new language versions, grants for

teams who want to write Ruby libraries and a monthly .NET programming

contest.

Categories
Geek

Another Reason to Go to Catholic School (aside from the schoolgirls and high standards)

Back in the ’80s, when I was a high school student at De La Salle College “Oaklands”,

I got a great computer science education thanks to my teachers Messrs.

Clarkson and Etele, who taught Waterloo Structured Basic, Pascal, and

6502 Assembler on a well equipped lab of Commodore PETs, Apple ][s and ICONs.

(Yes, they taught evolution at “Del”, and said that the creation account in Genesis was poetic, not literal. Nobody’s parents screamed, as far as I recall.)

 In the present day, a Catholic School, St. Ignatius, is doing one

better: they’re teaching object-oriented programming by writing interactive fiction. I have more about it on The Farm.

Categories
Geek

This is What a Real Computer Scientist Looks Like

For no real reason (I was Googling for “scientist” images), here’s a photo of Dr. Robin Dawes, one of my favourite professors at Crazy Go Nuts University:

Photo: Dr. Robin Dawes in his 'scientist' getup.

Categories
Geek It Happened to Me

Over-Caffeinated and Under-Slept

[This has been cross-posted to The Farm]

There’s just too much interesting stuff to do, and as a result I’ve

been over-caffeinating and under-sleeping. The end result is that

although I’m spending more time coding or learning some new

programming

tools and techniques (and with closures, Laszlo, Cocoa, all kinds of

ideas for Blogware and so on, there’s no shortage) as well as doing

some non-geeky reading, I’m actually getting less coding and learning

done.

I already knew that getting a good night’s sleep was essential to

being

productive, but it really hit me while reading the foreword to Aaron

Hillegass’ book, Cocoa Programming for Mac OS

X.

In it, he offers a bit of advice that I’ve never seen in any other

programming book: that getting eight hours’ sleep is important. He

goes

so far as to say that when learning something new and complex, one

should get ten hours’ sleep. He caps off the advice with a fact that

many of us know, but ignore:

Caffeine is no substitute for

sleep.

So that’s my plan for the next little while: to stop fighting the urge

to read “just one more chapter” or “just one more web site” or do

“just

one more thing” and get some proper shut-eye. I’ve been doing it for

the past couple of days and already feel a little sharper.

Categories
Geek

Going Election-Free Today / Blogware, Attachments, Enclosures, Podcasting and Duran Duran Spinoff Bands

Photo: Tired guy in Twinkie costume on couch.

“No, please, no more election blogging!”

That’s right, aside from this very entry, The Adventures of Accordion Guy in the 21st

Century shall refrain from commenting on the U.S. Election

today. Not because I’m not interested — I am, after all, the

direct descendant of an American, have blond-haired blue-eyed

cousins in Dayton, Ohio and am marrying a fine lady who

knocked

me out with her American thighs — but because just about

every other blog written in

English

(and no doubt several other languages) will be going on about it. If

you need a break from the ranting, punditry and bile, come

here!

Photo: Lawn sign -- 'The Bush '04 sign was stolen from here by communists'.

Okay, I couldn’t resist posting this one.


You may have noted that I said that “aside from this very entry” in

the

paragraph above. That’s because I’m going to share a file with you

that’s tangentially related to the election:

the song Election Day by the Duran Duran spinoff band Arcadia. It’s included as an attachment to this blog entry.

(To see the attachment, click on the permalink for this entry, then scroll to the bottom of the article. Click on the attachment to download it.)

Attachments? What are attachments?

In Blogware, an attachment is

a file that is attached to a blog entry, whether it’s an article, photo

or music/movie/book review. Think of it as being similar to an email

attachment.

You might ask why we included attachments in Blogware. After all, blogs

— being web pages — have always provided a way to include files in

entries. You simply upload the file to a space accessible on the web

and link to it. Every Blogware blog includes a filesystem so that you

can do just that.

The difference between attachments and uploaded-and-linked files lies

in the name: attachments. A file that has been uploaded is independent

of the blog entry; an attachment is part of the blog entry. With an

uploaded-and-linked file, if you delete the blog entry, the file

remains. With an attachment, if you delete the blog entry, the attached

file vanishes too.

If you want me to skip the technical stuff and get to the point right now…

…then I’ll say it plainly and simply:

Blogware supports podcasting!

If you want to start podcasting on your blog, record your audio entry

(MP3 is probably the best format) and include the file as an attachment

to your blog entry. That’s it.

If you want a more technical explanation, keep reading.

Enclosures

A blog that uses RSS 2.0 as its method of syndication (you might want to look at Mezzoblue’s or BBC News’

explanations of syndication) can include files in its feeds as

enclosures. In the RSS 2.0 feed of a Blogware blog, any attachments are

included as enclosures,

which is RSS 2.0’s way of saying “hey, there’s other content attached

to this entry”. If this entry’s still on the main page of the blog,

you’ll see this article in the RSS feed. Inside the <item>

element for this article, you’ll see the <enclosure> element for Election Day:


<enclosure url="http://accordionguy.blogware.com/_attachments/173328/Arcadia

- Election Day.mp3" length="4250226"

type="audio/mpeg" />

The <enclosure> element has three attributes, which provide some information about the attachment:

  1. url: This specifies the location where the attached file can be found.
  2. length: This specifies the size of the attached file in bytes.
  3. type: This is the MIME (Multipart Internet Mail Extensions) type of the file. An MP3 file has the MIME type of “audio/mpeg”.

This information allows any software that reads the RSS feed to

find the attached file as well as “know” what kind of file it is and

how large it is.

You may have noted that a blog entry that includes a file as an

enclosure provides more information about the file than a blog entry

that merely links to the file.

For more on RSS 2.0 enclosures, check out Dave Winer’s article on the subject.

Although I said it before in a slightly different way, let me say it again:

Blogware supports enclosures!

Podcasting

The term “podcasting” is a pun made by mixing the words “iPod” and

“broadcasting”. I’ll quote iPodder.org’s explanation of the term:

Think how a desktop aggregator works. You subscribe to a set of feeds,

and then can easily view the new stuff from all of the feeds together,

or each feed separately.

Podcasting works the same way, with one exception. Instead of reading the new content on a computer screen, you listen to the new content on an iPod or iPod-like device.

The term is a little misleading. Many people, quite naturally, 

infer that podcasting works only for iPods. This is not the case:

podcasting is blogging using audio files as enclosures rather than text

on a web page.

Why not simply link to an audio file instead of including it as an attachment/enclosure?

There’s a subtle difference: a link to an audio file merely provides

its location; an audio file included as an enclosure provides extra

information about the file and also implies that it is part of the

entry.

The extra information provided by an enclosure allows RSS-reading

software to make decisions about downloading the file referenced by the

enclosure. For example, a piece of software that downloads attached

audio files for later playback can be set so that it downloads only

audio files (it checks the type attribute to do this) over a specified size (it checks the size attribute to do this) late at night when the computer is not in use. iPodder is an example of this sort of software — it downloads audio blog entries for later playback.

Got questions? Ask away in the comments.

Categories
Geek

"Normalized data is for sissies"

Here’s a graphic I posted on The Farm that I couldn’t resist posting here:

Click the picture to see the Farm article.