Archive for May, 2006

Defending O’Reilly

Looks like the whole blogosphere is abuzz over O’Reilly’s cease-and-desist letter that was sent to the organizers of a Web 2.0 Half Day Conference. O’Reilly and CMP, organizers of the “real” Web 2.0 Conference, demanded that IT@Cork, organizers of the “other” Web 2.0 conference, stop using the term “Web 2.0″ in conjunction with conferences, seminars and other such events.

Most comments are bashing O’Reilly, mainly because they always tried to sell the “Web 2.0″ moniker as synonymous with open collaboration, free stuff, universal love and the end to world hunger. So hypocritical of them to unleash a bunch of sharks lawyers on the poor, unsuspecting irishmen.

Well, I must say I do not agree with those comments. What do you think would Sun, Apple, IDG do if someone announced a “JavaOne and a Half Conference”, a “MacWorld Two Days Conference” or a “LinuxWorldWide Conference”? I think that O’Reilly and CMP, holders of a (pending) registration for “Web 2.0 as a service mark for arranging and conducting live events, namely trade shows, exposition, business conferences and educational conferences in various fields of computers and information technology” can and should use any reasonable means to protect their trademark against dilution, even though the organizers of the “Web 2.0 Half Day Conference” are well-meaning and even tried to invite Tim O’Reilly to their event.

Now, one might argue that one shouldn’t try to register the “Web 2.0″ term as a trademark. One could also feel tempted to side for the small guy confronted by the greedy corporate types who profit from overpriced conferences. Being a speaker at the upcoming OSCON who has to pay all his travel and lodging expenses, I might be inclined to agree ;).

But I won’t. O’Reilly and friends were the first ones who did a Web 2.0 conference and this should mean something. People coming later are free to use “Web 3.14″ if they like… hmmm, now that I think of it, I might organize the Web π Conference and trademark it: The first trascendental version of the Web, try to copy that!

Update: I happen to agree 100% with Nick Carr here: “Even if you believe that O’Reilly made a mistake in trying to trademark “Web 2.0,” or that he made a mistake in trying to enforce that copyright - and reasonable people can certainly come to either or both of those conclusions - the gang mentality that’s playing out right now has to turn your stomach. What we’re seeing is a mob using reputational blackmail to impose its will on somebody else. Everyone seems to feel a need to put his or her boot in, often yelling out personal insults in the process.” How long before we see someone calling for a boycott of O’Reilly books or conferences?

Technorati Tags: , , , , , , , .

Towel Day

I didn’t know it, but apparently today is Towel Day:

Towel Day is celebrated every May 25 as a tribute by fans of the late author Douglas Adams. The commemoration was first held in 2001, two weeks after his death on May 11, and since then has been extended to an annual event. On this day, fans carry a towel with them throughout the day.

Better look out for any Vogons out there.

Technorati Tags: , , .

Atom Reference Implementation

atom-logo75px.gifJames Snell: “Just a couple of minutes ago I sent off a new proposal to the Apache Incubator PMC to consider incubation of ‘ARI’, a reference implementation of the Atom Syndication Format and Atom Publishing Protocol specifications.”

I’ve been working with Atom lately, specifically with the Publishing Protocol side of things, and have been using Rome, supplemented by some of Dave Johnson’s code. While Rome is a fine toolkit for all kinds of syndication needs, its support for the many variations of RSS tends to get in the way when all you need is Atom, and Dave’s code is too blog-centric for my needs, which have nothing to do with blogging.

So I welcome ARI and will have a look at the code ASAP but, judging from the latest spat of articles on James’ blog, it looks like it already provides a good set of features on the syndication front and some support on the publishing one. I’ll try to swap it in in place of my homegrown, Rome-based code and see if it works out.

Technorati Tags: , , , , , .

Lame phishers

Here’s a phishing attempt that wasn’t caught by my spam filters:

Dear PayPal Member ($to),
Your account has been detected for a suspicious activity, our system detected that your PayPal email changed to be santaalbert@yahoo.com and also your billing address from ip address: 128.114.63.15 (CA, Santa Cruz).

