Wednesday, July 24, 2024

The best chocolate in the world / 2

Six years ago, I wrote about finding some bars of what to me is the best chocolate in the world. Since Torino, I've never managed to find any again, despite my attempts. Today for some reason, I decided to search once again for this chocolate. I couldn't find it on the manufacturer's web site, but there was an option to contact them.

I wrote: Several years ago, I bought some of your chocolate, Cioccolato Extra Fondente con Cristalli alla Menta. I think that it's the best chocolate in the world! I have visited Italy many times, but in the past few years I have not been able to find this chocolate. Do you still make it?

And I received a reply: Dear No'am, Thanks a lot for your mail which is really appreciated. Yes, we still make that product.

So I shall look out for it the next time that I am in Italy. Maybe I'll be sent a list of shops where I can purchase the chocolate.



This day in history:

Blog #Date TitleTags
74324/07/2014Improving the In-basketProgramming, In-basket
105524/07/2017Sleeping in the groundDCI Banks, Peter Robinson
164624/07/2023Israeli Democracy, 1948-2023Israel

Monday, July 22, 2024

Italian phrases

I came across an interesting Italian expression in a book ('A glancing light' by Aaron Elkins) the other day: Non c'è di che. Before getting to what it means, let's talk about the pronounciation. A 'c' on its own (ie without a following 'h') is pronounced as one would pronounce 'ch' in English - here it sounds like 'chay' (as in 'chase'). 'Ch' on the other hand sounds like a 'k' (or a hard 'c'), so the idiom sounds like 'non chay dee kay'. What does it mean? Google Translate says 'Don't mention it'. But changing the preposition leads to some interesting results, and translating the resulting English back into Italian is even more interesting.

Preposition Italian English Back translation
di Non c'è di che Don't mention it Non parlarne
di Non c'è di che, caro You're welcome, dear Prego caro
a Non c'è a che There is nothing to it Non c'è niente di male
de Non c'è de che You have nothing to say Non hai niente da dire
in Non c'è in che There is no way Non c'è alcun modo

All of the above probably means that one shouldn't trust Google Translate too much, and that these expressions are more idiomatic than literal. The funny thing is that I can near enough understand the back translation without help (although 'male' means 'evil' or 'bad').



This day in history:

Blog #
Date
TitleTags
26622/07/2010
Porting the Amateur ReasonerProgramming, AI
26722/07/2010
Beef ratatouieCooking
61222/07/2013
Transferring cassettesPersonal, Old recordings
74122/07/2014
Rice and beansCooking
74222/07/2014
And now for something completely differentFilms
88222/07/2015
Vinyl log 20 - 22 JulyVinyl log, Fotheringay

Sunday, July 21, 2024

Continuing to search on two columns

On Friday, I wrote about the problems that I was having in exporting data to Excel then sorting by two columns. As I couldn't do this by automation, I found a baroque method of sorting the strings in a stringlist prior to transferring them to Excel. After considering the matter, I thought that it might be better to take an SQL approach by saving the intermediate data into a temporary table (a non-connected clientdataset [cds]) then use SQL to return the data sorted by however I would want it. 

So yesterday I converted the code into something more streamlined that would either insert data into the cds (first pass, values for respondents who took the test before a given date) or edit the data (second pass, values for those who took the test after a given date). The first part worked perfectly but something didn't work on the second pass; eventually I realised that for some reason the locate method of the cds was not locating the required tuples.With little choice in the matter, I had to write a short loop that is the equivalent of the locate method; it might even be faster as it doesn't need to check the flags that are passed as the third argument to locate.

Once this little problem was out of the way, I could concentrate on sorting by two columns, the raison d'etre of the code. This was quite simple:

s:= field1 + ';' + field14; qData.addindex ('idx0', s, [], '', '', 0); qData.indexname:= 'idx0';

'Field1' is the scale name and field14 the difference. I thought it best to create the index name in a separate statement before creating the index itself. Originally I omitted the third statement and couldn't understand why the data wasn't sorted; stupid mistake.

I had inserted a statement start:= gettickcount; at the beginning of the procedure and a matching finish:= gettickcount; at the end (before exporting the data to Excel) so that I could see how much of a difference the cds approach made. The csv version took 781 ticks (I ran the procedure a few times and received this answer most of the time - it surprised me that two runs would require exactly the same number of ticks). The cds approach took about 125 ticks - six times faster!

Why am I not surprised? I suppose now that I will have to go over code in this program as well as in the management program, looking for code that creates a csv stringlist that is exported to Excel. The queries in most of these places can probably be sped up.



This day in history:

Blog #Date TitleTags
26521/07/2010It's the 80s all over againProgramming, Prolog, Bill Thompson
49821/07/2012Trivets and punnetsSlow cooker
124521/07/2019Saturday swimmingSwimming

Saturday, July 20, 2024

M.Res.

I was thinking about qualifications and degrees the other day, noting that I had received no word from 'my' university. So I was pleasantly surprised when I received a letter yesterday, saying "The Research Degrees Committee met recently and confirmed the examiners recommendation to award you a Master of Research (MRes) degree". There was another letter attached to this that leaves me slightly bemused.

I am delighted to see that the Research Degrees Committee confirmed at their July meeting that you have completed the requirements for the Heriot-Watt University MRes degree. You are to be congratulated on an excellent performance and I trust that your life can now return to something approaching normality.

I wonder how much of this letter is formulaic and how much was written specifically. If I am to be congratulated on an excellent performance then couldn't have you gone a bit further and award me a doctorate? After the events of the past nine months, how can anybody's life [in Israel] return to something approaching normality?

A few weeks ago, I said to my wife that eleven/twelve years ago I was ecstatic to be awarded a master's degree; now I am disappointed to be awarded another master's degree. As we say in Hebrew, the bigger the expectation the greater the disappointment. And to think that a year ago I was considering starting a third master's degree.



This day in history:

