Archive for May, 2005

I am a modernist

You scored as Modernist. Modernism represents the thought that science and reason are all we need to carry on. Religion is unnecessary and any sort of spirituality halts progress. You believe everything has a rational explanation. 50% of Americans share your world-view.

Modernist

63%

Postmodernist

63%

Materialist

56%

Existentialist

50%

Romanticist

50%

Cultural Creative

25%

Fundamentalist

19%

Idealist

0%

I’m not sure whether I should be worried that 50% of Americans share my world view or relieved that 50% don’t. And by the way, who would believe that 50% of Americans believe religion is unnecessary?

What is Your World View? (updated)
created with QuizFarm.com

Blogus interruptus

Please forgive me. it’s been a while since I last wrote something here. I’ve been pretty busy with last-minute bug squashing and system administration tasks, in preparation for the launch of the first beta release of my Open Source related initiative.

No links for the moment, as we have a new domain name awaiting registration. As soon as DNS is set-up, I will do an announcement here.

I also found a couple of collaborators who will share the burden of filling the site with content, at least initially. I hope that a community will quickly form around the site, providing some more content. Stay tuned!

New ASF Members

asf_logo.gifMy (belated) congratulations to all the new Apache Software Foundation members, and particularly to fellow Cocooners Torsten and Upayavira (no blog for you, pal?).

I find it strange that Henri, who is currently the Jakarta PMC chair, wasn’t already a member. Anyway, now he is one.

The Rodent’s Burrow: And the winnahs are..:

The annual ASF members meeting has just adjourned, and the election results are in.

All twelve member nominees were elected. Congratulations to:

  • Torsten Curdt
  • Doug Cutting
  • Theo van Dinter
  • Robert Burrell Donkin
  • J Aaron Farr
  • Justin Mason
  • Vincent Massol
  • Henning Schmiedehausen
  • Sander Temme
  • Upayavira
  • Susan Wu
  • Henri Yandell

Welcome to all of you!

Switching to full feeds

Since I’ve lost what little income I had from readers coming to this site instead of reading it all in their aggregator, I figured I could switch serving a full RSS feed instead of the summarized one I am serving now, even if this means going against the current trend.

So, without further ado, it’s done. I hope my current readers are happy and now even Scoble will syndicate me ;).

However, I have one small advice for all those who’d like to post full feeds while at the same time entice readers to come visit their site: put at least one link to an archived post in every item.

I will also explore other possible revenue sources, like FeedBurner, and keep an eye on upcoming initiatives, like this one:

We’re left with a quandary. Publish a full feed to get noticed and bow to the ‘I like to read offline’ pressure or excerpts so people will have to visit your site to finish reading–and hopefully click on an ad or two. What if you could just click a button an imbed an ad into your post? What if that ad could go where ever you published it, but not tied to a specific feed? Hmm, what if.

Update: looks like also Jeremy doesn’t like partial feeds and even Chris Pirillo caved in. So, is the trend I was referring to above already inverting?

All The Cool Open Source Apps are in PHP

Timothy Fisher: “It seems like most of the cool end-user web applications are written in PHP. This is an area in which the Java community is way behind the PHP community.”

Having recently switched from a Java application (blojsom) to a PHP one (WordPress) for this blog, I might be tempted to agree. Particularly, it’s undeniably true that:

The open source Java community seems to be consumed with the creation of the latest and greatest framework.

Still, I’m Java programmer and I am writing my next great web application in Java. Having seen some of the PHP code from WordPress, I’m not eager to dive into more of it.

More Paris

If you haven’t had enough of Paris Hilton’s banned Carl’s Jr. commercial, here’s more, including a “60 sec. Internet-only cut” and a “Behind the Scenes” video.

Now, what’s up with this girl? She’s certainly not the most beautiful in the world. Looks quite ordinary to, what do you think?

Virtual Earth: MSN’s answer to Google Maps

Scoble: “Who said Microsoft doesn’t have any AJAX gurus?”

While I started watching the video, I was mentally preparing a little rant about the fact that this app was IE-only, but to my surprise the developers said that it’s going to be pretty much cross-browser and that it should work with Firefox too.

For once, kudos to Microsoft. Assuming that they don’t purposely disable cross-browser compatibility before release, that is.

Bookmark this

del.icio.us: bookmark this: “I’ve added a little bit of code to add a ‘Bookmark This’ link on every post, next to the Comments link, which allows you to kick the user over to to the del.icio.us posting page.”

Nice trick. I just did the same here. Here’s the code to do the same using WordPress:

<a href=”http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php the_title(); ?>”>(bookmark this)</a>

Apple to use Intel chips?

Scoble: “But, seriously, if this is true, then it raises a whole lot of questions. The first of which will be ‘could I run Windows natively on an Apple computer in the future?’”

Having OS X preinstalled, could you think of anything more stupid and useless than running Windows on it?

