I don’t have a lot of money to invest, but we’ve got some RRSPs, and the company has a little money from the sale of digitalisland.com several years ago. My accountant has just suggested meeting with an “investment advisor” to discuss where this money sits. In getting back to him, I tried to express my investment philsophy; here’s what I told him:
I have no interest in investments that are stock market-related, so mutual funds and stocks are out. I don’t know enough about bonds to understand what I’d be investing in and what the risks are, but I’m open to learning. As you know, the Reinvented Inc. investments and my existing RRSP are both in Metro Credit Union GICs at present. I’m comfortable with them there, but I understand that I’m earning less interest there than I would otherwise; if there are other vehicles that would share about the same level of risk, and would also involve investing in my own community, I’m open. That said, I’m not interested in spending a lot of time on this, and I’m generally averse not only to risk, but to investment advisors.
I say this here in public only to declare that it’s possible to live a good and happy live without having anything to do with the stock market, which I consider to be inherently evil.
I’m probably more on the “needlessly stupid” side of the fence on this, of course. But I do have the benefit of having had to expend exactly no effort thinking about investing for the past 10 years. As such, I didn’t profit from the bubbles, but nor did I stress out over the crashes.
I think it’s a good idea, on HTML forms, to focus the cursor on the first field on the form. This means users won’t have to click in the field before starting to fill in the form.
I think it’s a bad idea to have the cursor automatically jump from section to section of multi-part fields, like area code and telephone number. While this might seem like “doing the user a favour,” it’s disconcerting, and because we’re all used to using TAB to jump from field to field, we’re more likely to jump one field too far. It also causes problems with making corrections.
Air Canada is the worst offender here: their prompt for a 3-part Aeroplan number is programmed to automatically jump from part to part as it’s entered.
In the late 1960s, Ann Woodin and her family set off to explore the deserts of Asia and Africa in a convoy of VW Microbus and Land Rover. In all, their party included Woodin and her husband, their four sons (aged eleven through sixteen), and three friends of the family. Their nominal route was “Calcutta to Casablanca,” and their interest in deserts appears to have stemmed from their work and life in Arizona.
Despite my strong interest in long driving expeditions, I couldn’t quite bring myself to read this book all the way through. There were two main reasons for this, both stylistic.
First, Woodin is an overly self-reflective writer, and the book is filled with passages like this one from the closing chapter:
If I am unconscious of my own inner being, can I perceive what is and speak out of that with a true voice? Unaware, I cannot live things out in flesh and blood, and I will have to steal images from other eyes and talk in borrowed voice. In the darkness of an unrealized spirit, I will continue being confused, fearful, grasping.
One can only take so much of that until it feels like being pummelled to death by words.
More frustrating still is Woodin’s style for relating the journey: rather than an integrated, meaningful story of a long voyage, what we get is a rather disconnected series of vignettes. One day they’re in Cambodia, the next day in Bangkok, and there’s no suggestion as to how they got from one place to the other. To add to this confusion, each dated sub-chapter is titled for the night’s destination rather than for the subject of the day’s activity, which makes it difficult to tie together what’s already disconnected to begin with.
The expedition began in Tokyo, and headed west from there to Hong Kong, Cambodia, Bangkok and Calcutta by air, and then from Calcutta west overland:
Our last day in Calcutta is ending. The boys are listening to Indian classical music which sounds, in parts, like rock and roll. Bill and the Latifs are examining maps. And I am thinking of our vehicle parked in the driveway. We have christened it the Sand Fish in hopes that it will prove as able to survive in the desert as the lizard of that name. The new cupboards have been filled with food, the water tank with twenty gallons of boiled water, the gas tank with gas at a dollar per gallon.
From Calcutta, they travelled to Agra, Delhi, Kabul, Meshed, Baghdad, Amman, Jidda, Aden and, Nairobi. After a break of two months in Switzerland (reached by air), they went on to Athens, Cairo, and through Libya to Algeria where their desert journey ended at Casablanca.
Over the course of the journey various members of the party drop in and out — certain children go off to study, family friends leave and rejoin, and so on. The author is the only constant, for she is with the journey from beginning to end.
Despite the stylistic problems, which make an enjoyable read through of the book next to impossible for all but the spiritually attuned, the notion of picking up a large family, including 4 teenagers, and heading off across Asia, is a brave and intriguing one, and perhaps it’s the possibility of doing so, rather than the details of the voyage itself, which is where the real value of this book lies.
In the Circle of the Sun was a gift from my friend Gary the bookseller, in December of 2002. It was formerly resident in the Colonel Gray Senior High School Library in Charlottetown, where it appears never to have been checked out. It is out of print, but used copies are available from Amazon.com.
From today’s National Post comes the following clip, from a story titled “Maid to order” by Deirdre McMurdy:
Is this true? Maybe Catherine and I are missing out on something!
I’ve begun a series of reviews of books about expeditions over in the Reinvented World weblog. I’ve started off with Offbeat in Asia and will quickly follow with others.
In 1958, Michael Alexander and his partner Diana (pictured here) journeyed from Istanbul, across Turkey and Iran and into Afghanistan. Alexander published the tale of their journey in the book Offbeat in Asia: An Excursion in 1960.
Although there is precious little practical information in the book — none of the detailed information about motivations, vehicle, sponsors, gear, etc. that one finds in other expedition accounts — the nature of the tale suggests they took a rather casual approach to the trip, viewing it more as a “jaunt” than an “expedition.”
Their vehicle was a 1951 Land Rover, purchased “in the upper reaches of the King’s Road for £265,” and appears to have been quite reliable but for the need to repair tires at regular intervals (in contrast to the Oxford-Cambridge Expedition Land Rover which, if memory serves, used only one set from London to Burma).
The book starts where the expedition does, at the Istanbul Hilton. Alexander calls this “the best hotel in Europe,” and the first chapter goes on at some length about its wonders:
All this and more inside was heady stuff to two ingenuous travellers just in from the dusty. bumpy road through Yugoslavia and Salonika, an eight-day journey from England that might have been accomplished in six had we not lingered by the blue Agean. Finally installed at the Hilton we were tempted to surrender body and soul to so comfortable a cathedral of materialism…”
From Istanbul, they travel to Ankara, Tabriz, Teheran, Babul, Meshed, Herat, Kabul, Bamyan, then back to Herat, through Teheran, and back to Istanbul:
The tale finishes as it started, at the Istanbul Hilton, and closes with a note about the trusty Land Rover:
The only thing that failed to recover was the car, owing to its being driven from Greece with a holed radiator and a broken fan. It was a total wreck by the time it reached Dover, where it was ignominiously pushed off the boat and sold to a scrap dealer for £50.
While perhaps not as useful as other books for those looking for practical expeditioning advice, the book’s casual, breezy style does allow a interesting look at everyday Iran and Afghanistan; on arrival in Kabul, for example:
The social life of the town seemed to be centred on, or rather in, the rapidly drying-up river that ran through the middle: it was lido, lavatory and laundry — women washed, boys bathed, animals drank and performed their natural functions in its festering shadows. Behind was the bazaar, hiding as if ashamed behind the more pretentious buildings that line the three main streets.
I purchased Offbeat in Asia used at The Travel Bookshop in London in May of 2003. It is out of print, but copies are readily available from abebooks.com.
This may qualify as the single most complicated way to dial the phone ever created. However the end result — click on number in the Mac OS X Address Book and have it dialed for me — is quite neat.
Here’s what happens when I select the “Dial” mouseover for a telephone number: an AppleScript is called that sends an XML-RPC request to a PHP-based XML-RPC server that then, in turn, places the call by connecting, over TCP/IP, with the Asterisk Manager API, to my Asterisk PBX.
The end result is that the phone on my desk rings, I pick up, and my call is connected with the number I selected.
Here are the pieces.
The AppleScript Address Book Plug-in
Using this burger locator script as a starting point, I created an AppleScript called
AddressBook2Asterisk [hint: on a Mac, simply click on that link to open the script in Script Editor] that looks like this:
using terms from application “Address Book” on action property return “phone” end action property on action title for p with e return “Dial” end action title on should enable action for p with e if value of e is missing value then return false else return true end if end should enable action on perform action for p with e set telephone to value of e set resultList to DialOut(“peter”, “secret”, telephone) return true end perform action end using terms from on DialOut(username, password, telephone) tell application “http://www.serverurl.com/directory/asterisk-dial-xmlrpc.php” return call xmlrpc {method name:”asterisk.dial”, parameters:{username, password, telephone}} end tell end DialOut
The XML-RPC Server
This AppleScript calls an XML-RPC server called asterisk-dial-xmlrpc.php, written in PHP, using the Useful Inc. XML-RPC in PHP code running on my webserver.
The XML-RPC server accepts three parameters from the XML-RPC client called from AppleScript: username, password and telephone number. The username and password are the same as in /etc/asterisk/manager.conf. This affords some measure of security, as it means that without the username and password, arbitrary calls to Timbuktu can’t be made by others (note, however, that the password is sent cleartext, so you should take precautions if your client and your server aren’t local to each other and behind a firewall).
Dialing the Telephone
Assuming the username and password are correct, the PHP script then, using a snippet of code found here, connects directly with the Asterisk Manager API via TCP/IP on port 5038, and originates the call.
And that’s it: select “Dial” and the phone rings and the call connects.
Why XML-RPC?
You may wonder why I complicate things by using XML-RPC to communicate from AppleScript to Asterisk rather than simply connecting directly to the Asterisk Manager API from AppleScript. Simple answer is “I couldn’t figure out how to do that.” More subtle answer is “creating the XML-RPC server means I can dial the phone from anything in the world that can talk XML-RPC.”
I’m not a master, or even a journeyman, at AppleScript, XML-RPC or Asterisk, so I welcome commments on improving the code.
One of the perils of running your own open source PBX is that a lot of the things that you can “just assume” about running a phone system you have to remember to think about with Asterisk. For example, today I was experimenting with the Asterisk Manager API and used it to open a channel to my outside POTS line. I then got distracted, and forgot to “hang up” the channel, so the line stayed “in use” for 3 or 4 minutes until I realized the error of my ways.
BTW, the solution to the immediate problems was to connect to the Asterisk CLI, and issue the command “soft hangup Zap/1-1”.
My friend, and Zap Your PRAM speaker, Art Rhyno has been named Academic Librarian of the Year by the Ontario College and University Library Association. In Art’s field, this is like winning the Oscar for Best Director. Congratulations, Art!