vttoth

I am a software developer and author of computer books. I also work on some problems in theoretical physics. For more information, please visit my personal Web site at http://www.vttoth.com/.

Oct 302020
 

I don’t usually write about such matters, but a letter like this one is always a nice one to get even when there is no raging pandemic:

Let this serve as a public service reminder: If you are, like me, in your fifties, especially if you are a male, with a sedentary lifestyle (spending your days in your office chair), perhaps overweight: You are at risk. Early detection may mean the difference between surviving to a ripe old age in good health vs. dying before you get to enjoy life as a pensioner.

 Posted by at 5:53 pm
Oct 282020
 

My revulsion over Trump notwithstanding, every once in a while, when I am confronted with the blatant intolerance of “cancel culture” and the frequent dishonesty of “progressives”, I do feel that the Trumpists have a point.

Case in question: On October 13, 2020, SCOTUS nominee Amy Coney Barrett responded to a question concerning sexual orientation by stating the following: “I have no agenda, and I do want to be clear that I have never discriminated on the basis of sexual preference and would not ever discriminate on the basis of sexual preference. Like racism, I think discrimination is abhorrent.”

Progressive outrage was swift. Sexual “preference”? Sexual orientation is not a preference. You do not choose to be gay, queer, or bisexual. True. (Though allow me to observe that pedophiles also do not choose to be sexually attracted to children. No, I absolutely do not equate a loving relationship between consenting adults and the abuse of children. Just making a factual observation, a rhetorical point if you wish, highlighting that “orientation” does not, by itself, make a person’s sexual behavior socially or legally acceptable and that sexual orientation notwithstanding, a person can choose, or prefer, to refrain from committing unlawful acts. Besides, if sexuality was just a matter of preference, would that make persecution acceptable? Is it okay to persecute on the basis of religion, which is obviously a matter of preference? Which is why, I think, the “consenting adults” standard is far more appropriate than any distinction between orientation vs. preference when we define what is legal, socially acceptable, and protected as a basic human right. But, I digress.)

So here is the thing. Here is how Webster’s online dictionary defined the word “preference” as late as September 28, 2020, according to the Wayback Machine:

And here is how the definition changed on or before October 14 (when the Wayback Machine next captured the page) and what it says today:

Can you spot the difference?

Yes, somehow magically, overnight maybe, the word “preference” acquired an offensive meaning that was previously unknown to the editors of Merriam-Webster. The explanatory paragraph states that “The term preference as used to refer to sexual orientation is widely considered offensive in its implied suggestion that a person can choose who they are sexually or romantically attracted to.”

If your conservative friends respond with “what the [expletive]!”, I think they have every right to be upset. This kind of altered reality smells like the work of the Ministry of Truth in Orwell’s 1984, or the altered photographs of the Stalin era with their vanishing commissars. In any case… “widely considered” by whom? (Expressions like this are actively discouraged by Wikipedia as weasel words, expressions of anonymous authority that should be avoided in encyclopedic definitions.)

It is one thing to condemn bigotry and racism. It is another thing to actively search for opportunities to be offended, even altering reality if that’s what it takes. This is not tolerance. This is virtue signaling. This is phony outrage, cheap political theater. The fact that the “progressive left” sinks this low, feels justified to sink this low (because, you know, Trump!) is sickening.

Of course there is a charitable explanation: Perhaps Webster’s simply responded to the “facts on the ground”, the criticism of Judge Barrett serving as a reminder to check, and update, this dictionary entry. But even if that were the case, shouldn’t such an update be based on more than a single instance of a political firestorm in the final weeks of a hotly contested US election cycle? Was it really necessary to make this change with such urgency? Given the fact that the entry directly relates to an unfolding, current political event, didn’t that deserve at least a footnote? Or perhaps just wait two weeks until the (badly rushed) confirmation process is over?

Bah. Who cares about such niceties, when there is such a wonderful opportunity to engage in righteous shaming.


NB: The screen captures above are mine. They are slightly altered (I removed commercial banners and information related to my personal privacy.) Their content was not manipulated.

 Posted by at 1:24 pm