Blog #
Date
TitleTags
9520/07/2007
1971 was when the music came togetherHabonim, King Crimson, Van der Graaf Generator, Tom Wolfe, Yes, 1971, Dave Evans, Music festivals, Jack Kerouac
26420/07/2010
Alarm clock mp3 playerClock radio
87920/07/2015
Vinyl log 19 - 20 JulyVan der Graaf Generator, Vinyl log, 1972
105320/07/2017
Back to the beginningDBA
124420/07/2019
More on Movie MakerHome movies
164420/07/2023
The end of the country as we knew it is fast approachingIsrael

Friday, July 19, 2024

Sorting on two columns

I faced an interesting situation today in one of the OP's programs. There is a suite of statements that refer to behaviours that are non-standard, such as alcoholism, drug taking and morality. One would expect that only a few people (or a low percentage of respondents) would agree with the statements and so these questions can't be analysed by standard statistical methods. The OP wants to compare the percentage of respondents that agreed with the statement in the nine months before 7 October 2023 with those in the nine months after this date.

We have a similar report that works on a per-question level, so the first thing that I did was copy the unit then update the copied version so that it would work with the non-standard statements (accessing them is slightly different from accessing the regular questions). All went well until I got to the stage of outputting the data. Over ten years ago (!), I wrote about sorting data in an Excel spreadsheet via automation. That code works for sorting on one column. Here we wanted to sort first by scale (alcoholism, etc)  then  by difference of percentage per question; in other words, sorting on two columns.
 
 sheet.Range['A1', 'G481'].Sort (sheet.Range['D2'], xlAscending,
                                 EmptyParam, EmptyParam,  // key2
                                 EmptyParam, EmptyParam,  // key3
                                 xlAscending, xlNo, EmptyParam, True,
                                 xlTopToBottom, xlSyllabary);

This code seems amenable to sorting on even three columns - all one has to do (I assumed) is to place a range statement (e.g. sheet.range ['O2']) in place of the first 'emptyparam' place holder, and to replace the second 'emptyparam' with 'xlAscending'. This seems simple in theory, but in practice it didn't work. I kept getting error messages, and as these are in mangled Hebrew, it's very difficult to know what the actual error is and even more difficult to know how to fix it.

As it was Friday, I left things as they were (sorted by scale and question - these are natural sort orders that come from the original SQL statement) and had a nap. When I awoke, I reconsidered; if I can't sort in Excel then maybe I can sort the CSV lines before they get inserted into Excel. This was easier said than done as the field by which the second sort has to be done was at the end of a csv line. Eventually after two hours' work, returning to the sort [pun not intended] of Pascal code that I would write before Delphi (including a bubble sort!), I had the final csv and hence the Excel spreadsheet ordered initially by scale then by difference. My algorithm has to create a temporary string list, insert the strings created for a given scale into this list, sort this string list then add the sorted strings from the temporary list into the main string list (the temporary string list itself is not sorted; I created an array of indices and values and did a bubble sort on this array).

Eventually I finished and it was time to take the dog for a walk. It occurred to me during the walk that it might have been better to use the original code to insert the strings into Excel when they are sorted by scale and question number, then sort different ranges of the spreadsheet in Excel. In other words, if lines 3-10 in the spreadsheet belong to scale ALC, then sort only these lines according to column O. Then sort lines 11-18, etc. I suppose that this is possible although it would be somewhat awkward (although no more awkward than the current code). Automating Excel is considered to be a slow operation, so doing this eight times might be quite slow. The current 'sort the csv in advance' approach works faster than I expected so this 'sort Excel by sections' approach might well be slower.

Then I remembered the old adage, 'if the only tool that you have is a database then every problem looks like a new table'; how would I solve this problem if I were working in Priority? I would output the intermediate data into a table then use SQL to return the data sorted by however I would want it. Why couldn't I do the same thing here? As the code was based on a unit that used the csv approach, I had simply continued in the same vein without considering other options. But now that I think of it, using a temporary table (i.e. a clientdataset that is not connected to the database) might well be more effective. There would be no need to convert percentages into strings and generally the code would be more streamlined. The 'sort the csv in advance' approach that I used today has one expensive section of code that has to be repeated once per scale (this didn't happen in the original version) and of course an SQL approach would require this expensive section to be executed only once. I might even convert the original unit to this SQL approach.

I'll leave that for tomorrow.


This day in history:

Blog #Date TitleTags
9419/07/2007What I did at work todayProgramming, ERP, Thermal printers
74019/07/2014Statistics with SQL (Firebird)Programming, Delphi, SQL, Firebird, Statistics
96419/07/2016When the music's overDCI Banks, Peter Robinson
124319/07/2019Making the Greece holiday videoHoliday, Home movies, Andros, Athens, Greece
164319/07/2023If this is jazz then I'm all for itAmbient music, Matthew Halsall

Thursday, July 18, 2024

Back to normal (computer)

I received my repaired computer yesterday morning and I've been working continuously since then with it. Apart from anything else, the larger screen (17 inch?) is a pleasure to work with after the cramped screen of my work mobile. The hard disk (SSD) has been replaced and not only does the new disk directly repair the problem that I had last week, it also fixes several minor problems (like Firefox frequently freezing, more semi-alliteration) that I had ignored but were probably due to problems in reading the disk. 

After all, I'm a software person, not a hardware guy.

One of my first acts was to backup material that has accumulated since March, primarily videos and pictures from our two trips abroad. I discovered that there is no small amount of duplication on the external hard disk, so I devoted several hours to removing the duplicates. The 'videos' directory occupies 148 GB on the computer's hard disk, 'pictures' 19.5 GB and 'songs'/'music' 91.9 GB (although this latter directory on the external disk is probably twice the size), so cleaning up freed a great deal of space on the external disk.



This day in history:

