April 27, 2004

An attempt to stop comment spamming

Jan Manuel, admin of the host this weblog runs on, has found a method he believes to stop the spam in here. As always with spam counter-measures, it will work for some time only and is really easy to circumvent, but let's hope it stops automatic spamming for a while. The magic panacea du jour:
<Location /mt/mt-comments.cgi>
  AuthUserFile /home/service/httpd_data/main/data/htpasswd/mt
  AuthName "username: no, password: spam"
  AuthType Basic
  require valid-user
</Location>
Of course, this means you have to login before posting a comment. But really, that isn't too hard, is it?
Posted by jens at 01:04 PM | Comments (8) | TrackBack

April 26, 2004

PadML

PadML, the Photo Album Description Markup Language looks like a good solution for a for an often encountered problem: an interchangable format for the meta data contained in a digital photography album. I just wish the author of the spec would have proof-read it for spelling errors :)
[via xmlhack]
Posted by jens at 05:56 PM | Comments (3) | TrackBack

Wiki and Politics

The Green Party of Canada goes a step beyond political blogs: They let their members work on their policies for the upcoming elections using a Wiki platform.
[via BoingBoing]
Posted by jens at 12:59 PM | Comments (1) | TrackBack

Suddenly, it all makes sense...

I've been struggling with the problem of encoding and HTML forms for quite some time now. I should have read this post on Sam Ruby's site, who also wrote the i18n survival guide. It's really simple once you set the encoding to UTF-8. No more guesswork based on heuristics ("it's probably German, so they'll use umlauts and I guess that they use either utf-8 or ISO..."). The key sentence:
Joe Gregorio: lacking any other indications, a browser will submit the data from a form using the same character encoding that the page is served in.
Posted by jens at 11:55 AM | Comments (1) | TrackBack

Voices from the past

Surfing the web for abandoned sites is always great fun. It's a bit like cleaning up an attic and finding homework papers from highschool. Take this site on Tamagotchis and other digital pets. It was last updated in December 1997, more than six years ago. I imagine the writer was a teenager back then. By now, he or she must have finished her or his education and might have become a parent. In any case, I bet there are other things on his or her mind by now than "virtual pets" (which were a short-lived craze in ca. 1997, anyway). But the page is still there.

Even cooler (or spookier, for that matter) are the audioblog test messages whytheluckystiff found. Browse through his collections of voices of people who don't have anything to say (it doesn't get more profound than "... and maybe I'll use this service") but say it nonetheless. A true blast from the past. And it's only one year ago...

Posted by jens at 10:10 AM | Comments (1) | TrackBack

April 23, 2004

Blocking: Made in China

Free speech issues around the infamous Chinese Internet censorship tend to frustrate and confuse me. There doesn't seem to be a logical and coherent set of criteria for the blocking of foreign websites in the Middle Kingdom.

Another blog I maintain on ohlig.info (not this one) is apparently partially blocked in the People's Republic of China. The strange thing about it: This blog is entirely private and may be of interest for friends and family members alone, containing photos of my baby daughter and posts about our family life. I don't have a clue why the photos in this blog get blocked in China.

But I'm not alone. Among the blogs that don't pass the Great Firewall of China are all major blogging services such as Blogger or TypePad, the hosted weblog service from the people that made MovableType (a rather carefully-worded comment on the blocking by the company itself is available on their pages). This Chinese crack-down on blogs has even lead to a solidarity movement called "Adopt a Blog: Support Free Speech".

Truely annoying. Latest in a long row of blocked (but mostly harmless) sites are some domains (not all, mind you) of Axel's weblog from China.

Posted by jens at 09:36 AM | Comments (3) | TrackBack

April 21, 2004

WikiClientLinks

Just like blogging is done increasingly through XML-RPC clients, I expect a standard for Wiki clients to emerge in the near future. Until then, there are basically three things that come closest to a Wiki API:
  1. Standalone notepad applications like VoodooPad (or the budding opensource alternative of WikiNotePad) with some sort of "sync-to-external-Wiki" feature.
  2. More or less well-defined specs from various people for an universal Wiki XML-RPC API (like this page at decafbad or an alternative at JSPWiki). They all look nifty, but either they didn't get implemented or they're lacking support from the major Wiki engines.
  3. The thing that will probably become the standard (my guess, anyway): Using the AtomAPI for Wiki editing with technologies like SOAP. There's an article at XML.com explaining this.
Posted by jens at 09:56 AM | Comments (1) | TrackBack

Iñtërnâtiônàlizætiøn

Not much that's new in this article by Sam Ruby "Survival guide to i18n", but it's a nice roundup of the topics and problems that come with encoding.
Posted by jens at 12:28 AM | Comments (0) | TrackBack

April 20, 2004

More on bknr

The LISP-hackers at bknr keep surprising me (I blogged about their emerging web service yesterday). Now they have virtual pets as a feature! You can have a look at all the web-based tamagotchis hosted there, or just at my personal pet which I named "tamago-maki". Talk about rapid development of services with ... um... at least some value.
Posted by jens at 04:28 PM | Comments (3) | TrackBack

April 19, 2004

How to display non-Latin scripts everywhere on the web

Unicode has its shortcomings with Asian scripts, but it's currently the best we have to display characters of many non-European (and many European, for that matter) languages on web pages. Unfortunately, large amounts of the Web aren't ready for Unicode yet, Wikipedia being a prominent example. This basically means that Asian scripts or other non-Latin scripts, when entered as Unicode, get displayed as "??".

There is a way to work around that, however, even if the web page uses an ancient encoding scheme: Just use HTML entities for your Unicode characters. For some reason I don't quite understand, they ALWAYS get displayed correctly in modern browsers, regardless of the encoding set by the server. Of course, looking up the correct values is a tedious task. But don't let that stop you: The Unicode Characters to HTML Character Entities Converter will do it for you. What a gem! Life can be wonderful with the right tools online.
Posted by jens at 04:51 PM | Comments (0) | TrackBack

Hacking the iTunes Music Store

Seems like a day for iTMS reverse engineering today. Aaron Swartz has an excellent paper online explaining how to circumvent Apple's DRM in iTMS. And the good people at downhillbattle.org put up a script to query the iTMS without iTunes. Among the uses they propose for this freely downloadable software are some nice ideas such as this one:
We're able to get the "copyright" information from Apple's XML, so that means we know the record label that released each song (musicians usually don't even control the copyrights to their own work). Since we have the label names, we can check those against a list like the one maintained by RIAA Radar to see if that label is an RIAA member or--even worse--one of the Big 5 labels that runs the RIAA. Once we make this script developers can integrate it into filesharing clients, and we'll always know what we should and shouldn't pay for.
Posted by jens at 03:55 PM

bknr

Well, according to one of the maintainers, it's still basically "a construction site", but bknr.net, a wonderful web-thingy done in LISP, already looks cool enough to get excited. They have a del.icio.us clone, blogs, an object store, images, a wiki and a bunch of other features. Best of all, they generate RSS feeds for almost everything on there on the fly. I especially recommend the excellent comic-strips RSS feed. Subscribe!
Posted by jens at 03:47 PM