The joys of open source
Aug. 25th, 2008 01:10 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I'm finally getting started on the LiveJournal integration, now that CommYou's IM capabilities are beginning to hum fairly nicely. First step is making OpenID work.
In theory, this is straightforward: as so often, there's already a fairly complete-looking Java library for OpenID out there, under an Apache License that I can work with. So I installed that Friday, set things up very similarly to the example code -- and not only does it not work, it fails really badly and strangely.
Fortunately, after tearing my hair out for a few hours, I came across a message from Thursday on the related Google Group, from someone else who is about two days ahead of me on the hair-pulling. This got a response of, essentially, "Oh, yeah, the sample code in the release is totally broken. Go get the current version from SVN instead."
On the one hand, I appreciate the prompt response, and I have reasonable hope that it will get me past my mysteries. OTOH, I do, once again, find myself longing slightly for libraries that come from places with persnickety QA departments. Say what you will about Microsoft (and heaven knows I can tell my share of MS horror stories), I don't think I've ever gotten anything quite *that* broken from them. Open source is lovely, and usually way ahead of the curve in terms of functionality, but the implied "use at your own risk" is biting me on the ass fairly often on this project...
In theory, this is straightforward: as so often, there's already a fairly complete-looking Java library for OpenID out there, under an Apache License that I can work with. So I installed that Friday, set things up very similarly to the example code -- and not only does it not work, it fails really badly and strangely.
Fortunately, after tearing my hair out for a few hours, I came across a message from Thursday on the related Google Group, from someone else who is about two days ahead of me on the hair-pulling. This got a response of, essentially, "Oh, yeah, the sample code in the release is totally broken. Go get the current version from SVN instead."
On the one hand, I appreciate the prompt response, and I have reasonable hope that it will get me past my mysteries. OTOH, I do, once again, find myself longing slightly for libraries that come from places with persnickety QA departments. Say what you will about Microsoft (and heaven knows I can tell my share of MS horror stories), I don't think I've ever gotten anything quite *that* broken from them. Open source is lovely, and usually way ahead of the curve in terms of functionality, but the implied "use at your own risk" is biting me on the ass fairly often on this project...
(no subject)
Date: 2008-08-25 05:47 pm (UTC)But I've ranted about this before. Definitely the exception, not the rule.
I couldn't imagine using most open-source libraries without having Google to make up for the lack of documentation.
(no subject)
Date: 2008-08-25 08:03 pm (UTC)And it's true that, if I think hard, I can come up with some real doozies on MS side. Sandcastle, in particular (the .NET equivalent of javadoc, essentially), is incredibly important and remarkably amateurish. Far as I can tell, it's an internal tool that got made visible to the outside when the really great OS project to fill that niche, NDoc, folded due to lack of support. But as you say, these are the exceptions...
(no subject)
Date: 2008-08-25 06:05 pm (UTC)Does anyone remember when Beta was just a letter of the Greek Alphabet, and not an implicit contract that you're on your own?
(no subject)
Date: 2008-08-25 07:36 pm (UTC)I remember one job where I was doing QA on an open API library - and not one of the examples in the manual would compile or execute, nor were they terribly illustrative.
I wrote an entirely NEW example set - one program that would compile from end to end, and which called every API in an illustrative order, with subroutines that wrapped each call or call/pair so it could be show separately.
Thing of beauty.
Documentation told me they didn't want to fight with development over the examples that they'd provided, so we were going to ship what we had.
I gave my example to sales, and also to our crew that packaged things for delivery - and it was quietly added to the examples directory on the media we shipped.
What else could I do?
(no subject)
Date: 2008-08-25 08:05 pm (UTC)(no subject)
Date: 2008-08-25 11:10 pm (UTC)http://openlayers.org/dev/examples/
I wish users would tell us more of what they didn't see in the examples: they usually only come to us when they have some super-complex application, and never bother to say "I could have used an example to do $foo".
(no subject)
Date: 2008-08-26 12:34 am (UTC)