Code assistants

I’ve Co-pilot enabled while following a book, The Rust Programming Language (Klabnick and Nichols, 2023). Can’t help but notice that I get code recommendations that are identical to the book.

I assume this is because not only is the book’s code on GitHub but there’s a bunch of people following along using GitHub.

At what point can we say that something is intelligent rather than I’ve seen the same code repeatedly?

Knulli Bluetooth controller

Anbernic RG35XX H with 8Bitdo SN30 Pro Bluetooth was a bit of trial and error but got an external controller configured with Knulli.

Power on the SN30 Pro in “Windows” mode (hold Y + Start) then hold the pairing button for 3s.

In Knulli, open the menu: Controller & Bluetooth Settings > Enable Bluetooth > Pair Bluetooth Pads Automatically.

Once detected, if the controller is not responsive then you’re in a mode other than Windows.

From Controller Mapping select OK on the warning then hold any key on the SN30 Pro. Configure the keys and set either the Function key as either Star or Home on the SN30 Pro.

You’ll need then to set the active controller to SN30 Pro as P1 (or P2) controller with Controller & Bluetooth Settings > P1.

It’s not perfect but more than good enough to play games with the device connected to HDMI, which is pretty handy for a short sighted old fart.

Renew SSL certificate in Plesk with IONOS

Log in to IONOS – you need three files:

  • private key (.key)
  • certificate (.cer)
  • intermediate certificate (_INTERMEDIATE.cer)

If you don’t have the private key, Revoke Old Certificate, then Reissue Certificate – on Firefox this is a bit weird but it’ll download the key file but until you open it won’t complete the reissue.

In Plesk go to Websites & Domains > SSL/TLS Certificates > Advanced Settings > Add SSL/TLS Certificate.

Enter a certificate name:

Scroll to “Upload the certificate files”:

Browse each file (it doesn’t matter that they’re cer rather than crt), use _INTERMEDIATE.cer for the CA certificate, then click Upload Certificate.