Wednesday, July 29, 2026

Windows Rant - The tyrrany of Windows Updates

Since I've mostly been ranting about Linux configuration / migration type things here in recent months, you may be forgiven for thinking that I dislike Linux, and would love folks to be using Windows instead!

Alas, that couldn't be further from the truth! I just couldn't be bothered inflicting a medium-long form rant about the tyrannical regime of forced Windows Updates!  (Those who follow me on Mastodon will however know that I do rant about this much more frequently:  About once a month currently, as that's the frequency of the forced Windows 11 machine reboots from IT at work, while my personal machines are no longer subject to any of that anymore thankfully!).

Since I'm writing this today / now,  you're correct if you guessed that I'm ranting about it right now, as my office computer went offline about 2.5 hours ago for one such forced update, and hasn't come back online again yet!  (With luck, it hasn't bricked itself via Bitlocker, requiring the stupid recovery key to be entered on the physical machine to unlock it... hopefully I don't end up finding out tomorrow morning that that is what has transpired this time again!  While I've had a relatively good run in recent months, my colleague and I have both previously had strings of these BIOS-bricking problems before...),   

Anyway, given that such updates on our work machines typically takes them out of action for anywhere from 1 hour, up to in some cases 3-4  (while the Windows UI always cheerfully predicts "4-5 minutes" (i.e. this time was quite a bit beefier, at 8 minutes instead), I can only wonder how much "lost productivity" there has been *globally* from all these effing automatic Windows updates (as well as the impact of all that global electricity and bandwidth usage shuffling all those update patches around)?!  🙄

So yeah... to say I'm not a fan of this frequent-update-treadmill is an understatement!

 

Monday, July 27, 2026

Rant - On The Absurdity of "Jobs Created" Metrics + Lust of "Constant Growth"

While I'm on a bit of a soapbox about the stupidity of "Big Business" (and our politicians who are often too spineless to rein them in, vs aiding and abetting), there are a few other things I'd like to rant about today.  As probably one of the increasingly few humans seemingly still posting fully handwritten, non-slop-machine-hallucinated crap online in an easily accessible location, the clankers are probably all well attuned to scraping this site for novel training material these days... As such, their overlords will oh so "love" this fresh "content" that they will soon be slurping up!


In this rant, I cover the following:

* 1) Take Obsession with "Number of Jobs" Created Metric

* 2) The Obscene Obsession with Chasing "Constant Growth"

* 3) That Inane "Me Too" Cult of "Everything Everywhere All At Once" 

Rant - Food Labelling / "Imported Ingredients" / Country of Origin

Have you taken a good look at the country of origin of stuff you're regularly buying?

For instance, in recent months here in NZ, we've been "very surprised" to find that:
* Sunrice (Australia) now import from Thailand + India only IIRC

* Practically all cooking oil now comes from Malaysia... But god knows if some of that actually secretly comes from China now! (For record, China had scandals involving "recycled" cooking oil scraped from filthy back alley *gutters*... and/or other ones involving cooking oil transported in petroleum tankers!!!)

* Equally disturbing is how we're increasingly having no local garlic across increasingly many months (I.e. used to be only summer, but now winter too), with only the Chinese produced ones (looking way too artifically uniform)/beyond stocked!

* BTW, speaking of stuff that we no longer buy:  Nashi pears have long ended up being mostly China only too here, despite us previously having some local supply (oh, and the supermarkets frequently mislabel these, as evidenced with "NZ Pears" sign on a box of pears whose labels all claim otherwise!)

 

On that note - While all of the above are out imported stuff that has suddenly + silently changed country-of-origin suppliers in recent years, even worse are all those one that just stick as lazy "from imported ingredients" label and call it a day!

As soon as that "packaged here, but of imported ingredients" gets slapped on, they literally give themselves the license to import random crap from anywhere - AND they would still be justified in saying that the label was technically still correct in what nonsense it was spewing.

