The problem with microfomats

February 9th, 2010

Nobody uses them?! Why? Can’t you developers see the benefit in them or are you just lazy? Microformats are totally unobtrusive, and they don’t affect your efficiency significantly. There’s only benefits to be had. In fact, there already exists scripts to take advantage of them at http://userscripts.org. For instance http://userscripts.org/scripts/show/3851 and http://userscripts.org/scripts/show/24139 . Just imagine if every site used them, and all the things you could use them for. Think of them like file extension for your html segments. And while we’re at it, go learn some http://semanticweb.org/wiki/Main_Page too.

Now, there is another problem. With a more semantic web, protecting against data miners  will be a even more of an issue than it already is, but is the solution really to keep the Web in the dark ages? And trust me, this is the dark ages. In a few years or decades, depending on us, you’ll see a web, that apparently many of you can’t even imagine now.

I’ve always been interested in semantics in HTML, but it was only recently, when I attended a lecture for a new course called “Semantic technologies” that I started to evangelize about it again. Anyway, at this lecture, I was told of something I hadn’t even dreamed of. He started out with a common every day “problem”. He wanted to see a movie at a cinema, but didn’t know which. To solve this, he went to http://www.google.com/movies where sure enough, he found a movie he’d go to.

Next, he brought up: How do I get there in time? To solve this, he went to http://trafikanten.no/ which for non-Norwegians is a site for finding the bus schedule. He Then went on about how more complicated this was than it could be, and it was then a light went on over my head. Yes, this was complicated. I know it’s just a matter of typing in the address of the cinema and my address and selecting the time for when I wanted to arrive, but dammit, this could so easily be done with a semantic web. Then he continued to talk about something I’v never used: RDF’s OWL etc. etc. to solve problems like these. I’ll get there.

Now of course, this example was quite trivial. For those of you who still don’t see it, he continued to extend the problem with issues like: where is the nearest place to eat? What if the friends I’m meeting can’t reach the place in time? How do I get home? Now of course, this is just for motivation. The point is not to imagine every possible scenario. That’s exactly why we need semantics, so that everyone will be able to solve their problem without any fuss.  So please, I urge you to at least try. Start soft by slapping some extra classes on your html (microformats), then once you get your first taste of pure benefit, maybe you’ll get the motivation you need.

Probably old news…

April 29th, 2009

… in fact it is. I actually think I heard of it when it first was news. But http://en.wikipedia.org/wiki/Linux_Unified_Kernel is a project for patching the linux kernel to run windows executables nativily. It still has a long way to go, I didn’t even manage to get it to compile (though I didn’t try very hard either), but it’s definitivly worth keeping an eye on.

Another cool app I found recently is lftp. This should really be the standard ftp client in *nix. It supports everything, and  it’s even better than wget. Yes, that’s right, wget. And not comparable to ncftp.

And then there’s mingw. Also old news, but if I didn’t hear about it, it’s news to me! Anyways, it lets you compile windows excutables under linux. Very neat. I guess that’s it … well I could mention that I recently found out about the acl system in most linux compatible fs’s which you can use with setfacl and getfacl, but that was probably never news …

Interesting Stuff

March 29th, 2009

Todays batch of interesting stuff is

  • http://partiwm.org/wiki/xpra – persistent remote applications for X!
  • http://web.mit.edu/newsoffice/2009/graphene-palacios-0319.html – Graphene used as a frequency multiplier

Interesting stuff … stay tuned for more links of interest!</futurama>

ffmpeg + libao player

March 25th, 2009

This is a very simple example of how to use ffmpeg and libao to play music. I’ve not managed to get it to play FLAC yet and when playing very large movies (like 1080p) it will jump etc. but I’ll update it when I figure it out. It’s based on http://www.xiph.org/ao/doc/ao_example.c  and http://www.dranger.com/ffmpeg/tutorial03.html. So far there isn’t any comments either, so you should check out the tutorials, and until I find a decent code highlighter for Wordpress you should just download it!