Sunday, March 29, 2009

The big chill

"The big chill", one of my favourite films, was broadcast last night on television. My family dismissed the film, saying that it consisted solely of a bunch of people sitting around a house and talking. I pointed out that occasionally they leave the house, in order to attend a funeral, to play football, to go shopping and to throw out the trash, but the family were unimpressed. As it happens, I hear the same criticism about Woody Allen's films, "a bunch of people sitting around and talking". Nothing ever happens.

So what? Surely these films are more like our lives than "Kill Bill", for example, or any adventure film. Obviously our lives don't make very compulsive viewing.

It's fairly obvious why I feel so emotionally attached to TBC: I could be one of those people. I spent my university years living in a communal house, as did the seven stars of TBC, and felt very close to most of the people there. I was a member (and later, leader) of a group that we established in order to emigrate to Israel, and at the time, this group (and its purpose) was one of the most important things in my life.

As far as I know, no member of that group has committed suicide nor died, but then I wouldn't really know as I am not in contact with any of the members any more. Most upped and left Israel after a year or two, and without that connecting thread, our lives had nothing in common any more.

I didn't feel betrayed by these people's return to Britain, but I did feel sad that several beautiful friendships were now over. Had those people been deceiving themselves all the years in thinking that their future home was in a kibbutz? I am sure that everyone had suitable reasons for leaving.

Anyway, TBC reminds me of what might have been: a group of friends, 15 years on from the crux of their friendship, trying to come to terms with why one of them committed suicide. "I would have helped had I known", says someone towards the end (I may not have the exact wording), but another character casts doubt on that statement, and I tend to agree. What could we have done? We might have known each other reasonably well (or so we thought) a long time ago, but people change over the years.

After complaining loudly, my wife agreed to watch TBC from the beginning, and so maybe understand the film, instead of watching bits taken out of context.

Sunday, March 22, 2009

Left/right hemisperes of the brain

I've been traveling fairly frequently in the past few weeks, and my companion in these trips has been the book "A whole new mind" by Daniel Pink. After explaining what the left and right hemispheres of the brain "do", the book argues that most people can "do" left directed activities, and that in order to get ahead and be employable in this day and age, people must now embrace the functions that the right hemisphere runs. According to Pink, we are no longer in the Age of Information, but rather the Age of Conception.

I am a typical left-directed person, and in the past few weeks I have been required more and more to exercise those left directed characteristics which make me very important to my company. Even though there is an economic squeeze and people are being made redundant all across the board, I can't see my position being outsourced, neither to someone in Israel and certainly not to someone in the Far East, with whom contact is electronic. My industry is still based firmly in the mid-20th century, where a knowledge worker such as myself needs to interact face to face with people (especially managers).

I try to work on right-directed functions in my non-work time; music and literature are good examples of this, but I notice that when I create music, I tend to do it in a left-directed manner (stylised, computerised, very structured) and not in a right-directed manner (free flowing, live playing, improvisation). I have never been comfortable playing over one never-ending chord and much prefer an interesting chord sequence to stimulate my brain. There is much connection between mathematics and music, and the structured type of music which I play is much more 'mathematical' than free jazz, for example.

Most of the non-fiction books which I have been reading in the past six months are connected with the brain, in some way or another. Examples include Martin Seligman's "Learned Optimism", Daniel Goleman's "Social Intelligence" and John Medina's "Brain Rules". Am I becoming a better human being after reading these? Unfortunately, the answer is no. I am too entrenched in my ways, and the needs placed upon me (at work) don't allow (or require) me to change. Couching my response in Darwinistic terms, there's no need for me to develop extra capabilities because I don't need them in order to survive.

I believe that the current economic crisis is going to reverse several of the advanced trends which have been occurring in the past few years (not so much so in Israel), and that workplaces are going to revert to more traditional forms. Social intelligence is always required, but I don't need it that much (although I would like to have it!), as I don't manage people and generally work alone. I would like to be more optimistic, but Seligman contends that workers in the financial and computing areas have to be more pessimistic than salespeople (who are the biggest optimists). Pessimists see things more clearly, and my job demands that I see things as clearly as possible.

Tuesday, March 10, 2009

Share with you (continued)

After a few more days of cogitation, the new "Share with you" has been uploaded to Soundclick.

Over three days, I recorded vocal tracks which were ok, but not wonderful. The problem, I realised today, was that the close harmony in the second verse was cluttering up the sound of the song and so I decided only to sing harmony on the "share with you" hook (not that's it's much of a hook).

As there is also a mini-modulation in the second verse causing me to sing very high notes, I decided to take the song down a key. At the same time, I decided to speed it up a little (104 bpm instead of 100).

Whilst in the mood for changes, I changed the introduction and also a few lines in the 7/4 solo.

The song still sounds basically the same as it did a week ago, but now I hope that it's better.

Sunday, March 08, 2009

Jackson Browne - a reappraisal

I first heard of Jackson Browne in the autumn of 1976. Until then (and in fact, since then) I had listened almost entirely to British music, but the music magazines of the day suddenly gushed enthusiastically about Browne, which persuaded me to give him a chance. I distinctly remember an excellent piece about him in Rolling Stone, but there were other articles as well.

I still remember walking to the Golders Green branch of "Our Price Records" (which was near enough my "local") and asking to hear Browne's latest (and fourth) recording, "The pretender". This album starts with "The fuse"; I heard the opening E minor chord and immediately knew which chord would follow (C). "The fuse" is actually a very powerful track, and on the basis of that alone, I bought the album. Although there were a few tunes which were a bit naff, I very much liked the album as a whole and so started a Jackson Browne binge which lasted several years.

I listened to "The pretender" again the other day and I have to admit that my opinion has changed somewhat. This is the most produced and arranged of the early Browne albums, qualities which can be both a good thing and a bad thing, especially as I gave up on his albums due to a serious lack of harmonic language. It's certainly much more varied than the obsessively monotonic "Late for the sky", which was its direct predecessor (I would like to think that Browne realised that he needed a little more variety in his music after LFTS and so turned to Jon Landau as his first external producer).

"The fuse" is certainly powerful in its execution, features several interesting chord changes and also some intriguing vocal stylings as well as a real instrumental performance. Unfortunately, it stands almost alone in the Browne discography. Both of the following two tracks come from different musical backgrounds, ones which I admit I do not like, and neither displays much in terms of harmony. "Here come those tears again" is a well-executed pop song, but not much more. "The only child" is another standout, as is "Sleep's dark and silent gate". At the time, the schizophrenic nature of "Daddy's tune" didn't bother me, but now it does. Again, an inventive arrangement, but Browne is forced to sing loud and this exposes the weakness of his voice. The eponymous title track which closes the album is almost a tour de force: on the one hand, it does have a lot going for it, but it too suffers from that generic LA sound which I dislike.

On reflection, the major culprit of my dislike would be Waddy Wachtel's guitar sound: a thin, anaemic, LA sound, far away from the bite of David Lindley's slide guitar (as featured on "The fuse"). Unsurprisingly, Lindley had been a major contributor to Browne's earlier albums, and would return for the following "Running on easy" album, recorded on the road (but not really a live album).

As monotonic as it is, Browne's third album "Late for the sky", with its Magritte inspired cover, has a run of three songs which are amongst the best he has ever recorded: "Fountain of sorrow", 'Farther on' and "The late show". But it is his 'sophomore effort' (as the Americans breezily term it), "For everyman", ironically composed mainly of songs written prior to the release of his first album, which is, in my humble opinion, the peak of Browne's achievements.

