alvin's blog

Mac / Windows - UI design differences

I thought I'd take a few minutes to look at the philosophical design differences between the Mac OS X user interface and the Microsoft Windows user interface. This topic is probably worthy of a Master's degree thesis, but I'm going to rattle off the big differences I see in about 30 minutes worth of typing.

A tag-based filesystem

After working with del.icio.us and other tag-based systems, and thinking about adding tag support and other features to this blog, I started wondering if anyone had applied the "tag" concept to any other systems that are typically directory-based (as del.icio.us seems like a very good replacement for a traditional hierarchical organization (directory) of bookmarks).

Mac HTML editor product reviews

Mac HTML editor review: I didn't go exactly where I wanted with that last post about Mac WYSIWYG HTML editors, so let me try again. This time I'll go the product review route I initially planned to go in that last post.

Mac HTML editors

First, as I related in that post I'm not happy with any of the Mac HTML editors I've found. Second, the point I didn't make, is that these are the Mac HTML editors I've looked at so far:

Looking for a Mac HTML WYSIWYG editor

My search for a Mac WYSIWYG HTML editor continues ... I just finished trying Coda, but I don't like it much more than I like using a text editor like TextMate.

I understand the need for these HTML/text-editing tools when you get down to the nitty-gritty details of HTML editing and you want to work only with the HTML source code, and Coda or TextMate on the Mac are good for that.

Linux file searching - Search for text in files with find and grep commands

Linux find/grep FAQ: How can I combine the Linux find and grep commands to search a large collection of files?

A lot of times when I need to find a file I know the text in the file that I'm looking for, but I can't remember the filename, or can't think of what directory it might be in, other than somewhere below my home directory. When this happens, and other search means like the "locate" command don't help, my favorite way of searching for text strings in files that are spread through a bunch of directories and sub-directories is this:

A Java email address validation class

I thought I'd share the source code for my Java email address validator class. I'm not sure if there's a big need for it ... I wrote it a long time ago, and I think I created it because Java's javax.mail.internet.InternetAddress class wasn't validating email addresses as deeply as I wanted it to. For instance, I think it would allow the string "fred" to be a valid email address, but on the internet you really want to see something like "fred@foo.bar". So I think that's where this class comes from.

A Java send mail class - A simple class to simplify sending email

Here's the source code for a simple "Java send mail" class that can simplify the process of sending email messages from Java applications. I've named this class MailAgent, and I'm sharing the source code here for free. I've included a brief usage statement in the Javadoc at the top of the class. Hopefully it's all pretty straightforward, and a decent example of using the JavaMail API to send an email message.

Syndicate content