Rockin’ All Over The South-West

I’ve just found out that Status Quo are performing in Taunton later this year. I think I last saw them in Reading in the early 90s. 1990s, that is. Not 1890’s. I’m not that old, even if they are 😀

To be fair, some of them aren’t that old. There is a certain irony given the name of the band that there’s only one original member left, and two of them weren’t even born when the band formed 😀

I’d go to see them, but apparently JLS and Busted are also on the line-up and I have to draw the line somewhere…

Posted in Random | Tagged | Leave a comment

By-election commentary

I love the way that the odious little man Rees-Mogg has claimed in interviews about the Kingswood and Wellingborough by-elections that the Labour party didn’t achieve 50% of the vote, as if that’s some sort of damning indictment of their performance. Tell me, Mr. Smug: What proportion of the vote did your party achieve in the last General Election. Would it by any chance be less than the Labour party achieved in Kingswood? Oh, so it would: 44.9% for Labour vs. 43.9% for the Tories.

I’m not a Labour voter. I don’t vote for the colour of a rosette. But if that’s the best you and your ilk can come up with then you really are deep in the quagmire come the next GE. Bring it on!

Posted in Random | Tagged | Leave a comment

Memory Lane, 12th June 2022: First Swarm

The first swarm to arrive in one of my home bait hives this year. Not from my colonies, I hasten to add 🙂 I feel quite chuffed to have seen them actually turn up at the hive and then dissappear inside like water running down a plughole 😀

Posted in Bee-keeping, Smallholding | Tagged , | Leave a comment

A rare apple treat

My son and daughter gave me this today.

I’ve not had calvados for the better part of forty years, when my parents hosted a French family as part of our village’s twinning. The father of our visiting family was major of the twinned village and made his own calvados, so brought a couple of bottles over with him.

I’m very much looking forward to tasting it.

Posted in Random | Tagged | Leave a comment

Next piece of Linux DSS done…

I’d pretty much gone as far as I thought I could with my Linux Deep Sky Stacker port for the moment, but then realised that some bits that still didn’t compile were actually simper to fix than I thought, and not a huge amount of work once I’d done the widget layout with Qt Designer. When I initially did the design for oacapture more than ten years ago the designer wasn’t really able to achieve what I wanted, but it seems far more capable now. As little more than a newbie I was able to get the layout done in less than an hour including time to learn to use Designer and make the inevitable mistakes, and then within a few hours I had all the coding and packaging up of resources completed too. So this is the dialog for all the star mask options done.

For reference, this is the original Windows version

I’ve now started on the “save image” file dialog which is a bit more messy as it uses options that are available in the native Windows dialog, but not in Qt. Unfortunately I can’t really test what I’ve done so far as it needs work completing on the processing dialog which is rather too Windows-centric for me to understand easily (and someone else has started work on it anyhow). Time to find something else to work on… Perhaps I’ll see if I can move the image in the above dialog down a bit and put it in a dark grey box like the original.

Posted in Computing, Linux | Tagged | Leave a comment

Memory Lane, 12th June 2022: New apiary site

I’ve been looking for a new apiary site somewhere nearby and the owners of local property have offered me space in an area they can’t really use alongside this south-facing pasture.

Access isn’t perfect, but not bad — the actual site is to the right of the photo at the top of a gentle slope and the gate is behind me so it’s not very far to carry kit which I can then lift over the fence.

Unfortunately I then have to walk down to the gate which is partially obscured by the post in the centre of the photo, and then back up again. Still, it’s just me so not a major hardship. I’ve set up two bait hives on the site to see if I can catch a swarm: I know there are feral bees living in the roof of some offices nearby (I’ve offered to try to do something about that, but the owners insist that it isn’t a problem. Hah!)

Posted in Bee-keeping, Smallholding | Tagged | Leave a comment

Design by committee

Back when I used to work with COBOL, there were jokes about “design by committee”. These days I’m not always sure that C++ isn’t going the same way. So many little bits and pieces have been stuffed into the language to make it more difficult for people to do “the wrong thing” that the code is becoming completely incomprehensible if they’re fully utilised. And there’s stuff that was added to the language not so long ago that is now at best deprecated or at worst illegal now. I think the time has come to stop fiddling, please?

I’ve had a situation this week where a package used by code I’m working on (which has to be compiled using C++20 standards) can’t be used because it’s C++14 (I think) and in C++20 mode the compiler throws it out. I can’t upgrade the package to a later version (which is C++20-compatible) because that would break other applications using the same package. I could carry around my own private copy of the newer version in my code, but then I become responsible for making sure that new releases of the application get made if, say, there’s an important bugfix in the package, or if there’s a security hole found that has to be fixed. I don’t want that. It’s just too much work. In this instance I can wait a while to see how things progress with the other dependent packages, but I could really do without the pain.

