Friday, September 25, 2020
Accordion
Thursday, September 24, 2020
Return to lockdown - keeping myself occupied with new programming projects
Due to the high number of people being found positive for Covid-19 in Israel and the exponential rate of increase, it has been decided that some form of lock down will be enacted over the next few weeks. In a sense, this isn't much of a problem, as Monday is Yom Kippur, which means that Sunday wouldn't be a work day for most people. Then the week after that is 'the festival of booths', during which many people don't work anyway. At the time of writing, I don't know whether my company is to be closed or to work in some reduced form, so I don't know what will happen to me next week.
One way or another, I'm going to have plenty of spare time on my hands. Just as well, as I have two programming projects that I want to execute during this time. The first is an update of one of the OP's multilingual exams - there are problems running this with Windows 10. I started examining the problem last week in a modern version of Delphi; I think that I know what the problem is but I haven't had the time to do anything apart from thinking about the problem. I'm fairly certain that there is interference between the use of a string table resource file and the clientdataset component. If I can't find a simple resolution, I may have to abandon the clientdataset, instead outputting 'rich text' files that will somehow have to be combined to create a final output file.
The other project is quite grandiose: over the months, I've collected various mistakes that I have made whilst programming procedures in Priority and that were not noted by the in-built syntax checker. The idea is to check things that are not caught by the internal program, to supplement it and not replace it. Simply put, I want to write an external syntax checker that will check things like matched LINK/UNLINK pairs, uninitialised variables and a few other problems. I've been devoting a fair amount of thought as to how to store the data of such a program; traditional cross reference programs in Pascal used linked lists, and indeed I found such a program yesterday evening. But I would like to have a much more modern interface and use types such as stringlists and similar. A stringlist is ideal for storing what would have been an array of identifiers but isn't so useful when additional data regarding those identifiers is required.
I will no doubt continue to debate the subject in my mind until I commence coding; at the moment, my inclination is to take the old school cross referencer and adapt it to the Priority SQL syntax. This will be a complex task that would have to be done one way or another, so it's probably better to start with something that works so that I can concentrate on the syntax and not on how everything is stored. A cross referencer is a good idea anyway: it makes finding references to a variable much easier. I started writing a long program in Priority yesterday afternoon and finished writing and debugging this morning: this is 270 lines long which is fairly long but not too complicated. During the writing process, I moved pieces from place to place within the program (primarily moving non-variant operations out of loops, to be technical) and sometimes these edits slightly mangled the text. I discovered a new bug: a variable will always start with a colon (e.g. :DAYS); in the course of one of these edits and pastes, I had a variable named ::DAYS which is not the same as :DAYS.
A cross referencer helps in finding variables that appear only once; this can mean that either the variable is superfluous as it is never used, or more problematic, it is a variable without value (as in the above case of ::DAYS). I wasted an hour yesterday on another procedure, trying to figure out why a value being saved in a variable was not being written later on. Eventually I saw the problem: the value was saved in :PARTCOST but was later accessed as :PARCOST. A cross referencer would find this immediately.
Sunday, September 06, 2020
What a weekend!
Wednesday, September 02, 2020
Wedding stairs
Sunday, August 30, 2020
Evening ferry
Friday, August 28, 2020
Time sheets and perceived value
Friday, August 21, 2020
New CPAP machine (part 2)
Sunday, August 16, 2020
New CPAP machine
The new machine's shape (think of a giant wedge of Toblerone) caused me to wonder how I could put it in a small suitcase, should we ever go on holiday again. The answer came to me this morning: leave the machine at home and take the old machine on holiday. Not only that, I can store the old machine in the small and smart suitcase which I always take with me as personal baggage: I put the CPAP machine, laptop computer, cables and medicines in this suitcase, so I have the most important things with me at all time, even if our luggage gets lost.
Saturday, August 08, 2020
Masked songs
Monday, August 03, 2020
Musicians that I have heard of who share my birthday
Sunday, July 26, 2020
Peter Green RIP
Monday, July 13, 2020
Swimming pool reopened
Sunday, July 12, 2020
Judy Dyble, RIP
Thursday, July 09, 2020
Swimming pool closed
Why did I do this? During the lockdown, I noticed that my feet - especially the right foot - were swelling up, and it was painful to move them. Although that extreme swelling has not returned, I still see every evening that my right foot is somewhat inflexible. The swelling is due to liquid leaking from somewhere in the body, and so my doctor ordered a few tests. The first was ultrasound of the veins in the thighs - nothing wrong there. The stress test was next, and I have an echocardiogram examination in another two weeks. I had one of these four years ago which didn't show anything noticeable.
And it turns out that because of these tests, I was once again denied the chance to give blood. I had hoped that there would be no more problems, especially considering my last haemoglobin test which was relatively high for me. But no.
Saturday, June 13, 2020
First swim for this year
[Edit from a few days later] I didn't charge the mp3 player at all. I mistakenly tried to plug the usb adapter directly into a computer, forgetting that I had a special cable for this. Today I found the cable, and connected everything, after which the player began showing a red light: presumably a sign of charging.
Monday, June 08, 2020
The background behind another song that is used for Israeli folk dancing
Sunday, June 07, 2020
Is it OK to have a PhD thesis with shortcomings and inaccuracies?
Saturday, June 06, 2020
A musical day
Sunday, May 24, 2020
Heatwave no longer
Wednesday, May 20, 2020
More DBA news in May: it's getting even nearer the end
- to award the degree as is
- to award the degree subject to minor amendments
- to require resubmission of the thesis with major amendments without a further viva
- to require resubmission of the thesis with major amendments with a further viva
- to fail the candidate.
Sunday, May 17, 2020
Heatwave
I have to say that as much as I don't like cold, rainy days (I had enough of them in my childhood), they're infinitely better than 40.9°C torrid days (the temperature rose a little more after I took the picture). After all, one can wear a coat, put on boots and carry an umbrella for the rain and cold, but there is nothing that one can do about the desiccating heat.
Thursday, May 14, 2020
John Martyn vs Dave Evans
style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"
Sunday, May 10, 2020
Jamie Oliver inspires a chicken dish
- chicken portions
- three spoonfuls of olive oil (the web site says brown the meat in the oil, but I didn't see this on television)
- a cup of white wine in which has been dissolved a spoonful of sugar
- a cup of balsamic vinegar (this replaces mosto)
- a cup of non-alcoholic wine juice (the Italians use red wine, of course)
- a cup of fig syrup (not in the original)
- one sliced onion
- chopped tomatoes (these were chopped into large pieces; I think it would have been better to have smaller pieces)
- a cup of hot water
- 50 grams chopped almonds
- surprise ingredient: a teaspoon of marmite! This adds umami and colouring.
In episode 6 of the series, Jamie visits the Tuscan town of Pitigliano, where he meets an elderly grandmother, apparently the only survivor of a once flourishing Jewish community, and learns how to cook stuffed artichokes (this looks like something that I am not going to attempt!). There is even a scene where Jamie and the grandmother sit in the local synagogue, looking at a picture of the pre-war community. No mention was made whatsoever about the laws of kashrut (no pancetta in this recipe!). Someone wrote about this episode here (warning: it's in Italian).