We are sure that the changed is a part of fraudlent. For safeguarding your privacy information, we deactived your account. If you want retrieve your PayPal account, You are required click the link below:

Active Your PayPal Now

It’s so pathetic that I’m tempted to open a fake PayPal account, load it with a couple of bucks and let them have it ;)

Technorati Tags: , .

AllofMP3.com is back online

Ringleader of the Tormentors coverTurns out worries about AllofMP3’s demise were unfounded. The site is back online and ordering is functioning again. In any case, it might be true that its continued viability is at risk, so I spent the last couple bucks of credit I had left there to buy Morrissey’s “Ringleader of the Tormentors”. If they finally close it down for good, I now have just a few pennies to lose.

In case you didn’t know, AllofMP3.com is a Russian based website selling music for literally a fraction of what it costs to buy it on iTunes or other more regular stores. Just consider that the price for the above-mentioned album is $1.41. Yes, the whole album, not a single track.

Even though their business is legal according to Russian law (at least until Putin opts for a crackdown to appease the RIAA in order to ease Russia’s entry in the WTO), the legality of your exporting music from Russia into your country might be questionable. You’ve been warned!

Technorati Tags: , , , , , , , .

Skype is a Universal Binary

I just learned (via TUAW) that there’s a new Skype version (1.4.0.49) out for the Mac which is a Universal Binary and I immediately installed it. One less PowerPC application to go.


My status

While I was looking around to see what other PowerPC applications I had running, I noticed I hadn’t updated Quicksilver in a while. Lo and Behold! There’s a new beta out (β48) which is universal too. So, at this very moment, I’m not running a single PowerPC application on my MacBook anymore. Woot!

Technorati Tags: , , , .

You too can be an expert…

…and be interviewed on the BBC:

On May 8th 2006 BBC News 24’s Karen Bowerman interviewed Guy Kewney, a respected IT expert, re. Apple Computer vs. Apple Music. Only it wasn’t Guy Kewney. They interviewed his taxi driver live on air instead! His expression when he realises their mistake is priceless!

Actually the man wasn’t a cab driver, but an IT consultant looking for a job. Anyway I concur, his expression is indeed priceless.

Technorati Tags: , , , .

Where are the tags?

big_labs_notebook.gifSo Google Notebook is alive. The Firefox extension is nice and even nicer is the integration in Google’s search results, but I’m left wondering: Where are the tags? We’ve just learned that folksonomies are better than taxonomies, that the organization of information provided by del.icio.us, Flickr et.al. is vastly superior to fixed categories, and now we should do without that again? What’s the point?

Technorati Tags: , , , , , .

SOAP really stands for…

… no, not Simple Object Access Protocol, that was dropped long ago and with good reason, as “simple” is not a very fitting connotation for it.

Rather, it probably stands for Snakes on a Plane. If there’s something that many people are afraid of is snakes, and another one is flying. There’s no doubt that you should be very afraid of something that tries to combine the two, as in SOAP. Not to mention that scary WS-* stuff that is infested by vendor-pires. Brrrrr ;).

Technorati Tags: , , .

Finished the Da Vinci Code Quest

I just finished the last puzzle in the Da Vinci Code Quest on Google (not that it was particularly hard) only to discover that prizes are for US, UK and AU residents only. Hmmm, I guess I should have read the rules before. Oh well, it was fun anyway.

Technorati Tags: .

My third life

bells_spurs.jpgDave Winer doesn’t even know where to begin with Second Life. I have the same impression. I’ve joined Second Life to see what all the fuss was about but I got bored after a few minutes. Must have been because the Mac client, being a PowerPC binary, is awfully slow on my MacBook, or because it just looks like a MMORPG with sketchy characters and landscapes, but I don’t think I’ll spend much time on it, or any time at all.

Honestly, the real reason I won’t get hooked on Second Life is because I already have a fairly satisfactory working life, plus a lovely family life, and find it hard to fully live both of them in just 24 hours per day. I don’t think adding a third life to the mix is going to make this situation any better.

Technorati Tags: .