Oct 192020
 

Since when is listening to the scientists a bad thing?

Now as to the claim that if he listened to the scientists, he’d have tanked the economy… here is what Mr. Trump’s pandemic response accomplished with respect to the US economy:

Compare this against China, where the totalitarian government, to their credit, actually listened to the scientists:

Even Canada, with a much less spectacular pre-pandemic economic performance than the United States, fared much better than our southern neighbor on which much of our economy depends:

So I suppose, Mr. Trump, you just gave millions of thinking Americans another reason to vote for Mr. Biden. I’d laugh but… neither the state of the US economy nor the number of dead, rapidly approaching a quarter million, qualify as laughing matter. Not to mention the seemingly inevitable march towards an increasingly illiberal, increasingly authoritarian America, driven by structural causes that go back decades and which a Biden Administration is just as unlikely to address as preceding administrations.

 Posted by at 1:21 pm
Oct 182020
 

I rarely remember my dreams. It was therefore striking when this morning I woke up from a vivid dream. In my dream, I visited my long dead grandmother’s old apartment, except that she was very much alive, sitting in front of a desk facing the window of her room. I stood at her doorway, not wanting to get any closer, COVID-19 and all. I said to her that we should keep our distance, and at first she nodded but then, bah, she approached me anyway with the intent to hug and kiss me. Not having any better ideas, I quickly held up the sheet of paper or book or whatever it was that I had in my hands, so that instead of kissing each other on the cheek, we ended up kissing through that paper object. I truly was worried that if we are careless, we risk her frail health.

In actuality, my grandmother, who was born in 1901, passed away 26 years ago. I was wondering what prompted this dream. Then I realized: last night, I saw an image on Twitter, a 1908 Canadian painting titled Mrs. Davies at the Sewing Machine, by Albert Henry Robinson.

Not quite the same as my grandmother’s room, but it has the same vibe, same atmosphere.

What an unusual dream.

Yes, I loved my grandmother very much. But I don’t think I ever saw her using a sewing machine.

 Posted by at 12:46 pm
Oct 112020
 

I learned the other day that Jeff Lynne was made an Officer of the Most Excellent Order of the British Empire.

Lynne is one of the founders of the supergroup Electric Light Orchestra. Though there were inevitable changes and periods of inactivity, ELO has been in business for a remarkable 50 years.

I first “met” ELO in the mid-1970s when my uncle returned to Hungary from a trip to Canada. He brought a few records, including ELO’s On The Third Day, and he let me make a cassette copy.

This was my first encounter with ELO’s brand of progressive rock, a mix of pop rock and classical instrumentation. It was instant love on my part. Their interpretation of Grieg’s In the Hall of the Mountain King from Peer Gynt, in particular, left a lasting impression. Incidentally, it also increased my appreciation for classical music.

These days, I often listen to ELO when I am working. It works better than almost any other piece of music, helping me focus on my work. Especially useful when I am working on a difficult problem, whether it is physics or a tough code debugging exercise. As a matter of fact, I was actually listening to ELO when I first heard the news.

I suppose I cannot call Mr. Lynne Sir because for that, he’d have had to be made a Knight of the OBE, not a mere Officer. Even so, all I can say is that it’s an award well-deserved. Thank you for the music, Mr. Lynne, OBE.

 Posted by at 6:27 pm
Oct 092020
 

So I try to start a piece of software that accesses a classic serial port.

The software locks up. The process becomes unkillable. Because, you know… because. Microsoft has not yet discovered kill -9 I guess.

(Yes, I know that unkillable zombie processes exist under Linux/UNIX, too. But in the past 25 years, I remember exactly one (1) occasion when a Linux process was truly unkillable, hung in a privileged kernel call, and actually required a reboot with no workaround. On Linux, this is considered a bug, not a feature. In contrast, on Windows this is a regular occurrence. Then again, on Linux I have fine-grained control and I can update pretty much everything other than the kernel binary, without ever having to reboot.)

