Categories
Uncategorized

Time for the Java

I hadn’t really planned on it, but it looks like this is the year I’ll learn Java. And by that I mean actually programming in Java.

I’ve toyed with Java in the past. I even use a text edit written in Java, and have written some macros in Beanshell, a Java compatible scripting language, but the time has come to go all the way, and learn the Java.

I’ve installed Tomcat and started to play with JSP, but feel like I’ve got a long way to go. There’s Cocoon, and JSTL, and Struts and all sorts of things I only have passing knowledge of. I’ve used Velocity, read about Lucene, built stuff with Ant, but have never felt comfortable with Java the way I have with Perl.

I’m sort of excited and dreading it, all at the same time. ;)

Categories
Uncategorized

Super-Happy-Terrific Aggregator

Rogers wants a gluttonous aggregator, and Les is an Info Freak when it comes to aggregation, so here’s what I’d like to see, do, wish for…

First we need an indexer, some code that is smart about ETags and Last-Modified headers, and redirects, and all that jazz, and we also need something to parse all that incoming data into something useful. Mark‘s Universal Feed Parser seems to be capable of all that. So, we set that up as the piece of the puzzle that grabs data, and parses it, and with a little more glue, stores that data.

Where to store that data? MySQL seems like a nice place. So, we use the Universal Feed Parser to fill up MySQL with all this raw data, and where do we go from there? Anywhere we want. Confused? Here’s what I’m thinking… Once we’ve got all this raw data, we can write code that does all sorts of crazy stuff with it, and that code can be Perl, Python, PHP, or even Java – anything that can talk to MySQL really.

Ideally it would be cool if MySQL had a base table with the raw data, and then different people could write different code in different languages that did different things. Think Different and all that.

Anyway, that’s what I’ve been thinking about. I think this would allow people to have a common base, that being data stored in a SQL database, and at that point it doesn’t matter if it came from RSS 0.91, RSS 2.0, Atom 0.3 or whatever, as long as we can figure out some sort of base data model we’re set.

I don’t know if this would work, or who else would be interested in such a thing, but figured I should throw it out there instead of just rolling it around in my head.

Categories
Uncategorized

Community?

I’ve got a problem. I want to set something up to allow a group of people (none very technical) to discuss something each month. I’m not even sure discuss is the right word there. The problem is, I could set up a community-type site using Drupal, or a blog-type site using WordPress, where each month there would be a post, and comments would allow for the discussion, or I could set up a mailing list, either on my own server or using something like Yahoo! Groups.

I suppose it’s a good thing I have so many choices, but it does make it a little difficult to figure out what might work the best. Since the users might not be very technical, an email list might work well, as I could subscribe them all, and they could just discuss things via email. I could provide a web-based interface to the archives if needed as well.

I’m leaning more towards the mailing list right now, though it’ll probably be more work to set up, I’ll most likely do the archive as well, and a syndicated feed (ok, two of them, one in RSS and one in Atom…)

Nothing’s ever easy it is? ;)

Categories
Uncategorized

Joel on the Windows API

Joel has a piece on Microsoft and the Windows API. It’s a good read, a long read, and it touches on a lot of things.

Now I’m not a Windows programmer. I’ve written code that runs on Windows, usually in Perl, though I’ve been known to write ASP when forced to. I don’t know much about the Windows API besides what I’ve read, so I’ll not comment much on that.

What I do know about is the web. Most of the software I write is for the web in some way, either web-based applications, or applications that produce output as HTML. If you’ve been reading this site for a long time you’ll know I’m against lock-in. Writing applications that run on the web, and use a browser for the interface, allow for a great deal of lock-in avoidance.

Joel says the following about writing web applications:

You can use any programming environment you want because you only have to get it up and running on your own server.

