August 2005

Archives

When Software Development Isn't Agile

By now you've probably heard about it. Agile Software Development is the rage. It is said to bring to software development benefits that are usually attributed to Just In Time inventory management. It is a development strategy that deals with change easily and produces results. The Agile Manifesto and its Principles lay the groundwork.

DHTML, DNS and de wascally wabbits!

Trying to serve up dynamic content? Well you have tons of solutions out there. You can use PHP, Java, Perl, Ruby and Python to create web pages. You can call CGIs, run a J2EE server, use WebObjects, or just roll your own. The most important thing is just getting the good results.

Mighty Mouse vs. the KVM

I finally got a Mighty Mouse today. That alone would not be a good enough reason to blog a review since I'm sure there are plenty of people writing about it already. But it happened to coincide with my purchase of a MiniView™ Micro USB PLUS KVM Switch by IOGEAR.


Mighty Mouse Diagram

Half Dead

OK, OK. So not everything is working right yet. The drupal cron job is running so some feeds are starting to show up. I plan to add more and plenty of links to helpful websites. (I certainly have browsed a few of those trying to get drupal to work.) One big problem which has been there since the beginning is that transparent PNG files just don't work on Windows Explorer. My apologies. A fix exists and I'll try to get it implemented soon. But I have to admit that being primarily interested in the Macintosh and having been to enough Windows-only websites, I just ain't in that big a hurry. Leading to the next big thing: Explorer for the Macintosh - or as I like to call it "Exploder". Basically the CSS on this site fails miserably on my copy of Explorer. So if you aren't running Safari by now...

Goin' Live

Well I have finally switched the website over to being run by drupal. There still may be a few glitches here and there. The CSS isn't ready and some odds and ends remain to be done. I'll probably install the cron task right after this. Later I'd like to use the launchd services maybe. Sendmail isn't working today so the new user accounts are basically broke until new users can get their temporary passwords mailed to them. I'll be taking care of that in the coming days along with the return of the son of the old website CSS. But basically I'm ready to get back to programming. I have some things to work on. Hopefully I'll have some ¡Toro! screenshots ready in the coming weeks to post here. And let me know if you need a drupal site of your own!

I have drupal

Don't back away. I'm talking about a Content Management System not a disease. Drupal is finally up and running and being tested on my server and just as soon as I check it out thoroughly I'll probably redo my web site using it. Hopefully my next post will be something drupally.

A SQL to Following Directions

I started investigating Content Management Systems the other day. I was getting bored with my web site. I was tired of hand coding web pages and wanted to spruce up my blogs too and wasn't looking forward to modifying the blog CSS to match my web site's CSS. I've done this once already. I like the idea behind CSS. It is nice to be able to change the look of the web pages globally while leaving the html untouched. But I have CSS for my regular web site and CSS for blojsom. Furthermore the blojsom installation is versions behind and Apple has modified it for OS X Server. I could ditch Apple's version and run the latest blojsom but only after a bunch of work installing and testing and then I would still have to match the look to my particular web site. So I thought if i am going to do all that then why not look for alternatives?

CMS seemed to be the answer. Why not run my whole site, blogs and all as a content managed system? It could grow as needed and if I selected the right system, I could get away with one set of consistent Cascading Style Sheets for the whole web site. So I googled open source CMS systems and after looking at several good ones I decided to try one called drupal.* As luck would have it, there had been a drupal get together right here in Portland the week before. When will the gods smile upon me?

Content management requires a database. Drupal works with MySQL (and Postgres and anything else that runs with PHP) so I decided to follow the drupal install instructions on their website for Mac OS X. One of the first things you have to do is get MySQL. The drupal instructions talk about downloading a binary installer. Now I get to thinking (always dangerous when following instructions). I've used MySQL in the past, and I have Fink installed on my server so why should I follow the drupal web site's instructions. I'll just ask Fink commander to install MySQL from source and... sometime in the middle of this process I realize that the drupal instructions are for some poor sod working with Mac OS X. But Mac OS X Server already has MySQL installed. In fact, I never used it from the server before having always messed around with a locally installed MySQL on my machine. Oh well, I'll just let it finish installing and run it anyway.

Well it has been hours and hours. I have managed to run MySQL installed by Fink, and I've also gotten the Apple included install to run. They tend to want to use each other's commands and socket, but I think I figured out how to fix that. Now the current problem is that apparently PHP doesn't like mysql_connect() (at least that's more or less what the error message is telling me). Whether this is due to the multiple installs of MySQL or something Fink had done when I installed Apache2 for subversion a while back, or just because I failed to make a sacrifice to the gods of open source installs I just don't know. The problem with following instructions in unix is that you never know where they'll lead. So I am left looking for a trail to find my way back.

So if I can ever learn to follow instructions again, then you may one day be reading this blog entry on a drupal-based blog.

* Plone, which is based upon Zope, which is written in Python looked really interesting too but rather complex to set up and use.

The Dangers of Following Directions

I often like to complain about Windows. As a longtime Apple programmer I can't help it. Growing up and growing old with this industry I've just seen too many ripoffs perpetrated by Redmond. I think that corporations get an imprint from their founders, and that imprint, those patterns of working and behaving stay with them for a long time. Many times they persist even after the founders have long since left the scene.

Software gets imprinted too. I guess you could say that any large organized self sustaining entity (like an operating system) tends to move in the directions and follow the patterns it was initially set upon. Sort of a Newton's Law of organized activity, if you will. So after that introduction I'll bet you are waiting for some Wintel bashing. But no...today I'm talking about unix.