Sync login/lock screen wallpaper to current desktop background

For Windows 7, this turned out to be pretty easy to do via PowerShell. I just had to look for a native image resizing library since the lock screen for some odd reason, only supports JPEGs up to 256KB in size. Probably one of those legacy items left over from NT, like the file system permissions dialogs, and the built-in environment variables editor…

I ended up using WIA’s ImageProcess COM library which worked surprisingly well. It just resizes whatever you give it to the primary desktop resolution, so that’s not guaranteed to be less than 256KB, but it works more often than not so it was good enough for my purposes.

https://github.com/nearwood/wallsync

Windmill – Windows Window unclobberer

I noticed during the (many) meetings I attend that disconnecting and reconnecting my laptop from the dock reorganizes all my windows to the laptop’s display. This got annoying to have to drag and resize everything when returning to my desk, which has a 3 monitor setup. So, I wrote this small Win32 application to allow you to save the positioning and size of all windows and then restore them at a later time.

https://github.com/nearwood/windmill

There are binaries in the releases tab.

There doesn’t seem to be an API to detect when removed or added from a dock, so a futher enhancement I’d like to do is to detect when (the same) monitors are re-connected and then automatically move all the windows back. But, it works really well as it is.

405HP 280Z

A somewhat local place had a surprise dyno day so I went to try and tune my car a bit. Was somewhat successful, reaching 405 HP and 420 Ft-lbs. before giving up. I was hoping for 450 HP, as my turbo and injectors should be able to support it easily, but oh well. I couldn’t get past ~14psi or so.

But I kept experiencing some spark blow-out and had a rear main leak, so I decided to cut it short.

Fixing mirrorlist on Arch Linux Arm (Raspberry Pi)

I hadn’t updated my Raspberry Pi (a B+ model for my rpi-drd project) in about a year. Pacman -Syu kept complaining about being unable to find files on any of the mirrors.

So I, without thinking, ran reflector on an x86 host and copied it over. Oops. Now it definitely can’t find packages.

The archlinuxarm.org website gave me the hostname I needed, but not the entire URL. Put this in your mirrorlist (as the sole entry) to restore functionality:

Server = http://mirror.archlinuxarm.org/$arch/$repo

DCS MiG-21: First Flight

I have DCS World, and whenever I get a new module I like to try and “just fly the thing” with minimal cockpit familiarity. I always expect hilarity to ensue but it’s really not that exciting. Like with the Ka-50 I just crashed with in-air starts, and could never get it off the ground with a cold start (until I read the operating manual). But helicopters are hard, so that’s not a surprise. Planes are easy. After getting the MiG-21BIS module though, I did have a few solid chuckles.

Here’s my in my first ever flight (started in flight at about 500 meters). I attempt to find the gear and flap controls and land. Gear was easy; flaps, not so much but I ended up ‘cheating’ and using a keyboard shortcut for flaps as I feared I was coming in way too fast. Which I still was. Skip to 4:50 if you just want to see the ‘bouncy’ landing.

And then I fumbled around trying to open the cockpit and extinguish the fire (which was a entire-plane-on-fire, not engine fire), but my fire extinguisher system was off.

October Autocross

Got a new oxygen sensor installed, tuned it a bit, and went to an autocross in my 280Z a couple weeks ago. I was third in my class! Out of three, though. So last. Still, the real victory is that my car made it there, ran, started and restarted fine, and then made it back home.

I also got to try my slicks out for the first time, and man, they make the car much more predictable. Lift-off oversteer is still there but manageable and much more forgiving (which probably doesn’t help that I have a bad habit of inducing it). Traction is not as greatly improved as I thought it would be, but I was just running them on the rear.

Anyway, here are a couple runs. A fun run (no time, just learning the course), and my fastest run.

 

Msqur 1.0 update

I added an update to msqur today. Just a small update to the landing page since it was kind of blank. Moved the settings icon to the view page instead of every page. Also fixed the readme and license files for formatting.

I get a lot of hits from Russia on that site. Actually, I get a lot of hits from Russia on all my sites. I imagine most of them are bots probing for weaknesses. A bunch are trying to manipulate GET requests, but there’s not much you can do. Surprisingly little abuse to the upload function, which I thought would have been the first thing to be attacked. Msqur receives quite more hits than my other sites. Nothing’s happened so far, but I make backups so I’m not too worried.

Anyway, some thoughts for future updates are browse filters (by engine size, compression, etc.), a search function (not sure how to distinguish it from browsing since there isn’t much plain text to search for at the moment), and pagination to the browse index. But again, it’s on the back burner so not a huge priority for me.

280Z Update

It’s been a while since I’ve worked on my Z. I’ve been working on rebuilding my wife’s 300ZX, which is progressing slowly. My Z had a dead oxygen sensor and was not tuned correctly. It also had a fuel leak. But last week I fixed both of those issues and now it runs like a champ.

I then leaned out the fuel table by about 25% (I had richened it up when the sensor died to be safe). I was able to use autotune to then fix up the fuel map quite a bit. I really think it’s time to get it tuned on a dyno, but haven’t committed yet.

Sent off my oil temperature gauge to get the range changed from 100-300 degrees F or so to 60-260.

I’d like to use the slicks I got in at least one race this season, but I need to remove my bump steer spacers for the 15″ wheels they are on to fit.