Ok-kay… this means Windows has to be restarted. Fine. At least let me check if there are any Windows updates. Oops… error, because an “update service is shutting down” or whatever.

Oh well, let’s restart. The browser (Edge) will remember my previously opened tabs, right?

After restart, another program tells me that it has an update. Clicking on the update button opens the browser with the download link. Fine. Just checking, in the browser history all my previously opened tabs (lots of them) are still there. Good.

Meanwhile, Windows Update does come to life and tells me that I need to restart my system. Couldn’t you freaking tell me this BEFORE I restarted?

Oh well, might as well… restart #2.

After restart, let’s open the browser. History… and all my previously opened tabs are gone. The only thing the bloody browser remembers is the single tab that contained the download link for that application.

@!##%@#!@. And @#$$!@#$@!$. And all their relatives, too. Live or deceased. And any related deities.

Oh well, let’s restore the bleeping tabs manually; fortunately, I also had most of them opened in Chrome, so I could reopen them, one by one, in Edge. (Maybe there’s a more efficient way of doing this, but I wasn’t going to research that.)

Meanwhile, I also restarted Visual Studio 2019. It told me that it had an update. Having learned from previous experience, I shut down a specific service that was known to interfere with the update. It proved insufficient. When Visual Studio was done updating, it told me that “only one thing” remains: a teeny weeny inconsequential thing, ANOTHER BLOODY RESTART.

Because, ladies and gentlemen, in the fine year of 2020, the great software company Microsoft has not yet found a way to UPDATE A BLEEPING APPLICATION without restarting the WHOLE BLEEPING WORLD. Or at the very least do me a bleeping failure and warn IN ADVANCE that the update may require a restart.

My favorite coffee mug survived, but only just barely. I almost smashed it against the wall.

So here we go… restart #3.

It was nearly two hours ago that I innocently tried to turn on that program that required access to the serial port. Since then, I probably aged a few years, increased my chances of a stroke and other illnesses related to high pressure, barked at my beautiful wife and my cats, almost smashed my favorite mug, lost several browser tabs but also my history in some xterm windows, and other than that, accomplished ABSOLUTELY NOTHING.

Thanks for nothing, Microsoft.

And I actually like Microsoft. Imagine what I’d be saying if I hated them.

 Posted by at 1:18 pm
Oct 082020
 

I’ve not blogged in a while as I’ve been insane busy.

But tonight… tonight I feel more strongly than ever that we are all extras in some galactic entertainment show.

Remember the Breaking Bad episode that was about a fly landing in Walter White’s meth lab?

Well, here we are, with the US vice presidential debate, and the Internet is abuzz… about a bleeping fly that landed in Mike Pence’s head. Not the substance of the debate. Not its (reasonably pleasant) tone. But the bleeping fly.

I wonder if they saw the fly in China. One thing they didn’t see was certain comments about China. The censors of the Middle Kingdom were swift to protect their great nation from undesirable thoughts:

What a world we live in.

What November will bring, I don’t know. The worst possible outcome: A disputed election. Even a Trump landslide is preferable. And of course a Biden victory will do nothing to resolve the systemic issues that led to Trump’s presidency four years ago in the first place.

What fresh madness does 2020 still have for us? I hope none. But in light of the fly tonight, I just don’t know anymore. Perhaps we are indeed extras in a scripted show that is created by a deranged group of writers.

 Posted by at 1:18 am
Sep 242020
 

Reading about Trump’s refusal to commit to the peaceful transfer of power, I suddenly felt the urge to read up on the history of our Canadian provinces during the US Civil War.

As it turns out, Canadian provinces did well economically. And some of Canada’s enduring institutions, seemingly undemocratic yet serving as effective guarantees of political stability and safeguards against excessive partisanship, such as the appointed Senate, were born in the wake of the lessons of that conflict.

Even so, I worry about the future. US elections this November will be unlike any other in living memory, I fear.

 Posted by at 2:06 am
Sep 222020
 

