I have been happily enjoying my self-hosted Nextcloud installation on an ancient Raspberry Pi for a few months. It's been mostly without issue, but I have noticed that sometimes it struggles with deleting files or with synchronising files that you delete locally (i.e. it somehow isn't aware of the fact that a file has been deleted). Sometimes I've fixed it with a very rudimentary technique that…
I was trying to use the Nextcloud utility script occ , but it refused to run as I invoked it: $ ./occ Console has to be executed with the user that owns the file config/config.php Current user id: 1000 Owner id of config.php: 33 Try adding 'sudo -u #33' to the beginning of the command (without the single quotes) I tried to just do as they said, so I changed my call to use the user id that owns…
You know the classic advice about not putting all your eggs in the same basket? The same, but applied to code repositories. It makes me a bit nervous that we somehow have centralised a lot of services in GitHub. Plus, you can reduce latency considerably by working closer to where you are, and publishing only at the end. So I have been wanting to try running Forgejo locally for a while. Since I…
I have set up Nextcloud in a Raspberry Pi running here at home. My goal is two-fold: firstly I want to have a file sharing solution that works across devices and operating systems, and secondly I also want to know where the data is (and by extension, who can access it!). Calling this a "home cloud" is a bit of a stretch: given how humble my goals and the machine it is running on, it's more akin to…
Yesterday when I published my latest experiment I was planning on leaning back and luxuriating on the pleasure of finishing a thing, but the universe had some other plans in store for me. It occured to me to check my web statistics, when I noticed an anomalous spike. Surely that could not be a sign of my experiment having become very popular, because I had just posted about it it was not my most…
I made a thing! Well, actually, several smaller things. Performers . Music players! 4'33" (as performed by your browser) can play John Cage's 4'33" , using different Web APIs and ways of combining them. For example, one uses "nothing", other uses a Web Audio AudioContext , other uses OfflineAudioContext , other generates WAV files and then can play them with an <audio> element, etc. It has only…
My script for starting the VM and mounting its filesystem as a folder in the host works well , but some days I feel extra lazy and I'd rather not type at all if possible. Could I maybe launch the whole thing by clicking somewhere? The answer is: YES, by using a desktop shortcut (or "launchers" as they're more commonly called). Creating a desktop launcher in Linux But it is very much not as evident…
Just spent a few fun hours setting up a brand new Raspberry Pi 5. This is the first time I use this particular model and I was a bit apprehensive about the fact that it now warms up enough that it can need a fan, so I bought the official case with the fan. It was easy to assemble, as there are no screws. Things just slot into place and are loosely held together but without shaking from their…
My first "ambitious" Web Audio project was porting my VST instrument Sorollet (which was written in C++) to JavaScript, as sorollet.js . At a very simplified level, software using a VST instrument requests periodically a "slice" of audio data 1 from the instrument, and the instrument returns such a thing by writing the results of its computations into a buffer. Thus when I wrote sorollet.js , I…
I had to use a website operated by Capita 1 on behalf of Westminster Council and I feel horrified and blessed at the same time. It was what should have been a very simple form, but still ended up going for a number of pages. From my superficial inspection in the DevTools I could tell they used jQuery, so I don't know how old this codebase is. Why was I inspecting this form in DevTools? Because one…