Blog #Date TitleTags
26318/07/2010The in-basket 3 (whole lotta programming)Programming, Delphi, In-basket, Combo box
73518/07/2014Research proposal submissionDBA
96318/07/2016Someone's tiredGrandfather
124218/07/2019Sending data to a procedurePriority tips

Tuesday, July 16, 2024

More computer woes

On Friday morning, after finishing whatever tasks I had on hand, I performed a Windows Upgrade on my Win 10 mobile computer. The upgrade completed but the computer would not restart. I turned it off and on again, resulting in the "Preparing automatic repair" message being displayed. The computer prepared and prepared but after twelve hours, it was clear that the automatic repair was not going to happen.

As this was the weekend, I decided to contact my computer technician only after a few days had passed. Last night he told me that there was a problem with the hard disk that he was trying to fix; first he would copy everything to another disk then presumably reformat the disk, so this is going to take some time.

This computer has had an unfortunate history with hard disks: five years ago, the computer slipped off my desk, ruining the hard disk. At the moment, it is simply inconvenient that I don't have that computer. I am working all day (and writing this) with the mobile computer from work so at least nothing there has been affected. This computer has only two usb ports, one of which is permanently used by the mouse (I don't like touchpads on computers) so that gives me a little less freedom. I tried using the usb distributor that I bought many years ago (four sockets) but this doesn't work very well as apparently my devices draw more current than the usb port can supply.

I've copied the blog manager and database programs from Mega to this computer: the last backed-up entry was about Donald Sutherland, from 23/06/24, so there's only a few entries missing. I suppose I could enter those then backup the database.

As usual, the motto is 'wait and see'. 

No 'day in history' today because apparently I have never before written a blog on 16 July. There's always a first time.

Icing on the cake: I lost my housekeys whilst walking the dog, and even though I've gone over our walk three times, I haven't found them.

Thursday, July 11, 2024

Pedalboard power supply problems

Way back in February/March, I discussed putting together a board for the various guitar pedals that I have purchased since the beginning of the year. The board consists of two logical parts: the pedals and the power system. The latter is composed of a chargeable battery and a power distributor. The last few band practices have been marred by problems with this system; even though I charged the battery for at least an hour in advance, I couldn't get any power into the distributor and from there to the pedals.

Last Saturday I devoted some time to establish where the problems were. The first seemed to be that the battery wouldn't work if its feeding cable was connected (even though the other end was not connected to anything), so of course I disconnected this cable. Then I had problems connecting the power distributor to the battery: on one end of the cable was a normal USB male plug that connects to the female socket on the battery. But the other end of the cable seemed to be a female C-type socket that would sit on the male C-type plug on the power distributor. I had trouble making this connection work but eventually it did. As a result, I obtained a nice (to my ears) swirling sound via a combination of the multifunction box and the tremolo pedal.

I resolved to do something about this situation; today I made my monthly order from Temu that included a different power distributor. This one has the feeder cable directly connected to the box so there should be no similar problems in the future. Of course, I was shown a picture of the distributor that I already have and something tickled my brain. 

This distributor had a C-type female socket for power entry, exactly the same as my telephone. So why did my distributor have a C-type male plug? It occurred to me that maybe the plug had detached itself from the cable and was stuck in the socket. So I got a pair of long-nosed pliers, put them around the plug and pulled gently; the plug came away revealing the C-type socket that had been there all along.

So I cancelled my order for a new distributor and threw away the ruined cable. Now I seem to be one cable short, but in fact there is a cable that will serve double duty. In advance, this cable will be connected on one end to power and the other end to the chargeable battery; this will charge the battery. When I am playing, the same cable will be reversed, so that the USB end connects to the battery and the C-type plug connects to the power distributor*. Problem solved!

As it happens ... a few weeks ago, my wife bought an external battery to help charge her phone, costing her 129 NIS plus another 15 NIS for delivery. This is a very simple device with a built-in male C-type plug for connecting to the phone and a built-in cable with a USB plug to connect to the charger. A few weeks later, I was offered the same device (from the same people) for only 99 NIS, so I decided to buy one for myself.

Over the last week, I wondered how I could use this battery with my pedal board, but as I was living under the misconception that the power distributor had a C-type plug and not a socket, there seemed to be no simple way of connecting the battery to the distributor. But now that the C-type socket has been revealed, this small device can be connected directly to the distributor, eliminating the need for the chargeable battery that is stuck on the pedal board.

I think that I'll leave the pedal board as it is, with the chargeable battery on-board, but that I'll take the little battery along with me in case of emergencies.

*Post-script from a few days later: I should have checked that the cable can do double duty before band practice. It turns out that the plug does not fit the power distributor socket so I had another evening without pedals. I do have a spare cable that does connect on both ends, so this is going into the gig bag. 



This day in history:

Blog #
Date
TitleTags
18311/07/2009
Treeview program managerProgramming, Delphi
26211/07/2010
Poland and the HolocaustDavid Lodge, Holocaust, Poland
38111/07/2011
Bern, baby, BernHoliday, John Le Carre
87711/07/2015
Highlighting cells in Excel based on their absolute value via DelphiProgramming, Delphi, Excel, Office automation, Statistics
123911/07/2019
The difficult negotiator returnsPersonal, Negotiation

Sunday, July 07, 2024

David Baddiel

DB is a British comedian who is also Jewish. Whilst I vaguely recognise the name, I know nothing of his work. Although he was born in New York, he grew up in Dollis Hill, North West London; as the wiki page puts it, Baddiel attended the North West London Jewish Day School in Brent,[12] and the public school Haberdashers' Aske's Boys' School in Elstree.

These used to be fertile breeding grounds for children who would join Habonim, so when I googled "David Baddiel Habonim", I wasn't surprised to find the following "When I was in a Zionist-socialist youth group called Habonim, they wanted to get people to go to kibbutz and make Aliyah, which I never did*. But in the 1970s, kibbutz was a progressive thing, and many leftists aspired to the kibbutz lifestyle. I think that's changed for a lot of reasons. Some of them have to do with things that have happened in the Middle East."