Ruby for Java Programmers, Part VI

In the previous episode from this series, I showed you how to use XML-RPC to call Java code from Ruby over the network. In this article, we will do the same, but using SOAP instead of XML-RPC. One advantage of SOAP over XML-RPC is the fact that SOAP endpoints can be described using WSDL and, by using Ruby’s extensibility, new methods can be created on the fly to mirror the methods declared in the WSDL, therefore giving us a lot of nice loose coupling.

Moreover, toolkits exist to automatically create WSDL descriptions from Java classes, so you won’t have to do it by hand. One of these toolkits, and the one we’ll be using in the examples here, is XFire. The most recent version of XFire available at the time I’m writing this is 1.1-RC1. I suspect this example will work just as well when 1.1 final is released. You’ll also need Java5 and Maven 2.

Maven is handy for automatically downloading all the necessary dependencies and running the demo inside a servlet container, using the Jetty6 plugin, without writing much code or configuration. Of course, you can always download all the necessary JARs by hand and drop them, together with the demo code, into the servlet container of your liking.

You can follow XFire’s Quick Start tutorial to set up a simple SOAP service, or you can simply grab a copy of this archive, which adds some more data to the tutorial sample, unzip it and run mvn jetty6:run from its root directory, once you have Maven installed. Go grab a cup of coffee while Maven downloads all the dependencies. Finally test that everything is OK by requesting a copy of the WSDL file from http://localhost:8080/services/BookService?wsdl.

On Ruby’s side, all that is needed is already provided by Ruby’s own core soap library, in particular SOAP::WSDLDriverFactory.

Here’s how you’d call your service from Ruby:

require 'soap/wsdlDriver'
WSDL_URL = 'http://localhost:8080/services/BookService?wsdl'
driver = SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver
books = driver.getBooks(nil)
p books.out.book[0].title
book = driver.findBook(:isbn => '222')
p book.out.title

A couple of minor nits:

  1. The BookService#getBooks method in Java takes no arguments, but if you try to call driver.getBooks without arguments, Ruby complains about a missing argument. Apparently, passing a ‘nil’ value fixes it, but I’d like to know why this is so.
  2. XFire add this extra ‘out’ element to its generated schema. This is mildly annoying as you always have to use it in order to access the real values you are interested in.

On the pro side, you can set up all of this with very little configuration. The only configuration that is going to change from one application to another is XFire’s services.xml file which maps service names to service classes, and even this is pretty straightforward:

<beans xmlns="http://xfire.codehaus.org/config/1.0">
  <service>
    <name>BookService</name>
    <namespace>http://sourcesense.com/BookService</namespace>
    <serviceClass>com.sourcesense.xfire.demo.BookService</serviceClass>
  </service>
</beans>

Technorati Tags: , , , , .

Skypecasting

heading_bubbles3.png

I’m right now participating in a Skypecast. This is a new Skype service that is basically a moderated group conversation where up to 100 people can join. You can even create your own Skypecast around your interests and promote it on Skype’s website. Having just launched, there aren’t many interesting conversations going on right now, but this stuff has the potential of becoming very popular, as it is free and possible uses are limited only by people’s imagination.

Technorati Tags: , .

MacBook Pro disk problems

My new MacBook Pro is acting more and more strangely. First it was random lockups, maybe once every few days, where the whole UI would freeze, even though the mouse pointer would still move. Now it’s frequent appearances of the spinning beach ball, locking up a single application and going away in a couple of seconds.

What’s more worrysome, I started noticing these kind of messages in the system.log:

May  3 15:56:19 MaBi kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
May  3 15:57:07 MaBi kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
May  3 15:57:54 MaBi kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).
May  3 15:58:42 MaBi kernel[0]: disk0s2: 0xe0030005 (UNDEFINED).

And finally, if I try to verify the disk using Disk Utility, the system will lock up in the manner described above. S.M.A.R.T. status is “Verified”, though.

I couldn’t find anything on Google regarding that error code, but I’m scared that my disk might be on the verge of abandoning me. I need to do a backup as soon as I get back home.