Older blog entries for prla (starting at number 102)

21 Feb 2006 (updated 28 Feb 2007 at 20:47 UTC) »
Combinatorial Explosion

First of all, a quick thank you to Rui for opening the gates of Planet Tao for me and a quick hello to everyone there. I’m proud to be among a bunch of great bloggers. Spend the day playing around with TurboGears and Ajax and I guess I’m falling in love with these newer web frameworks. The small application I’m developing - which derives from the bigger project I’ve been hinting about for a while now - relies on some DOM manipulation, asynchronous requests and whatnot. It’s the first time I’m using TurboGears to build a web app and so far, it’s been very helpful, not getting in the way at all. I’ll be blogging more extensively about this framework at some point in the future - after I get the chance of getting to the bottom of it - but for now suffice to say that it implements the MVC (Model-View-Controller) architecture fairly well and that contributes to a definite speed-up in development. This surely comes across as old news to the majority of people, but sadly this reasoning hardly applies to where I come from. On another note, I’ve been increasingly thinking about all the Web Service frenzy out there and wondering what cool ideas are just waiting to be had by people. What I mean is, we already know of a lot of interesting so-called “mashups” among different web services: take HousingMaps for instance, which glues Google Maps and Craigslist together in dazzling fashion. Now, the idea of moving applications “up the stack” is also not new, but it’s a fact that the major services in different key areas are exposing APIs and otherwise their data to the world at large: Amazon provides their data through REST, the same is true for IMDb, not to mention how the major players, Google and Yahoo! are exposing APIs for a lot of their great services - Flickr being a good example. So my point is: take all these web services out there and all possible combinations between them. While many such mashups have already been implemented to great effect, many more are still out there dying to be found and realized - given the technical know-how, but more importantly the business accuracy and sense of opportunity. In a talk on the Web 2.0 Conference back in 2004, Jeff Bezos, Amazon CEO, said that unlike Web 1.0, the next generation is about making the Web better for computers. I concur. The means for bringing web applications up a notch, by relying on interesting third-party data - mostly made by users - is out there, up for grabs. And the possibilities are far from being exhausted.

#

Is There Anybody Out... Here?

I’ve been increasingly flaky updating my humble corner of the web but I guess that’s for a good reason. The stuff I’m working on - apart from University - has picked up a lot of speed and we’re actively pushing the proverbial envelope. Hopefully, I’ll be able to talk about it at greater length soon.

Anyway, while we’re at it…

  • Ajax is one year old. Well, not really, considering the underlying technologies have all been around for a good while. But the term was coined exactly a year ago, so happy birthday to the stuff that enabled a true revolution on the web.
  • Apple has switched to Intel and all, but why should you wait for tomorrow when you can get yourself a used - but perfectly fine - 17" PPC Powerbook today? Sure, it’s got a cracked screen, but with 17 inches, who needs it all? (via BoingBoing, where else…)
  • The ultimate geek desk. I’m very picky about my work space and I don’t really know how something like this would do for me, but it’s still cool as hell. Check out the Aura one. Groovy…
  • I never tried doing any SDL programming, but being able to do it using Perl sounds alright. Might give it a shot sometime just for kicks.

There’s a few reflections of my own about the so-called Web 2.0 I want to post on this weblog, but that’ll have to be postponed until a) I get some more free time and b) I get my ideas together, something clearly lacking right now.

Technorati Tags: ajax <apple powerbook sdl perl web2.0

#

A Quick One

I think it’s well worth to give a little more emphasis around here to Yahoo!’s release of their User Interface library, after no more than a passing reference in this morning's post. Alongside this library, they also released a comprehensive resource on web development patterns: see the Yahoo! Design Pattern Library. Together, this is an invaluable addition to the open source community and personally something I welcome with wide open arms. Not that there was any shortage of Ajax development tools, but having a big player like Yahoo! opening up at least part of their Web 2.0 development arsenal is a rather welcome event in many different ways. In effect, the proverbial win-win situation.

Insightful as always - I can’t get tired of lavishing praise over his blog posts - Simon Willison has posted about this release. Despite being a Yahoo! employee he maintains an objective view of this new release with additional pointers of interest.

And finally, to accompany this, Yahoo! also launched the User Interface Blog. Cool stuff!

In other news…

Finally, a passing remark to something that’s been bothering me, to a certain degree of course, for a while. I’ve been following Jeremy Zawodny’s writings for some time now and despite respecting him a lot I can’t help feeling tired of reading his posts mentioning or linking to Google bashing articles or other blog posts. Everyone in the technological blogosphore, so to speak, knows him - he’s a key figure within Yahoo! search department - and his blog audience is huge but it strikes me as kinda lame (for lack of a better adjective) to be taking advantage of his large auditorium to throw dirt at a direct competitor. Of course, there’s all the free speech and the “stop reading if you don’t like it” rant but that’s not the point here. As an avid of all his other work-unrelated posts, I feel a bit cheated as this is something I do not see in any other important blog (maybe I’m blind or not looking hard enough?). In case you think I’m fundamentally wrong or missing some important point here, let me know.