Baddiel is eight years younger than me, born in 1964, so of course he wouldn't have moved in the same circles as I did. Even so, I wonder: for a time in 1974-5, I was the leader of the young 10-12 year olds in North West London. Baddiel would have been 10 years old at the time ... maybe he was in my group?

* But I did.



This day in history:

Blog #Date TitleTags
4207/07/2006Schizophrenia and insomniaMIDI, Van der Graaf Generator, Bar mitzva, Insomnia
37707/07/2011Locarno log (3)Holiday, Italy, Switzerland
87507/07/2015New lyricsPersonal, Song writing
115607/07/2018DBA updateDBA
123807/07/2019Changes in the music roomMusical instruments
140407/07/2021Relative date fieldsProgramming, Delphi
163907/07/2023Today's nutrional reading: "The fatburn fix"Woody Allen, Non-fiction books, Nutrition

Sunday, June 30, 2024

Age discrepancies in 'Cryptonomicon'

I'm rereading 'Cryptonomicon' for the nth time, where n is somewhere between 4 and 8. Last night it struck me that there seem to be discrepancies regarding ages. According to the wiki,  the 'present' of C is 1997 (and one has to remember that Randy Waterhouse spends at least a year in the Philippines) but I would peg it a year or two earlier. 

G.E.B. Kvistik would have been born in 1943/4, so by 1995 he would be 52 years old. That's reasonable. On the other hand, Lawrence Waterhouse's first child wouldn't be born until 1946. Assuming that the first child was Randy Waterhouse's father, and that this child became a father aged 25 (a shaky assumption but I very much doubt that it was earlier) then Randy couldn't have been born before 1946 + 25 = 1971, making him only 24 years old in 1995. Is is possible that Randy achieved all that he did by this tender age? 

I obtained my first email address towards the end 1992; there was no HTML or world wide web then. The attraction of the Internet was indeed email (joining the Richard Thompson internet mailing list was quite an experience); telnet and gopher existed but I don't remember if I used them. I do remember buying a book from O'Reilly that explained the various protocols so I probably tried some of them. Of course, they were shortly to disappear as Netscape introduced the web to everyone. This is why I think that the first present day scenes of C take place in the early 90s, making Randy even younger. Randy came from a university background that would have been much more acquainted with the Internet than me at the time.

There are still some episodes that I don't understand in the book, primarily those connected with Detachment 2072. What was the body of butcher Hott supposed to lead to? What about the Trinidadian steamer?



This day in history:

Blog #Date TitleTags
25830/06/2010The In-basket: the initial stages of designing a computerised examProgramming, In-basket, Psychology, MDI
25930/06/2010Music and lyricsFilms, Hugh Grant
140330/06/20211400 blogsMeta-blogging
163630/06/2023School swimmingHealth, Swimming, Bristol Grammar School

Sunday, June 23, 2024

Donald Sutherland, RIP

Canadian actor Donald Sutherland died a few days ago, aged 88.

As obviously I didn't know the man himself, I only have the many films in which he appeared to remember him by. I'm not sure when was the first time that I saw him on screen; my sentiment wants to say that it was in M*A*S*H, but I have a sneaking suspicion that I saw him first in 'The day of the locust' (playing a character named Homer Simpson).

Other early - for me - roles include 'Klute' (released in 1971 but I probably saw it many years later), 'Animal house', 'Ordinary people' and especially 'Eye of the needle'.

Over the years he popped up in many films that I have in my collection, but one iconic non-film appearance is as Wilhelm Reich in the video for Kate Bush's 'Cloudbursting'.




This day in history:

Blog #
Date
TitleTags
18023/06/2009
Counting beats with Van der GraafVan der Graaf Generator, Time signatures
25623/06/2010
The Israelis are becoming like the BritishWeather, Star Trek
37123/06/2011
President's Conference / 2Dan Ariely, President's conference
60323/06/2013
More words on the MBA graduationMBA
72923/06/2014
Welcome to Palermo (Sicily log 4)Holiday, Sicily, Italy
115123/06/2018
Priority: adding a field whose description can changePriority tips
115223/06/2018
Priority: subtle problem explainedPriority tips

Saturday, June 22, 2024

Today's successes

If a week ago I could write about disasters then I suppose that today has to be about successes.

I spent most of Thursday listening to the temporary mixes of the new song, "Another sleepless night". As the day wore on, I became less and less enthralled of the recording and so vowed to rerecord the vocals. Yesterday I devoted what might be called a marathon session (from about 3:15 pm till 9 pm with an hour off for dinner) to improving the song. 

The first thing that I did was lower the starting key of the song from G down to F. Then with the tune playing in my headphones, I rerecorded the vocals; The tune was necessary to help me get used to the new key. Having heard the song for a week, I was now much more familiar with the tune and so the resulting vocal was less tentative and more forceful. That said, I again had problems with pitching the opening line of the final verse and so I recorded it against the accompaniment of the first verse as for some reason this was easier. It didn't help that I changed the words to the final two lines in the middle of recording so these two lines had to be punched in.

I then created a composite vocal of all the parts and started mixing. I must have made 30 different mixes, at first trying to get some reverb and brightness into my voice, then reducing the reverb and brightness. I also made a very slight change in the music, having it end with a triplet fill (something like 'The rumour' by The Band). Previously the triplet fill was there but it was masked slightly by a pad fading out; I faded out the pad a bar or two earlier thus better punctuating the end.

Eventually I obtained what I thought was the correct balance then left it overnight. When I listened to it again this morning, I could hear that the vocals in the first part were slightly too loud and not quite bright enough, whereas the vocals at the end weren't loud enough and also needed an extra touch of brightness. So I made the necessary adjustments and finally produced a mix that is exactly right.

Or so I thought. When I transferred the song to my mobile computer and played it via MediaPlayer, it was over-bright. Could this be a function of the player itself? The song sounds fine via VLC, so I'm not going to mix it again.

