Recent blog entries for tnt

Thoughts on Video and Audio Microformats
2005-10-16T22:36:06-07:00
Topics: Microformats  IPTV  IPradio  

As I've talked about before, Microformats are a clever and simple way of marking up your HTML so that both humans and machines can understand what you are saying.

(If you are interested, the last thing I wrote on Microformats was: Microformats Proposal for Reputation and Trust Metrics. That article doesn't really have anything to do with this article other than it's also about Microformats too. But if you're into Microformats you may find it a good read. But anyways,....)

One of the areas that has been lacking a Microformat (as far as I know) is the world of multimedia. (Although people have been putting thought into it.) This article deals with just one aspect of multimedia Microformats: linking. This article doesn't really try to invent any new Microformats, but encourages people to use existing HTML elements and attributes to communicate and specify semantics and metadata useful for linking to video and audio media.

One of the things we sometimes do when dealing with media (such as audio and video files or streams) is link to them. For example, here's some sample HTML markup doing just that:

    Go and <a href="/movie/grad2005">watch this</a>.
                

However, this doesn't give us much semantics or metadata. What type of file (or stream) is at the end of that URL (specified in the href attribute). (Is it an MPEG movie&#x203D; An AVI movie&#x203D; Or an Ogg Theora movie&#x203D;)

(Note, the URL we have does NOT have a file name extension like .mpeg, .avi, or .ogg. Those from the Windows or DOS world are probably accustomed to them and may think that you need them to tell you the type of file [or stream] you are dealing with. However, that is NOT how it works on the Web. On the Web, a file's [or stream's] type is NOT specified by an extension; it is specified by with its content type. On the Web, extensions mean nothing; it's the content type that matters. But I'm digressing. Getting back to it....)