Not that it matters. I’m just another guy out there and an humble blog writer.

#

14 Feb 2006 (updated 14 Feb 2006 at 09:42 UTC) »
Where Does The Time Go?

No, I mean seriously. Lately I’m under the impression someone in a high place rev’ed up the time and it’s all going like twice faster. Not funny. Well, I guess that gives even more meaning to the Carpe Diem stuff, right?

Truth is, I haven’t really had much inclination for writing the past few days and that’s basically down to my focus shifting to reading instead of writing. Mostly technical stuff, opinion on the current trends of technology and all that. For the project I’m working on (I can’t disclose any details yet, not that you really wanted to know anyway) I’m all over the current trend of so-called Web 2.0 applications. What I’m working on is not exactly Web 2.0 in the same sense services as Flickr are, but it does share a lot of the same principles - or at least I’m trying to make it head that way.

I’ve read an interesting observation a couple of days ago on why Ajax may in fact be the Real Deal™ and that’s naturally due to Paul Graham:

(…) in 1996 the story about Java was that it represented a new model of software. Instead of desktop applications, you’d run Java “applets” delivered from a server.

This plan collapsed under its own weight. Microsoft helped kill it, but it would have died anyway. There was no uptake among hackers. When you find PR firms promoting something as the next development platform, you can be sure it’s not. If it were, you wouldn’t need PR firms to tell you, because hackers would already be writing stuff on top of it, the way sites like Busmonster used Google Maps as a platform before Google even meant it to be one.

The proof that Ajax is the next hot platform is that thousands of hackers have spontaneously started building things on top of it. Mikey likes it.

It seems particularly trendy these days to be exploiting the Google Maps API and building different applications on top of it. Bus Monster is an example, but so is HousingMaps and I’m sure a few others I haven’t heard of yet. So it’s interesting to see how the value is shifting up the stack in many ways and different levels:

  • profitable businesses can be built from simply gluing together different powerful components - themselves built around Web 2.0 principles - and coming up with a cohesive whole that is at least equal to the sum of its parts. Obviously, the better the components you’re working with are, the more valuable your application potentially is.

  • On the other hand, the “big fish” are, by default, not getting new programmers to work on the next ground-breaking feature of their services but instead buying out that two-kid startup that did just The Right Thing™. And everyone is happy in the end, especially the kids who turned millionaires - and wonder-kids-media-darlings sometimes. So, again, value shifting up the stack and the game being played one level above than it used to be.

  • Even on the pure technological arena, implementing products and applications from the ground up sounds just so old-fashioned now. “Design patterns” are a hot buzzword these days - Yahoo! has just released their Design Pattern Library aswell as their UI Library - and developing Ajax apps can become quite a hairy business. Libraries have been sprouting from everywhere and many seem to do wonders - being more, or less, difficult to work with. Web Frameworks have also become better abstractions in the sense that they too harness the power of different lower level components ending up with a final product that enables developers to do a lot of stuff at once - take TurboGears for instance, which seems to do a pretty good job at stitching together a template system, an object-relational mapper, a Javascript library and a Python interface for good measure.

So these are definitely interesting times we’re living in. While performing cool hacks with Ajax technologies doesn’t seem to be too hard - and therein probably lies one of the secrets of its widespread acceptance - developing big apps using them seems to be an entirely different matter. As the amount of (mostly Javascript) code increases exponentially, careful structuring needs to be taken into account - something with which I find myself struggling with lately but is in a way understandable providing we’re dealing with a new technology, which is in fact a bundle of a lot of different components (see? Again!).

So for me, I guess it’s time to take a good look at the current state of frameworks/libraries out there and actually find the one that works best for what I want to do.

#

10 Feb 2006 (updated 10 Feb 2006 at 00:24 UTC) »
Reshuffle

Finally taking the resolution of getting up earlier than usual, I managed to rise at 7am, bright and early. Actually, forget the bright part because it was still dark outside. And considering the damn kitchen lights have gone tits up, I had to wait a while before I could grab breakfast. Not good.

But anyway, the morning was decidedly productive so I’ll definitely keep doing this and see how I get on in the next few days. Today I feel fine despite having somehow managed to partake in four football (5-a-side) matches since Monday. Somehow, I don’t feel tired at all, so either I’m doing something right or I will irretrievably crash soon. Time will tell.