Swimming went well. On Friday I swam 12 lengths before I stopped for a rest and then continued for another 8, thus reaching my target. This morning I swam the entire 20 without a break and then swam an extra 2 for fun. There were slightly fewer swimmers this morning compared to yesterday; as I have noted before, fewer swimmers allows me to swim better, albeit more slowly. 

After showering etc., I got down to work on a thorny problem in Priority. I have a convoluted problem that is made up of two major steps, where each step is composed of two minor steps. The first half was working fine, but there was something wrong with the second half. As this is dependent on a form trigger, I can't really debug this during the working day, but on a Saturday morning no one else is working so I can check and make as many changes as I need to. Eventually all my misunderstandings were cleared up and now the problem is fixed.

We have band practice in the evening. For some reason, the singer wants that we work on a version of 'Wonderwall'. Last week we worked on a song called 'Fly away'; the entire song is composed of a four bar loop and is exceedingly boring.



This day in history:

Blog #
Date
TitleTags
37022/06/2011
President's ConferenceDan Ariely, President's conference
72822/06/2014
Open air bus (Sicily log 3)Holiday, Sicily, Italy
86722/06/2015
Vinyl log 15 - 22 JuneRichard Thompson, Vinyl log
140122/06/2021
Delphi: components array vs controls arrayDelphi
163322/06/2023
Remedial swimming lessonsSwimming

Friday, June 21, 2024

Mitigating disasters

A week ago, I wrote about two disasters that occurred. I am pleased to say that they have been overcome.

With regard to the PayPal scam, both PayPal and my credit card company recognised the attempted transaction as fraudulent and so did not honour it. I still haven't heard from the company in Australia from whom the goods were ordered, but I presume that they too have ignored 'the order'. I also received my new credit card, the replacement for the one that was left in Rodos

I'm still receiving 10-20 spam emails a day; instead of immediately deleting them, I have taken to unsubscribing from the various sites that are sending the mails. This was fine with letters in French, Spanish, Polish and Norwegian (!), but I haven't had much luck with those written in Russian, Mandarin and Arabic. I've been copying parts of these emails into Google Translate in order to find out what the 'unsubscribe' button is but this hasn't always been successful.

As for my XP computer, I waited a few days before taking the computer to the repairman. It turns out that there is a problem with the motherboard, which is very old. He suggested transferring the disks to one of the computers of a comparable vintage that are being discarded by the OP as they have been succeeded by more modern computers. 

These days, I only use that computer for email (from one address), programming and making music, but I don't want to transfer to more modern versions of these programs. I am considering deleting material from the fixed hard disk and transferring files from the extra hard disk (F).

Almost immediately I worked on a new mix for 'Another sleepless night' and transferred the final version to the laptop. I'm listening to it now: the vocal is a bit wobbly (don't forget that I didn't use pitch correction) and sounds very dry (no reverb). I couldn't find a reverb setting that I like. Maybe another remix in the future will fix this.



This day in history:

Blog #
Date
TitleTags
49121/06/2012
Dubrovnik log 7Holiday, Dubrovnik
72721/06/2014
Circumetnea railway (Sicily log 2)Holiday, Sicily, Italy
95721/06/2016
AutoharpMusical instruments
140021/06/2021
Neat hack - but is it useful? (Management program)Programming, Delphi, SQL
163221/06/2023
MetabolicalNon-fiction books, Erythritol, Nutrition

Thursday, June 20, 2024

The last illusion of the illusionless man

I received a no-nonsense reply to my DBA appeal letter. It seems that I have been labouring under a misapprehension for several years: apparently the DBA research committee in their review from Oct/Nov 2019 said that there was a problem with the contribution of the research. Indeed: looking at my blog entry holding my response, I see that I quoted the report, writing This important part of the thesis [the abstract] does not provide an insights [sic] into what the findings indicate, why these findings are important, and the overall contribution of the research to both academia and practice.

It would seem that I blanked this out, or that I disagreed with the reviewer (probably both). All these years I've been living under the illusion that there was a contribution. My supervisor is as much at fault as I am, as he was constantly telling me that the process is more important than the final result, but I don't want to blame him. 

It seems that I am suffering primarily from the sunk cost fallacy; as I wrote in my thesis: The sunk cost effect can be defined as "a greater tendency to continue an endeavour once an investment in money, effort, or time has been made" (Arkes and Blumer, 1985, p. 125). An alternative and more technical name for this bias is "the escalation of commitment to a failing course of action" (Brockner, 1992). 

I have to tell myself that not achieving the doctorate is not a personal fault, but rather an academic fault, choosing a topic whose significance was not sufficient. 

I sincerely hope that this is the last blog ever on the DBA topic.



This day in history:

Blog #
Date
TitleTags
4120/06/2006
Look what they've done to my songPsychology, Martin Seligman, Bar mitzva
25520/06/2010
Sunday morningProgramming, Office automation, Psychology
49020/06/2012
Elaphiti Island cruise (Dubrovnik log 6)Holiday, Dubrovnik
72520/06/2014
Sorrento to Catania (Sicily log 0)Holiday, Sicily, Italy
72620/06/2014
First day in Catania (Sicily log 1)Holiday, Sicily, Italy
123420/06/2019
The end is in sight!DBA
139920/06/2021
Sequencing "House with no door" - revised/revisitedMIDI, Van der Graaf Generator, Home recording

Saturday, June 15, 2024

Today's disasters

As usual, I accessed the emails sent to my personal email address. Once upon a time, there would be 20 emails a day that I would receive from various musical mailing lists, but now most of these are inactive, so 10 emails a day is now a huge amount. I was told that the program was downloading 128 out of 1225 emails! Obviously something was wrong.

Somehow one of my computers has been hacked. Most of those emails were obviously rubbish; some were asking me to authorise my attempt to create an account for one service or another. I was in the process of deleting all of them when I noticed that there was an email from Paypal, informing me that I had authorised a payment to some company for $666.36. Apparently I had ordered a computer to be delivered to an address in Australia.