Come to think of it, I’ve been in the same sort of place before with Ruby which can really trap you in dependency hell before you know it’s happening. That one ended up with the application being abandoned and re-written. Not in Ruby.

Posted in Computing | Tagged | Leave a comment

Fun with Qt Help and CMake

As a Windows application, Deep Sky Stacker stores all its help text in .chm files, but I need to get rid of the Windows dependencies. Fortunately I have the HTML and images that make up those files, and there’s the Qt Help system that can repackage them for their help engine so I can in theory make it work on Linux/MacOS.

Generating the XML files to describe which files should be packaged up doesn’t seem to be a major issue, but actually creating the necessary files in CMake is more of a problem. Allegedly it can be done with some of CMake’s recent support for Doxygen, but documentation for that appears to be a little thin. If I’m honest, documentation for the entire Qt Help system looks a bit thin compared with other parts of the project. For the time being, I’ve resigned myself to the help files being built every time and using custom commands and targets.

I’ve also had to work around the restriction that whilst qhelpgenerator can produce the .qhc files in the build directory structure, the .qch files seem to get a filename that’s generated by removing the .qhcp extension from the input file and adding the .qch extension whilst preserving the original pathname. Whether the program is run in the build directory tree or the source directory tree, the .qch file ends up in the source tree because that’s where the .qhcp file is. Copying the .qhcp file to the build tree doesn’t work either because all the HTML and image files are still in the source tree and can’t be found.

In the end I resorted to the following mess in CMakeLists.txt:

For brevity, create a couple of variables pointing to where the command is run and where the source files are:

set( cwd ${CMAKE_CURRENT_SOURCE_DIR} )
set( bin ${CMAKE_CURRENT_BINARY_DIR} )

Then create a glob containing the names of all the files that should cause a rebuild of the help files:

file(GLOB EN_DEPS
    english/*
    images/*.*
    images/Theory/*.*
    images/english/*.*
)

Use a custom command to run qhelpgenerator and move the .qch from the source tree back into the build tree:

add_custom_command (
  OUTPUT dsshelp-en.qhc dsshelp-en.qch
  COMMAND qhelpgenerator ${cwd}/dsshelp-en.qhcp -s -o dsshelp-en.qhc
  COMMAND mv ${cwd}/dsshelp-en.qch ${bin}
  DEPENDS ${EN_DEPS}
  COMMENT "Generating English help files"
)

And finally add a target that triggers the custom commands:

add_custom_target ( helpfiles ALL DEPENDS
  dsshelp-en.qhc
)

It’s really not pretty, but it seems to do the job. The worst bit is having it happen every time regardless of whether the files have been updated or not. As I have six different languages to cater for it would be nice to create a macro that makes adding a new one somewhat simpler too, but that can wait for another day.

Posted in Computing, Linux | Tagged , | Leave a comment

Memory Lane, 25th May 2022: A failure

Germination of squash plants always seems to be a bit random so I always sow far more than I need. Then when I get more plants than I want I can’t really bear to throw them into the compost. This year I thought I’d make a new no-dig bed around a walnut tree and put the spare squashes into the bed:

It was a sorry failure, sadly. The plants just never really took off. I don’t know if there was too much shade from the tree or if it was something else, but they didn’t produce any fruit.

I’m not giving up on the “bed round a tree” idea though. It makes mowing easier, especially if I put a woodchip border around the bed. Perhaps I just need to change the type of plant.

Posted in Smallholding, Veg plot | Tagged | Leave a comment

Memory Lane, 24th May 2022: Make room! Make room!

Thanks to needing more compost for the whole no-dig process, and attempting to compost more material, it was becoming obvious that my three compost bays just weren’t sufficient. I’d also decided that I should have a more organised process for composting too, in that although it’s not necessary it does help on the scale that I work at to turn the compost at some point, usually late Autumn.

I decided that if I had five bays then starting with them all empty I could begin by filling the second bay from one end, then third and so on down the line. If I additionally made the bay dividers removable then in the Autumn I could remove the divider between bays one and two to make it easier to move the compost between then, replace it once everything was moved, then remove the next one and so on.

Finally, to stop it all getting wet and soggy during the winter a roof would be ideal, and as it happened I had some old wrinkly plastic roofing lying about that once upon a time I used as cloches.

The walls of the existing bays were made of corrugated sheet and there were enough internal ones to extend the external walls if I removed them. I made new inner walls from scrap decking. Here I’m halfway through the job. I must have a photo of it all completed somewhere. Doubtless it will turn up later.

The new front and rear posts I bought in the right sizes and I had a couple of spare tall posts that could replace two of the existing shorter front ones, those replaced ones being subsequently bolted onto the remaining short ones to make them taller.

Posted in Smallholding, Veg plot | Tagged | Leave a comment