The state of Wiki APIs.

$entry.displayContent($url.entry($entry.anchor))

Welcome Jaap van der Molen to the Roller project

Please welcome Jaap van der Molen to the Roller project. Jaap not only took the time to create a complete Dutch translation of Roller, but he also took it upon himself to finish up the internationalization job that Lance and I started - by internationalizing our Velocity macros, introducing a locale-switcher Servlet, and addressing lots of other details. Thanks Jaap! Jaap has a lot of other cool ideas for Roller so we are happy to welcome him to the project.


Recent Wiki spam attacks

Two Wiki spammers have been trying for over a week to sneak links into the Roller Wiki. I subscribe to the Wiki's Recent Changes newsfeed, so I am able to catch them everytime, but I am getting a little tired of doing this. One Wiki spammer has the IP address 222.64.23.78 and is advertising the site http://www.newline.sh.cn. The other Wiki spammer has the IP address 61.149.181.4 and is advertising http://www.99986.com. I would hate to have to set usernames and passwords for the Wiki again, but these dirtbags may force me to do it.


Weblog to DocBook.

I was seriously considering using DocBook for a big writing project. I backed out because my collaborators use the reviewer comment features of MS Word, but even if my collaborators could have accepted DocBook I'm not sure that I could have done so. DocBook is complex and climbing a big learning curve when I should be writing and working on example code does not appeal to me at all. Take a look at the XML files and the build scripts for Mark Pilgrim's DocBook-based Dive into Python if you don't believe me. I get the feeling that a DocBook project is a lot like a software project with a build-script and build-time error messages that require debugging. I don't want to miss a deadline because my manuscript won't compile.

The best way to work with DocBook would probably be a WYSIWYG editor that uses DocBook as it's native format or that can export in DocBook format. Otherwise, you'll be swimming in angle-brackets and cursing validation errors. DocBook provides a powerful set of tools, but DocBook XML is something that should be generated rather than written by hand.

Along those lines: what if you wanted to print your entire Weblog, including all of the entries in your archive, as a nicely formatted book, ready for printing. DocBook would be a great way to do that. You could write a utility to dump your Weblog to DocBook XML format and, if you've been writing your Weblog entries in valid XHTML, you could even transform the formatting information in your entries to DocBook XML. Then, you could easily transform your entire Weblog to PDF, RTF, or any of the dozens of formats supported by the DocBook transforms. Weblog to DocBook - has anybody tried that before?


What belongs on a corporate-sponsored blog?

There is a interesting discussion of what should be allowed on a Java.Net weblog in the comments of Richard Monson-Haefel's post 9 of Clubs Seeks a new Deck of Cards. Richard needs a job and is using his weblog to do a little self-promotion/marketing, but his weblog is hosted on Sun's Java.Net site which suppoosedly restricts marketing. Java.Net's managing editor Daniel Steinberg raised this issue, mainly as a discussion point, and thankfully the consensus seems to be in favor of allowing Richard's post and others like it.

Last year, I criticized what I saw as forced corporate blogging on Java.Net, but the open spirit on the Java.Net weblogs, Sun's progressive new Policy on Public Discourse, and the Sun employee blogs at blogs.sun.com, show that Sun trusts it's employees to communicate publicly and directly with each other, with Java developers, and with customers. As a long-time Java developer and small-time Sun shareholder, I see this as a very good thing.


Don Brown picks up Struts Control Flow.

I've got too many other things going on right now to resume my work on Control Flow, so I'm happy to report that Don Brown has picked up where I left off and has integrated Cocoon's Control Flow module into a Struts application.

Don implemented the same number guess example that I did, but with Struts, by replacing my Flow Servlet with a Flow Action. This is a different approach than I was considering. I was under the impression that the only way to enable Control Flow to take advantage of Struts Form Bean processing and Validation was to integrate Control Flow at the ActionServlet level. On second thought, I think the Flow Action approach will work fine, but it will require that Actions that are to participate in the flow extend the Flow Action Flow Servlet. I'm looking forward to seeing Don's code.


blogs.sun.com

http://blogs.sun.com is powered by Roller!

I'm amazed, surprised, and very pleased. I'd like to ensure that Roller is a success at Sun, so, Sun bloggers please let me know how I can help.


JRoller on the fritz?

JRoller has been on acting up recently as several people have noticed. We are looking into the problem(s). We started to notice some flaky behavior last week and system loads were somewhat higher than usual. Some of the additional load was due to a second Tomcat server running some other software. I noticed a lot of suspicious JK2 errors in the Tomcat log files, but that was probably a red herring. After spending some time trying to get the JK2 setup right and upgrading from Tomcat 5.0.18 to Tomcat 5.0.19, I talked to Rick and Matt about taking JK2 and HTTPD out of the picture entirely and that is what we did. We're not getting any more JK2 errors, but we are still experiencing technical difficulties. I'll keep you posted as I try to track down the source of the problem.


