News: Link to old message forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - diddly

Pages: [1] 2 3 ... 12
1
General Discussion / Re: Adding Redis Cache to Nextcloud
« on: May 15, 2026, 09:38:41 AM »
Seems it just needed to get whatever it was chewing through out of its system, as it hasn't returned to the nasty CPU hog since.  Until I see it resurface, I'll consider this resolved.

2
General Discussion / Adding Redis Cache to Nextcloud
« on: May 14, 2026, 01:07:56 PM »
I thought my web site was under constant attack.  The PHP sub-process (fpm-php) was constantly pegged with multiple workers at 100% CPU, which is what this message forum uses.

I was wrong!  I was attacking myself with a poorly configured Nextcloud docker container.  Some background process I didn't know about was hammering the resources.

The fix for me was to add a redis cache (also as a docker container) and configure Nextcloud to use it.  These are the steps I followed:
1) Since we are already running Nextcloud as a docker container, it's safe to assume docker is installed and running
2) Create a docker container for redis.  I used something like the following command:
Code: [Select]
docker create \        --name=nextcloud-redis \
        --env=PUID=1000 \
        --env=PGID=1000 \
        --env=TZ=America/Toronto \
        -v /path/on/host/redis:/data \
        -p 6379:6379 \
        --restart=unless-stopped \
        redis
3) Start redis:
Code: [Select]
docker start nextcloud-redis && docker logs -f nextcloud-redis4) Reconfigure Nextcloud to use redis cache.  Edit your config.php for Nextcloud (mine sits in config/www/nextcloud/config/)
Add the following lines within the $CONFIG = array ( block:php
Code: [Select]
  'memcache.local' => '\OC\Memcache\APCu',
  'memcache.distributed' => '\OC\Memcache\Redis',
  'memcache.locking' => '\OC\Memcache\Redis',
  'redis' => [
    'host' => '192.168.x.x', // Matches the host IP running your redis container
    'port' => 6379,
  ],
5) Restart nextcloud
Code: [Select]
docker restart nextcloud && docker logs -f nextcloud
If all goes well, you should see the CPU usage for nextcloud drop like a rock in whatever monitoring tool you use.

(Update) In the time it took me to write this, whatever 15 minute background jobs is causing the blockage started again and once again my nextcloud container is taking 577% CPU.  Having a cache doesn't hurt, but the quest for a solution continues.
Also note, the above redis cache is unsecured and I'm relying on a well insulated LAN for protection.  You should probably add at least password protection to your cache.

3
Diddlycraft Discussion / Open Source Client!
« on: February 25, 2026, 11:23:51 AM »
It has finally happened!  A viable Open Source client is being developed for private servers!  WoWee isn't the first attempt, but it seems the most likely to succeed.  Available for Windows, macOS, and linux natively!


4
General Discussion / Re: Docker Update Checker
« on: November 13, 2025, 01:57:09 PM »
Much better Docker update checker here: dockcheck  Runs exclusively on the command line and faster than downloading every new image and comparing.

5
General Discussion / Dell U4919DW KVM Switching
« on: October 29, 2025, 10:52:22 AM »
For my own reference, and anyone else trying to accomplish this: The Dell U4919DW monitor has built-in KVM switching.  Meaning, you can hook up one keyboard and mouse to the monitor and control multiple computers.

Where this becomes interesting is in Picture-by-Picture mode (PBP).  You can have to computers displaying on the same monitor simultaneously.  However, you can only control one at a time using the attached keyboard and mouse.  So how do you easily switch between them?

Until now I had been using the on-screen display (OSD) using buttons on the monitor.  This is fine when really only using one computer at a time, but for rapid / frequent shifting it becomes tedious.  Instead I needed a way to do this from the keyboard.

On a windows machine, you can install Dell Display Manager (or Dell Display and Peripherals Manager) and program hotkeys to switch KVM inputs.

But my non-work computer is linux.  For that you need to install ddcutil ("sudo apt install ddcutil" on ubuntu) and execute: ddcutil setvcp E7 0xFF00

You can alias that command, throw it in a script, or set some hotkey / hot corner operation to facilitate that.

Now I can flip between computers, having both displayed simultaneously, without having to navigate through the clunky OSD

Source: https://www.dell.com/community/en/conversations/linux-general/dell-display-manager-keyboard-shortcuts-for-kvm-switch-on-linux-ubuntu-for-u3821dw-monitor/6698ead384a7860c8e48bca0