It's acoustic (except for a raucous (and disposable) "Red neck friend", featuring Elton John), it's lyrically inventive, it's highly melodic and it's also intimate ... which leads me to believe that that's how I like Jackson Browne: quiet, acoustic, melodic and bearing good lyrics. Some of the arrangements tend to the homogenous (the title track is an example), but some are outstanding ("Colors of the sun", "These days") and some are like meeting an old friend ("Sing my songs to me").

The fact that I have eight Browne albums on vinyl and only three on cd (of which only one gets played fairly regularly) speaks for itself.

Tuesday, March 03, 2009

Share with you (story of a complex arrangement)

I am working at the moment on sequencing a song which I wrote 31 years ago, called "Share with you". I had sequenced this about ten years ago, but thought it worthwhile to update the arrangement. As usual, I discovered that 50% of the notes should be discarded before importing into Reason.

This new version is more laid-back, as a result of slowing the tempo from 120 bpm to 100 bpm and by virtue of having less 'busy' parts. It is debatable whether this version is better than its predecessor, but it's certainly more contemporary.

There are sixteen bars in the middle which form an instrumental section. Previously, these bars had four different instruments playing different lines, and it sounded a mess in Reason. Use of 'Warfarin', the blood thinning compound and rat poison, was needed! My first attempt at sequencing this section kept two of the four solo lines, but I felt that something was lacking. A day or two later, I remembered an attempt I had made a few weeks previously to sequence something in 7/4 time. Whilst that attempt wasn't particularly successful, I felt that moving the instrumental sequence to this time signature would certainly make things interesting.

So change I did. This was technically awkward to do in the MIDI sequencer, so I ended up making a copy and discarding everything from the time signature change onwards. I then copied back and edited the rhythm guitar and bass parts, and when this was done, I imported back in the original ending. Then I had the pleasure of playing two solos in 7/4 time ... one I managed, but the other was elusive. I had another go at it last night, and for certain bars, the second solo is simply harmonising with the first, albeit a sixth lower. As the final bar features almost only triplets, this is quite awesome (triplets in 7/4 time, yeah!).

I had also produced a drum pattern by taking the opening two bars (of 4/4) and surgically removing the final beat, whilst adding an extra snare hit on the seventh beat. This was pasted in to its correct position.

This sounded ok in Reason, but still seemed to be lacking something. After trying a few unsuccessful ideas, I hit on using a drum loop for those bars. Now, all the drum loops which I have are either one or two bars of 4/4 time (I am still looking for loops in other time signatures), which theoretically are of no use whatsoever. If one, however, looks at the problem mathematically, then eight bars of 7/4 time are equivalent to fourteen bars of 4/4 - both have the same number (56) of beats/crotchets. So I pasted in seven copies of a two bar loop, and surprisingly the result sounds good. This is, in fact, an example of polyrhythms - seven against four.

An amusing coincidence: the bar number of the switch to 7/4 time is 74. What does this mean? Actually, nothing, as I always leave a spare bar at the beginning of every tune, and I could vary the length of the introduction. But the coincidence is too good to pass up!

I hope to record vocals at the end of the week and then post the resulting song at SoundClick.

Monday, February 23, 2009

Diet

I am at least 10 kilos overweight, and I want to get rid of that excess baggage. Unfortunately in the past few years I have developed the tendency to add weight instead of staying at about the same, and it's beginning to annoy me.

I read with envy one of Jeff Duntemann's postings a few weeks ago about how he was easily losing weight via diet. He certainly doesn't follow Jewish dietary law, and he also seems not to have any health problems which might dictate or at least influence what he eats. So his example, whilst encouraging, is not exactly useful for me.

My wife took me to a WeightWatchers meeting last week, which met in a rec hall in Bet Shemesh. There were maybe 30 people there, 27 of them women, and most of those were religious. There were even a few women from the kibbutz present. I heard the lecture but wasn't very impressed, especially the bits about nutrition. The lecturer's mantra seemed to be 'substitute protein for carbohydrate whenever possible, and if one must eat carbohydrate, let it have a low glycaemic index'.

I have tried to cut out as many carbohydrates as possible from my diet, but I notice that supper for the past few months has been two slices of brown bread toasted, along with a slice of low fat cheese. I also have a tendency to eat biscuits and cakes, and the only safe way I have found of avoiding this tendency is not to have biscuits or cakes in the house. As George Bush used to say, "Just say no".

The one proactive step which I have taken is to change my supper. Instead of toast, I concocted a mixture of tofu, tomato sauce, onion, bean sprouts and peppers, and cooked it all in the wok. This amount is enough for three meals. Tofu is supposed to be very nutritious whilst being a minimal source of calories, and so it would make sense to try and eat plenty of it. The only 'problem' is that tofu has no taste. This doesn't bother me very much as I prefer bland food anyway. I am also trying (and succeeding at the moment) to cut down all the little 'extras', which certainly add that little extra to my waistline.

After cutting down carbohydrates, the next target should be reducing the amount of fat. Even though I only use canola and olive oil, both of which are 'good' oils, they are still oils, and oils still produce more calories per gram than carbohydrates do. I use a little oil with the wok, but maybe some of this can be reduced. Otherwise, I'm not sure exactly where else I can reduce the amount of fat. The dairy produce which I eat (mainly yoghurt) is all low fat, so there aren't really any savings to be made there.

Doctors tend to talk more about exercise than diet, and I am trying to walk more with the dog and get the metabolism moving. Of course, I have many leg problems over the past year which have prevented me walking, but they all seem to have gone now, so no more excuses!

I weighed myself on Friday (and was appalled at the results), and I'll weigh myself again this Friday. Hopefully some weight will have been lost.

Thursday, February 19, 2009

Increased production

Again, a few weeks of silence, which normally means that I've been working hard. During January there were a few personnel problems at work which cast a very dark shadow over my future. Fortunately these problems have been resolved, and the past few weeks have seen me developing programs and reports, creating work procedures, instructing people, and generally moving the company forward (or at least, lessening the backwardness which was present in certain circles).

It's hard to be specific about what I've been doing because it won't mean much to someone outside of the company (and sometimes won't mean much to someone inside the company), but basically I see it as an end to the Dark Ages!

A web site which I read frequently is called 'The Daily WTF', which tells of "curious perversions in Information Technology". Normally the pages consist of badly coded procedures and odd error screens, but the other day a column was posted which spoke very much to my heart. Although I found the entire column very pertinent, I'll just quote one snippet:

It’s not easy to reconcile the fact that the software we write each and every day is, for all intents and purposes, mind-numbingly boring. Magazine subscription management. Medical billing reports. Realty inventory management. This is not the type of software that changes the world. In fact, it probably won’t even put a smile on someone’s face. Its sole purpose is to add to the bottom line by making other workers be more productive.

That's always been my goal: to add to the bottom line by making other workers more productive. My work of the past few weeks has been to make them productive, and to help them produce more correct work.

Thursday, January 29, 2009

The Goodbye Girl

At about one month preceding the Oscar ceremony, our satellite TV provider begins screening 'good' films (ie films which have proved themselves over time) as opposed to screening whatever is available and reasonably current. This month is a good month, as far as I am concerned, as I can record films which I have seen in the past and enjoyed, but which are never shown anymore.

The opening salvo was a few nights ago, on the 'arty' film channel (which normally shows French films): 1977's "The Goodbye Girl". I know that I loved this film when it came out, went to see it more than a few times in cinemas, and even bought a novelisation of it. But I haven't seen the film in the past 30 years, so this was an interesting opportunity to see whether the film was as good as I remembered it.

Instead of writing at length, I think that I'll just condense the points:
  • Richard Dreyfuss was spectacular and well deserved the Oscar that he won for his performance
  • Marsha Mason might have been considered good looking then, but now my tastes seem to have changed
  • The dialogue was far too sharp and witty to be considered realistic
  • The 'falling in love' part seemed incredibly quick. Thinking back, I'm not really sure why MM changed her tack from being an acidic bitch to being lovey-dovey. Presumably, it was seeing RD fail as Richard III aligned with his kindness at her desperation, but it seems to be more than a little contrived
  • The ending seemed too short as well
So: obviously I didn't enjoy the film as much as I did once. I don't know how I would have ranked GG against "Annie Hall", but I still enjoy the latter film, being full of great one-liners (actually GG has some good lines as well which I had forgotten over the years, but they came back to me whilst watching). Probably the most important thing is pace: GG comes over at a very fast pace, especially at the beginning, whereas the middle and ending seem to be too short. AH is more episodic, not really trying to tell a linear story, but it is also more relaxed.

Tuesday, January 27, 2009

Long time no blog

Generally, the times when I don't write anything here are the times when I am busy, or at least, involved in projects which take up most of my spare 'head space'. This last month has been no exception to that rule.

We (my occupational psychologist and myself) have been working on several new programs for our analytical suite. The one on which I seem to have spent the most time is a variant on an already existing program: the examinee is presented with a list of adjectives which describe a person (warm, caring, methodical, arrogant, etc) from which s/he is supposed to choose those which describe him/herself. A diagnostic is made from the adjectives chosen.

This time around we've improved several aspects of the program. I was never enthused with the user interface which presented 300 adjectives sorted alphabetically on a pair of components called TPageControl and TTabSheet.The program had to ensure that the user visited all six tab sheets before collating the adjectives chosen, from which the user had then to pick the ten adjectives which most described him/her. The adjectives themselves seemed to be picked at random, and there were several synonyms as well as opposites. The interpretation seemed to be unscientific.

The first task in creating an improved version was to winnow the list of adjectives, eliminating synonyms as far as possible and making the whole thing more stream-lined. The second task was to adopt an approach suggested by another psychologist, who divided personalities up into four groups (this is hardly a radical idea); everyone has elements of these four groups in their make-up, some more dominant and some less so. So from four groups are developed sixteen subgroups, which differ in the order of the various bases. To each of these sixteen subgroups are assigned the various adjectives; the idea is that we can quantify a person's responses according to which subgroup has the most adjectives chosen.

In terms of user interface, the program was completely rewritten. Instead of the clumsy existing interface, I designed a program (influenced by Internet exams) which displays screens of five adjectives, each displayed in what's called a radio group. The user can choose either "Describes me", "Doesn't describe me" or "Don't know" for each word, and of course cannot progress in the exam until marking all five adjectives. This is a bit long-winded as there are now just under 200 adjectives, but is very thorough.

All this work on personality describing programs has made me more aware of some of the personalities at work (aka 'the day job'). Unfortunately we have been having personnel upheavals at work, partially due to the economic situation, and lately I have been seconded (without my knowledge) for a few days a week to a manager whose style leaves something to be desired.

With all the psychological training which I am absorbing by osmosis, it's very easy to categorise this manager: very much an alpha male, very dominant, "my way or the highway", etc. Whilst he does have good ideas, they tend not to be compatible with an ERP system, and it's my job to try and fit those ideas, or business practices, into the confines of the ERP system. He runs a furniture (wood) factory, which tends not to sell standard items (such as Ikea) but items personalised according to a customer's needs, and of course such items are much more difficult to run via ERP. That's not to say that it's impossible, but simply more difficult.

I don't really want to go into detail about how the ERP system is run (or not), just to say how non-standard it has become. Due to the economic problems, the senior management wants more control or knowledge about what is happening in this factory (Are our orders profitable? Stock control? Export costs?), and the non-use of the ERP system has made such questions difficult to answer. Hence my seconding to try and improve things.

I, however, was ignorant of the senior management's desires, and so the first two meetings with this manager and his cowed team have ended in frustration, anger and insult. In the book "The soul of a new machine", there is reference made to the process of "signing up", ie getting people to work hard on something because they want to. In my after-hours job as a programmer and assistant psychologist, I signed up long ago, and my employer knows how to motivate me so that she can get better programs. When this sort of thing works, there is definitely a process of synergy.

As opposed to this, the manager of the furniture factory does not know how to sign people up, and manages mainly to get work from his people by threatening, shouting and doing the work himself. This approach does not work well with me, hence the anger and frustration. In desperation, I approached the senior manager who is responsible for the computer department, and poured all my frustration out. Whether deliberate or not, she does know how to sign people up, for at the end of the meeting I found myself agreeing to doing what had been demanded of me.

Sunday, January 04, 2009

Another day, another RDBMS

I had been thinking about transferring one of our computerised exams to a database system (RDBMS) other than the Borland Database Engine (BDE) and so tried using Firebird. Whilst this system works (of course), it seems too much like overkill for the project. There is also the small matter of rewriting the application, as the methods of accessing the data are somewhat different in FB as opposed to BDE (because the components which I used - dbExpress - support only unidirectional cursors with no buffering).

The other day I was playing around idly, trying to write an on-the-fly database component using the TClientDataSet, which would read its data from a disk file into memory, manipulate the data (even add more data) and then write the data to disk on program end. Whilst this is a nice demonstration of something, it doesn't really help my project, as this system seems to be limited to a single database table.

Then I started googling "single file databases" and came across this link to "EasyTable - [a] single file embedded database, a BDE replacement for Delphi and C++ Builder". What could be better? So I checked the site, downloaded the demos and a few utilities, ordered a trial key to unlock the library and started checking out the demos.

After a few false starts (and a slightly misleading email from the support team, which at least pointed me in the correct direction), I was able yesterday to convert my 'cinema/dvd library' program to work with EasyTable. The conversion went extremely fast, limited only by my ability to type and to click on components. This program has a few slightly advanced SQL queries, and EasyTable absorbed them without complain. As far as I could see, there was 99% compatability between BDE and ET on the component level (no unidirectional cursors), but ET does not seem to support a datamodule.

Well, not quite. I discovered that certain code would not work while I was in design mode but worked perfectly well when the executable file was run on its own, outside of Delphi. This doesn't make sense, so I've written to the support team again to hear what they have to say about this.

The reason why I am evaluating ET is that I want one of my applications, which uses several tables, to have those tables embedded in the executable file. ET will definitely support this, although it's not clear exactly how I am going to test this. I imagine that I will write a function which tests whether the database has been appended to the executable, and set a file path name variable on the basis of this result. The various queries will then use this path name. Had ET support for a data module, then I only need call this function in the dm and set the correct value in the database component to which all the queries are connected. It looks like I will have to set each query separately, which is a bore but not too bad.

Apparently the database also becomes closed and read-only when it is embedded. I can think of times when this is not appropriate behaviour, but in the case of the computerised exam which is to be distributed to clients, it is exactly what I need. EasyTable produces single user tables, so it will be of no use for the 'results' or 'administration' programs, which run from two different computers.

So: it looks like Firebird is out, until I find a real reason to use it. EasyTable is in, but only for special cases. With no reason to change, the BDE will stay the dominant RDBMS until it has to be changed to Firebird.

I still have to decide which one of three 'cinema/dvd' programs I will use, but that seems to be the least of my worries. As at the moment I have more data in the FB version, I think I'll stay with that.

Thursday, January 01, 2009

Most blogs are full of 2008 summations and 2009 resolutions

Most blogs are full of 2008 summations and 2009 resolutions. Here in Israel, the passing of the civil year isn't much of a big deal; celebrations are held mainly by the Russian immigrants, and certainly not by those who live by the Jewish calendar. I have a joke which only makes sense to the financial population: What's the longest day in the year? Most people would answer June 21 (or is it June 24?), but the real answer is 31 December, because financially that day seems to last for a week if not longer, as everyone tries to complete all financial transactions in the closing year.

Businesses do stock-taking on 1 Jan, but as we have learnt to our cost, the Russian workers are normally not in a fit state to count stock on Jan 1 (nor count anything else save for the amount of aspirin that they need to take), so we delay it for a few days. I'm at work, basically 'on call' if anyone needs anything, but otherwise it's very quiet here.

31 December brings to mind the sleeve notes to Van der Graaf Generator's "Least We Can Do Is Wave To Each Other" album, which were written on 31/12/69, thirty nine years ago ("Well, it's the last day of an old decade; tomorrow we can start anew" - PH). I've been listening to that album recently, and I have to say that it has worn the years very well. VdGG had a habit of making records with very strong 'A' sides and less strong 'B' sides, and LWCD is no exception to that rule. Opening with the double punch of 'Darkness' and 'Refugees' (immediately displaying the two diametrically opposed poles of VdGG music) and following up with the incredible menace of 'White Hammer' (which also has an optimistic ending), that first side was a real jaw-dropper.

On the other hand/side, 'Whatever would Robert have said' is neat, but doesn't have the anger or menace of 'Darkness'. I love 'Out of my book', complete with its metrical games, but this is more of a throw-back to an earlier incarnation of VdGG, even if it was partly composed by David Jackson. The closer, "After the flood", always seemed to be over-theatrical, short on lyrics and over-exaggerating its punch; I have to admit that whilst listening to it again, my appreciation of its musicality has increased - 12 tone music, indeed!

It is also instructive to compare LWCD to a similar, almost debut, record released a few months earlier in October 1969 (not that I was aware of this at the time; my first listens to this record and LWCD came at around April or May 1970): "The Court Of The Crimson King". Widely claimed as the first progressive record, it certainly had a huge impact at the time, but I think that it hasn't worn well.

There's no arguing that "21st century schizoid man" is a one of its kind piece, the mind-blowing middle section compensating for the simplistic verse section. But of the rest... "I talk to the wind" is pretty but not progressive (as is "Out of my book"), "Epitaph" is massive, huge, but also harmonically simple, "Moonchild" is best not talked about, and the eponymous title track I find to be pompous, overblown and over-rated.

I don't want to be cynical, but one 'progressive music litmus test' is whether my wife can listen to a track; if the answer is 'yes', then the track is not progressive. I would never dare to play her LWCD, but ITCOTKC can be played at will, albeit without the opening track. "Epitaph" has even found its way onto one of her compilation discs (but not "Starless", which starts off as an Epitaph homage and ends up somewhere else entirely).

As far as I am concerned, LWCD is far better than ITCOTKC, and it is a shame that fewer people recognise its importance and value.

Monday, December 22, 2008

Firebird flies

Yesterday and today I converted my 'cinema/dvd library' database program to work with Firebird. Like everything else, at first my steps were hesitant, but by the end, the conversion went quickly. I was even able to revise parts which I had already converted.

As opposed to the first program which I tried to convert, 'cinema' is mainly a data-out program. Getting data out of a database is always easier than entering it, and the speed of conversion reflected this.

There was only one minor sql syntax change needed: when I was using the BDE, if I wanted to sort by a calculated field, I would have to use an alias:
select actors.id, actors.name, count(castlist.film) as cnt
...
order by cnt desc

This doesn't work with dbExpress/Firebird, and has to be expressed as
select actors.id, actors.name, count(castlist.film)
...
order by count(castlist.film) desc


Thursday, December 18, 2008

BIts and pieces

The most important part of a television is its remote control. This has been brought forcefully to our knowledge over the past fortnight, ever since our remote stopped working. Such things didn't matter when I was growing up, as in those days we had only three television channels which could be hand tuned. Now we have over forty, plus AV inputs for dvd and video. It's impossible to get the tv to use those AV inputs using the manual controls. Fortunately today I finally got a replacement remote, and hopefully it will work with our tv.

On the way to get that remote control, I walked several kilometres in Tel Aviv. We are near the end of December, and the temperature was around 25 degrees Centigrade! I read an entry in Jeff Duntemann's diary about the temperature being minus 6 degrees - and he's using Fahrenheit. This works out to around minus 20 degrees Centigrade! There's a bit of a difference in temperature between where he is (Colorado) and I am (Israel).

But as we know, temperature is only a relative sensation: we can only say whether things are hot or cold, as opposed to saying 'hmm, it's 16.4 degrees in this room, better turn the heat on". So when I wake up in the morning and move from a warm bed into a cold living room, I only know that I am in a colder environment, and rely on the thermometer to tell me that it's 16 or 17 degrees. That could be the temperature of someone's warm summer day.

Tuesday, December 16, 2008

Firebird/2

After writing on Sunday that I had 'cracked dbExpress', I went home confidently and tried duplicating Dr Bob's code. Nothing worked, and I got the same error messages as I had been getting previously from my own code.

Yesterday I looked at my code and Dr Bob's again, and eventually found what the secret ingredient was. It transpires that my test databases had been defined as 'sql dialect 1', whereas I was trying to access them as 'sql dialect 3'. Dr Bob's code used 'sql dialect 1', which is why it worked.

Following this eureka moment, things really did start falling into place, and I spent another hour or so tidying up code and trying different possibilities. I still have a few more ideas to check out which hopefully will make the code slightly more efficient.

Sunday, December 14, 2008

Firebird

One of the programs which I have developed for my occupational psychologist needs to transfer relatively large amounts of data around the network, as it is retrieving pictures from a database. We have found that it is possible to work with this program only if the data resides on the same computer on which the program is running. This is not acceptable as we ideally want an administrator to update the 'clever' parts of the program from one computer, a secretary to enter new people's data from another computer, and people to sit the program's exams from other computers. Eventually we even want the program to work as standalone (I managed to convert our other programs to standalone by using stringtables).

Enter Firebird. This is a sql database manager (RDBMS) which can run as an embedded application, and so theoretically solve all our problems.

Downloading and installing the RDBMS was very easy, and within minutes I had set up a simple database, with the goal of accessing this from a Delphi program. Then the fun began.

I tried different sets of components before settling on the dbExpress set (to be honest, I could have stayed with the InterBase component set which comes with Delphi 7, as this seems to be equivalent). Unfortunately I couldn't find much documentation, and whatever sample programs I did find worked in such a way that all the data from a table was downloaded whenever a query was opened. As this seemed to be the complete opposite of what is needed from a db program (download as little as possible), these samples weren't much use.

