Archive

Archive for June 18th, 2005

No Documentation

June 18th, 2005 8 comments

What is it with non-commercial programmers/scripters and documentation? This is something I have noticed for years: people who write small scripts or programs that are not self-executing rarely write more than a few lines of vague instructions on how to use them, even if that much. These people apparently feel that telling other people how to use their creations is unnecessary. “Here’s a great script,” they tell you, “which will do all these great things.” But they don’t tell you where to put it, how to modify it, or anything else that’s necessary for using it. Sometimes these people don’t even make clear what their script even does beyond general descriptions.

Are they just yanking our chains, or do people who acquire the skill to script suddenly lose sight of the fact that most people don’t know how to script or use a command line interface, and can’t figure out what the hell they’re supposed to do with these cryptic files? Better not to publish on the Internet claiming you’ve just created something useful, for all the headaches you cause so many people trying to follow up on your promise of a cool product with needed features. I’m not trying to be ungrateful, these people put a lot of work into some good ideas to make a useful product. But if you spend that much time making the script and then bail on the documentation, then what’s the point?

And I’m not talking about full tech support here. I’m talking about sitting down for two friggin’ minutes and writing down the most basic of instructions. If the file is self-executing, and simply works when you double-click it, then fine, minimal documentation is OK (ironically, those programs usually have good documentation), but the stuff that needs to be changed and placed just so–these are the ones the developers seem to completely abandon once they finish coding.

Were this only a sometimes thing, it wouldn’t be so bad–but it seems that it’s the case nine times out of ten. Is it just me, or what?

Tweak

June 18th, 2005 Comments off

Are you using Safari? If so, look at the search box on this page. Notice anything about it? Rounded corners, gray placeholder text, the circle-x ‘clear’ button once text has been inserted?

It turns out that Apple created a few new tag features just for Safari, intended for Dashboard widgets, which are based in Safari. The ones I’m using are for the <input> command, namely type=”search” and placeholder=”Go fish!”. The type=”search” attribute is the key one, though–that’s the one that rounds the corner and gives you the circle-x button. And it is invisible to other browsers, so they still see the regular search box–which means 91% of my visitors. So no loss, but a little cool tweak gained with the extra code. Heard about it on Ars Technica (though they don’t seem to like it), and more in detail from Bartelme Design. The “placeholder” attribute, by the way, adds the gray text inside the search box which disappears when you click to type.

So far I’ve applied it to the main page, the individual archive pages, and the search page. What I haven’t figured out yet is how to make the little magnifying-glass icon appear on the left so you can review recent searches…

Update: a helpful member at Ars Technica filled out the answer: in order to get the “recent searches” menu, you have to add both “autosave” and “results” attributes. For example: <input type=”search” autosave=”anyname” results=”5″ placeholder=”Search this site…”> and that would give you all you need for the full search box in Safari, recent-search magnifying glass icon and all. Cool! Now, everybody just switch to Safari, now that you have a reason.

Categories: BlogTech Tags: