Cursor Detection Run Time Analysis
Automation

Cursor Detection Run Time Analysis

This is a quick follow-up to an earlier post today. I don’t have much to add, just more code and some (basic) graphs. Direct Xlib usage is seriously the way to go. Code Script Runner Raw Data Munging Setup pyautogui-pixel-color.py xlib-color.py xwd-convert-chained.py xwd-convert.sh All Together Slow Only Conclusions Code You can find everything here in the repo. Script Runner To get some data, I had to revamp most of the scripts from the first post.

  • CJ Harries
    CJ Harries
Quickly Detect Cursor Position and Color
Automation

Quickly Detect Cursor Position and Color

I’ve been absolutely thrilled moving my home dev world back to Fedora. I’m not fighting OS ads, virtualization just works, and my settings actually stay the same after updates. I am, however, missing AutoHotkey. It’s been an integral part of my computing world since undergrad. I’ve spent the better part of three years looking for a POSIX AHK clone with no luck. I’ve tossed around the idea of starting something similar for some time now.

  • CJ Harries
    CJ Harries
Ubuntu Notes: Unlocking /var/lib/dpkg
Vagrant

Ubuntu Notes: Unlocking /var/lib/dpkg

I ran into some issues this morning setting up a Xenial box via Vagrant. On boot, /var/lib/dpkg was totally locked with nothing I knew to link it to in ps aux. I’ve created a fairly novel solution; my point today was to learn about something new. You should have a basic familiarity with the Linux CLI. If you don’t know what systemd is, that’s not a big deal. Skip to my take on a full solution if you’d like, but make sure to read the disclaimer first.

  • CJ Harries
    CJ Harries