I managed to cobble a program together which actually worked, but this required a fair amount of coding (especially coding insert and update queries) as opposed to letting the components do their work automagically. There had to be a better way, I kept telling myself.

Eventually I stumbled on some code by Dr Bob (not the Muppet), which at least showed the way to writing the code which I wanted. There was still a certain amount of work which I had to do myself, but eventually I nailed it. Now I have working code which can either insert a new record into a table, or take an existing record and edit it, posting the results back to the table.

Now this task is done, porting my application from BDE to Firefox will be fairly easy, if tiresome.

Thursday, December 04, 2008

Learning to walk

I've been going to physiotherapy twice a week since I recovered sufficiently from my accident. Most of the time, the treatment is "traditional" - massages and exercises of various kinds. Most weeks, the flexibility of my left foot is measured with a tape measure, which gives an idea of how much progress is being made (it seems that in the past week I have made negative progress).

This isn't to imply that everything is traditional: today I spent six minutes on an exercise bicycle, pedalling at just over 20 kph, and so managed to "travel" a shade over two kilometres. During most visits I also have ultrasound treatment; as opposed to the kind of ultrasound with which the body is explored (not only during pregnancies; I had a chest ultrasound a few months ago), this kind warms up the muscles within. To misquote an advert for beer from my childhood, it reaches muscles that other kinds of treatments can't. Presumably these treatments do have some effect although it's not obvious.

But today we made the leap into the 21st century with a neat piece of medical technology. In order to measure how well I am walking, an inflatable sole was inserted into my shoe. This sole has pressure sensors within, and is connected to a control box which was strapped to my leg with velcro. In turn, this box transmitted its telemetry to a nearby computer. When walking, one places pressure first on the heel and then on the toes; the apparatus measured how much pressure I was applying to these two areas.

Walking 'normally' with the apparatus showed that I was applying 100% of the 'normal' pressure on my left heel but only 50% of the normal pressure on my toes. The apparatus was then switched into learning/feedback mode, which meant that it beeped whenever I applied the correct amount of pressure on my toes. Whilst walking in this mode, I realised that I had been pressing my heel and then the arch (the area just before the toes) on the ground, but not the toes themselves (because it still hurts slightly). In order to get the apparatus beeping, I had to walk making sure that I touch three areas on the ground: heel, then arch, and then push off with the toes. After a few practice runs, in order to learn the new technique, the apparatus was put back into diagnostic mode; my heel pressure had reduced to 80%, whereas my toe pressure had increased to 80%.

I am reminded of an incident in a book by Robert Silverberg called 'The second trip', in which a 'newborn' soul is transported into an adult body. In the first few pages, the character has to teach himself how to walk in a foreign body, and he strides down a boulevard muttering "heel and toe, heel and toe". In real life, we learn how to walk in the second year of our life, and the technique becomes imbedded in a neural pathway, allowing us to perform the action without thinking about it again. So for the next few days, I am going to have to walk with a conscious style, in order to teach my brain what to do.

I have to reburn that neural pathway and teach myself again how to walk properly.

Sunday, November 30, 2008

Criminal Justice

We've been watching the television series "Criminal Justice", broadcast here only a few months behind its original broadcast in Israel. So far we've seen three episodes out of five, so I'm not looking at that wiki page to see how the whole thing turns out.

I actually had a nightmare about this programme last week, and there was another part in the third episode which gives me the chills whenever I think of it. I don't remember being so frightened by a television programme since ... when I was maybe seven or eight and used to hide behind a chair whenever the Daleks would appear on Doctor Who.

Prison seems to be frightening, not so much because of the lack of personal freedom (and hey, no one will be telephoning me to ask how to do such and such) but because of one's fellow prisoners. Maybe one should ask for solitary confinement; as it is, I'm quite capable of making my own pleasures so the solitary part wouldn't necessarily be too frightening.

Thursday, November 27, 2008

Achievements

Work can be frustrating at times. Sometimes it's my fellow workers who frustrate, sometimes it's my work, and sometimes it's the lack of recognition.

Yesterday was a very good day at work for me, according to my metrics. I developed within our ERP program a module (well, a data-entry and retrieval screen) for monitoring commissions paid to architects, helped someone narrow down a report to contain data only about the customers she's interested in, finally figured out how to send a message to one user when any other user performs a certain action, and created a procedure which corrects the foreign currency exchange rate in copied price quotations.

The problem is that virtually no one understands what I do, and if they do have a glimmer, then they only see the results and not the work and time invested. And that can be very frustrating.

But I have to be my best critic, and applaud when I do something good (and criticise when I do something wrong). Sometimes that good feeling can last for more than an hour.

Saturday, November 22, 2008

Surreal moment

Whilst watching an item broadcast on Israel TV Channel One news last night, there were a few surreal moments. The item itself was a rather muddled feature on the wife of the President of Iceland, who is an Israeli born in Jerusalem. As it happens, I had read an article about this lady beforehand, so I was aware of her background.

Anyway, during the broadcast, the incidental music switched to pizzicato strings, and after a few bars, I was able to identify it as "Song of the Gulls" from King Crimson's fourth album "Islands". This was fairly surprising, but - how can I put this? - possible, as SOTG is quasi-classical and doesn't stick out like a sore thumb. A few minutes later, though, it became clear that whoever edited the item must like "Islands", as suddenly part of the guitar solo from "A sailor's tale" (also from that album) was heard! This is something which I would never play in polite company.

Whatever could be next? The weather forecast accompanied by the instrumental section of "21st century schizoid man"?

Tuesday, November 18, 2008

Lonely at the top

The big musical event of the year - in fact, the event of the year - for me was supposed to have been Randy Newman performing in Tel Aviv. The concert was set for November 23, I had bought tickets, I had followed the set lists of his performances during an American tour preceding his European tour ... and then the tour was canceled for health reasons. During the tour, Randy had confided that his right arm was giving him a great deal of pain, and this obviously was bad enough to enforce rest.

I had been very excited when the concert was announced (at the beginning of October) and then my enthusiasm died down, waiting to be revived before the concert. So at the time of the cancellation announcement, I wasn't jumping up and down with excitement, and so the cancellation didn't cause me to slash my wrists in disappointment. Maybe the man can reschedule for next spring. If it's been nearly 20 years since his last appearance in Israel (Jan 1989), I can wait a few more months or years.

The timing of the American tour was very apt as it allowed airings of a song rarely played by the man: "Mr President (Have pity on the working man)". America in late 2008 is obviously similar to America in 1929. "A few words (in defence of our country)" is also a song which quite possibly could disappear from the set lists, and I have had arguments regarding the future of "Piece of the pie": at the moment, the rich are not getting richer but are losing more money in the stock market than those who don't have any savings.

In anticipation of Randy's visit, I dusted off a set of recordings which I had made in 2001, "Newman sings Newman", which preserved for posterity my take on 13 Randy songs. Listening to this with fresh ears, I was saddened to realise that half of the vocals were out of tune, and those that weren't sounded as if they had been recorded onto cardboard. Whilst the arrangements were ok, the instruments sounded on the hokey side. So I took it upon myself to rerecord the entire record.

This actually went extremely fast as the arrangements were good and simple. I would take a song, make a few changes and corrections, import the MIDI file into Reason, choose some instruments, create a sound file and then sing over it. In most cases, I needed only one or two vocal takes to nail a song, and most songs were completed within a matter of hours.

Listening to the new recordings again, I realised that most were competent but not outstanding, and so decided to improve my take on "Lonely at the top". One evening was spent changing the instruments - the original version was very brassy, and I decided to soften it up. Yesterday evening was spent tuning the arrangement, inventing new instrumental lines (I had been fairly lazy originally) and changing the ending, which now owes a lot more to my style of harmonic thinking than to Randy's. I need to do another mix, as the ending still sounds a bit too abrupt.

I also needed to duplicate the final sung line, "Oh, it's lonely at the top"; I located this line in my vocal file, isolated it, created a new file with just this one line, reversed the stereo, and slotted it in at the correct point. I find this kind of editing fairly hard, but yesterday luck was on my side and the entire process took only a few minutes.

Saturday, November 15, 2008

Adele


Way back in June, I wrote the following: "Unfortunately, the song which I liked isn't on the record, which makes me wonder whether it was really her [Corinne Bailey Rae]. Every time I've tried searching for certain key lyrics in the song (I'm sure that she sang about "chasing paper"), I've found myriad references to The Beatles' "Two of us", and none to CBR."

I heard this song again on the radio and listened closely to the lyrics. It's not "chasing paper" but rather "chasing pavements", and armed with this information, I quickly tracked down the song's performer. Also a young British girl, albeit several years younger and living in London, as opposed to Leeds: Adele.


I like this song a lot, although I'm lukewarm regarding the rest of her record.

Friday, November 14, 2008

Wok

I purchased an electric wok about two months ago, but for various reasons I haven't had a chance to use it until this week. Before cooking a 'real' meal with the wok, I decided to have a practice run, heating up the leftovers of what was supposed to be a variant of Lancashire HotPot.

I read a fair amount about cooking with woks, and have developed the following rules:
  1. Heat the wok as hot as possible, so that oil placed within begins to smoke
  2. Cut the food to be cooked into small pieces so that it cooks quickly
  3. Put the food into the wok in the order of how long each item takes to cook- ie put the item which needs the longest time first
  4. Prepare everything before beginning to cook. Once the first item is in the wok, there is no time to prepare anything else.
Bearing these rules in mind, I took the potatoes from the hot pot (which unfortunately were slightly under-cooked) and diced them prior to placing them in the wok. These went in first, and after they had turned brown, I added the rest of the hot pot. The resulting dish was probably better the second time round than it was originally.

Tonight I cooked chicken and vegetables from scratch. Taking into account the fourth rule of wok cooking, in advance, I sliced a breast of chicken into small cubes, put it in a plastic container, added breadcrumbs and ground ginger, put the top on the container, shook it vigorously for several minutes and then put it into the fridge for an hour. I then diced half a green pepper, half a red pepper, half a yellow pepper and onion, to which I added drained sliced mushrooms. The vegetables sat in a bowl until I was told that it was time to start cooking.

I poured a little canola oil into the wok and turned the heat on full. When I saw vapours beginning to rise from the wok, I poured in the chicken pieces; I allowed them to sit for about 30 seconds and then started turning them. After about five minutes, I then added the vegetables and a little more oil, all the time stirring the mixture. After about another five minutes, the food was ready to serve, along with rice which I had cooked in the time between preparing the vegetables and heating the wok.

The result was a tasty, light and clean meal. A good cook learns from experience, but I'm pleased to say that this dish went very well and leaves little to be improved. I should point out that I am trying to use Chinese cooking techniques but with variations which suit our palate. So there'll be no forbidden foods (pork, shrimp, etc), no chili peppers, no soy sauce, and so on.

What I do need is a good spatula with which to turn the food. I'm using a wooden cake spoon but it's a bit awkward. I need something flatter and wider than the spoon so that I get the spatula underneath the food being cooked.

Wednesday, November 12, 2008

Seasons - a song

A songwriter naturally considers his last finished song to be one of his best - otherwise the song isn't finished. I wrote the following song at the beginning of October, echoing my feelings of how the summer and winter aren't productive seasons, but rather time which one has to survive. The music is very strong too. The song can be heard at my Soundclick page.

Seasons

Summer; and the languid sun tries to melt our limbs
Horizons shimmer in the heat, frustrating all our whims
Distractions come in so many forms and in so many ways
And so we wile away all the months and all the days
Weeks slip into weeks, slide through the undertow
Come the season’s end, there will be nothing to show

Winter; and the feeble sun fails to warm our souls
The squashed days cause an endless night at the northern pole
Cold drizzle is the constant companion and forces one
To seek shelter before one starts to get work done
Numbed fingers can’t grasp pencils; it’s too hard to write
Ships crash in the fog when there’s too little light

But when the thaw comes, our minds rise and shine
Ripening in the spring time
And in the autumn we reap what we’ve sown
All year

Seasons flow across the year, always bringing change
Shifting all our attitudes as they wax and wane
The idyll time is a compromise between them all
Though who knows how we would behave should the climate fall
Warm waters, the gulf stream keeps an even keel
The seasons have control on how the body feels

Tuesday, November 11, 2008

Accident

Last time around, I wrote "I had a few health problems with both my legs (though not at the same time) which conspired to reduce my walking ability and taint my outlook on life whilst not being a major nor even minor threat to my general health". Little did I know.

On Saturday, 25 October, we had torrential rain for about an hour and a half. As I live on the edge of a forest and at the top of a hill, a lot of mud and small stones were washed down from the forest onto the main road which runs down the hill. Early on Sunday morning, I set off for work as usual on my motorcycle, got to the bottom of the hill, prepared to turn right ... and the motorbike continued straight on, as its wheels were coated in mud.

Emulating Bob Dylan, I had a minor motorcycle accident: a severely bruised left foot and ankle. Fortunately, x-rays showed that there were no broken bones. The doctor at the trauma clinic gave me 10 days off work, during which I could barely move. In the last couple of days there has been great improvement - time is the great healer - although I still can't walk properly and the ankle is still tender. Apparently at least another week is required before all the bruising, swelling and pain will disappear.

Tuesday, October 14, 2008

Where have I been all these months?

Where have I been all these months? Three months of silence are broken by a fully formed record review, which when posted to a music group of the Internet is followed by two separate people asking to repost the review to other music groups.

I've been hiding, I suppose: hibernation in the summer. I had a few health problems with both my legs (though not at the same time) which conspired to reduce my walking ability and taint my outlook on life whilst not being a major nor even minor threat to my general health. As usual, the Israeli summer was hot, hot, hot, and for a time my office premises weren't air conditioned, causing a severe drop in productivity after 2pm. No surprise that I would often clock in by 6:30am in order to get some work done in the cool and quiet. My brain works best in the mornings.

There have been books. There is a new Peter Robinson novel ("All the colours of darkness") which started out good but seemed to get sidetracked midway through. The ending had a good twist but seemed very out of place. After finishing the book, I realised that there was a similarity to the final Rebus book ("Exit music"): in both cases the detectives assume/believe that there is a much more murky story behind a murder than there really is, and spend the duration of the book chasing that belief only to find more mundane reasons.

Even better: there is a new David Lodge book entitled "Deaf sentence". As usual, this is about an academic, but this time he's retired so it's not exactly a campus novel. The academic (as is the author) is suffering from deafness, thus the pun in the title. Whilst the first third of the book is very entertaining, the final third turns to the sober side of life (or death, or deaf). Comedy has always been part of Lodge's work, illuminating and contrasting the dark places which his latter day heroes find themselves, but this time there is little comedy which can alleviate the final painful pages.

