Looking For Quacks In The Pavement

Category: Geekery (Page 1 of 98)

Satisfactory – Right Turn, Clyde

I wonder if anyone is going to clock that reference. Hmm.

At any rate, I said a few days ago that I intended to come back once I had the process worked out for right-turn bypasses at railway roundabouts in Satisfactory. The idea being that there’s no point in sending the train through 270 degrees of cornering and eating up all pathway vectors if all it needs to do is “hang a right at the junction.” Minimizing the time spent in the roundabout block is good for any train which needs to utilize it.

Let’s show off the finished product right at the start. Including the slightly janky bit just back from the center caused by (once again) siting the roundabout too close to my paired support pillars.

So here’s how I make that happen, more or less. (Circumstances sometimes require some creative fudging. That’s the game in a nutshell though, isn’t it?)

Continue reading

Your Bitness Is Insufficient

I spent part of the workday making a script to perform two tasks on all machines at a particular client site:

  1. Remove a specific named user from the local “Administrators” group on a PC.
  2. Remove that user from the PC entirely.

Since I’ve been moving toward using PowerShell rather than various (potentially abandonware) utilities for handling command-line scripted jobs, I looked into if there were simple commands to perform those two tasks. Good news! Remove-LocalGroupMember and Remove-LocalUser exist!

The bad news? Microsoft’s documentation for both of those “cmdlets” stresses the fact that if you are on a 64-bit version of Windows and you try to use them in a 32-bit console, those cmdlets aren’t available at all.

Guess whose RMM system hasn’t yet gotten around to making 64-bit agent software? Surprise, that’d be ConnectWise’s “Automate” product. What does this mean? It means that the Automate agent’s “commands” are sent to a 32-bit console. Exactly what I don’t want.

Not to worry, however: With some testing I found that I can invoke PowerShell 7 (which lives separately from the “native” installed PowerShell) via the remote agent and those cmdlets are available! A heck of a workaround, but I’ll take what I can get. On the downside, the client for whom I needed this script didn’t yet have PowerShell 7 installed, not on any of their machines. This led to some time spent figuring out a fix for the PS7 installers not downloading reliably from our S3-compatible bucket. (Oh hey, Github links direct to the PS7 MSIs, thanks for existing.)

So… with PS7 deployed to the client’s machines (after I updated some automation to make sure all clients’ machines will get the PS7 product and/or update) I successfully ran my new script to eradicate the unwanted user account. A day well spent.

I just wanna rock thru paradise

(Look, the last songs I listened to before starting this post were all by Midnight Oil and I couldn’t resist mangling the first line of “Pictures” for no good reason whatsoever. Deal with it.)

If you’ve known me for a decent number of years, you know I can’t resist making a “living room multimedia” setup. The most recent rig is an Intel NUC that I planned to run Kodi on, since it does a decent enough job at reading ratings & other tags from my music library files. Unfortunately, what it doesn’t do is offer much in the way of remote controls anymore. The product’s always been more focused on watching videos than listening to music anyway, so I suppose it was inevitable that I’d eventually tire of its shenanigans.

So today I tried switching to Mopidy. Basically, it’s a service-level process which provides access to your music library and will play whatever you select through the local machine’s audio hardware. Perfect!

Only. Well. Not actually perfect.

For starters, Mopidy and Pulseaudio had to be made to talk to one another. (I goofed the first time I tried to follow the instructions to make this work, because of course I did.) And I needed a front-end. (I’ve gone through several, none of them particularly great.) And then I ran into the biggest, most annoying problem: Mopidy and its available front-ends don’t care about tags (other than artist, title, album, and maybe artwork).

I need the ratings, and I also need the Mood tag. Oh, and I want to be able to make smart playlists. That, at least, Kodi could do!

I’m afraid I’m going back to the drawing board. Again.

« Older posts

© 2023 greyduck.net

Theme by Anders NorenUp ↑