Obviously this is false. I connected to Paypal and through them sent a message to the vendor denying the order. Then I was back in Paypal and ordered them not to honour the payment. I saw in my Paypal mailbox three messages trying to authorise this payment, each message on a different credit card that I have registered at PP - including the card that has been cancelled. Naturally I removed the non-existing credit card and changed my password to something that I'll never remember. 

I also saw a message on my mobile phone informing me of the debit. Customer service will be open from tomorrow morning so I'll speak to them then. I hope that this doesn't mean that the card on which the payment was made will be cancelled. I have yet to receive the replacement for the lost card.


After breakfast, I started work on recording vocals for the new song, "Another sleepless night". This went more or less ok. I had recorded a rough vocal the day before, but this was when the air conditioner in my room was working so there was a lot of background noise; I also sang wrong words here and there. The idea of the rough vocal was to help the real vocal with the phrasing.

Then I went swimming. Yesterday's swim was quite painful around the shoulders so I was hoping that today would be better. Indeed it was; I swam 10 lengths without stopping, had a short breather, swam another 6, another breather and finally another 4 lengths - 20 in total. My goal for the next swim is two sets of ten lengths each.

After coming home and showering, I continued to work on the new song. I could hear that very little pitch correction was required - only on a few lines in the final verse. After doing this and turning the vocal into stereo, I considered how I could bolster the repeat of the second half of the bridge. I had just completed this when ... the program told me that it couldn't find the file. Then it couldn't find any of the files that comprise the song.

It turns out that the computer has "forgotten" that it has a disk F on which all of the song files are stored. As I wrote a few weeks ago after having come back from Italy, I discovered that my XP computer would not boot. I got the computer fixed but about a week later the same problem occurred. Now is not quite the same: the computer boots but one of the hard drives is being ignored.

Turning the computer off and then on again (aka 'a hard boot') reveals that indeed the same problem has occurred - the computer can't boot. I imagine that the BIOS has somehow lost its definitions. I don't want to disturb the computer man today - it's Saturday, the Sabbath - but I'll contact him tomorrow to see whether this is something that I can fix. He lives on the other side of the kibbutz and it's a pain dragging the computer over there.



This day in history:

Blog #Date TitleTags
8415/06/2007More songs with odd time signaturesFairport Convention, Albion Band, Time signatures
17915/06/2009Better late than neverJoni Mitchell
48415/06/2012Hvala vam što ste mi pomoci (Dubrovnik log 1)Holiday, Dubrovnik
59715/06/2013Sophie HannahLiterature, Olivia Williams, Peter Robinson, Ian Rankin
71915/06/2014Due Golfi train ride (Sorrento log 4)Holiday, Sorrento, Italy
86515/06/2015Ashley Hutchings, MBEFairport Convention
123315/06/2019Swimming debutSwimming

Friday, June 14, 2024

Master of research (3)

After coming back from the cruise last week, I had another sleepless night (this seems to be a habit) during which I marshaled in my mind more arguments for appealing the examiners' decision. I prepared quite a long document that my supervisor has yet to see and so it has not been sent yet to the business school. But I can post an interim version here....

On May 20 2024, the viva examination of my revised thesis, "Examining ERP enhancement management in Israeli SMEs" was held. The thesis was rejected; in the words of the examiners, "the thesis does not attain the contribution threshold". As such, it would appear that the actual viva examination was irrelevant as the decision was made on the contents of the thesis. Despite the fact that the appeals process does not allow one to question the academic judgement of the examiners, there are several external factors that should be taken into account:

  1. The DBA process consists of several steps, where each step is dependent on the evaluation and feedback of the DBA research committee. After the decision to demand a heavily revised thesis after the first viva, the thesis was never again reviewed by the research committee. Had the research committee examined the revised thesis, they might have provided feedback that would have helped the thesis to "attain the contribution threshold".

  2. After the first viva, the examiners created a document entitled "List of recommendations" that gave the impression that following the recommendations faithfully would result in an acceptable thesis. The only reference to the research questions was "Revisit the research questions and ensure that they are achievable using the research approach and methods adopted". No mention was made that these questions would not produce results that "attain the contribution threshold".

  3. There is no prior research in the literature that asked these questions; there is no prior research in the general area of the research topic that is conducted in SMEs; there is no prior research in the general area of the topic that is conducted in companies using the given ERP system. These points were made both in the thesis and in the viva examination.

  4. After the first viva examination, the examiners were willing to award the Master of Research degree for the thesis as it then stood. After two years and a great deal of hard work, the revised thesis, whose improved quality was noted by the examiners, was still only worth a Master of Research degree. One of the examiners noted that the thesis contained "important work". This seems to be contradictory to the examiners' findings.

  5. Although the following is what might be termed "hearsay" in a court of law, here is a question asked on the Academia Stack Exchange web site: "Is it ok to have a PhD thesis with shortcomings and inaccuracies?" One of the comments reads: "People forget that a PhD is a 'learning degree'. Too often, completion is treated as the end, when really it is only just the beginning. If you learned something and can express that you know how or why errors occurred and what they mean for your work, then you have proved you justify being awarded your PhD. A PhD is about the process [emphasis mine], not the end result." The point is made several times during the DBA courses that the degree is an apprenticeship in research and is not expected to produce a world-shattering result.

  6. The suspicion exists that not "attaining the contribution threshold" was not because of the research or the methods used but rather that one of the conclusions of the research was that essentially there is no difference between the process undertaken when implementing a new ERP system and deploying an enhancement in the post-implementation stage. This conclusion could not have been predicted in advance and only became clear after the research had been completed. A negative result can be just as important as a positive result. Would the contribution threshold have been met had this conclusion been omitted?

I contend that there is a discrepancy in standards between the DBA research committee and the examiners, neither of whom have connections to the Edinburgh Business School.