Booted off AdSense: Now what?

I have reflected a bit about what happened yesterday and what my options are.

First of all, this sucks on so many counts that I can barely list them.

For one thing, I was on my way to having all my hosting and bandwidth costs covered and maybe some money to go out for dinner once in a while. Not a big amount, but it hurts seeing it vanish.

But the worse part is the feeling of being lumped together with all those fraudulent publishers who are paying thousands of little indians to click on their ads. I’m somewhat afraid this is going to hurt me more than having my AdSense earnings disappear.

In any case, I’m not going to break down and cry. Quite the contrary, I’m now more determined than ever to make this blog popular and regain by other means what I have lost from Google.

The problem is that AdSense is a damnedly easy and effective way to raise some money for small publishers. A-list bloggers and highly trafficked websites can attract big advertisers, but for sites that only do a handful of visits per day, AdSense is the best option.

Anyway, assuming my account is not enabled again, I have a two or three affiliations that I haven’t really exploited until now, since I already had AdSense and didn’t want to clutter this site with ads. I’ll put them in place of AdSense banners, but I doubt they’ll pay me as much.

Incidentally, I haven’t modified my page templates yet, so AdSense blocks are still showing. I wonder what happens of clicks, now that my account is disabled. Will Google still charge advertisers? Are they going to withhold the publisher’s share or will they give it back to the advertisers?

I will explore the option of publishing my RSS feed via FeedBurner. Everybody’s saying that RSS is the next big thing, so I might as well try to monetize it.

I have also some hopes that Yahoo! might become a serious competitor to Google in this field. This might take a while, though. And who knows if they are going to accept an application from someone who has been dubbed a fraudulent clickster once?

Booted off AdSense

google_sm.gifThis is one of those things that you hear happening to others, from time to time, but somehow you think it will never happen to you, because you’re too small to be seen on anyone’s radar and after all you’re not doing anything against the rules.

And then one day you receive a mail:

Subject: Google AdSense Account Disabled

It has come to our attention that invalid clicks have been generated on
the ads on your web pages. We have therefore disabled your Google
AdSense account. Please understand that this step was taken in an
effort to protect the interest of the AdWords advertisers.

[…] Publishers disabled for invalid click activity are not allowed further participation in AdSense and do not receive any further payment. The earnings on your account will be properly returned to the affected advertisers.

Sincerely,

The Google AdSense Team

OK, so I might have been careless, having clicked once or twice an ad, only because it was truly interesting, without even realizing I was on my own site. But I noticed that it was counted as one click with a value of $0.00 in my AdSense reports, so I figured it was no big deal.

I can’t imagine that because of this I’m being deprived, not just of all my past earnings (I was waiting for the first check from Google this month) which don’t amount to much, but also of all my possible future earnings.

I immediately emailed them asking for reconsideration, but I did some research and couldn’t find anyone whose account was reinstated after having been disabled.

At least, I can say that I am in good company, together with bloggers much more popular than me, like Erik Thauvin and Derek Powazek.

I have more to say about this, but not now. Expect some more posts from me in the coming days.

Konfabulator 2.0

This is for all those poor souls like me who haven’t upgraded to Tiger yet and are thus excluded from the joy of using Dashboard.

TheWeather.jpg

Rejoice! Konfabulator 2.0 is out, with a completely redesigned set of widgets! Upgrade from version 1 for registered users is free.

Paris Hilton banned Carl’s Jr. commercial

At least we now know Paris Hilton is no vegetarian ;).

Paris Hilton

(Via PepeRosso)

Google Video Uploader for the rest of us

Thanks to the portability of Java programs (Write Once Run Anywhere is true), the Google Video Uploader client is now available for the Mac, Linux and all platforms with Java. The Mac version is also nicely packaged as a DMG (Disk image) file that you just have to open, then drag and drop the application to your Applications folder. No installers, no setup, no stupid registries.

GoogleVideoUpload.jpg

Google Blog: A Video Uploader for the rest of us: “Anyway, now you can sign up for the Google Video Uploader for Macintosh, and ditto for Linux (and UNIX and Solaris and HP-UX and AIX and lots of other platforms). The same sign-up page goes to to the Windows version too. So now I can ponder a different problem - namely, which of my videos I want to share with the world.”

Gosling on Harmony

Image1-large.jpegIt seems now clear to me that James Gosling, as previously demostrated, does not have a clue when it comes to Open Source and his latest remarks confirm this.

Thanks to J Aaron Farr for nailing down his FUD about the GPL (since when has the ASF distributed GPL code?) and his ridiculous claim that by opensourcing Java, “any old person could check in stuff”.

On the other hand, I still have doubts about the supposed “clear need” for an Open Source J2SE claimed by Harmony supporters.

To me, it’s all about risks. While there’s a risk of Sun folding down or being acquired and stopping all Java development, the risk of spending an inordinate amount of time and energy on a project that — assuming it ever produces a release — won’t deliver much more than what Sun’s JVM delivers right now is much bigger. Of course, I might be wrong.

