Posts

Puzzles and Survival mobile game on BlueStacks X from Windows 10 - Minimum Settings

Image
I installed BlueStacks X to try and run some mobile games from my Windows 10 desktop, for purposes of saving my phone battery from being drained so quickly.  My initial experience was a little rocky as games kept crashing.  After some tweaking I was able to find some stability.  If you have plenty of resources on your desktop, great, go ahead and use the Performance setting and have everything at High.  I didn't have that luxury on my Windows 10 desktop with an AMD Ryzen 5 CPU and 16 GB RAM, as I have multiple apps running including virtual machines (on a similar note, I did try out an Android 9 x86 VM from OS Boxes  but most Android games are ARM-based and wouldn't install).  I read that BlueStacks will work because it's emulating ARM, but this does come at a performance cost. Here is a screenshot of the strategy game Puzzles and Survival running in BlueStacks: Initially, I had tried to get it to run using Medium (2 CPU) and 2 GB of RAM, but the game kept crashing and was

Hotmail/Outlook unusual activity from Ireland is most likely just Gmail

Image
  It's 2023 and I still keep my Hotmail email address around, mainly to use when I need to create an account for some app or web site. I have my Gmail account set up to sync the emails - Google's spam filters are far better than any other free email service I've used.  Recently, I've gotten emails with the subject line "Microsoft account unusual sign-in activity".  The links in the email do go to account.microsoft.com so I looked into it.  Each time, it shows the location of the activity as coming from Ireland (I assure you, I'm nowhere near Ireland!).  After I clicked "This wasn't me" on several occasions, I realized Gmail was no longer syncing my Hotmail emails.  When I went to Gmail's "Accounts and Import" section, it displayed a warning that emails couldn't sync for that account. In that section, I had to re-enter my Hotmail credentials and then go to https://account.live.com/activity to click "This was me" to

How to add a Google Analytics (GA4) tag or other Javascript snippet code using Grav Admin

Image
I recently started using Grav for a separate blog unrelated to this one.  It's been great so far, with an easier learning curve than other self-hosted CMSes (though not easier than a default Blogger/Blogspot or Wordpress site).  One thing that was strange to me was that there doesn't seem to be a default way to add a piece of JS code such as a Google Analytics tag to your Grav site using the Admin console. It's not readily apparent, but there are some plug-ins you can install such as "Custom JS", which I prefer to the Google Analytics plug-ins for future proofing and ease of adding other JS code snippets as needed. From the Grav Admin console, go to Plugins > + Add > (search for "custom" in the filter box) and then install it.  Note, the plug-in automatically has a <script> tag before and </script> tag after. So if you are adding a code snippet that already starts with <script> and ends with </script> then you will need to r

Uninstall gnome from Debian / Ubuntu - full apt remove commands

I accidentally installed Debian 12 with GNOME on a "headless" virtual machine with only 10 GB of disk space with a low-cost hosting provider.  I would only ever need to SSH into such a VM. Rather than re-installing again I tried to see if I could remove the GNOME/X11 components.  Various Reddit, Stackexchange and Superuser threads gave some commands but they were far from complete, at least for the newer Debian 11 and 12 versions. Using "sudo apt list --installed" showed what else was remaining after I ran "sudo apt remove gnome". Some of these I looked up online to see if they truly were graphical only. Warning: Do not just run "sudo apt remove gnome*" or "sudo apt remove x11*".  One of these ended up doing a cascade uninstall of sudo itself!  Fortunately I had the root password and could re-install it, but if you don't, I'd try these commands separately.   sudo apt remove totem sudo apt remove xauth sudo apt remov

DIY backing cover plate for Eufy doorbell

Image
Make your own backing cover plate for a Eufy doorbell (DIY) I recently upgraded my old LaView doorbell to a Eufy 2K Pro doorbell.  The Eufy is a tad slimmer and exposed some of the roughed up exterior wall.  Not only was it unsightly, but if you looked from the side, you could actually see and potentially pull out the power cables using something like a paper clip.  I looked online for some wall backplates and found some on Amazon with names like Wasserstein or Vomenc.   But most of these were for Ring or Blink doorbells.  I just needed something simple.  At first, I thought to find a piece of generic black plastic, but then found an almost perfect match. View after initial mounting with exposed hole You can just use a simple light switch plate that costs less than $1 at a home improvement store.  The screw holes almost line up perfectly - I ended up screwing one in at a slight angle and it was fine.  Also, I opted to use some stronger screws I had on hand than the ones included.  Tho

ColorTool throwing error "Invalid URI: The hostname could not be parsed." for Microsoft WSL

Image
Windows Subsystem for Linux (WSL) is pretty cool. We've had some good alternatives like Cygwin and virtual machines, but having a Microsoft-supported Linux kernel that runs natively in Windows is a whole other story. If I had a time machine and visited my younger self to tell me about the future, I could talk about neat things like almost self-driving cars, reusable rockets, cryptocurrency, or even an online movement to beat hedge funds in the stock market! My younger self could've believed all these things, but not "Microsoft embraces Linux". Younger self would have branded current me as a bold-faced liar, an imposter! I've been pleased with WSL thus far.  But the default bash color scheme is horrendous (this isn't necessarily specific to WSL itself, as other Linux native bash shells have similar issues). What I'm talking about are dark colors on a black background, the worst being dark blue on black, and some colored font on a green background. 

Kill-a-Watt power consumption comparison for three wi-fi routers: ASUS and Cisco / Linksys

Image
I've used open source router firmwares such as DD-WRT, TomatoUSB, and most recently FreshTomato and Asuswrt-Merlin. I had been using a trusty Cisco/Linksys E2000 on TomatoUSB 1.28 for a number of years, and sometimes marveled at its relatively good range despite having no external antennas. But having read ASUS routers and their stability, along with the Asuswrt-Merlin firmware and its ease of installation, I bought a couple of used ASUS routers. I picked up an RT-AC66U (AC1750) and a T-Mobile co-branded RT-AC68U (AC1900). Installing the latest supported Asuswrt-Merlin was a breeze. Then it was time to measure wattage to see how much power usage increase (all tested with wi-fi only, no customizations, no WAN connection, 1 LAN connection). Cisco/Linksys E2000 running FreshTomato 2020.8, 5W usage: ASUS RT-AC66U on Asuswrt-Merlin 380.70, 9-10 W usage: ASUS RT-AC68U on Asuswrt-Merlin 384.19, 9-10 W usage: I was pleasantly surprised that I'm able to r