While you may actually have to get things running on more than just your own server, nowadays that isn’t a big issues if you choose a language like Perl, PHP, Java, Python, etc… and if you use a *nix-type OS like Linux, FreeBSD, or Mac OS X (heck, sometimes Windows even works!) Add in MySQL (or PostgreSQL, or SQLite maybe?) and Apache (or… ok, alternatives are a bit more limiting here, but Apache is open-source and runs on a dozen platforms) and you’ve got a nice bunch of choices. Yup, choices, something you don’t always get from Microsoft. You may have to do a bit more work in some cases, for instance, you write something that works with Linux and MySQL and later want it to work on Mac OS X and use PostgreSQL, will it work? Probably… Will the changes needed to make it work be massive? Probably not. For most web-based applications it shouldn’t be. I regularly develop things on Mac OS X and move them to Linux with zero issues, and I know plenty of other people who do the same thing.

I think Joel nails it when he says that Microsoft has lost a whole generation of developers. A co-worker of mine talks about this sometimes. We see that the colleges have a lot of kids that don’t go the Microsoft way, they’re using Linux and other open-source tools, and in a few years these kids will be in the workforce, and they’ll want to use the tools that they understand, the tools that make sense to them, the tools that they know. This will be one more step in the decline of Microsoft. While I often wish Microsoft would just go away, I’m pretty sure it isn’t going to happen anytime real soon, but to imagine the world five years from now being much less Microsoft and much more open-source gives me great hope.

Of course I can’t just let it slide that Joel says the following:

Remember, people buy computers for the applications that they run, and there’s so much more great desktop software available for Windows than Mac that it’s very hard to be a Mac user.

Yeah, he adds a disclaimer after it, but I’ll still respond. What I want to see is a list of “great desktop software available for Windows” because I can’t remember any Windows application being so compelling it made me want to run out and buy a Windows machine. I do know plenty of people who say they need to have a Windows machine for work, or they need a Windows machine to test browser compatibility. (Here’s a funny one, Microsoft probably sells a whole bunch of copies of Windows just so those web developers who don’t want to get locked in to developing for Windows can test their sites using Windows and IE, you can’t win…)

Anyway, the majority of people buying computers nowadays probably want to browse the web, use email, write documents, edit photos, or video, or audio, or… I dunno, I’m having a hard time figuring out what you would need a Windows machine for, that a Mac could not do, unless it was be a corporate developer, or use some application at home that your employer required that only ran on Windows…

Yes, I’m biased, I don’t like Windows or Microsoft. I do like open-source, the web, and Mac OS X…

Keep up the good work Joel!

Categories
Uncategorized

Mid-June Update

I know, “Mid-June Update” sounds like a title with some sort of explanation needed… Maybe not, we’ve been doing this for nearly 7 years now, so cut us some slack! Summer is our slow time around here. Slow as in fewer postings, not slow as in nothing going on. So here’s a dump of all sorts of random thingies…

Things that have broken in the past two weeks:

  • Air Conditioning
  • Car (Dodge Intrepid, piece of &%$@!)
  • Rio 500
  • CD Player
  • Crock Pot
  • Ceramic mug

I’m sure there’s more, but that’s just what I can remember right now…

I was in Door County over the weekend, I highly recommend it. My big summer project involves removing all of the paint from our house, garage, and shed so that they can be repainted. (I do not highly recommend this.) The downside is that it’ll be many hours of work, in the hot sun, uphill, both ways… The upside is I get to use a power washer. Oh, and it should make our house look very cool…

I’ll be in Maryland next week learning Python, which should be interesting.

It’s my birthday this month… One month closer to death! Hooray! (The Greeks would be proud!)

MandrakeMove didn’t move it for me. It failed to work. Mandrake hates me…

In the Good News department, the digital camera is working again, but in the upgrade to Panther the card reader no longer works, so it’s now connected to the iMac running Mac OS 9, so importing photos involves inserting the card, copying the photos across the network, and then dropping into iPhoto. (Damn you Lexar!)

Oh, this site might be moving to a new server this month, and we might even switch to WordPress, but we’ll see – no promises, ok? Cool…