Powerbook second impressions.

I've had my Powerbook for over a week now and I'm starting to get settled in. Overall, I've been very pleased with the Powerbook itself, the software that came with MacOS, and the software I've downloaded. I'm still trying to figure out what works best and I find it very useful to read what other Mac users are using and why, so here I'll document the software I've started to use.

Before I started using the Powerbook, I had assumed that I would be using the same browser and mail programs that I use on Windows, Mozilla Firefox and Mozilla Thunderbird. When I got the Powerbook, I installed Firefox and Mozilla and found that they work well and look almost exactly as the do on Windows. Generally speaking that is a good thing, but I'm in the mood to try something new and I prefer applications that get the native look-and-feel perfectly right, so I switched over to the built-in default browser and mail programs, Safari and Mail.App. I've been using them for about a week now and they both look great and work great. I'll stick with them for now.

I've been experimenting with iMovie. I imported a bunch of video clips from my digital camcorder and found it very easy to compose a video, edit out the bad spots, incude transitions between clip, and add titles and text. iMovie works very well and, at this point, I don't think I'll be needing any other video editing software. I've also been using the OmniOutliner and the OmniGraffle drawing programs. I was surprised to find these applications included with Mac OSX and very pleased with both of them. I downloaded Voodoo Pad Lite the other day and found it so useful that within hours I was paying the the $19.95 registration fee for the full version.

There are some bad points, of course. For example, I have't found any chat software nearly as good as Trillian. Fire may eventially rival Trillian, but right now it's GUI is clunky and nowhere near as full-featured. Eclipse is usable, but the fonts are so big and the new Eclipse 3.0 M8 look-and-feel is a real put-off.

Gentoo it is not.

Long story short: I ran into too many build failures during and after completion of my Gentoo Linux installation. I'm not sure if I have hardware problems or if Gentoo's support for my Athlon XP CPU is flakey or what, but I'm out of patience. I'm switching over to Debian.

Continue my continuing series on continuations?

Yes I will, but don't hold your breath. I've got a lot on my plate now. I've been starting to run in the mornings again, after my usual winter lapse, so I have had some time to think about the problem of integrating my hacked-free version of Cocoon Control Flow into a Struts application. I'll try to write up my thoughts on the topic in the next couple of days, because it may be while before I have time to code up a solution.

Go blog it on the mountain.

Tim Bray: Many of us at Sun are doing work that could change the world. We need to do a better job of telling the world. As of now, you are encouraged to tell the world about your work, without asking permission first (but please do read and follow the advice in this note). Blogging is a good way to do this...

Bravo!

Komu's theme.

That is a nice looking Roller theme.


JRoller down until after soccer practice.

After months of relatively trouble free operation, JRoller is straining against the load of 3980 users and heavy traffic. I adjusted some of JRoller's mod_jk2 settings today and restarted the server. It failed to start, so I reversed my settings change and tried again - still no luck. Unfortunately, I'm not going to be able to touch the system until tonight, after I get off work, take the kids to soccer practice, and to the end-of-season dinner. Sorry JRollers, I'm a soccer dad first and a JRoller admin second. Matt Schmidt may be able to do something after he gets out of class this afternoon.

Update - 11:30PM EST - JRoller is back up. JRoller's JIRA instance should be up shortly.


Gentoo it is.

I'm replacing Redhat 9 Linux with Gentoo 2004.0 Linux on my old AMD Athlon 1600+ box tonight. So far, the process has gone very smoothly.

Update: Around the time that I wrote "the process has gone very smoothly" my install suddenly took a bad turn. I am in the bootstrapping part of the install and, every time I run the bootstrap script, the build fails with a compiler, assembler, or loader crash. Each time, it fails in a slighly different part of the process; once in gettext and once in ncurses. One of the error messages indicated a hardware problem and the guys on the #gentoo IRC channel say the same thing. Perhaps I have some faulty memory./p>

Another update: Turns out, I did have a bad memory module and I forgot to properly configure my swap partition. I removed the bad module, configured my swap partition, and the bootstrap build proceded without a hitch.

A couple links to help with Apache-JK2-Tomcat on Debian

During my recent re-installfest, I searched high and low for JK2 documentation. I could not find any "official" documentation on building JK2 for Debian, but I was able to fumble my way through by following the steps in a Debian mailing list post titled mod_jk and mod_jk2. I tried using the latest version of JK2, which is 2.0.4, but I could not get it to compile. I ended up using version 2.0.2. I'm using Debian testing, by the way.

Once I had built JK2, I followed the JK2 documentation on the Jakarta website. I was able to get JK2 working, but I kept getting intermittent HTTP 500 errors from the server. I started looking for alternative ways to configure JK2. I found some very helpful instructions at Greenfield Research titled Tomcat-Apache using JK2 Connector. I followed those instructions and I haven't seen a 500 since.

Stupid irrestable urges.