Also, what should we "call" that movie? (The words that the link is bound to is "watch this"; so should that be the title of the movie&#x203D;)

IPTV Needs a New Name - How about "NewTube"
2005-10-15T17:31:44-07:00
Topics: IPTV  

The next big thing that will be hitting the Internet soon is (what we are currently calling) IPTV. (Although I've also seen TVoIP and TVoverIP used too.) It will be the Internet version of TV. (The same way that IPradio/podcasting and P2P music sharing is the Internet version of radio.)

However, IPTV is a horrible name! For one thing, how do you pronounce it? (I've heard it pronouced a few different ways and each way sounds horrible. Not to mention that each is a mouthful.) Also, normal people aren't going to get it. They are NOT going to understand that "IP" (basically) stands for "Internet" and thus "IPTV" is "Internet TV". (I know because I've been using the word "IPTV" when I've been telling friends of mine what I've been working on. And I always have to explain what "IPTV" means.) We need something better. And it seems I'm not the only one thinking this. Jeff Pulver also thinks IPTV needs a new name.

In trying to come up with a new name for IPTV I wanted to have the new name show its lineage to television. To do this, I wanted to somehow incorporate an existing name for television into the new name. While at the same time expressing that this is something new. And also I wanted the new name to sounds good when pronouced and not be a mouthful. My suggestion for what everyone should call IPTV is:

NewTube

(Eventually people will probably just spell it like "newtube". But for now, I wanted to make it obvious how to pronounce it.) Here are the reasons why I like this name:
  • In many places around the world, (traditional) televisions are called "tubes". (As in "boob tube" and "the tube".) So "newtube" shows its lineage with television in its name.
  • The word "new" and the "tube" rhyme (in most dialects on English). So when you say "NewTube" out loud it has a nice sound to it.
  • It is only 2 syllables long. Which also helps make it sound nice. And makes it so it is NOT a mouthful to say.
  • No one is going to have trouble pronouncing it.
  • The word "new" expresses that this is something new :-) (Much like "New York".)
  • "NewTube" is a completely new name. So there won't be any ambiguity when searching for it on the search engines.

Goodbye Newspaper
2005-10-01T12:00:45-07:00
Topics: Journalism  

Every now and then one particular local newspapers of mine -- The Vancouver Sun -- calls to ask me to pay for a subscription to their newspaper. (They keep on doing this over and over again despite me telling them to stop calling me; but that's a separate issue.) My answer, when they call me, is always essentially the same,... "I don't read news if it is not on the Internet". And I think this is pretty typical of people in my generation and those generations younger than mine. Sitting down and reading a newspaper just doesn't fit into my way of life. (Well, it will be typical of generations younger than mine when the generations younger than mine get old enough to get interested in reading the news :-) )

One theme that has asserted itself over and over again with the Internet is: what you want when you want it. I don't know if this theme was ever planned; probably it's an emergent or evolutionary theme. This same theme seems to be reflected in the lifestyles of those in my generation (and generations younger than mine). And the same theme holds when I read the news. I don't know when I'll want to read the news. I don't know where I'm going to be when I want to read the news. But when I feel like it, I want to read it right then and there. With a newspaper I cannot do this. I'm not going to carry a newspaper around with me where ever I go. But the Internet is (essentially) always there where ever I go; Internet access is ubiquitous -- it's everywhere -- and thus I have access to the news (on the Internet) from (virtually) anywhere.

Now to be fair to the Vancouver Sun, they do have an online version of their newspaper. But it costs money. And guess what, I am NOT going to pay to access it. I do NOT believe in mandatory user fees for this kind of thing. I know that charging access fees like this is just like the newspaper subscription business model they've been using and are used to. But they need to become a bit more creative and come up with a different business model that works with the way people use the Internet. Actually, they really don't have to become creative at all... just mimic the business model other's on the Internet are using. I.e., support your business with online advertising. You know, all those banner ads and tower ads. It's bigger business than you think. Very big in fact. How do you think all those free sites on the Internet are paying for their 5 and 6 figure monthly Internet bills&#x203D; (Disclosure: I've written alot of online advertising software for those banner ads and towers ads. In fact, you've probably come across it. If you hate online ads, I'm sorry :-) But I do know alot about the business. And know how it works.)

I think that for the businesses behind these newspapers to survive in the long run they are going to have to change how they make money. As my generation gets older and older the population from the generations that buys and reads (dead tree) newspapers will get smaller and smaller and their paying subscribers will start to disappear. I think it would be unfortunate for this to happen since newspapers pay the salaries of alot of the real journalists and investigative reporters out there, which allows them to do the great work that they do. And it would be a shame to loose their quality news.

But loosing the businesses currently behind newspapers doesn't necessarily mean the end of the professional journalist. Journalists don't need printed (dead tree) newspapers to be able to support themselves off of journalism. Other business models exist. The Internet is proving that you can be independent and very profitable at the same time. (Just look at the professional blogger.) That organization and organizations can be emergent. Now I'm not saying that professional journalism will necessarily be like this; but it gives you an idea of how things may become like. It could end up having journalists in control of information distribution, instead of newspapers companies. And controlling distribution -- including information distribution -- can be profitable.

Time will tell whether this kind of change will be "good" or "bad" for the people. Whether the so called news will still be plagued with propaganda, disinformation, and bias, or not. Whether we'll get true "choice" or not.

FBI Now Decides What Americans Legally Can And Can't Do On Their Computers
2005-09-30T19:12:33-07:00
Topics: Civil Rights  

news.com has an article titled: FBI to get veto power over PC software. Basically the FCC -- an unelected body -- has given the FBI the power to legally tell people in the USA what they can and cannot do on or with their computers. (If you're thinking something like "yeah right"... I'm serious!)

The FBI now gets to choose what software you are allowed to install. They now get to choose what you do with that software. The now get to choose how you do that too. And they can change their mind at any time and even make different rules for different people. And if you don't do what they say, you are breaking the "law". (I strongly suspect that this new power the FBI has been given is unconstitutional. But with stuff like the USA Patriot Act and DMCA, no one in the government seems to care if a "law" breaks the consitution or not. I.e., no one in the government cares if a "law" is illegal or not.)

It is pretty disturbing to see that the FCC once again has put "laws" into place outside the democratic process. There's a rule with government and laws that I have said over and over again: whatever can be abused will (probably) be abused eventually. So no "law", "rule", or "regulation" should be made that allows for any kind of abuse; or at the very least minimizes it. To put this in language like I hear politicians and law makers use:

The government is where the power is. And it will attract the "bad guys" to it. They'll try to take control of it. And all you need is the "bad guys" to gain any level of "power" in the goverment to abuse the powers the government has to do "bad things" to decent people.

(Note, I hate using the phrase "bad guys". I just wanted to use language that I think some people need to hear it in to understand.)

RSS and Atom Feed Rediscovery #
2005-09-23T01:10:30-07:00
Topics: Syndication  RSS  Atom  

How does a machine -- a piece of software, a web crawler, a feed aggregator -- find a blog's RSS or Atom feed&#x203D; Human's might be able to figure out that the feed's URL is behind one of those orange "RSS", "Atom", or "XML" buttons; or behind one of the many other colorful button types out there. But how does a machine figure this out&#x203D; The answer is RSS and Atom autodiscovery.

Matt Griffith had a great idea for RSS autodiscovery that was refined in Mark Pilgrim's article on RSS autodiscovery. A way for a machine to easily figure out the RSS (or Atom) feed of your blog. But what happens if your RSS or Atom feed moves&#x203D; Maybe you moved it to somewhere else on your site; maybe you moved it to a different server (with a different domain); or maybe you want to have it hosted using a third party feed management system (because they provide you with nice reports or something), or maybe you are even changing which third party feed management system you are using. What do machines do that already autodiscovered your feed&#x203D; How do they find the new URL of your feed&#x203D; That's where RSS and Atom feed rediscovery comes into play; a complement to the RSS and Atom autodiscovery technology. RSS and Atom feed rediscovery helps fix some problems we are facing with feeds. RSS and Atom feed rediscovery makes it so that bloggers can change the URL of their feed without having to worry about loosing subscribers.

The problem is that when software subscribes to these feeds, alot of them only save the URL to the RSS or Atom feed. The problem is that alot of the software out there is neglecting to save the URL of the home page of the blog. This can be a major problem if a blog changes the URL of its RSS or Atom feed.

Consider it, what happends if I change the URL of my RSS or Atom feed&#x203D; How do machines and people's software which are subscribed to my old RSS or Atom feed URL find the new one&#x203D; How do they even know it's been moved&#x203D; That's where RSS and Atom feed rediscovery comes in. And it's just a rule for machines to follow. The rule for this is:

When machines subscribe to an RSS or Atom feed, in addition to caching the URL of the RSS or Atom feed, they also save the URL of the blog's homepage. That way, if the URL they have cached for the RSS or Atom feed stops working, they can go to the URL of the blog's homepage, and perform RSS or Atom autodiscovery (again) to find the new URL of the blog's feed.

Also, periodically, even if the feed URL is working, they should go to the blog's homepage and rediscover feed's URL. That way bloggers can gracefully migrate users to a new feed URL. And not loose any subscribers.

The question that may be coming to your mind now may be: how does a machine figure out the URL of the blog's homepage&#x203D; Well, there's alot of different ways you could do it. But I'll provide you with just one easy way.

When you initially subscribe to a feed, you can find the URL to the blog's homepage via the RSS <link> element (under the <channel> element). For example:

    <?xml version="1.0">
    
    <rss version="2.0">
    
        <channel>
            <title>Joe Blow's Blog</title>
            <description>The weblog for Joe Blow</description>
            <link>http://joe-blow.example.com/</link>
    
            <item>
                <title>First Post!</title>
                <link>http://joe-blow.example.com/log/9778afc5-43b6-4ab5-a5d5-558290502bc3</link>
            </item>
    
        </channel>
    
    </rss>
            

Or if it's an Atom feed, then:

    <?xml version="1.0">
    
    <feed xmlns="http://www.w3.org/2005/Atom"
          xml:base="http://joe-blow.example.com/"
    >
        <id>c63590c5-c0a4-48ce-ab99-1f2a5cf2a794</id>
        <title>Joe Blow's Blog</title>
        <link href="/" />
    
        <link rel="self" href="/feed" />
        <updated>2003-12-13T18:30:02Z</updated>
    
        <entry>
            <id>9778afc5-43b6-4ab5-a5d5-558290502bc3</id>
            <title>First Post!</title>
            <link href="/log/9778afc5-43b6-4ab5-a5d5-558290502bc3" />
            <updated>2003-12-13T18:30:02-05:00</updated>
        </entry>
    
    </feed>

First Impressions on Using Ubuntu Linux
2005-09-19T02:47:50-07:00
Topics: Linux  Ubuntu  

I just installed Ubuntu Linux for a friend of mine. (I actually have alot of my friends using Linux. And even the ones using Windows still are using Firefox and OpenOffice. Actually, the reason that some stick with Windows are PC games. And that's the only reason. But, I think that as PC gaming disappear more and more... as seems to be the trend... and more and more people only play games on the console systems (or on the Web) you'll see more and more people switching over to Linux if they're presented with the opportunity. They'll be nothing to hold them back. But anyways, back to Ubuntu.)

I've been actually planning on installing it on my new laptop... once I get it. (I've wanted to try it for a while. And I really like that, like most Debian-based Linux distributions, you don't have to reinstall it to do an upgrade.) But he got a new laptop before I did. So he got Ubuntu first. These are my first impressions on using Ubuntu. (Note, I have NOT thoroughly gone through Ubuntu yet. So some of these impressions may be way off. So please keep that in mind, and feel free to correct me if you see any erroneous statements.)

I found the instillation part of Ubuntu to be be very nice. Ubuntu is a Debian-based Linux distribution, however, the Ubuntu instillation is nothing like what I remember a Debian instillation being like. The last time I installed Debian (back in January 2002) it was very user un-friendly. It asked me all sorts of questions that the computer was certainly able to figure out for itself. (Mind you this was more than 3 years ago, so Debian may have changed since then.) I'm glad Ubuntu was nothing like that. I was very straight forward. The only complaint I have is that I think that the installer could have been made a bit more aesthetically pleasing and added more eye candy. But that's only a cosmetic issue.

Once everything was installed, most of the things my buddy wanted was there: Firefox for the web, OpenOffice for word processing, and (a GNOME-based) BitTorrent (client) is even built in and pre-configured. (He doesn't do instant messaging, but I did notice Gaim was there, which was very nice too.) However multimedia support in Ubuntu is somewhat lacking. Specifically:

  1. people want to watch movies, so support for MPEG, AVI, WMX, and Ogg Theora is needed;
  2. people want to listen music, so support for MP3 and Ogg Vorbis is needed;
  3. people want to play (encrypted) DVDs.

And these things need to be better or more easily supported. Now I know there are legal issues. Even though some countries consider these activities to be perfectly legal, including support for these activities in Ubuntu in some countries is illegal. Many of these laws are "bad laws". And there are good people trying to get these laws fixed. But it's going to take time to fix these laws and make these activities legal again. (And yes, these types of activities were once legal.) In the meantime though, there are many people who choose to go ahead with acts of civil disobedience and make their computers support these activities anyways. For these people, setting up their computer to do this needs to be made much much easier. You should be able to do it with a few clicks.

Overall though, except for the multimedia stuff, I was pleased with Ubuntu. And it will be going on my new laptop once I get it. But, like I said, better multimedia support would improve it much. Also, including a file sharing application, like Limewire, to be pre-installed would also be nice. (I'll have to install that on his computer the next time I'm at his place. I know he's going to be asking for it.)

del.icio.us is working again... Oh and Happy Birthday del.icio.us
2005-09-15T15:28:06-07:00

Topics: del.icio.us  Thank You  

I e-mailed Joshua Schachter at del.icio.us about not being able to access del.icio.us for the past 3 days. And got a very quick response back. It turned out that what was preventing me and many others in my area from accessing del.icio.us was some kind of issue between my current ISP -- Shaw Cable -- and del.icio.us' hosting provider. In Max Michaels' words,

there was a stale route between Shaw and our provider.
Anyways, thanks to Joshua Schachter and Max Michaels for getting the problem so fast and being so responsive like this. Oh and, after connecting to the site, I noticed that del.icio.us is 2 years old today. Happy Birthday del.icio.us!

15 Sep 2005 (updated 15 Sep 2005 at 09:01 UTC) »
del.icio.us down?
2005-09-15T02:04:52-07:00

OK, what's happened to del.icio.us? It's been down for 2 days now. The del.icio.us blog is available, but I haven't been able to access the main site; and more importantly, haven't been able to access my bookmarks.

Does any one know? Is it working for anyone else?

Microformats Proposal for Reputation and Trust Metrics
2005-09-12T00:09:47-07:00

Topics: Microformats  Trust Metrics  rev-tag  rel-peer  rel-meme  XFN  rel-tag  P2P  

I've known about the Microformats movement for a while. (Probably before it first started gaining traction.) But I was only really sitting on the sidelines watching things develop. In fact, it was only really recently that I really understood Microformats. (The confusion wasn't really what a Microformat was but more what a Microformat wasn't. I thought they included much much more than they actually do. Like XML namspace based paradigms like the XML modules commonly used with RSS, Atom, and RDF. They don't.)

One of the key points of Microformats is who they are made to be accessible by. This is NOT a technology that requires you to have a B.Sc. in Mathematics to use. This is NOT a technology that requires you to be a Computer Scientist to use. This is NOT even a technology that requires you to be a software engineer to use. Microformats are meant to be accessible to people with only basic HTML knowledge. If you know more than this -- if you have more than basic HTML knowledge -- then great. Good for you. It will be super easy for you to make use of them. But... let me stress again that you only need basic HTML knowledge to use them. If markup like the following makes sense to you, then you should be comfortable using Microformats in your in your day to day web development work:


This is <b>bold</b> and this is a <a href="http://changelog.ca/">link</a>.

(This accessibility is in part enforced by requiring that all Microformats to be in pure-HTML... well pure-XHTML... but you get the idea.)

The other key point to Microformats is that machines can figure out what you are trying to say too. Machines can figure out what you mean. And that is powerful!

This article proposes 3 new Microformats that together and with other Microformats and possibly other non-Microformat technologies let people and machines deduce trust metrics and answer questions with degrees of certainty. Yeah, I know, it sounds complex. But the whole concept is actually pretty simple and probably intuitive. Basically, it let's me and you (and machines) get answers to questions like:

  • What music do my friends "like" to listen to?
  • What people are "knowledgeable" about car engines?
  • What people, that one of my friends knows personally, is "knowledgeable" about car engines?
  • What are some "good" rap songs that I have never heard before?
  • Who "should" I be listening to about RSS?
  • What are some "good" places to eat in Surrey?
  • Was <u>The Island</u> a "good" movie?
  • What's "good" on TV?
  • Know of any new "good" jokes?
  • Where's a "good" place to get my car serviced in Kitsilano?
  • If I want to drive from Surrey to Langley what's the "best" way to take to avoid traffic, speed traps and all the other crap?
  • Is it "safe" to order this t-shirt online, from this guy in Texas?
  • What music is "popular" among people who go to Guildford Park Secondary School?
  • How many people would "like" to hear the song <u>Back Then</u> by Mike Jones played today?
  • How much "support", in the Surrey-North riding, does this proposed bill have for becoming law?
  • Who would "like" this law to be repealed?
  • How many of my friends would "like" this law to be repealed too?
  • What "good" apartments are for rent in Kitsilano?
  • Who "should" I allow to post comments to my artilces without poisoning their links with rel-nofollow?

And it let's you answer these questions by "asking" your friends, co-workers, acquaintances, colleagues, fellow-members, and peers. Which is how most do it in "real life". (We tend to ask people who we know. Or ask people who we think know something about the topic our question is on. Or directly or indirectly get information from a friend-of-a-friend. Etc.) Technically though, we are not really verbally "asking", but using Microformats (and possibly other technologies) to figure out these answers. Also, it let's you "judge" how much value you put on each person's opinion or advice.

Of course, this list is not even close to being complete. I'm only scrathing the surface. There are an infinite number of questions that can be answered. And others will likely use this technology in some very creative and important ways to have questions that are meaningful to them or others to be answered. But, hopefully this list will give you an idea of what trust metrics are about.

26 Aug 2005 (updated 3 Sep 2005 at 11:24 UTC) »
Microformats
Tags: Microformats , XHTML , HTML , XML

Until just now I didn't really get Microformats. The following section from their website is what made me understand it:

What are microformats?

Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards.
This is what made me realize that Microformats are implemented using existing XHTML or HTML elements. That way they are something that can always be viewed by humans (since they're implemented using existing HTML elements) but can also be parsed by software (like web crawlers) to extract semantic knowledge.

I used to think Microformats were simply a new name for things like:

  • XML Namespace based extensions. (Like RSS modules.)
  • Attribute based extensions. (Like Atom link extension mechanism.)
And other things such as that. (But they are not.)

In some cases I think Microformats work great. Things like rel-license and rel-tag are examples of great Microformats. However, I see problems with some. (Although maybe I'm missing something.) For example things like the hCalendar and hCard Microformats are identified by the class attribute. That seems to like a bad idea to me. Here's an example hCard:

    <div class="vcard">
        <a class="url" href="http://changelog.ca/">
            <span class="n" style="display:none"> <!-- hide this from display with CSS -->
                <span class="family-name">Krempeaux</span>
                <span class="given-name">Charles Iliya</span> 
           </span>
           <span class="fn">Charles Iliya Krempeaux</span>
       </a>
    </div>

You can't force people not to use your magic class name. It's common practice to apply the class attribute everything to apply CSS styles to them. And this may confuse we crawlers and any other type of software trying to obtain semantic knowledge.

Instead of using the class attribute I think what I'd do is bring in a new attribute through a new namespace. (Although that will only work for XHTML and not HTML.) For example:

    <html
       xmlns:vcard="..."
    >

...

<div vcard:name="vcard"> <a vcard:name="url" href="http://changelog.ca/"> <span vcard:name="n" style="display:none"> <!-- hide this from display with CSS --> <span vcard:name="family-name">Krempeaux</span> <span vcard:name="given-name">Charles Iliya</span> </span> <span vcard:name="fn">Charles Iliya Krempeaux</span> </a> </div>

Also, this nice thing about this is that if you follow the normal RSS Module style of doing things, the URL for the XML Namespace will point to a document that details the extension.

But, strictly speaking, that wouldn't really work with HTML. (Although I wonder if it would break web browsers to use it anyways.)


38 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!