Perhaps it is because my current main project focus so much on web application building that I feel the Ajax hype is reaching an all-time high. Web calendars in particular seem to be a dime a dozen these days and that seems to have tickled Joel Spolsky somewhat, I kid you not. He raises interesting points - though curiously none of those, in my opinion, are related to web calendars - especially when he mentions that a lot of companies nowadays are simply working towards getting bought by bigger fish. Is that a bad thing? Of course whoever works that way is basically throwing pride and enjoyment out of the window, but still, it simply comes down to business in the end of the day, doesn’t it? I see it as a great bonus, depending on where you find yourself after your startup has been acquired.

In the meantime, the web is burgeoning with interesting stuff, as far as I’m concerned:

  • Still on the topic of Ajax, check out this cool tutorial about an even cooler RSS Ticker. The possibilities just seem to be limitless…
  • I’ve been keeping an eye on Zimbra for a while now, despite not being a potential user, and it seems they have just released their collaboration suite after being alpha and beta for over a year now. Alongside heavy use of Ajax, it supports a plugin architecture (plugins that go by the catchy name of Zimlets), iCal, RSS/Atom plus clustering, fault tolerance and disaster recovery on its paid Network Edition. The free edition doesn’t include these but on the other hand is open source. In short, I really like how these guys work, how they present themselves and their product and how they integrate themselves within the open source community.
  • Think Secret is adding fuel to the rumours of a 6G iPod - the so-called “true” video iPod - being in the works. According to undisclosed sources it will sport a virtual digital click wheel built on the display itself which “appears when a finger touches it and disappears when the finger is removed”. Wow. It seems possible that Apple will announce and roll out these babies from April 1st, as Steve Jobs promised a big announcement by then celebrating the company’s 30 years. Engadget is showing off this cool mockup:

  • Finally, if you’ve ever wondered what is behind those cool Emacs programming modes, today is your lucky day.

And how about a brain teaser to end this post on a high note?

You look in a mirror, and let’s say you part your hair on the right side. You look in the mirror, and your image has its hair parted on the left side, so the image is left-to-right mixed up. But it’s not top-to-bottom mixed up, because the top of the head of the image is there at the top, and the feet are down at the bottom. The question is: how does the mirror know to get the left and right mixed up, but not the up and down?

#

Distant Early Morning

That’s a Rush song, by the way.

  • You’ve probably bumped into these pictures already but I can’t resist blogging about them here. Sure they’re heavily photoshop’ed but what the hell, those are awe-inspiring.
  • Simon Willison posts so infrequently it’s a shame. I love his writings and find his posts to be always really insightful. This time around he was at the Future of Web Apps Summit (when do I attend something like this, anyway?) and him and a handful of other attendees took a bunch of notes about the talks in a collaborative fashion. Apparently, SubEthaEdit is good with that. It’s a good example of note-taking, too.
  • Miguel has posted about the recent Xgl code release by Novell. It’s a good one-stop place to check in the demo videos of Xgl goodness. On the other hand, Linux desktops at large seem to be taking quantum leaps recently (just how quantum I don’t really know because one thing is eye-candy and usability is altogether another). A bunch of new KDE 4 screenshots have recently surfaced. They look good and simple, yeah, but I can’t see what the fuss is all about. Maybe I’m spoiled since I got into MacOS X?
  • For those of you just dying to get iTunes going on Linux, there’s a somewhat hacky way of getting version 6.0 (not 6.0.2) running using Wine.

On a different note, I’ve been reading Ajax in Action and generally having a blast. I’ve read a few technical heavyweight books in my time and I can’t recommend this one enough if you are in one way or another intrigued by the whole Web 2.0 hype. And while we’re at it, check out Tim O'Reilly talk about Web 2.0 at the MySQL User Conference last year. Insightful.

Incidentally, Tiago has also been playing with Ajax lately and he’s already managed to get the XmlHttpRequest going. Cool stuff and it’s indeed very exciting that we’re clearly living in the dawn of a new era. It’s probably the first big revolution in the computing world I’m experiencing with my eyes wide open. It’s a time to learn as much as possible and make the most out of it, I guess.

#

1 Feb 2006 (updated 10 Feb 2006 at 09:58 UTC) »
Geocache Me

Tiago became acquainted with Geocaching a few days ago and today him, Rui and myself went out hunting for our first two caches ever.

If you love being outdoors, Mother Nature is for you a good companion but you never heard of Geocaching before, I strongly suggest you spend some time around Geocashing.com, particularly its FAQ page. For us, it’s been a real thrill, we’ve been having jolly good fun and best of all, one can actually breathe out there in the field. Looking for the “cache” itself is cool, but the way I see it, it’s just a means to an end. And the end is enjoying a good walk, a good sight, a good laugh along the way.

