Pioneer Valley Software

A commentary about software in, from, about or somehow remotely connected to the Pioneer Valley of Western Massachusetts.

Monday, February 25, 2008

Drupal 5.0 Themes at a Glance

Pardon my hiatus, but I've been preoccupied. A few months ago I was fortunate enough to meet a couple of local software developers who, like me, were looking for an office space where we could get some work done outside of our homes. Jason Smith and Kelly Albrecht proved to be not only joys to work with, but smart as whips as well. I'm very pleased that our shared office has grown into a business partnership called Studio4 Technologies with headquarters at 592 Main St. in Amherst. We specialize in Enterprise Software Development and Web Content Management, and invite you to contact us at info@studio4tech.com or (413) 259-6317 if we might be able to serve you.

Drupal content management system
Kelly is our content management expert, and his CMS of choice is Drupal. When we are hired for a new web job, we will often point the client to one of the online repositories of free Drupal templates, such as themegarden.org. Theme Garden lists an abundance of attractive themes, but we have found that navigating the site and examining themes can be a bit cumbersome and confusing to web novices. So I have compiled the table1 below which contains the 172 Drupal 5.0 themes currently available (on 2/25/08). I hope that the comprehensive one-page directory and the snapshots2 that display when you mouse over the links, will save theme shoppers time.









Drupal 5.0 themes available from themegarden.org



1 Thanks to MLAWire where a solution was posted for avoiding unsightly line breaks when adding tables to Blogger posts.


2 Snap Shots are generated by snap.com, and may not appear correctly until snap.com has completed the image capture process. Clicking on the link will force the image to be captured.

Saturday, October 20, 2007

Software Archaeology at the Clapp

Clapp Memorial LibraryMy wife, young son and I are ardent book lovers, and since we discovered it three year ago we have paid an annual visit to what has become one of our favorite events – the Friends of Clapp Memorial Library Book Sale in Belchertown. With 25,000 items, most priced at a dollar or less, the Clapp sale sometimes resembles the bibliophile’s answer to Filene’s Basement.

Last Saturday we spent nearly half a day scanning the shelves at the Clapp for bargains, and were not disappointed. I was pleased to pick up a copy of Mark Twain’s Roughing It to augment my adventure book collection, and found a nice copy of Dinosaur Time, illustrated by Arnold Lobel of Frog and Toad fame, to read to my two-year-old.

The day’s most intriguing discovery, however, came when I wandered into the deepest recesses of the library basement, and stumbled upon … the computer books.

Computer books do not age gracefully. As I thumbed through a 1989 edition of Using Paradox 3.0, I recalled how Borland’s once-mighty database system had faded into obscurity, rendering fat reference guides like the one I was holding, so many pages of scrap. Voodoo Windows (Ventana Press, 1992) offered tips and tricks of the day, such as how to manage51 Game Programs for the Timex Sinclair 1000 and 1500 a Windows 3.1 PIF file. Several generations later, Windows Vista users can claim much more sophisticated and frustrating problems to grapple with.

The oldest title I came across had a bit of character, and at a price of 50 cents I decided to scoff it up. 51 Game Programs for the Timex Sinclair 1000 and 1500 dates back to 1983, and was written by prolific Australian author, Tim Hartnell. Before he died at age 40, Hartnell penned books covering most of the prehistoric PC platforms of the early eighties such as the Commodore Vic-20, Apple IIe, and the IBM PC-junior. But the Timex Sinclair 1000 was the real cat’s pajamas. At $99.95 retail, it shattered the home computer price barrier. Never mind that the T/S1000's video display was limited to 32 by 22 characters in black & white on a TV screen, and the device’s long-term storage solution was a finicky interface to a standard cassette tape recorder. It sported a whopping 2K of memory which could store programs written to its built-in BASIC language interpreter.


10 REM *** POETRY ***
15 SCROLL
17 IF RND>.7 THEN GOTO 40
20 FOR J=1 TO RND*3
25 SCROLL
30 NEXT J
40 LET A$=" "
50 GOSUB 100+10*INT (RND*12)
51 LET X=LEN A$
52 LET Y=LEN B$
53 IF A$(X-1)=B$(Y-1) THEN GOTO 50
60 IF X+Y>=32 THEN GOTO 90
80 LET A$=A$+B$
85 GOTO 50
90 PRINT A$
95 RUN
100 LET B$="DETACHED "
105 RETURN
110 LET B$="INITIATE "
115 RETURN
120 LET B$="EARLY "
125 RETURN
130 LET B$="ALTHOUGH "
135 RETURN
140 LET B$="... "
145 RETURN
150 LET B$="DISCIPLE "
155 RETURN
160 LET B$="WEEPING "
165 RETURN
170 LET B$="ONLY "
175 RETURN
180 LET B$="REACHED OUT FOR "
185 RETURN
190 LET B$="LONELY "
195 RETURN
200 LET B$="YEARNS FOR "
205 RETURN
210 LET B$="THEN "
215 RETURN