Why do I do it? Why do I have to re-install Linux every six months? Every time I do it, without fail, I find myself on my knees with my computer case open, swearing out load, and muttering "why the hell did I do this." I have the same problem with room re-arrangement. Every couple of months I find that I must, I simply must, rearrange some room in the house. I empty the bookcases, take everything off of every surface, and burn a day re-arranging and cleaning and putting everything back together again. Sometimes it works out for the best - I learn something cool about Linux or I find a better way to use the space in my house. Usually, it is just a waste of time.

My latest re-installfest was a classic example of this phenomenon. I had told myself and even mentioned to my wife that I wouldn't do it. I would resist the urge to install Gentoo Linux. I had too way to many things to do, but late one night in a moment of weak geekness I burned a Gentoo install CD and it was all downhill from there. It took me a week and a half to get back where I started: a Linux box with Apache hooked up to Tomcat via JK2, MySQL Roller, and Gallery. Along the way I installed Gentoo three times, took out memory modules then put them back in, moved my CD drive from one IDE controller to another, installed Debian unstable, unstalled Debian testing, and fought and won a bloody battle with JK2. I gained nothing! I think need a therapist.

.

Eclipse and Netbeans on MacOS

I'm not exactly pleased with the open source Java IDE situation on MacOS. Eclipse 3.0 M8 works and connects to SourceForge CVS/SSH just fine, but it is slow, looks obnoxious, and it just crashed while I was editing a Java source file. I hope that, by the 3.0 release, Eclipse will be usable on MacOS. Next, I tried Netbeans.

Netbeans 3.6 seems fast, fits in with the MacOS GUI, and even recognized the SourceForge CVS/SSH configuration that Eclipse left behind, but... when I attemped to login to CVS, Netbeans showed me a stack-trace. I decided to try using a real cvs client instead of Netbeans built-in implementation. I used Fink to download the cvs command-line client, configured it, and confirmed that it works with SourceForge CVS/SSH by doing an update on the Roller CVS. I configured Netbeans to use the command-line cvs client, but no luck. Netbeans says "Permission denied (publickey,password,keyboard-interactive)." I have CVS_RSH set in my .bash_profile and in Netbeans CVS environment variables... is there some other trick?

Anybody had any luck connecting to SourceForge CVS/SSH with Netbeans on Mac OSX?


PowerBook first impressions.

I picked up my new PowerBook on Wednesday. I bought one of the new 15" models with 1.5Ghz processor, 1.25GB RAM, and Apple Care. Apple provides a great out-of-box experience - everything is attractive, even the packaging, and well designed and everything just works - right off the bat. I was happy to find lots of cool software pre-installed, including, to my surprise, both vim and JDK 1.4.2. The system comes loaded up with cool Apple software including iPhoto, iDVD, iMovie, and GarageBand as well as 3rd party programs like the OmniWriter outliner and the Visio-like Omni Graffle diagrammer. Within an hour I had established a WIFI connection, mounted shared folders from my Windows box, and ssh'ed into my Gentoo Linux server. Very cool! I'm gushing now. Sorry about that. I haven't bought an off-the-shelf computer in about ten years and I've never bought a laptop. Normally, I build my own machines from el cheapo components, crappy cases, and noisy fans. This is a very different experience than that.

After getting comfortable with the UI and some of the pre-installed software, I started to download some of the same software that I use on Windows: Firefox 0.8, Thunderbird 0.3, Eclipse 3.0M8, Microsoft's Remote Desktop client, and Palm Desktop. I spent a short time with each of these applications; here are some nutshell reviews. Firefox seems functional, but I prefer the built-in browser Safari. Thunderbird also seems to work, but I could not figure out how to import my existing Thunderbird mail files from my Windows-box, so I guess I'm stuck with the built-in Mail.App. Eclipse 3.0 works, but the new M8 look-and-feel looks especially crummy on Mac OSX. Remove Desktop works well. Palm Desktop works well, but I only downloaded it so that I can get the Conduit Manager necessary to iSync my PalmOS-based PDA. Perhaps I need to try using IDEA instead of Eclipse and Microsoft Office/Entourage instead of Mail.App, but I'm not in the mood to spend more money right now. Plus, I missed the $249 IDEA sale by one day.

Last night, I tried some of the multi-media software. I plugged my digital camera into the USB port and iPhoto popped up. It imported my photos and I tried doing some rotations, cropping, and enhancements. It seems to provide more than adequate thumbnailing and photo management/organization features. I hooked up my digital camcorder and imported some video footage with iMovie but I haven't tried to compose a video yet or burn a DVD. iPhoto is no Photoshop and iMovie seems pretty rudimentary, but I didn't have to set any preferences or install any drivers to get my camera and camcoder hooked up. That has not been my experience with my home-built Windows and Linux machines.

That's all for now. I'll be blogging my Mac experiences as I go and I've sarted a new category just for that: /Main/General/MacOS.

« Previous page | Main | Next page »