I’ve documented our first two quests in my Geocaching page, complete with the pictures we were able to shoot using our mobile phones (no digital cameras available this week, unfortunately). Because the only thing we have available is pretty much the GPS coordinates of the cache site - and possibly sparse and less than helpful hints - we usually are pretty much clueless as to what the setting looks like. Today was such a pleasant surprise that it’s hard to put it down into words. Paradise lost? Maybe. The pictures speak for themselves, I guess. Each cache contains a logbook so anyone who finds it can write a few words to actually log the feat. It was fantastic to sit down and read logs from people coming all the way from Spain or Holland, for instance.

Oh and if you’re interested in Geocaching in Portugal, you might want to check out the Portuguese geographic distribuition of caches (via Tiago). Wouldn’t it be nice to use the Google Maps API for this, too? ;)

Finally, one thing I was happy to learn about the Geocaching community is how aware of the environmental problems they seem to be. There is a pretty cool initiative called Cache In, Trash Out, which basically supports the idea of cleaning up whatever trash one may find in the cache site.

So for tomorrow, we’re planning to go out and find at least another one, a few miles away from where we live. And if you’re interested, you can always check out the aftermath in my geocashing page.

<update> Update: Bruno Rodrigues has written in (see comments) providing a really interesting response to my “disguised” plea for a Google Maps interface of the geographic distribution of caches. Check it out! (from Geocaching@PT)

Technorati Tags: geocaching google

#

Subversion Basics

Earlier today I’ve taken some time to write a short introductory text on basic usage of Subversion (SVN). It’s not meant to be advanced by any means, just a quick overview of the basic set of commands that enables you to use SVN just fine for developing small-to-medium sized projects. For example, it does not make use of the branching features.

Find this primer on the internal Subversion page.

Technorati Tags: subversion

#

Running Around Senseless

A day that didn’t turn out quite as expected but left me gasping for air nonetheless. Finally catching up with the news in the evening and there’s actually a lot of jolly good stuff making the rounds. So, I’ll try to be short and sweet:

  • Following yesterday's post, Guido van Rossum has written in again telling us of his experiences now putting Django and Cheetah head to head.
  • With the GPLv3 tentatively scheduled to go final by 2007, we’re all in for a long discussion, flame war and other assorted mischief. After Linus spoke against it on behalf of the Linux kernel, Alan Cox takes the opposite seat in a recent interview. Basically it all boils down to the different perspectives in which they see the DRM issue. Honestly, I’m not sure on this one, so I’m not taking any sides. Not that it matters, right?
  • Someone has decided to use the Google Maps API to present the Web 2.0 Innovation Map basically geographically pinpointing dozens of recent Web 2.0 applications stateside. Looks neat, doesn’t it?
  • It took them a long time, but they’re finally realizing the shift into Web-based applications. There are now rumors that Microsoft Office Live is just around the corner. I’ll be looking forward to check this out, because I’ve always been of the opinion that the Office applications are the best in their field bar none.
  • A list of must-have software for the Mac. Looking at it, I regularly use Adium and… that’s it. Oh well. I should check out Quicksilver sooner rather than later, though.

Oh, and Tiago? We need this ;-)

#

31 Jan 2006 (updated 31 Jan 2006 at 10:42 UTC) »
Back to Work Mode

Half of my short vacations before getting into the next term are now gone. One week to go. Had the chance to catch up with some movies - I especially recommend The Woodsman for a great Kevin Bacon performance.

Other than that, one of the things I’m involved in is starting to get some traction again and will demand my full attention over the next few weeks. More on this as it develops.

As it is, the picks from my usual nightly web browsing are particularly geared towards the kinds of technology we’ll be using…

Finally, there’s a really interesting article in John Carroll’s blog about GPLv3 and the influence of Richard Stallman. I agree with most of his points and find the whole piece to be very insightful and clear-minded - something RMS himself seems to be having trouble at. Carroll debates key issues and I found this part especially funny. Quoting Stallman, when asked about how influential the community can be on the GPLv3 development:

No. I will still be making decisions. The committees are going to take all the comments and boil them down to issues. Then they will start addressing the issues and looking at the various options. They will also try and decide how to deal with these issues, but ultimately I will be making those decisions. And, of course, if the community has found a good solution, they make that job easy.

To which Carroll says:

In other words, your input is all very nice, thank you very much, but I am king and will decide what goes into the GPL, though it would be nice if you agreed with me. That’s democracy under a dictatorship.

Funny. But true. And ultimately one of the reasons that may well lead to the demise of free software as we know it.

And oddly enough, while others, like Linus Torvalds, are positioning themselves and their projects away from GPLv3, others feel like now is the time to get their feet wet. Of all times.

#

93 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!