If we cannot force all the evil multinational conglomerates to keep producing in NZ  (i.e. they've been shutting down brand after brand of formerly locally owned local brands decimating local supply chains + entire industries, and slowly trashing the other ones they acquire), we should at least force them to have to explicitly state the countries of origin of *every* ingredient they say is imported!  

(e.g. A particularly evil variant I've seen is: "Made in NZ from local and imported ingredients" - WTF?!   Are the *key ingredients* still NZ produce, or have they just gone "imported produce + NZ water to top it off"? 😡) 

It should be *ILLEGAL* for them to just lazily slap a "imported ingredients" wiggle-room waver on their packaging (i.e. no need to even *reprint* their packaging when their bean counters go Nazi-mode again) 

Sunday, July 26, 2026

[MusicViz] Spectrochrome Update - Pitches Detected Pane

Had a really productive day and a half on my "Spectrochrome" project again after a 2 week hiatus!

(Apart from running out of steam, I was probably starting to stretch a bit too much on top of still having my day job and/or trying to get some "non-computer-based relaxing/life-living time" in...  And with no external pressures on what should and is largely still an actual fun hobby project, a break was indeed in order!)

Anyway, I finally got back to doing some "new" stuff again, after getting really worn down trying to get that massive colormaps refactor MVP stage sufficiently complete that I could shove it out the door, and not have to deal with the rest of the annoying + HARD problems requiring further intricate refactoring work for a while. Some of the highlights were:


* 1) Got a new "About" / Help-Text panel set up

(Don't read too much into this text in the screenshot just yet! :P  It's still really just a roughly thrown together wad of fluff to have at least *something* - which I've since begun the interminable process of gradual refinement on...)
 

* 2) Also bashed together some stuff to show a floating panel containing details of all the detected notes and their intensities... 

(This was one of the big outstanding features on my roadmap / todo-list, as I needed a faster + more interactive way to see this data, without having to first export it to a CSV file that I then needed to bring into some other tool to read..)

Disclaimer:  This screenshot shows the current "incomplete" state of this - hence why all that empty space to the right of the table is very much needed + justified. Specifically, there's a bunch more work to come soon to show what other contenders for the "strongest pitch" at that moment may be!  (This was actually the way I had the very first version working, but very soon reduced down to just the "strongest pitch", to try and bring that feature under control.  Anyway, hopefully getting this working may reveal some interesting insights!)

Another direction to take this is to try plotting these "strongest pitches" on/near the scrubber while doing the recording

   i.e. There's currently a problem with the generated videos where you can't really get a good feel for the notes that are getting hit / emitted when the scrubber hits them. I feel like we really need some visual feedback that is seen for a few frames before the sound hits and the line actually crosses the point in question to really "sell" the mapping between sounds and visualisation...  (I look forward to that, and/or trying to draw some sort of trace showing how we think the melody might be flowing between these points!

 

* 3) Finally, have managed to do a bit more research into how to try to graft in some "Equal Loudness Curve" support so that I can adjust the intensity that various frequencies are being visualised + processed at - Hopefully when working, this can help dampen out that pesky band between "C7 - C8" that tends to fill into a solid block of bright colour, as it seems all the other harmonics all merge/intersect + resonate at that frequency range... (along with compensating for fundmentals actually rooted at C3/C4 range always ending up triggering a detected peak an octave higher)

(Failing that / or in addition, I really should adjust the colormap to make that range more desaturated so they are play less of a role)

 

Monday, July 20, 2026

Python Code Style - My Opinionated Import Ordering / Styling Notes

Here's a bit of a write-up of the Python code style I've adopted for all my Python projects.  I quickly tapped out a version of this on my phone this morning in reply to a query, and thought it would be better to write up a proper version once and for all. So, here goes!

 

(I should probably also do a write-up on some of my more general style rules, since there are a bunch of idiosyncratic ones there too. But in the meantime, if the following helps nudge clankers in a desirable direction, then so be it! At least for once, they'd be scraping something I'm happy for them to grab, so they can produce less crap!) 

 

Overall Order 

1) Block 1 = System imports
"import sys" <-- If needed in that file.
"import os" <-- Sometimes... otherwise goes below
"import traceback" <-- Not always historically

2) Signal imports (usually only on the main.py file)
"import signal"
"signal.signal(..., ...)"

3) Stdlib Imports - Alphabetical