51 Game Programs for the Timex Sinclair 1000 and 1500 includes Basic program listings for amusements such as Balloon Buster, Etchasketch and Hangman. I was excited to find that Canadian Jeff Vavasour has created a web-based T/S1000 emulator where the programs in the book can actually be entered and run. I tried my hand at a program called Poetry which the book claims will “turn your T/S1000 into a Walt Whitman…almost.” See the source listing and a screen print of the program’s output below. Not exactly Leaves of Grass material, but for 40 lines of code and 25-year-old technology, wha d’ya want?
Generated poem

Thursday, October 11, 2007

Steve Hartshorne – Cheering for America's Next Top Model?

Weekdays find Stephen Hartshorne seated at his desktop computer putting Dreamweaver through its paces in the offices of GoNOMAD.com, where he is associate editor of the South Deerfield-based online travel magazine. Stephen HartshorneCome Wednesday nights at 8:00 p.m., however, Steve trades the PC for a TV, and tunes into the CW Network to follow the progress of his daughter as she competes in Season 9 of the reality show, America’s Next Top Model.

Through four weeks, Sarah Banks Hartshorne, of Heath, remains among the final 10 young ladies vying for the ANTM title and a $100,000 contract with Cover Girl Cosmetics, management by Elite Model Management, and a cover plus six-page photo spread in Seventeen magazine. Sarah Banks HartshorneHer effervescence and sense of humor, not to mention being portrayed by the show’s promoters as the “plus-size” contestant, have earned her boosters around the country. Stephen Hartshorne describes his daughter’s comic side in his Armchair Travel blog.

Selected episodes of America’s Next Top Model may be watched in their entirety at the CW website. CW joins the Discovery, Fox, E! and ABC networks in presenting its video streams using a format devised by Move Networks. Move is the venture of Drew Major, former lead architect of Novell Netware. Its encoding technology renders the video stream in a variety of resolutions, allowing the Move Media Player to display a quality picture at a variety of internet bandwidths. See the technology in action in CW's video interview of Sarah Hartshorne.

Thursday, September 27, 2007

A-Z blogs for Eons

Congratulations to Amy Zuckerman, principal of A-Z International, who joins actress Jane Seymour and a couplAmy Zuckerman now blogs for Eons.come dozen other Experts and Celebrities recruited by Eons.com, the social networking site for folks on the flip side of fifty.

