By barneyb on October 26, 2004
I partially retract my anti-BlueDragon wrath of a few days ago. Turns out BD installs a key into a NewAtlanta-specific registry file, and doesn't bother to remove it when it gets uninstalled. So to reinstall, you need to go manually remove the key from the registry file. The file is located at /usr/local/NewAtlanta/.registry
. Of course, my wrath is still in full bloom that this was even a problem to begin with. ; )
Posted in bluedragon
By barneyb on October 19, 2004
More fun with BlueDragon tonight. I've never gotten BD to connect to apache2 on my mac. New Atlanta didn't bother to include a connector that actually works, even though BD will happily attempt to connect itself. So tonight, I thought that I'd reinstall a new version of BD, since there were a couple bug reports in the database that suggested this might have been fixed. I've managed to hobble along until now using the internal web server, but that's not going to fly any more, as I need to have CFML and JSP running on the same apache vhost, and the BD doesn't do JSPs in the free edition.
First time running the installer and it says "you need to uninstall first". That makes sense, so I go run the uninstaller and delete the remaining tidbits. "You need to uninstall first." Go empty my trash, delete the various installer log and error files. "You need to uninstall first." Find the startup item still lingering, along with a few preference files, and delete those too. "You need to uninstall first." Do a search over my entire hard disk for anything with 'bluedragon' in the name, and delete everything except for a couple files from Dreamweaver and CFEclipse. "You need to uninstall first." At this point there is literally NOTHING related to BlueDragon anywhere on the computer, aside from the installer, the ZIP the installer came in, and the PDF-format compatibility guide. I shut down Apache just for good measure. "You need to uninstall first."
Fuck BlueDragon.
Posted in bluedragon
By barneyb on October 17, 2004
As part of my cvs.fusebox.org project, I made up a little CFC that will perform authentication against a CVS passwd
file. I didn't want to have to maintain two sets of credentials for all the CVS users, so this proved a very good solution. The implementation was actually pretty simple; the most difficult part being the crypt
script (I used Perl) for doing the UNIX crypt on the passwords.
Because the passwd
format is pretty standardized, the CFC should work on .htpasswd
or even /etc/passwd
files as well, as long as you're not using shadow passwords. I haven't packaged it up for distribution, but if anyone's interested, I'd be happy to send you a copy, along with the Perl script.
Posted in cfml
By barneyb on October 16, 2004
I installed BlueDragon on my server a while back, so that I just throw together a little comment management script for the blogs in CFML, rather than JSP. Since then I haven't used it much until the last week or two. I wrote a very simple FB4 site with an access-controlled section for the Fusebox development team, and promptly spent about five days trying to get it to work on BlueDragon.
The first round of problems were with the core files themselves. Nothing major, just various little bits of unsupported syntax (like using a string on the left side of a CFSET). Next was some enormous problems with using CFCs. I have two CFCs in the app, and I eventually discovered that if the CFC file is changed, you need to kill off any cached instances or you'll get all kinds of trouble. Finally, exception handling by pattern doesn't work on BD 6.1, but thankfully, it's supposed to be fixed in 6.2, due out sometime soon.
I haven't totally forsaken BD yet, but after the last week, I'm pretty close. Not that using JSPs for everything would be easier, but at least it would be consistent.
Posted in bluedragon
By barneyb on October 12, 2004
I downloaded Neuromancer today, which is a JavaScript library for doing web service calls without page requests. It's pretty slick, though it definitely has a few quirks. However, I spent some time working with it and managed to tack on what amounts to listeners for remote actions.
To put it in English, what you had to do is make your remote connection, and then do a setTimeout for a "while", and then deal with the returned values from the remote operation. Hardly ideal. My mods let you instead pass an listener (or even handler) to the remote method, and that listener is invoked when the remote method completes. Very similar to how Flash Remoting works, and much nicer to work with.
Hopefully, my changes will be incorporated into the actual Neuromancer releases, but I haven't heard back from Rob (the guy who wrote it) about that yet. If not, I'll probably make them available either as a modified gateway.js, or as a patch file for it, depending on the Neuromancer license.
Posted in cfml
By barneyb on October 11, 2004
I'm happy to say that the Fusebox development effort is at long last using version control. Yee-Haw!! After much persuasion and a few hours of work, I've set up a CVS repository and gotten everything squared away for it's continued use. Currently, both read-only and read-write access are both restricted to specific users, but in the future, anonymous access may be allowed, and/or development snapshots may be available for download.
Posted in fusebox
By barneyb on October 10, 2004
I spent a bunch of time this weekend designing and mocking up the monitor brackets for the counter computer out of paper. Very high-tech stuff. After that, I laid them out on the computer, all to scale, so I can print out the plans, mock it up again to double check, and then use them as a pattern for actually cutting and shaping the metal. Should be fun.
Posted in personal
By barneyb on September 28, 2004
After numerous requests, I finally got my presentation from the FB conference, along with the example code, zipped up and available for download. It should also be posted on the conference web site, but I'm not exactly sure where.
Posted in fusebox
By barneyb on September 22, 2004
While I was at the conference, I also had the opportunity to work with John Quarto von Tividar on some fundamental changes to the way the FB core files work. The mods will make the guts of the core files much simpler, make the new custom lexicon features that are being demoed in the 4.1 series amazingly more powerful, and also let us (the core developers) "eat our own brand of dog food", so to speak.
Some of the changes will make their way into a future 4.1 beta, but some of them won't be made available until the next release of the cores. Suffice to say, there are some really neat things coming down the pipe over the next year or so.
Posted in fusebox
By barneyb on September 21, 2004
I went to the 2004 Fusebox Conference over the weekend, and had a good time. It was held in Rockville, MD, which is somewhere around 20 miles northwest of Washington DC. Nice to see everyone face to face again, and meet various people who I'd not met before.
I also had the privilege of speaking on FB and CFCs. It was both enlighting and enjoyable, and reconfirmed my inner desires of one day ending up as a teacher. I was somewhat nervous beforehand, not from stage fright so much as fear that the topic was hard to compress into 50 minutes. But it all turned out well. The audience seemed engaged and interested, and from the positive response afterwards, it seemed that my expectations of people were too low. I guess that's the price I pay for being eternally surrounded by idiot clients. ; )
Also at the conference, Steve Nelson, Rey Muradaz, and I decided to try and jump start the community into being formal content producers to the CF community at large. Most Fuseboxers have more than a slight fanatical bent, and many (like Steve) are absolute zealots. However, the community as a whole doesn't have a large voice in the greater CF community, other than the periodic discussions about FB (and frameworks in general) on various mailing lists.
Steve, Rey, and I committed to writing/gathering four articles each on any topic even remotely related to Fusebox, and we'll publish them over the course of next year, initially as an email newsletter, and possibly included in CFDJ. Anyone who would like to participate, please let one of us know what you'd like to write about, and get us an article as soon as you can. One to two pages is totally sufficient.
Posted in fusebox