This day in history:

Blog #
Date
Title Tags
483 14/06/2012
Dubrovnik log (0) Holiday, Dubrovnik
596 14/06/2013
Edinburgh log (1): Touring the city Holiday, Edinburgh
718 14/06/2014
Pompeii (Sorrento log 3) Holiday, Sorrento, Italy
864 14/06/2015
Vinyl log 14 - 14 June Sandy Denny, Van der Graaf Generator, 1975, Vinyl log, Fairport Convention, The Band

Thursday, June 13, 2024

Another sleepless night (new song)

On 23 April this year, I laid down a chord sequence for a new song. I don't recall what led me to that specific sequence; the only thing that I do remember was a YouTube video saying that one of the common mistakes for songwriters is to have every section of a song begin on the same chord. OK: I had a little introduction with the chords E and F#, but the song would begin with G. 

Over the next few days I played with ideas, at one stage blocking out a version whose arrangement was based on an old song of mine. Then presumably I saw a David Bennett Piano YouTube video that discussed songs with irregular phrase length; as this new song was based on four bar phrases, I added a fifth bar after every phrase.

We then went to Italy, where I thought a little more about this new song. When I came back, I started a new arrangement in which the bass was playing a 3-3-2 rhythm and the piano was syncopated. After a while I added four iterations of a four bar loop as an introduction; what is special about this is that the four bars/chords (D Bm C Am) are not the first four bars of the verse itself, but rather bars 2-5; the verse starts with a G chord. 

I had noted that especially in the past few songs that I have written, all the lines have the same number of syllables, so I was determined to change this. After two iterations of the five bar sequence (and these two iterations are not exactly the same), I put in a new sequence based on diminished chords and a different phrasing, thus avoiding the chromatic mediant cliché.

The bridge - based on a ten bar sequence - begins in G# minor, so I'm ensuring that each section does not start with the same chord. As I didn't want the bridge to lead back into the verse with another repeat of the E/F# phrase, I had to add a few new bars to smooth out the return modulation. This extends the bridge and makes the sequence even less regular.

Since then I've been working on and off on the arrangement. As I've probably written before, a lack of words means that I toy with the arrangement, possibly excessively so. Last weekend I added triplet drum fills and changed the pad accompanying the instrumental solo. I think that's enough!

Lyrics! My original idea was to write something about ambition and what happens when that ambition is thwarted (does that sound familiar?), but then noticed that I had written a song a few months previously with the perfect title for what I wanted: 'Dreams turned to dust'. I couldn't realistically write another song with the same title and I was disappointed that I had wasted the title on a set of made up lyrics that are based on nothing. For the last few weeks I've been trying to write something but nothing much has been coming.

A few days ago, the following couplet presented itself to me

I sometimes hear you cry In the stillness of the night

Yes, I thought, I could definitely do something with that. In a sense, that couplet is similar to the opening couplet in 'Looking for his tribe': as I wrote at the time, this song (LFHT) starts with a sort of non sequitur that sets up the song. 

Yesterday I had the time and space to work on the song, and I managed to complete the first draft of the lyrics. While I was writing, I had already began the process of improving what I had already written. Sometimes this is simply replacing placeholder words that I have no intention of keeping and sometimes it's using more expressive words. As I don't keep my drafts and don't have the draft function (or whatever it's called in Word) turned on, I don't recall what I replaced. There exists the possibility that more changes will be made before the song is recorded.

For reasons that I don't recall, the bridge has a ten bar section repeated, so naturally I had to write sufficient words for this. At one stage I thought that if I don't have enough to say then I can place a solo over one set of those ten bars. As it happened, I did indeed find sufficient words and I have to admit that I quite like them, although I am aware that some of these lines could be improved (but some not - 'combinations manifold' is a superb line!).

Debating pros and cons Calculating sums Combinations manifold Too many outcomes Minds are numbed Childhood faces, adult friends All mixed up in the dream Who's forgotten, who remains No one's left on the team So it seems

I started off without a title, but during the writing it became clear that one line '(Yet) another sleepless night' should become the title. The 'Yet' was added to improve the scansion, as it's simply a phatic word. I have no doubt that these words were partially inspired by my last sleepless night.



This day in history:

Blog #
Date
TitleTags
36813/06/2011
CryptonomiconComputer, Cryptonomicon
59513/06/2013
London log (3): ERPERP, DBA, Holiday, London
71613/06/2014
Traveling (Sorrento log 1)Holiday, Sorrento, Italy
71713/06/2014
Shopping (Sorrento log 2)Holiday, Sorrento, Italy
86313/06/2015
Incorporating guitar into recordingsMIDI, Reason
104413/06/2017
dvd recorder problemsDVD
132413/06/2020
First swim for this yearSwimming
139713/06/2021
Primary aldosteronismHealth, Apnea, Blood pressure, Aldosterone
151613/06/2022
Preparations for Bari videoHome movies

Wednesday, June 12, 2024

Fads may come and fads may go but the kibbutz harvest festival stays the same

As I wrote six years ago, the traditional harvest festival was held last night on our kibbutz - and presumably on most other kibbutzim in Israel. The programme is agricultural branches displaying some of their 'goods' - a sheaf of wheat, a young turkey, etc - interleaved with songs and dances. Some of the dances have a long tradition on the kibbutz - the dresses and music stay the same, but the girls wearing the dresses over the years change.

The more things change, the more things stay the same. I found myself thinking that kibbutz is a paradise for children, and that aged 12/13 they will take their place in the traditional bar mitzva class's dance in the harvest festival and that maybe they will graduate to the harvest dance in 7/8 rhythm that celebrates both the seven species (wheat, barley, grapes, figs, pomegranates, olives and dates) and the fact the festival is held seven weeks after Passover. If one is really lucky, then one will graduate to the adults' "lovers dance" or maybe to play in the 'orchestra'.

