Honcho

The content of this video is not really important. It’s just a cute dog being playful and cute. What’s important about this video is that it’s hosted here on my own site. It’s not embedded from YouTube or Vimeo or any other video sharing site. It’s all self-contained. I wanted to start hosting my own videos so I wouldn’t have to rely on YouTube. I like YouTube, but what I like more is being self-reliant. Another important thing about this video is that it’s in .webm format for HTML5 video. If you’re using a browser that’s not HTML5 compatible, however, it will fall back to Flash, or give you an option to download the video if you don’t have Flash. And perhaps the most important thing about this video is that because it’s .webm, the technology behind it is free and open source.

Why am I doing this? Well, I saw Arthur Reeder doing it and he made me want to do it, too. That’s one of the great things about the internet. You get the chance to see so much and there are so many opportunities to learn something new. So without further adieu, here is Honcho:

Download Video: WebM


WP-SynHighlight

I found a plugin for adding Python code to my posts. It’s called WP-SynHighlight. I’m not sure it works well with my theme, though. Here is an example:

  1. # produce a multiplication table with the number of rows and columns defined by the user
  2. columns = int(raw_input("Input the number of columns: "))
  3. rows = int(raw_input("Input the number of rows: "))
  4. longest = len(str(columns * rows)) # find out how many digits are needed for rjust() to format table evenly
  5. for table in range (1, rows+1):
  6. for table2 in range (1, columns+1):
  7. result = table * table2
  8. print str(result).rjust(longest),
  9. print

Some of the code is white on a white background. Now I need to figure out how to change that background or change the color of the text.