Eons is the brainchild of Jeff Taylor, UMass Amherst grad ('01) and former Daily Collegian business manager, whose earlier venture, Monster.com, burgeoned into the number one job search site on the internet.

Amy Zuckerman is no stranger to social networking, having created and built up Hidden Tech, an alliance of independent technical professionals and other home-based workers in the Pioneer Valley. It is her expertise in Eons.comvirtual businesses such as those widely represented in Hidden Tech that she shares in her Eons column as well as in her personal blog, Living the Virtual American Dream.

Eons has undergone rocky times of late, laying off a third of its workers earlier this month. However, if Taylor’s baby has yet to boom, it continues to address an audience still underserved on the web. Eons' attractions include the web's largest database of online obituaries with 81 million entries.

Jeff Taylor and Jane Seymour celebrate Eons' launch
Jeff Taylor & Jane Seymour

Sunday, September 16, 2007

Serenading Al

Professional page builders throughout cyberspace agree. One of the deadly sins of web design is embedding a background sound in a web page. Instantly and relentlessly presenting visitors with a constant audio clip is a sure-fire way to turn a pleasant web experience into aural torture. As a coding no-no it ranks up there with DraftGore.comthe cussed <BLINK> tag.

Therefore it was with some reservation that I assisted Monica Friedlander, head of DraftGore.com, in setting up a background sound on the organization’s home page. On the other hand, perhaps this case was justified. Amherst songwriter Paul Kaplan, for whom I’ve done some web work over the years, had written a real winner of a song urging Al Gore to join the 2008 presidential race called Run, Al, Run, and the Draft Gore folks were interested in adopting it as their anthem.

I edited an mp3 recording of the song to make it as innocuous as possible, toning down the volume, reducing the sampling rate to conserve bandwidth, and shortening it to a 22-second segment. I emailed the clip to the webmaster with instructions to include the following line in the <HEAD> section of the home page:

<embed src="RunAlRun_clip.mp3" loop="0" autostart="true" hidden="true">

To the song’s credit, it lasted as a background sound for several weeks. It has since been demoted to a clickable, but prominent, link on the DraftGore home page.

With the Democratic presidential primaries fast approaching, the interest in Run, Al, Run remains high. Critiquing Gore's The Assault on Reason earlier this month, writer Michael Tomasky quoted the song’s chorus in the The New York Times Review of Books. And a music video, edited by Paul’s daughter Brittany, has garnered acclaim and charged up Gore supporters since being posted out on YouTube.


Monday, September 10, 2007

Find an Outlook Contact in 8 Keystrokes

Outlook 2007I’m not a dyed-in-the-wool Microsoft fan, but I have to admit that several products from the Redmond folks have become ingrained in my work routine. First by professional necessity, then by force of habit I have come to rely on MS Office and Internet Explorer as well as Visual Studio when needed. I am proud to say I gave up FrontPage for Adobe Dreamweaver a while back.

As part of the Office suite, Outlook 2007 (aka Outlook 12) is one of my mainstays. I use it daily, not only for email, but also for calendaring and contact management. My productivity received a boost with the discovery that I can look up virtually any entry in my set of Outlook Contact folders in 8 or fewer keystrokes. The trick is to take advantage of a couple of Outlook 2007’s shortcut keys and the new Instant Search feature.

Outlook 2007 Instant Search

I have contacts spread over a number of folders, e.g. I’ve created a folder containing family and friends, another for recipients of a newsletter I send out, and yet another for clients of a small business that my wife runs. When looking up an address or phone number in the past, I often stumbled around looking for the right contacts folder, then clicked on the “File As” column header to sort by last name and scrolled down until I found the person I was looking for. Not quick.

Now I do this:

  1. Type Ctrl+3. This is the shortcut key for Go Contacts and brings me to a view of the Contacts root folder.

  2. Type Ctrl+Alt+A. This moves the cursor to the Instant Search box and sets the scope of the search to “All Contacts Folders.”

  3. Type the first 3 letters of the last name (or any other distinguishing field in the contact entry) of the person you are looking up. Quite rapidly Instant Search will display a list of contacts containing these 3 letters. I have several hundred contacts, but entering a search string of 3 letters usually results in no more than a screen full of results, and I can quickly locate the contact I’m after.

A similar process can be used to quickly find mail messages, calendar appointments, etc.

Wednesday, September 5, 2007

The Old Plastic Bag over the Credit Card Trick

We were low on kitty litter and soy milk, so I made a late night jaunt down to the Hadley Stop & Shop to pick up a few things. Going through the checkout line, I slid my Florence Savings Bank MasterCard through the scanner and was greeted with the message, “Invalid Magnetic Stripe Format.” I tried again – same result. The old plastic bag over the credit card trickThe soy milk was getting warm and a queue was building up behind me. What to do?

The cashier noticed my consternation and handed me a plastic bag. When I shrugged stupidly she snatched my credit card, put it inside the bag and swiped it through the reader. Bingo! I saw the reassuring words, “Debit or Credit?”

I had just observed a workaround that is apparently fairly well known among the cash register community. When a card is scratched or somehow has bad chemistry with its reader, it can fail its parity check, a common software error detection technique. The addition of the layer of plastic above the magnetic strip dampens the magnetic noise that is responsible for the bad reading. A piece of scotch tape reportedly works well, too.

For 16-digit Visa and MasterCard numbers, the parity check algorithm looks like this:

  1. Add up the digits in odd positions (i.e. 1st, 3rd, 5th, …, 15th) and multiply the sum by two. Call the result ODDSUMDOUBLED.

  2. Add up all the digits in even positions (i.e. 2nd, 4th, 6th, …, 16th). Call this result EVENSUM.

  3. Go back to the set of odd-position digits that you added up in Step One. Count how many of these digits are greater than 4 and call this BIGODDCOUNT.

  4. Add up the numbers calculated in the first three steps. Call the sum CHECKSUM:
    CHECKSUM = ODDSUMDOUBLED + EVENSUM + BIGODDCOUNT.
    CHECKSUM must end in “0”. If it doesn’t the credit card number is invalid.

The card's final digit is called a check digit and is there is only one value for it that will enable the validation to work. Find a more detailed description at Anatomy of a Credit Card. If you are exceedingly curious or perhaps a sodoku fiend, pull out your wallet and validate your own card.