On the lighter side of life, I enjoyed romping through Keith Lowe's "Tunnel vision" which is about a young man having to visit each of London's 230+ stations in one day in order to win a bet which includes his credit card, passport and Eurostar ticket - for he's to be married the following day. There's nothing like a deadline to ensure drama, and this book has a very strict deadline. Maybe it's a bit too nerdy, maybe the characterisation of the bride is a little thin, but I very much enjoyed the book.

There's a passage in the opening pages of the book which reminded me of myself when I was a young teenager and came to spend a week with a friend in London:
If I had to put my finger on something, I'd say it was probably the map that first grabbed my attention. It was so complicated, so detailed and yet so ordered. When I was nine or ten years old I used to study that map until I could recite it, line by line. I discovered beautiful places with lovely sounding rural names, and in the absence of any idea about what such places looked like, I allowed my imagination to fill in the gaps. As far as I was concerned, Covent Garden probably had pretty amazing flower beds, and Shepherd's Bush was ... well, a bush owned by a shepherd. There was a farm at Chalk Farm, acres of unspoiled forest at St John's Wood, and a friendly family from Zurich who lived down in Swiss Cottage. There was also a place called White City, which I decided must be somewhere out of the Bible, a sort of heavenly Jerusalem. That was where the Angel would go on weekends when he got fed up with Islington. Or maybe it was a place where only white people were allowed, like buses in South Africa - I found myself feeling angry that despite being obviously holy me, the Blackfriars wouldn't be allowed in.

At the age of thirteen, I wasn't quite so callow, but even so the place names, especially those in rural Essex or Middlesex, could inspire my imagination.

Monday, October 13, 2008

Fotheringay 2

It’s very hard to know how to take this album. I am listening to it 37 years after it was recorded, taken out of its natural time line. Most of the tracks are familiar one way or another, and so it doesn’t come as such a shock, as say listening to “King and Queen of England” did in the late 80s. The eponymous debut album was an odd mixture, moving from the forgettable (“Peace in the end”, “Too much of nothing”), through the workmanlike (“Ned Kelly”, “Winter winds”) and onto the excellent (“Nothing more”, “The sea”, “The pond and the stream”, “The way I feel” and “Banks of the Nile”). It’s probably no accident that the lower rating tracks feature Trevor Lucas; I thought that his Fairport work was better than the hatchet job that Joe Boyd did on him, but both Fotheringay albums show that Sandy was far ahead. So one possible measure of excellence that could be applied to this album is how Trevor’s talents were utilized. We’ll see.

John the Gun: this is the first version of several which exist. Whilst this version is certainly better than any of the drunk and sprawling versions which Sandy was to record with Fairport, it sounds very polite compared to the vitriolic version which was to appear nine months later on “North Star Grassman” (NSG). The big surprise here is Sam Donohue’s spiraling saxophone solo which owes more to his son’s guitar picking that it does to jazz. Sandy’s vocal is better enunciated than it is on NSG, and there’s also a few minor changes in the tune. If I hadn’t heard the NSG version, this would earn an A, but in retrospect it earns A-.

Eppie Moray: Trevor makes his first vocal appearance. As this song was performed on a widely distributed BBC session, it’s not unfamiliar. Indeed, without examining it in great deal, the arrangement sounds the same. This is a very good performance with an excellent arrangement, especially the introduction which segues seamlessly from the opening track. Those in search of technical detail may be interested to note that Sandy’s vocal starts in the middle but moves to the right channel for the final few lines, indicating that her vocal was probably pieced together from a few takes. A-.

Wild mountain thyme: again this appears on the BBC session, giving the not-totally inaccurate impression that Fotheringay 2 would have a high percentage of traditional material (similar to Liege and Lief vs Unhalfbricking). This is the track which has had the largest amount of post-processing applied, and the care taken shows, producing a sublime ballad with Sandy’s voice at her best, hinting at what I thought was the beautiful person behind (little did I know). Describing this song feels like describing a wine: “warm, with hints of chocolate, leaves and blackcurrant”. Pat Donaldson hums along, there seems to be a hint of organ (courtesy of Rabbit) and the total is far in excess of its parts. Definitely an A.

Knights of the road: after three excellent tracks, Trevor Lucas gets his chance. This song turned up a few years later on Fairport’s transitional “Rosie” album, which could be attributed to “Fotheringay Confusion”. Another Lucas song, “The plainsman”, also appears on “Rosie”; apparently this was a Fotheringay recording with Dave Pegg’s bass replacing Pat Donaldon’s. In this case, KOTR is a different recording, although it’s quite similar; Gerry Conway’s four to the bar snare drum being a mockery of the otherwise excellent drummer’s usual tasteful accompaniments. A modulation after the first verse and chorus takes everything up a notch; this in itself is an interesting point. Normally, if there is only one modulation in a song, it will be towards the end, before the final verse or chorus, whereas a modulation after the first chorus tends to imply that there will be a modulation after every chorus. Nice chorus vocals, and a touch of syncopation in the fade out. Solid work, but not outstanding: B-.

Late November: probably the most familiar of all the songs on this album, due to its release on NSG, albeit with different vocals and added guitar (courtesy of RT). There exist other released versions of this song, each with a different vocal track laid over the same instrumental recording; I’m fairly sure that this version has yet another vocal track. Listen closely for the count-in at the beginning. How can I not award this excellent song (both in composition and execution) an A?

Restless: back to Trevor Lucas. Again, this song was resurrected by Fairport on their “Rising for the moon” album, which probably goes to show how strapped for material they must have been. This version is not a patch on what was to be, lacking Sandy’s ethereal harmonies. Nice 12 string guitar work at the beginning along with sensitive snare drumming give way to a more standard, Nashville like, instrumental track. Again a B-.

Gypsy Davey: those who bought the Carthage CD reissue of “Fotheringay” will already have this, although we are promised that this version has a different vocal track. A solid and imaginative arrangement of a traditional song which earns a deserved A-.

I don’t believe you: Trevor again. This is the only unfamiliar song on the disc (assuming that one doesn’t know the Dylan version) and the only disposable one as well. I can imagine how this would have raised Joe Boyd’s hackles, wasting his time recording this instead of other Denny jewels. I feel very much the same, and rate this song only as a C.

Silver threads and golden needles: it has just occurred to me that the front cover of the cd package might well be hinting at this song title. Part of the Fotheringay stage set, this was later to turn up on Sandy’s “Rendezvous” swan song, albeit with a brass arrangement. Here it’s softly strummed guitars, halfway between Wimbledon and Nashville, with a nice female harmony vocal on the title line. Pleasant but not outstanding: a solid B.

Bold Jack Donohue: another traditional song with a gruff but suitable Trevor Lucas vocal. Again part of the BBC recording, it’s not unfamiliar. This has a dramatic arrangement, with a few major chords thrown into the predominantly minor harmonies. The slow fade is very tasteful. The best solo TL appearance on the album, I mark it as B+

Two weeks last summer: see the comments about “Gypsy Davey”, although of course this song was written by Sandy’s first bandleader, Dave Cousins. This genuinely seems to be a different recording as the end sounds different, and there are harmony vocals. B+.