Google AdSense for RSS feeds now in beta

This had already been spotted in a few selected blogs, but now it’s available to everyone.

The Google Blog: Feed me:

Enter AdSense for feeds, launching today in beta. The idea is simple: advertisers have their ads placed in the most appropriate feed articles; publishers are paid for their original content; readers see relevant advertising - and in the long run, more quality feeds to choose from. Given the great flexibility that feeds can offer, it’s essential to get the model right, especially so that readers are satisfied. Towards this end we have outlined what we believe are some best practices for advertising in feeds. Publishers who want to participate in the public beta can apply here.

I know some are against this, but personally I agree with Steve Gillmor:

Which reminds me: those who still fear ads in feeds, try this experiment–give us a full text feed with ads (or not, if the content is the ad) and maintain an abstract feed without. Then let the market choose. I know what I think will happen. And quickly too. All we are saying… is give feeds a chance.

The Daily Show

Know what? If I had The Daily Show here, I would probably still be watching television. Segments like this one are just too funny.

Jon Stewart.jpg

(Via Jason Calacanis).

Seth’s New eBook is ready

knock.jpgSeth’s Blog: Seth’s New eBook is ready: “My new ebook is ready.

It’s called KNOCK KNOCK, Seth Godin’s Incomplete Guide to Building a Web Site That Works. It costs $9 and you can buy a copy by clicking this handy button.”

OK, Seth, I’m really tempted and $9 is nothing, but give us a sneak preview, a table of contents, a free chapter, just to overcome the psychological threshold and click that Paypal button ;).

Buy now!

CAPTCHA validator for Cocoon Forms

Since I’m going to need some form of spam prevention for Source.zone, I opted to forego user registration and authentication and use CAPTCHA instead to verify that submissions come from human beings and not robots. Hope this keeps spam down to a reasonable level while lowering the entry barrier for would-be contributors.

My first approach consisted in looking at jcaptcha to see if there was some code to reuse. Unfortunately, jcaptcha has several drawbacks:

  • The website is the usual Maven-generated load of crap. Why there’s no link to a comprehensive tutorial on the home page or the navigation menu? Beats me.
  • It’s LGPL, which means I wouldn’t be allowed to commit anything I did into Cocoon’s repository.
  • It’s probably too complex for what I need.

Don’t get me wrong, jcaptcha is probably a nice piece of software, but it’s just not the right solution at the moment.

Back to the drawing board. I remembered reading on Cocoon’s developers’ mailing list something about image-based authentication and indeed I could find a sample contributed by Tony Collen and tucked away inside Cocoon’s scratchpad that, among other things, generated a blurred image of a text string. The nice thing is that doing this doesn’t need any coding at all, since it’s just an SVG file rasterized using components that are already included in Cocoon. “Internet Glue” indeed.

auth.jpg

Next, I decided that this feature would be useful in many instances, so I decided to write a Cocoon Forms validator. Cocoon Forms has this nice, pluggable architecture that makes it easy to expand it with new widgets, datatypes, convertors and validators.

Well, “easy” is a bit of an exaggeration, as the plot started to thicken after a while. First, I came upon an apparent bug in Cocoon Forms and tried to ask for guidance on the mailing list. Unfortunately, Apache’s mailing list aren’t working too well today. Maybe it’s all that fscking nazi spam that’s been circulating lately that’s giving the servers a hard time.

Anyway, after an hour or so of debugging, I devised a quick fix, but I’ll wait for some comments from some developer that is more confident with Forms internals before committing.

The other hurdle I came upon is the fact that it’s not enough to return false from your validator in order to trigger a validation error. You also need to set a validation error, otherwise validation of the whole form will succeed without even a warning.

After working around these problems, I got it working quite nicely. Adding CAPTCHA validation to your Cocoon forms is as simple as:

<fd:captcha id='f1' required='true'>
  <fd:datatype base='string'/>
  <fd:validation>
    <fd:captcha>
  </fd:validation>
</fd:captcha>

It would be nice to have a pluggable strategy for generating random strings, as the current one is fixed, but I’m waiting for someone else to have this particular itch to scratch.

I’m not quite ready to commit, however. I’d rather have some feedback on my proposed fix before risking breakage somewhere else.

Update: the ASF mail server is still struggling under the load but I’ve managed to get feedback from Sylvain, so I went ahead and committed. CAPTCHA validation is now available in SVN (2.1 branch only for now).

Upgrade to Wordpress 1.5.1

This post is mostly for testing that the upgrade to Wordpress 1.5.1 went smooth. To all the other Wordpress user that have just upgraded or are going to upgrade soon, I will point to a fix for a problem you might have. If, after the upgrade, your RSS feeds are empty, follow these instructions.

If you notice any problem, please leave a comment.