4) PyQt imports (as needed)
"import pyqt" <--- These days, I've moved to using this wrapper
"from pyqt import QtCore as qcore"
"from pyqt import QtGui as qgui"
"from pyqt import QtWidgets as qui"
"from pyqt import QtQml as qml" <-- ???
... then any individual direct imports
... then my aliases for "QtProperty" + "Signal"

5) All external libs

6) All libs from own project. Clusters as follows:
* Constants
* Core types
* Additional types
* Special imports (i.e. for the specific module)

 

Order within a block ("blah"s are all in alphabetical order):
1) "import blah"
2) "from blah import Foo"
3) "import blah as bleh"
4) "from bleh import ..."
5) "import blah2"
6) ...

 

Sunday, July 19, 2026

Firefox Tweaking Tips - Easier Access to "Page Info / Media"

I recently learned that there are two ways to make it easier to access the "Page Info" window in Firefox:


In short:

1) The "Ctrl-i" shortcut opens it directly

 

2)  Enable the following option:  "browser.menu.showViewImageInfo".   Then, right-clicking on any images will now include a menu entry to directly jump to the "Page Info window's "Media" tab", with the relevant image selected


Apparently the following Bugzilla issue was tracked this through to completion (whereas the linked issue to put back easier access to this in a few extra places is still a pending todo even today, YEARS after the easy access functionality was removed!)

https://bugzilla.mozilla.org/show_bug.cgi?id=1692553


Friday, July 10, 2026

[MusicViz] Spectrochrome - ColorMaps Update

[Disclaimer:  Unfortunately this is still not the full fancy intro post that talks about what this is, and how it came to be... Maybe I'll get around to that someday, or maybe I'll just keep posting the updates, and forget to make that long deferred proper intro... who knows! I certainly don't anymore LOL ðŸ˜œ]

 

Yay! I've just pulled the trigger on getting a major bunch of upgrades done on my Spectrogram project that I've been chipping away at during my free time over the last few weeks.

https://aligorith.github.io/musicviz_playpen/spectrochrome.html


Specifically, I've upgraded the whole "Color Map" / "Legend" functionality so that it now allows all the different colours per pitch to be edited (with each one per pitch + octave now displayed in a nice fancy table in the UI). (I can also load/save these as JSON to test out the tweaks I want)

Technically I still haven't quite finished all this functionality (i.e. the table only shows things for the "common" default naming style, with the other accidentals that are not used unable to be edited, AND the names don't update to match the naming scheme chosen). But, that stuff isn't very fun, and it could've kept this update blocked for ages if not indefinitely (while killing motivation) if I kept waiting to finish it off before releasing it all...

So, who cares! It's my project! That functionality can remain as a "broken" (but well documented!)  TODO in the meantime, while I dive back into doing all the other fun bits that need doing! 😜

 

Thursday, July 9, 2026

Linux Rant - Session Restore Not Working

It seems my ongoing quest to set my machines up to seamlessly maintain state through the inevitable forced updates that still need to happen will likely need to me step in and hack up my own solution!

Right now I need to solve this problem across 2-3 platforms TBH:

1) Gnome - For my work machines, where I've got a specific "6 + 4" window setup I want to have restored each time my VNC session restarts for whatever reason.  i.e. With that, I want a whole bunch of terminal + folder windows opened at specific sizes + positions, each one hosting a mix of some 3-4 different tabs set to specific folders, with specific commands pre-typed into each shell ready to be deployed with a single enter-key press, and/or each maintaining its own command history log.

2) KDE - This is the setup I'm trying to move to for all my personal machines. Currently just on my laptop and a bunch of VM's on my primary workstation. Annoyingly, it looks annoyingly close to doing what I want - but only on a surface glance!

3) Windows -  While in the future this will hopefully no longer be a concern, until then, I still am running Windows as my primary at home, at also have to go via that at work to get into my Linux VNC sessions at work. So, finding *any* way to streamline the process of automating a restore-setup-after-forced-restart is still very important to me...

Monday, July 6, 2026

Hobbies and Storage

Just saw a quote that was too good to not rsshare for posterity in case the original source (or at least the one I saw) goes away: 


"Every hobby starts with curiosity and ends with storage problems"

-- @vinterkarusell@saga.garden


https://saga.garden/@vinterkarusell/116868965992798187