So there you have it: eleven songs, of which ten exist in other versions and only one of those in a radically different arrangement (STAGN). Two As, three songs marked A-, two B+, one B, two B- and one C: if only my O-level results had been as good (I was too busy listening to Fotheringay at the time to concentrate properly)! How does this rank again their debut? I think that this is a more concentrated effort with most of the tracks rated in the A-/B+/B continuum; it’s less polarized than the debut, although there are fewer really standout tracks. I also think that I would have rated this slightly higher had the record been released close to its recording, although I imagine that I would have preferred even then that the perfunctory Dylan cover be left off. Considering that vinyl albums optimally played 40 minutes, this cd is nine minutes over optimum, meaning that probably two songs would not have made the cut.


Saturday, July 12, 2008

Morse

I had an interesting trip down memory lane the other day when I discovered that the Hallmark TV channel is showing episodes from "Morse", the tv version of one of my favourite fictional detectives. As these programmes were made in the 80s and 90s, I only watched them haphazardly (maybe only when in holiday in Britain), and so I only barely remember them.

The episode which I saw was entitled "Flight of deception", and was written by Anthony Minghella, fan of Van der Graaf Generator, and later to be the director of "The talented Mr Ripley", amongst other films. I'm sad to say that it was fairly forgettable, with only the negative points about it being retained in my memory. Was Morse always so irritable? The programme also featured a laughable cricket match; obviously none of the actors had ever played cricket, because their moves were ludicrous. The 'whodunit' part of the story became fairly clear early on, which took away whatever was left of the story's enjoyment. There was one turn in the plot which completely surprised me, but that's all. One actor* in the episode, whose name I didn't catch, played a baddie; a few years later he too was to play the part of a tv police inspector (whose name also escapes my memory).

I see that there are episodes from various seasons being shown during the week (some of which are repeats), so it will be interesting to see whether I fell on a poor example of the series or a representative. Of course, it may well be that my viewing perspective has changed in the twenty years since these programmes were made.

The Morse books were something else. Whilst certain aspects were very good, there were other aspects which became very annoying (mainly attributes of the author, having little to do with the story). At times there was a very patronising tone which became too much at time. Maybe just as well that the author caused his eponymous detective to die, because I'm not too sure that I would have continued buying the books. As there are 33 television episodes compared to 11 books, it is obvious that failures in the screen version can't be blamed on the books.

[Edit from 14 years later: * Nathaniel Parker] 

Sunday, July 06, 2008

Bacon numbers (3)

A correction to my original post on the subject: my program uses a breadth-first search algorithm. Prolog uses by default the depth-first search algorithm, along with backtracking, which can be simulated in Pascal using recursion (and indeed, the example which I quoted of trying to calculate which bills a customer has paid uses recursion).

Breadth-first uses an explicit list, instead of implicit stacks. Delphi's TStringList type serves this purpose admirably.

I added an extra twist to the final output: instead of simply listing the steps between actors, the connecting films are also named.

No more on this subject.

Friday, July 04, 2008

Bacon numbers (2)

I wrote before about matching Warren Beatty with Diane Keaton. If I ask the program to work that way, it can't find a match, but if I ask it to match Diane with Warren, a change which theoretically shouldn't make any difference, then it immediately answers with '2' (via Shelley Duvall). Hmmm. Why does this happen? Should I use heuristics? Maybe the second person should be the one who has fewer movies in my collection. Update: a quick debugging run with logging reveals the mistake. I had the wrong termination condition - the program should finish when there is a match or the list of candidates is empty. After changing the program slightly, it now finds the distance between Warren Beatty and Diane Keaton; slowly in one direction, quickly in the other.

Bacon numbers

I see that I've managed to pass an entire month without blogging. There have been experiences which have been too delicate to share here, and other experiences which aren't very interesting (mainly health issues).

There is some new (to me) music which has been floating around. An advance copy of Randy Newman's new cd, "Harps and Angels", his first of original songs since 1999's "Bad Love" has been played several times, but has not been received here as well as some of his earlier material. To my ears, it contains too much 12 bar blues based material, and that's not a musical form which I care for.

I've also been belatedly listening to British soul singer Corinne Bailey Rae's eponymous record. I'd seen some of her videos on VH-1 and hadn't been overly impressed. At the time, I didn't know that she was British. Her name came up whilst reading a detective novel, in which she was described as coming from Leeds; I checked this out and found it to be true. I then heard a song of hers on the radio which I very much liked, so I thought that it was time that I listened to her properly. Unfortunately, the song which I liked isn't on the record, which makes me wonder whether it was really her. Every time I've tried searching for certain key lyrics in the song (I'm sure that she sang about "chasing paper"), I've found myriad references to The Beatles' "Two of us", and none to CBR. The disc itself has worn out its welcome; it's not a keeper.

Over the past few months, I've been recording films from television onto DVD. After a while, I found myself recording the same film more than once, and so thought that it was time that I organise these discs. For someone like myself, writing such a database program would be simple and fun. At first, it started off with a table of actors (name only), a table of films (name only) and a table of cast lists, in which the actors were matched to the films, but after a while, my ambitions grew.

First off was a list of directors, although it turns out that apart from Woody Allen and Robert Altman, there are very few directors who have more than a sample showing in my collection. Then I added a link to the imdb site; clicking on a button would bring up a web browser pointing to the appropriate page. Then of course there were all kinds of reports about actors: how many times each actor has appeared in the films which I have, with which other actors they have worked and with which directors they have appeared. Simple, harmless fun.

Today I got up and thought to myself, "Bacon numbers". This wouldn't necessarily have to start with Kevin Bacon (who only appears in a few of the films which I have); rather, I could check connections between any two actors. Obviously the act of someone who has too much time on his hands. When I told this to my wife, she started laughing, as I expected her to do.

But from a programming point of view, this is a very interesting exercise. The algorithm needed, basically, is the same algorithm which is fundamental to the Prolog language, a language which has always intrigued and inspired me. I've written a few such programs (one was for accounting purposes: a customer has twenty bills outstanding and makes a payment without saying what it was for; the program tries various combinations of bills until it gets to the same total), but this one was a bit different.

Here's the algorithm:
1. Add to the list the id of the actor whose Bacon number we are trying to calculate
2. Remove the first name from the list and store it in a variable
3. If the target actor (eg Kevin Bacon as per the original) and this actor have appeared together in a play, then print the distance, and set a finishing flag
4. If they haven't appeared together, then get all the actors who have appeared with this actor and add them to the list, increasing the distance
5. If the query in stage 4 returns no answers, then finish, otherwise
6. Go to stage 2.

The actual implementation was much easier than I expected. I had to add a flag to each actor to show whether s/he had been inspected during the current search, but apart from this, I was able to implement the algorithm using two database queries and a listbox.

I've checked various combinations of people and have got back the expected results. For example, I don't have a film in which Meg Ryan and Gary Sinise have appeared together (maybe there isn't one at all). Their mutual Bacon number is 2, via Tom Hanks (MR and TH have appeared in two films which I have together, and TH and GS have appeared in one). For Woody Allen and Sandra Bullock, the number is 3 at the moment (WA -> Diane Keaton -> Keanu Reeves -> Sandra Bullock). Eventually the program will surprise me and return a smaller number than the one I am expecting.

The only real problem with this program is that it uses the Prolog convention of a closed universe. I was checking Warren Beatty with Diane Keaton; I know that they appeared together in "Reds", so their number is 1. But I don't have this film in my library, and so the program couldn't find any link. The only WB film which I have is "McCabe and Mrs Miller", and the actors there don't seem to connect.... Wait a minute! Shelley Duvall was in M&MM with WB, and she was in "Annie Hall" with Diane Keaton. Maybe I didn't add her name to those films....