Archive for August, 2007

Tools of the Trade: UltraEdit

Thursday, August 2nd, 2007 by The Director

The following is not a compensated post; I’m merely extolling the virtues of a piece of software I found useful.

I have been a fan of UltraEdit probably for about a decade; I cannot actually remember the last time I had a PC onto which I did not install this robust little text editor.

Notepad and Wordpad come free with Windows and most workstations in offices come with Microsoft Word these days, so you might not see the value in adding another program to your desktop. However, UltraEdit adds a number of features not currently available in these other applications, including:

  • Syntax highlighting, which shows keywords in a number of languages in another color to make the files more easily readable. The list of languages and the keywords themselves are extensible, so you can make your own as needed (I once made keyword files for MOL and SDF chemical data files).
  • Tabbed view, which means I can have a bunch of files or empty files open and can work on them at once, seeing their contents at a glance. Neither Notepad or Wordpad offer the multiple files thing, and Microsoft Word allows multiple files, but not a tabbed view.
  • Find or search/replace in files, which lets you dig through all the files in a folder to find what you need.

At only $50 a throw, I install it on every PC I own, as I mentioned, and I’ve also introduced it to every workplace where I’ve been in the last decade. Friends, let me tell you that this includes a rather surreal experience I had with my last Corporate employer.
(more…)

There’s a Right Time and a Wrong Time for Data Validation

Wednesday, August 1st, 2007 by The Director

And on the page load is probably the wrong time:

Validating the data on the page load

Nor Proofreaders, Apparently

Wednesday, August 1st, 2007 by The Director

The working wold is no place for wimps, spellcheckers

Cheap Shot Your Application’s Import Feature

Wednesday, August 1st, 2007 by The Director

Yes, it’s one little menu command or maybe button on a toolbar, but the Import… command exposes the soft underbelly of your application.

Dr. CreepyYou know how your developers always shirk adding validation logic to any administrative tools because only administrators will use it, and administrators never try bonehead things? Well, the import feature offers access to the actual data that users normally have to use one or more screens on your application to enter. One or more screens to which developers have possibly added data validation after much prompting and shaming from the QA staff.

But short of actually corrupting the data in the database directly (which is fun, and I’d recommend trying it for its own sake), the import feature offers a means to enter crap into the database (or try to, anyway) that nature did not intend for that database.
(more…)