My favorite Twitter accounts: @PossumEveryHour, @RaccoonEveryHr, @RatsEveryHour,@ekichoTAMA, @evilbmcats, @giantcat9. I also love the Facebook Bird Misidentification Page. I think I should limit my social media consumption to these groups. For mental health, you know.

 Posted by at 8:13 pm
Sep 122020
 

I have a travel radio.

It is a SONY ICF-SW1. It is an amazing little radio, probably the nicest radio ever made by anyone. It looks more like jewelry than a radio.

It is an immensely capable universal receiver, with continuous tuning in the AM band between 150 and 29995 kHz, and in the FM band between 76 and 108 MHz. About the only shortcoming that was mentioned by its critics is that it is a shame that such a radio does not offer the ability to selectively pick modulation schemes (e.g., narrowband FM, SSB).

I bought this radio maybe a quarter century ago, back in the 1990s. (So I guess it qualifies as an antique, despite the fact that there really are no comparable receivers out there that I know about.) I thought about buying one for quite some time but at first, I refrained as the radio was quite pricey. But one day, while waiting for my flight back home at Budapest Airport, I could not resist anymore: I saw the radio at the duty free shop and bought it.

Come to think of it, it must have been 1993 or earlier, because as I recall, the radio was already in my possession when I visited Beijing in the fall of ’93. As such, it began to show signs of age, its sound quality deteriorating because of aging electrolytic capacitors.

A few months ago, I purchased a capacitor kit off eBay, in the hope that I might be able to repair the radio. In fact, I began the repair job back in the summer, starting with taking the radio apart; not an easy task by itself, as it requires not just the removal of countless screws, not just carefully separating snap-together parts of the radio’s case without causing damage, but also desoldering several wires.

Back in the summer, I successfully replaced two capacitors but then I put the radio aside. It was hard work, and very easy to make irreversible mistakes working on submillimeter scale parts with a soldering iron. As I attempted to replace a third capacitor last night, I managed to rip up a small patch of the printed circuit board. I was able to repair the damage with a piece of wire, but this was the point when I said, enough is enough; “do no harm” should be my mantra, and I certainly do not wish to destroy this beautiful little device. So I decided to forego the rest, in the hope that the two largest capacitors that I replaced (the third was a backup capacitor for the microprocessor, to keep it powered while replacing batteries) would be sufficient. I did, however, replace the display backlight: the original backlight was a low-luminosity green LED, which I replaced with a modern, high-luminosity white LED that I received as part of the kit.

Putting everything back together was a challenge, too, and not just because the light didn’t work at first (bad soldering on my part). Ultimately I managed, though I ended up with four surplus screws with no place to go. (I think I know where they’re from, but they are redundant, and there’s no way I am going to take this radio apart again just to put those screws back in.) And much to my surprise, the radio works, and its sound quality indeed improved noticeably.

As I was studying the circuit diagram of the radio, I kept wondering what possessed SONY to produce a little marvel like this. This radio is insanely complex, with its multiple circuit boards in an absolutely tiny package. The number of distinct parts (each carefully labeled in the service manual with replacement order numbers) is astonishing. Was it a labor of love? Were they showing off? Probably both.

 Posted by at 12:20 pm
Sep 102020
 

We live in a blessed country. That doesn’t mean that it is a flawless country, not by any means. And we also have occasional cases of political corruption, such as when a leading politician uses his position for partisan advantage.

But…

Here is this news item from The Globe and Mail‘s evening e-mail newsletter that caught my attention:

Morneau breached election laws by using ministerial role to promote Liberal candidates, watchdog says

Commissioner of Canada Elections Yves Côté has found former finance minister Bill Morneau violated federal election laws ahead of the 2019 election by using his government role to promote Liberal candidates.

The decision points to two examples in which Morneau visited Ontario ridings in his capacity as Minister of Finance, but used each visit to promote the local Liberal candidate.

The report determined that the “known quantifiable costs” associated with these events have a commercial value of $1,661. That amount has since been paid back to the government.

So here we have, ladies and gentlemen, a national political scandal, Canada style: it cost Canadian taxpayers the princely sum of $1,661, which has since been paid back to the government.

