Windows Server 2019: RD Session Host — ChangeMode “Invalid operation” exception

If you’re changing the client access licensing mode of your RD Session Host using the PowerShell $obj.ChangeMode(…) command and it fails with an error saying “Exception … Invalid operation”…

Continue reading
Posted in Solutions | Tagged | 4 Comments

Windows Server 2019: Remote Desktop License Issue with User CALs

If you’re getting the following error message upon connecting to your Windows Server 2019-based Remote Desktop Session Host that is not joined to a domain:

Continue reading
Posted in Journal | Tagged | 31 Comments

“Install does not appear to be a valid OS installer application” (createinstallmedia error)

If you’re trying to create a bootable installer for an older macOS version (like El Capitan) with createinstallmedia, and it fails with a “does not appear to be a valid OS installer” error, quite possible the actual problem is that the digital certificate of your macOS installer has expired. Fortunately, you can easily overcome it by travelling back in time (from the operating system’s perspective, at least).

Continue reading
Posted in Solutions | Tagged | 1 Comment

Downgrade any Homebrew package easily

Update from 2020: the instructions for tesseract don’t work anymore, see comments from other users below the post.

I’ll use Tesseract as an example, but the same logic can be applied to any other Homebrew package.

Continue reading
Posted in How to’s | Tagged , | 13 Comments

“MagickWand shared library not found” on uwsgi

If you’re getting this error while deploying a Python app on uwsgi:

MagickWand shared library not found. You probably had not installed ImageMagick library. Try to install: apt-get install libmagickwand-dev

It may not be what it seems: Wand’s load_library() function would show this error message even if it found the shared library in question, but failed to load it for some reason.

Continue reading
Posted in Solutions | Tagged , | Leave a comment

Make VLC show the title of a streaming video

I’ve created a tiny VLC extension that makes VLC show the title of the currently playing streaming video. It allows you to set custom titles even for the streams that you don’t own (e.g. from YouTube). For more information, see:

Continue reading

Posted in Releases | Tagged , | 5 Comments

Kerio Connect server connection errors after upgrading to version 9.2.6

Kerio Connect 9.2.6 introduced a limit for a number of simultaneous connections from a single IP address, which is — by default — set to 100 per protocol. If more than a hundred of users start using Kerio Connect from the same place, the server would quickly run out the limit. When it happens, it would (seemingly) randomly block user connections and the users would see a connection error window (or “Bad Gateway” if you use a reverse proxy, e.g. nginx). Continue reading

Posted in Solutions | Tagged , | 2 Comments

Make tojson filter in Jinja2 output Unicode instead of escape sequences

This wasn’t documented anywhere, but kudos to the Jinja2 devs for making this so easy to figure out from the source code. Continue reading

Posted in How to’s | Tagged | 2 Comments

Fixing Windows Update: what to do when wuauserv refuses to stop

Every now and then my virtualized Windows 10 would stuck at “Checking for updates” or “Downloading updates: 0%”. The solutions on various websites suggest stopping the related system services (net stop wuauserv and net stop bits) and trashing the contents of C:\Windows\SoftwareDistribution, and then starting them again. But in my case, wuauserv would always refuse to stop (i.e. keeps trying to stop, but nothing happens), and because of this I wouldn’t be able to trash the contents of C:\Windows\SoftwareDistribution. Continue reading

Posted in How to’s | Tagged | Leave a comment

Where does the AppStore version of DaVinci Resolve Studio 12 store its projects?

Make sure to make regular backups of this folder: Continue reading

Posted in Solutions | Tagged | Leave a comment