The final display is that of all the babies that were born on the kibbutz since the last harvest festival: 12. The picture on the left shows all three of my grandchildren along with my son and daughter in law, featuring the most recently born. Thinking about this later, I realised that at least one parent of each baby was himself/herself born on the kibbutz and so they are 'third generation kibbutzniks'. A little later I realised that of course this was so as for the time being, the kibbutz only accepts as new members those who were born on the kibbutz themselves, so of course their children will be third generation by definition.

Unfortunately thoughts about this must have been rattling around my head for I woke up at 2 am and started thinking once again whether I had made the correct choice by emigrating and staying on a kibbutz or whether my friends in the youth movement were more truthful. As I point out whenever this topic arises, I had nothing to return to Britain for as my parents emigrated in 1982. A new thought on this topic did pop up: despite there being many Glaswegians and Mancunians at the movement's summer and winter camps (and we always seemed to come home speaking with either a Glaswegian or Mancunian accent), very few of them emigrated. I can't think of any Glaswegians; of my 'vintage' maybe two Mancunians emigrated, but of the previous 'vintage' there were maybe ten who emigrated, most of whom stayed. It wasn't until 3 am that I was able to fall asleep again.



This day in history:

Blog #Date TitleTags
59412/06/2013London log (2): The Eye and shoppingHoliday, London
95512/06/2016Just another proud grandparentPersonal, Grandfather
114812/06/2018Italy 2018 - Parco ValentinoHoliday, Torino, Italy

Tuesday, June 11, 2024

Jasmine Myra - Rising

This was released just over a month ago and my cd copy arrived yesterday. Five weeks seems like a long time for something to arrive in the mail, but it's not as if I were impatiently awaiting its arrival. After all, the entire album was uploaded to YouTube by the record company, so I've been listening to it on and off during the past few weeks. 

"So why buy a physical cd if you can listen to the music for free?" I hear you ask. As it happens, I saw a YouTube video on this subject yesterday (even though the video discusses cassettes and not cds). Mary Spender talks about connection and ownership; a purchaser of a physical object feels a stronger connection to its creator and even a sense of commitment: after all, I spent some of my hard-earned money on this.

Although the cd comes in what might be termed a gate-leaf sleeve, designed by Daniel Halsall (presumably the brother of Matthew), not much information is given. In a smallish font one learns the names of the pieces and who played on what. Bass clarinet on 'Still waters' is played by Joel Stedman, who was the clarinettist on the livestream performance that I have referenced before; otherwise the bass clarinet is played by Arran Kent.

The most interesting piece of information on the sleeve is that the music was recorded in August 2022 and January 2023 (by Matthew Halsall). This brings up some interesting questions: why did it take so long between recording and releasing? Why two sessions five months apart? There's no date on the livestream performance save to say that it was uploaded a year ago.


On a completely different topic: John Cale wrote and recorded a song called 'Close watch' whose refrain is 'I keep a close watch on this heart of mine'. I used to hear this song played on Israeli Army radio way back in the 80s and 90s, the sort of song that would be played in the dead hours of the night. It was originally released on an album called 'Helen of Troy' in 1975, whereas the version that I have is from 'Music for a new society' from 1982 (I have this cd). As such, I was somewhat startled to hear on the radio last week the song 'I walk the line' by Johnny Cash that begins with the words 'I keep a close watch on this heart of mine'. I wondered which came first: after checking, it turns out that Cash released his song in 1964 whereas Cale's song is from 1975. Two points to Johnny Cash, although I much prefer the Cale song. To make things clear, I'm writing about two completely different songs that happen to share a line of words. Was Cale influenced by Cash?


The swimming season has started. On Saturday I swam 10 lengths (punctuated by breaks) and today I swam 14. No doubt by next week I will be upto 20 lengths.



This day in history:

Blog #Date TitleTags
59311/06/2013London log (1): Tottenham Court Road and The BeatlesHoliday, Beatles, London
104311/06/2017Rodos log 6: The Jewish quarterHoliday, Rodos, Holocaust, Greece
114711/06/2018Italy 2018 - Four seasons in one dayHoliday, Torino, Italy
151511/06/2022Italy 2022: Returning homeHoliday, Italy, Bari

Friday, June 07, 2024

Credit card fraud

Something that I forgot to mention before: when I downloaded all the emails that had accrued in my absence, I saw that there was one from the credit card company. Apparently there was a charge for about 270 NIS (about 67€) from someone with a Greek name from 03 June; the company had flagged this as probable fraud and did not honour the charge. 

On 3 June, I was in Rodos, so theoretically this charge could be valid, save for the fact that my card was eaten by an ATM before I had a chance to use it. With an admirable sense of foresight, I had arranged that all extra charges from the ship would be on a separate credit card, so there would be no problem with these. My wife's purchases were made with her credit card.

When I finally managed to speak to someone at the company (as their email requested), the person at the other end of the line didn't know anything about the probable fraud. Presumably because the charge was not honoured, the time of the charge was not known. I assume that someone managed to extract the card from the machine and used it to buy something.

When I asked how the company knew to flag the charge as fraudulent, the answer was that it was not in keeping with my profile of purchases. They were not to know that I actually was in Rodos that day and that the charge could have been legitimate. They didn't flag any of my wife's charges as fraudulent even though those too theoretically don't fit her profile.



This day in history:

Blog #Date TitleTags
36607/06/2011Post mortem on the HRM examMBA, HRM
59007/06/2013Barcelona log (2) - In search of GaudiHoliday, Barcelona
104007/06/2017Rodos log 3: Filerimos and the Valley of ButterfliesHoliday, Rodos, Greece
114207/06/2018Italy 2018 - Travelling to TorinoHoliday, Torino, Italy
132207/06/2020Is it OK to have a PhD thesis with shortcomings and inaccuracies?DBA
151007/06/2022Italy 2022: LecceHoliday, Italy, Bari
162607/06/2023When life gives you lemons ...Personal, Erythritol