No, there is no need to remind me that there other, (much) bigger scandals afoot, WE charity and other things, but I still find it encouraging that an ethics lapse amounting to $1,661 is sufficient to rise to the level of national scandal in this country. It reflects a certain degree of innocence that, I hope, will remain a characteristic of Canada for many years to come.

 Posted by at 5:41 pm
Sep 102020
 

In the last few days, I was:

  1. scolded in one Facebook group, when I commented on a post and made a mention of other personalities (who are not directly connected to the topic of the group), intended to serve as examples showing that the issue being discussed was a much broader one;
  2. had a repost of mine of a funny image to a humor group unceremoniously deleted, for supposedly reposting “ad nauseam” something that I have not yet seen in that group since I became a member a few months ago.

Yes, I know, discussion group moderation is a thankless task. Been there, done that.

But, as I often reminded all-powerful witches and wizards in our favorite MUD (Multi-User Dungeon) games, there is no point overdoing the policing. It sucks away the fun for everyone. By all means, step in and police blatant violations… but also be wise and know when it is more appropriate not to notice things, even when they technically qualify as infractions. The goal, simply put, is to make things fun for everyone, not to enforce rules at all costs. In short, rules exist for our convenience, not the other way around.

If only people were this conscientious when it comes to pandemic-related rules for social distancing and wearing masks… Rules that are there, you know, because they actually save lives?

Oh well. Done ranting for the day.

 Posted by at 1:13 pm
Sep 042020
 

This is intriguing. Thanks to a recently published study, we may now know better why COVID-19 wreaks havoc with the human body, and perhaps know a little better how best to treat the illness.

I am generally wary when it comes to research that relies heavily on computer codes. I have zero experience in medicine or molecular biology, but when it comes to physics, I’ve seen unjustified reliance on computer programs that were treated as opaque black boxes and which, when I looked at the source code closely, turned out to contain code that was not particularly well written, difficult to decipher, and obviously not subjected to proper quality control by experienced IT professionals. I have no reason to believe that the situation is any better in other fields, such as medicine.

But in this case, the mechanism that they are uncovering actually makes sense. The “bradykinin hypothesis” basically amounts to the discovery that COVID-19 messes with the very receptors that allow it to enter the body in the first place: it hypersensitizes these so-called ACE2 receptors, which in turn suppresses the breaking down of bradykinin, a chemical that regulates blood pressure. The resulting runaway buildup, the “bradykinin storm“, causes blood vessels to leak, the lungs to fill up with fluid (gel-like, to make things worse, and to make ventilators less effective) and even lead to neurological effects, in part because of a breakdown of the blood-brain barrier.

All this sounds quite horrible, and it is, but understanding it can also lead to better treatment. Medications to deal with a bradykinin storm are readily available. And something as mundane as Vitamin-D can be immensely helpful.

Related to this, I read also that COVID-19 can mess with the thyroid gland. This is of obvious concern to me, as I’ve been taking thyroid medication for hypothyroidism for decades. I was relieved to learn that a pre-existing thyroid condition does not seem to cause complications.

 Posted by at 11:40 pm
Sep 032020
 

Tonight, Slava Turyshev sent me a link to an article that was actually published three months ago on medium.com but until now, escaped our attention.

It is a very nice summary of the work that we have been doing on the Solar Gravitational Lens to date.

It really captures the essence of our work and the challenges that we have been looking at.

And there is so much more to do! Countless more things to tackle: image reconstruction of a moving target, imperfections of the solar gravitational field, precision of navigation… not to mention the simple, basic challenge of attempting a deep space mission to a distance four times greater than anything to date, lasting several decades.

Yes, it can be done. No it’s not easy. But it’s a worthy challenge.

 Posted by at 10:54 pm
Aug 302020
 

One thing follows another…

I’m listening to old MP3 files on my computer, one of which contains this once popular song by Paper Lace, The Night Chicago Died.

I once read that the band knew nothing about Chicago’s geography; I checked again on the Wikipedia page dedicated to this song.