6
News / Re: Update your WinRAR
« on: August 12, 2025, 09:45:42 AM »
WinRAR has another 0-day exploit.  Why aren't you using 7-zip?

Source

7
General Discussion / Re: AI Generated Music
« on: July 17, 2025, 07:50:26 AM »
Rick Beato recently made a youtube video on how easy it was to make AI slop music. His arguments were sound, but in the video you can see him vibing to the songs.  I saw Suno had updated their algorithm so wanted to generate some stuff of my own.  You can hear any of my shared songs on my profile page

8
News / Someone is always listening...
« on: March 17, 2025, 09:10:36 AM »
Did you opt out of Alexa sending your every word back to Amazon?  Better bin those devices, because Amazon is ditching the option (assuming they ever really honoured it).

9
News / Re: Toots
« on: December 01, 2024, 08:13:29 PM »
While it has been fun running a Mastodon-like server, I've decided to take darkshade.social down.  I tried moving the instance to another machine, but I'm stuck running Pleroma, and that's a convoluted mess to migrate.  It was really only used by me anyway.  If you're looking for me now, I've moved to diddly@sunny.garden


10
Diddlycraft Discussion / Re: Halloween in Diddlycraft
« on: October 24, 2024, 08:07:17 PM »
Halloween is the perfect time for a Death Knight in Diddlycraft.


11
News / 600 Million Passwords
« on: September 27, 2024, 02:25:42 PM »
Facebook and Instagram stored your passwords in plain text, and now they’ve been leaked. Always use a password vault and different passwords for every service.

12
Reviews / Re: Single Sentence Reviews
« on: May 06, 2024, 02:11:51 PM »
TV Series post!
Halo - Season One: John "Master Chief" struggles with Microsoft Cortana spying on him, meanwhile a prophesied young girl defends a planet.  :)
          Season Two: undoes all that in the first ten minutes and refuses to explain why dead people aren't dead  >:(
Elsebeth - A side character from Good Wife/Good Fight immediately solves a murder the audience witnesses then spends the rest of the episode trying to prove it to boneheaded police  ???
Tracker - Smallville's Green Arrow finds missing people for a price.  :)
Krapopolis - Tyrannus is a self-declared king of early civilization, with supernatural parents and siblings, and ungrateful citizens.  No description does this show justice.  8)
Welcome to Wrexham - Touching, humourous, and exciting documentary about Deadpool and some other guy buying a football team in Wales.  :)
Clarkson's Farm - An idiot known for loving cars becomes an idiot who loves farming  8)
Taskmaster - Do you like laughing?  Watch this show  8)
Ghosts (UK) - A young couple inherits a manor that they turn into a B&B, she has an accident and can now interact with ridiculous ghosts that died on the premises.  :)
Ghosts (US) - A young couple inherits a manor that they turn into a B&B, she has an accident and can now interact with ridiculous ghosts that died on the premises.  Now in American accents!  :)
Roadside Rescue - A guy fixes delapotated vehicles enough to get them running again.  A TV version of Vicegrip Garage from youtube.  :)
Shogun - Masterfully done retelling of the James Clavell book.  Lord Toranaga attempts to keep the peace in feudal Japan, and some Anjin makes for a useful distraction  8)
Physical 100 - Korean tournament of beefy men and women undergoing gruelling physical challenges.  Second season as good as the first  :)

 

13
General Discussion / Re: AI Generated Music
« on: April 11, 2024, 01:09:16 AM »
Not mine, but precious.


Dune - The Broadway Musical

14
General Discussion / Re: AI Generated Music
« on: April 11, 2024, 12:56:49 AM »
Tried a couple new AI services tonight.  Supposedly Sonauto gives you more control, and lets you name an artist you want the output to mimic.  It sort of works, but often sounded garbled, like a backwards played record.  Maybe it was just the way I was using it.

Then I stumbled upon Udio and generated this song:

Canvas Reverie

Similar to Suno, it generates pairs of output in small chunks, and you have to add sections to extend it into a full song.  It seems to have more allowance for free use, and the output sounds less compressed than Suno.  Generated lyrics can be just as bizarre though.



15
General Discussion / Re: AI Generated Music
« on: March 30, 2024, 12:47:08 AM »
Quite proud of this one


Awakening of the Seasons - Nordic percussive folk

Pages: [1] 2 3 ... 12