Just a short, simple blog for Bob to share his thoughts.
29 June 2025 • by Bob • VLC
I have a small confession to make: despite my posts about My Top Ten Favorite Rock Songs, My Favorite Guitar Solos, and My List of 20 Most Influential Albums, I am a huge fan of Classical Music. My wife and I used to be season ticket holders for the Seattle Symphony, and together we've traveled around the globe to see symphonies, concerti, operas, and other classical music performances in myriad venues. While that might seem counter-intuitive for a
One of the greatest recurring classical music events is the BBC Proms, which is an annual event that has been held for over a century (since 1895!). Way back in 2012, the BBC Proms featured a performance with the São Paulo Symphony Orchestra of Alberto Ginastera's suite of Four Dances from Estancia (Opus 8A), which is a series of excerpts from his larger Estancia ballet. Thankfully I had the presence of mind to download the video from YouTube, because it's no longer available. And with that in mind, here is the full-length video that I downloaded:
Sadly, this video isn't the best quality, but it was uploaded 13 years ago, and at the time creators weren't uploading a lot of high definition videos. Nevertheless, I'm glad to have this copy of the performance, because conductor Marin Alsop is an absolute joy to watch, and her interpretation of Ginastera's Estancia suite is particularly well done. (And meaning no disrespect, I prefer Aslop's interpretation over Gustavo Dudamel's version at the BBC Proms from a few years prior, but I digress.)
Of the four pieces in the Estancia suite, my favorite by far is the fourth, which is titled "Malambo." Somewhere around the 01:55 point in the fourth movement of the suite it takes off into a frenzied display of Latin American musical wizardry, and I love to listen to it when I'm writing code. Occasionally I only want to hear just the fourth movement from the suite, and it's always a little weird trying to skip ahead to find the correct place within the full-length video to start listening.
Many years ago, my primary video player was Windows Media Player, which was a built-in feature on Windows systems, and in its day it was a pretty good media player. One of its most-useful features for me was its support for its proprietary, XML-based Windows Media Metafiles, which allowed me to create custom files that specified the beginning and ending for specific sections within a larger media file. For example, the following ASX syntax allowed me to separate the video of the full Estancia suite that I shared earlier into each of the four movements:
<ASX VERSION="3.0"> <TITLE>Ginastera - Estancia Suite</TITLE> <AUTHOR>Sao Paulo Symphony Orchestra</AUTHOR> <COPYRIGHT>BBC Proms</COPYRIGHT> <ENTRY> <TITLE>Estancia Suite - The Land Workers</TITLE> <REF HREF="BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4" /> <DURATION VALUE="00:03:10.0" /> </ENTRY> <ENTRY> <TITLE>Estancia Suite - Wheat Dance</TITLE> <REF HREF="BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4" /> <STARTTIME VALUE="00:03:10.0" /> <DURATION VALUE="00:03:02.0" /> </ENTRY> <ENTRY> <TITLE>Estancia Suite - The Cattle Men</TITLE> <REF HREF="BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4" /> <STARTTIME VALUE="00:06:12.0" /> <DURATION VALUE="00:01:53.0" /> </ENTRY> <ENTRY> <TITLE>Estancia Suite - Malambo</TITLE> <REF HREF="BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4" /> <STARTTIME VALUE="00:08:05.0" /> </ENTRY> </ASX>
However, the syntax for Windows Media Metafiles is considerably limited. If you look through the Windows Media Metafile Elements Reference, you'll notice that there aren't a lot of options. Of particular note in my preceding ASX example was that I could only specify the start time and duration for each section, rather than the start time and end time, which was preferable (by far).
Over time, I ceased using Windows Media Player in favor of the far superior VLC Media Player (otherwise known as the VideoLAN Client, or "VLC" for short). Among VLC's many improvments over Windows Media Player is its support for a different XML-based syntax, the XML Shareable Playlist Format (or "XSPF" for short, which is pronounced "spiff"). XSPF supports a far greater number of elements than Windows Media Metafiles, and through a series of VideoLAN's extensions it supports an even greater number of options that are specific to VLC.
Before I continue with some examples, I should share the reference links that I used when creating XSPF files for VLC:
URL | Description |
---|---|
http://wiki.videolan.org/XSPF | Provides a simple introduction to VLC and the XSPF format. |
http://www.xspf.org/spec | Defines the full specification for the XSPF format. |
http://wiki.videolan.org/VLC_command-line_help | Provides a full list of all the VLC command line options, which can be specified as XSPF options. |
I'll spare you the tales of trials and errors that I went through before arriving at the following XSPF example, which provided the same level of functionality that I had with the ASX sample that I provided earlier, albeit with some improvements that I will describe in a moment:
<?xml version="1.0" encoding="UTF-8"?> <playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1"> <title>Ginastera - Estancia Suite</title> <creator>Sao Paulo Symphony Orchestra</creator> <license>BBC Proms</license> <trackList> <track> <title>Estancia Suite - The Land Workers</title> <location>BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>start-time=0</vlc:option> <vlc:option>stop-time=191</vlc:option> </extension> </track> <track> <title>Estancia Suite - Wheat Dance</title> <location>BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>start-time=191</vlc:option> <vlc:option>stop-time=373</vlc:option> </extension> </track> <track> <title>Estancia Suite - The Cattle Men</title> <location>BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>start-time=373</vlc:option> <vlc:option>stop-time=486</vlc:option> </extension> </track> <track> <title>Estancia Suite - Malambo</title> <location>BBC-Proms-Ginastera-Estancia-Suite-Sao-Paulo-Symphony-Orchestra.mp4</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>start-time=486</vlc:option> </extension> </track> </trackList> </playlist>
As you can see, instead of the <STARTTIME> and <DURATION> elements from the ASX file, the XSPF file has <vlc:option>start-time</vlc:option> and <vlc:option>stop-time</vlc:option> elements that are defined within an <extension> element that is specific to VLC. The values for the new entries are offset in seconds from the start of the file, and the stop time is far easier to compute than the duration from the ASX file.
You can download this example XSPF file by clicking here.
One last note is that the "start-time" and "stop-time" options are from the VLC command-line help URL that I listed earlier. In short, the many options that can be specified on VLC's command line can be specified in <vlc:option> elements, which adds an enormous amount of flexibility when creating XSPF files. For example, instead of specifying the "stop-time" as I did in my example, you could specify the "run-time", which would allow you to specify the number of seconds for playback for a track rather than the offset in seconds from the beginning of the larger media file as I had done. There are lots of options to choose from, but they're outside the scope of this blog.
FOOTNOTE: I should mention that I first learned of Alberto Ginastera while listening to WRR FM in Dallas, TX, which is one of my favorite classical music stations on the planet. WRR plays a wide array of music from hundreds of composers - both classical and contemporary - from across the globe. I much prefer WRR over our local KUAT FM here in Tucson, AZ, which is a terrible classical music station that routinely slogs its way through dozens of utterly forgettable pieces of musical tripe that no one cares to listen to. KUAT FM seems to focus on broadcasting bizarre pieces of auditory garbage, which quite often feature long passages of discordant cacophony that scare my grandchildren. So if your goal is to hate classical music as a genre, then KUAT FM should be your "go to" station. But if you love classical music, then WRR FM is your best bet.
10 April 2025 • by Bob • Linguistics
I belong to a group of former military linguists, and someone shared the following article earlier today: Man Alarmed as His Cognitive Skills Decay After Outsourcing Them to AI. That article referenced a source article on the Wall Street Journal's website at How I Realized AI Was Making Me Stupid - and What I Do Now. As I read both articles, I must admit - I hadn't encountered the term "cognitive offloading" before, but I can easily see where it's happening more and more, and it's an interesting phenomenon that the majority of people don't realize is happening in their daily lives, and in some cases it's not necessarily a bad thing.
For example: there was a time when we were all required to give people directions to some location that would typically involve statements like, "Get off Main Street at Brown Ave, then drive until you see a Circle K on the right (not the one on the left), then you'll need to make a half-turn on your left past the big Oak Tree in front of a green house, and drive until the road ends near the corn field, and then..." Those days have long passed, because now everyone is carrying a GPS that is usually (e.g. 99%) accurate to get someone where they're going, and we've "offloaded" the part of our brains that used to have to think through the problem of getting someone where they needed to go. Building on this idea, I recently bicycled 500 miles across Spain along the Camino de Santiago, and for the most part Google Maps managed to get me from Point A to Point B (with only a few minor episodes where Google Maps tried to kill me).
In the past, I would have needed to haul a map with me and spend far more time planning than I did. So from a navigation perspective, I fully realize that I had become lazier. (Which, in hindsight, could have been an issue had my phone died on me.)
However, the concept of "cognitive offloading" made me think about languages. As a former Russian linguist, and as someone who lived 6½ years in Germany and used to speak that language passably, during my trek across Spain I intentionally chose NOT to let Google Translate do all the work for me throughout my journey. To be sure, I used Google Translate now and again to look up a word here or there in the same way that I used to use one of those tiny Langenscheidt dictionaries in the past.
But for the most part, I conversed with all the locals the old-fashioned way: by memorizing vocabulary and phrases, and by simply being willing to make a ton of grammatical mistakes along the way. My efforts were rewarded through some genuinely great discussions with lots of locals as I pedaled my through the mountains and villages of northern Spain, though in particular I'd like to highlight the discussions I had with a fellow traveler whom I occasionally ran into a few times: he was from Italy, and he didn't speak any English, and I'm from Arizona, and I don't speak Italian, so the only language the two of us had in common was our mutual poor grasp of Spanish (and we had a lot of laughter at our respective lack of skills in that regard).
All this is to say, I can attest to "cognitive offloading" in my life - I think today's technology has made that unavoidable to a degree. However, I can also attest that life is better when you don't let technology take over everything that requires active thought - especially when it comes to learning languages. In other words: life's a journey, make sure you enjoy the ride by stopping now and again to talk to the locals.
21 March 2025 • by Bob • Humor, Nature
In honor of March 21st being the International Day of Forests, I thought I'd share the following anecdote:
When my wife and I bought a house in Seattle many years ago, we had a single Maple tree in our backyard that was surrounded by towering Pine trees, which were, of course, blocking out the sun and clearly causing the lone Maple undo distress.
After a day of working in our yard to clear out some underbrush, my wife asked me how my labors were progressing, and I replied:
"There is unrest in our backyard
There is trouble with our trees
For our Maple wants more sunlight
And the Pines ignore its pleas."
Oh, sure - any self-respecting Rush fan could probably see that joke coming a mile away, but still - how could I resist? (IYKYK)
PS - My wife, who is no fan of the Triumvirate from Toronto, responded, "That's from a Rush song, isn't it?"
20 February 2025 • by Bob • Humor, Politics
In the wake of the "Gulf of America" renaming debacle, I think that Mexico should rename the "Gulf of California" to the "Gulf of Mexico," and California should rename "San Francisco Bay" to the "Gulf of California."
Meanwhile, "Cape Cod Bay" should be renamed the "Gulf of Ireland," the "Black Sea" should be renamed the "Gulf of Ukraine," "Long Island Sound" should be renamed the "Gulf of England," the "Red Sea" should be renamed the "Gulf of Saudi Arabia," and all the "Great Lakes" should be renamed the "Gulf of Canada."
While we're at it, the "Atlantic Ocean" and "Indian Ocean" and "Mediterranean Sea" should all be renamed the "Gulf of Africa," and the "Pacific Ocean" should be renamed the "Gulf of Antarctica."
I think that takes care of just about everything.
06 February 2025 • by Bob • Humor, Music
My granddaughter is obsessed with the children's superhero "Dog Man" these days, but I have to admit - every time she mentions him, I can't help but think of this song:
That's pretty much the same thing, isn't it?
28 January 2025 • by Bob • Travel, Humor
I believe I've stayed at this hotel on more than one occasion:
10 January 2025 • by Bob • Humor, Science
A friend of mine posted the following image from Twitter (with the actual names removed to protect the innocent):
I responded that I like to mess with people who are that scientifically illiterate by saying things like, "You realize that when you compare a woman's XX chromosomes to a man's XY chromosomes, there are 8 branches in a woman's DNA and only 7 for a man, which means that women have 12.5% more DNA than men, and that extra branch is where DNA stores all the building blocks for intelligence and logic, which is why most women are smarter than you."
Yeah, sure - that statement about DNA isn't scientifically accurate, but it doesn't matter - because whoever the illiterate idiot is, they've already proven that they're too dumb to know better.
29 December 2024 • by Bob • Marriage
Today my wife and I celebrate our 40th wedding anniversary, which is no small feat by any stretch of the imagination. Together she and I have faced more than our share of triumphs and tragedies, prosperity and poverty, happiness and heartbreak. This year we joyfully greeted our fourth grandchild, while bidding a tearful goodbye to my wife's brother and aunt and my father. When my wife and I both said "I do" all those years ago, we were mere children ourselves, blissfully blinded by the stars in our eyes from the realities that lay before us. Side by side we survived eight years of Cold War deprivations during my time in uniform, followed by almost 30 years of my wife's career as a nurse and my never-ending adventures and misadventures with Microsoft. Through it all, however, she and I have trod the path before us hand-in-hand, and words cannot do justice to how much my wife makes everything better in life.
Perhaps the great Irish poet, Thomas Moore, expressed it best when he penned the following verses:
Believe me, if all those endearing young charms,
Which I gaze on so fondly to-day,
Were to change by to-morrow, and fleet in my arms,
Like fairy-gifts fading away,-
Thou wouldst still be ador'd as this moment thou art,
Let thy loveliness fade as it will;
And, around the dear ruin each wish of my heart
Would entwine itself verdantly still!
It is not while beauty and youth are thine own,
And thy cheeks unprofan'd by a tear,
That the fervour and faith of a soul can be known,
To which time will but make thee more dear!
Oh! the heart, that has truly lov'd, never forgets,
But as truly loves on to the close;
As the sun-flower turns on her god, when he sets,
The same look which she turn'd when he rose!
13 December 2024 • by Bob • Music, Humor
I saw this image and it reminded me of an actual advertisement that I saw on a bulletin board back in the early 1980s in Tucson's Guitars Etc:
"Drummer wanted for band.
NO RUSH TYPES!!!
Drummer must be able to keep a straight beat."
IYKYK