The page mentions, among other things, how then Chicago mayor Daley hated the song. Daley? The same Daley who demolished Meigs Field airport, the island airport serving downtown Chicago that was the starting location of Microsoft Flight Simulator for many years?

Indeed. (Well, almost. There were two Daleys, father and son, Richard J and Richard M.) And Wikipedia tells me that the island has indeed since been turned into a park and nature preserve. But there are few pictures, so I figured I’d check it out using Google Maps.

So I typed Chicago into Google Maps and was greeted with this message in response:

I don’t know but this seems… a tad embarrassing isn’t it. Unless of course Chicago actually did die last night, and was promptly removed from Google Maps in response.

But no, Chicago is still there. The Google Maps thing was just a glitch. As is Northerly Island, which once hosted that ill-fated airport, its future as uncertain as it has always been in the past century or so.

 Posted by at 5:21 pm
Aug 292020
 

My mind just got blown.

The reason? Photographs like this one:

No, it’s not photoshop. Nor is it a movie prop.

Back in the 1950s, 1960s, early 1970s there really was regular bus service connecting the city of London, United Kingdom, with Calcutta (now Kolkata), India.

It really blew my mind. What a ride! Traveling through Belgium, West Germany, Austria, Yugoslavia, Bulgaria, Turkey, Iran, Afghanistan, West Pakistan (now Pakistan), and finally, India.

I think what really blew my mind was not that the roads were there. Of course. But that a bus, obviously from a Western capital, carrying unarmed passengers, could safely travel through this route. Sure, passengers needed a multitude of visas, even crossing the Iron Curtain (twice!) but nonetheless, the route had to be safe enough, roadside services had to be reliable enough, and the authorities along the route had to be trustworthy enough for a bus operator to be able to offer this regularly scheduled service.

Of course things didn’t stay that way. The India-Pakistan border has become less open each passing year. Afghanistan went to hell in a handbasket with the Soviet occupation, the Taliban, the American invasion in the wake of 9/11. Iran turned into a theocracy with the Islamic revolution. Yugoslavia went up in flames in a bloody civil war. Today, it would be quite impossible* to organize reliable bus service from London to Kolkata.

I cannot help but wonder what it must have been like, for a child in Kolkata, Kabul, Lahore or Tehran, looking at this bus and imagining that faraway, fabulous city of London. I used to feel that sense of awe a little when, as a child in behind-the-iron-curtain Budapest, I saw trains departing the railway station for faraway, magical places like Vienna or Paris; but those were a lot closer, a lot more accessible to us in Budapest than London must have been to a 6-year old in Kabul or Lahore in 1969.


*Or maybe not: Apparently there is an effort under way to establish a bus route, with a gigantic detour through Myanmar, Thailand, China and Russia. I wish them luck.

 Posted by at 1:34 am
Aug 252020
 

I keep reading about ancient Rome. Part of the reason, of course, is that every so often, looking in particular at American politics, I wonder if we are witnessing history repeating itself.

But there was a lot more to ancient Rome than politics and palace intrigue.

Take their roads. They knew how to build roads! Holy Roman macaroni, some of the roads built two thousands years ago are still in use!

I don’t know if Roman roads represented the first properly engineered road network in history, but they certainly were properly engineered.

And there were a lot of roads in ancient Rome. Apparently, they had some 80,000 km of paved roads, and several hundred thousand kilometers of additional roadways criss-crossing the realm.

An Internet data scientist and cartographer, Sasha Trubetskoy, created a fantastic map of the major Roman roadways in the style of modern subway maps.

It truly is amazing that two thousand years ago, it was possible to circumnavigate the Mediterranean via paved roads and regular service stations, making it possible for a determined traveler to travel several hundred kilometers in a day.

 Posted by at 4:15 pm
Aug 162020
 

Moments ago, as I was about to close Microsoft Visio after editing a drawing, I was confronted with the following question:

Do you want to save earth?

Needless to say, I felt morally obliged to click Save.

In case you are wondering, yes, the file was indeed named earth.vsdx.

 Posted by at 10:32 pm