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/.

Nov 172023
 

“I am freer than you”. These were the defiant words of St. Petersburg artist Sasha Skochilenko as she was sentenced for five tiny pieces of paper, providing details about Russia’s “special military operation” in Ukraine.

She used the five pieces of paper in question to replace price tags in a grocery store.

Among other things, she said in court, that [emphasis mine]

[…] I am unable to understand why we need military operations. Why are we doing this? Military actions shorten life. Military actions mean death.
You can call it anything you want. You can say I was mistaken, misled, or brainwashed. But I always stick to my opinion, my truth.
I don’t know anyone other than the state prosecutor who wants to put me in prison.
In fact, I think that deep down even the state prosecutor doesn’t want this. I think he became a prosecutor to imprison real criminals and miscreants — murderers, rapists, pedophiles.
[…]
You are worried about your career […] to give your children or your future children a head start. But what will you tell them? Will you tell them how you sent to prison an ailing woman because of five tiny pieces of paper?
[…]
Even though I am behind bars, I am freer than you. […] I am not afraid that I won’t have a dazzling career or of appearing funny, vulnerable, or strange. I’m not afraid of seeming different from other people. Maybe that is why the state fears me and others like me so much and keeps me in a cage like a dangerous animal.

What an incredibly brave woman. What a morally bankrupt state it is that imprisons someone for this “crime”.

 Posted by at 12:11 am
Nov 112023
 

The fate of animals in wars was often tragic. They served their human masters (and all too often, died with their human masters) faithfully.

One of the most touching war memorials I ever came across was the Animals in War memorial in Hyde Park, London, that I stumbled upon completely by accident, unaware of its existence. Not that the animals themselves care, but it’s nice that they are remembered. And as of 2012, Ottawa has its very own Animals in War memorial, in Confederation Park.

Neither of these memorials specifically mention cats, though, despite the fact that cats played no small a role in making the otherwise unbearable conditions a teeny bit more tolerable. Many were killed. Occasionally, they even helped save their masters’ lives.

Long story short, last night I asked Midjourney to depict a gentlecat, thinking about his lost comrades.

 Posted by at 12:45 pm
Nov 082023
 

Sometimes it feels… so pretentious.

Here I am, saying all sorts of clever things in my blog. I once declared blogs to be write-only media, my way of shouting at the world without the world saying anything in return, but that kind of ceased being true when I decided, eons ago, to share my blog posts on social media, where a few friends at least reacted occasionally.

So who do I think I am, proclaiming my wisdom to the world, really?

For instance, a few days ago I thought I’d blog about the first precision clock arriving in America centuries ago, and promptly failing, leading to a better understanding of how the gravitational acceleration on the surface of the Earth may change with geographic location. But is there anything I can add to the subject other than what’s in the article I am citing?

Or take this report from earlier today, about Singapore’s Prime Minister expressing very much the same concerns that I have about the world experiencing a moment of danger not unlike the moments before the Great War. OK, so I blog about it. Is there anything I can add other than, hey, look, I am ever so clever, even Singapore’s PM shares my views!?

I suppose I feel most comfortable blogging about my actual research or my work. These are subjects that I can address with some competence.

Or maybe just blog about cats. They know how to be wise and silent, after all.

Meanwhile, in the world of humans…

F-15s strike weapons facility in Syria

By Lauren C. Williams and Jennifer Hlad

ABOARD A MILITARY PLANE—Two U.S. F-15 fighter jets attacked a weapons storage facility in eastern Syria on Wednesday, in what Defense Secretary Lloyd Austin called a “precision self-defense strike” in response “to a series of attacks against U.S. personnel in Iraq and Syria by the [Iranian Islamic Revolutionary Guard Corps]-Quds Force” and related groups.

So I must now follow my cats’ example and resist the urge to blog about how the US and Iran might already be at war…

 Posted by at 9:51 pm
Nov 062023
 

Looking at this headline on CTV News this morning, you might have been wondering if our esteemed politicians have finally decided that they’ve had enough of us, this winter it’s time for the unwashed masses to freeze to death. No more home heating for you!

Fortunately that is not what the news was about. What the headline should have said was, “Calls for all home heating tax to be suspended”, referring to carbon taxes that apply to fuel, and the decision of the government to suspend this tax on home heating oil but not other home heating fuels.

Guess it was a little too early in the morning for some of CTV’s technicians this Monday! (Can’t really blame them. When does their workday begin anyway, 4 AM or something?)

 Posted by at 9:39 am
Nov 042023
 

I grew up on The Beatles.

OK, I came a little late I guess, as The Beatles broke up when I was in the second grade, and truly it wasn’t until the fifth grade that a classmate introduced me to the Red and Blue albums… But I fell in love with their music. I couldn’t believe that they were not together anymore, and like many young teens my age, I kept hoping that they’d reunite until Lennon was murdered.

I never stopped loving their songs.

What I did not expect was that I’d be listening to a new Beatles song almost 50 years later, in 2023.

I admit I was skeptical at first. I expected something that would bear a vague, soulless resemblance to what The Beatles used to be, a cheap attempt to cash in on their fame one very last time.

Instead, I was listening to an authentic Beatles song. One of their best, as a matter of fact. And I was looking at a video that brought Lennon and Harrison back to life, cheerful, funny, joyous, happy…

Bless Peter Jackson. There are “deepfakes” and then there are “deepfakes”… and I cannot think of a more appropriate, more respectful use of AI, bringing legends of the past back to life, as in this video.

I have listened to the song and watched Peter Jackson’s masterful creation at least five times in a row. And every time, I was almost in tears.

 Posted by at 6:53 pm
Nov 022023
 

Imagine the following sequence of events:

  • First, a second-rate power suffers a terrorist attack as part of a festering political crisis that has been going on for many years. This attack is the proverbial last drop in the bucket: they feel they must respond, and launch a punitive military expedition that may not be well planned and might even fail, despite their apparent superiority.
  • A rival second-rate power who supported the rebels that committed the terrorist act feels that it must intervene. Its voice has been ignored for far too long, and it has vital interests in the region.
  • A Great Power, in support of the first second-rate power as part of a long-standing alliance, steps in, reluctantly because they do not want to get embroiled in someone else’s war, but convinced that their actions are unavoidable.
  • Another Great Power, in reaction, steps in as well because it feels that it is necessary essential to do so in order to maintain the existing world order and their position therein.

What did I just describe? The October 7 attack on Israel by Hamas? The increasingly hostile response by Iran? A possible intervention by the United States assisting Israel, leading to direct conflict with Russia who are already active in the region and embroiled in conflict elsewhere?

Nope. I was describing something that happened 109 years ago, when Serbian terrorist Gavrilo Princip murdered Austria-Hungary’s heir to the throne. Austria-Hungary’s punitive expedition against Serbia was launched in response. This led to Russia’s decision to enter the war, followed by the German Empire and ultimately, Britain.

Yet, though the analogy is far from perfect, the parallels are unmistakable. And to be honest, frightening.

This is why I don’t think of 10/7 as Israel’s 9/11. Nope. It’s our era’s Sarajevo.

We have been living in a golden era that has no precedent in human history. Pax Americana, which began in 1945 and was characterized by measures like the Marshall Plan that, instead of punishing Western Europe, helped the continent back onto its feet, has been keeping our world safe and prosperous for almost eight decades. No, not perfect, far from it. Millions still died in conflict. But it was millions, not billions, and the promised great conflict, a thermonuclear WW3, has not happened yet. Meanwhile, billions live in relative security, safety, and prosperity, enjoying decent lives, on a scale that truly has no historical parallel (though the period between 1849 and 1914 comes close.)

But ultimately, all good things must come to an end, they say. And this world order is coming apart at the seams. Alliances weaken. A rules-based world is no longer in vogue. Liberal democracies are losing their middle class, even as the same middle class votes for lower taxes and less government, forgetting that it was higher taxes and more government (reminding my good American friends of the late 1940s, 1950s, with the GI bill, the Interstate highway system or public education, all financed by taxing high incomes at rates not seen before or since) that built that prosperous, strong middle class in the first place. Other Western nations follow similar paths as the middle class shrinks and trust in the institutions of liberal democracy erodes.

“The lamps are going out all over Europe,” declared Sir Edward Grey, Britain’s Foreign Minister at the time, on August 3, 1914 as his country was about to declare war on Germany. I fear that we are just a hair’s breadth away from our lamps-are-going-out moment. And just like Sir Edward Grey, responsible leaders of our times appear to feel increasingly helpless.

 Posted by at 10:08 pm
Nov 012023
 

A few minutes ago, I checked Google News on my phone and lo and behold, there was a link to Universe Today, a new article discussing my latest manuscript on multiple gravitational lenses.

I knew that this was in the works, as the author approached me with some questions earlier in the day, but I didn’t expect it to appear this quickly, and, well, seeing it on my phone like this was a nice surprise.

Had the author asked, I’d have happily granted permission to use one of my generated images or animations involving multiple lenses.

Meanwhile, my paper on a four-satellite configuration used to detect deviations from Newtonian gravity was published by Astrophysics and Space Science, one of the Nature journals. I am officially permitted (in fact, encouraged) by Springer to share the link to an online read-only version of the published paper.

 Posted by at 1:25 am
Oct 292023
 

Every so often, a Google Calendar reminder that I set up ages ago reminds me to charge our old cell phones. This is to prevent their batteries from dying as a result of a deep discharge.

Old cell phones, you ask? Well, yes. When we swapped phones, we kept the old ones for a while, just in case. And then we kept them because wiping them securely seemed like too much of a hassle. And then we kept them because, well, what’s the alternative? Landfill? Yes, I know, some service providers accept old phones, might even give you credit. But what happens to those old phones? Who needs them? Who can use them, with their ailing batteries and, worst of all, the absence of software updates, including security patches?

Indeed, this end of support was the main reason why we ditched phones in the past. And it really is tragic. Never mind phones old enough to have outdated specs. I have here a few devices that have hardware specs that would be reasonable on the low end even today. The devices are perfectly functional. Yet they are worthless.

This is just… conspicuous consumption, forced upon us by a society that measures the health of the economy not by its stability or sustainability but by growth. Pointless, limitless growth.

Never mind that in the meantime, the middle class shrinks, the income and wealth gap widens, society is becoming more polarized, ultimately threatening the very foundations of our Western liberal democracies. Who cares about such nonsense when there’s a new phone out there with half a dozen camera lenses and who knows what other nonsense just to make you believe that they’re worth your money and that it’s perfectly okay to throw away a capable, quality piece of electronics that would have many more years of useful life left?

Darnit, I realize I almost sound like a grumpy old commie, when in reality what I worry about is the future of a healthy capitalist society, characterized by freedom of conscience, the rule of law, freedom of speech, and freedom of enterprise. But there’s a fine line between freedom of enterprise and the “tragedy of the commons”, and when free enterprise undermines the very foundations of liberal democracy, perhaps it is advisable to do something about it before it is too late.

By the way, I really liked these Nokias. What a pity we had to get rid of them. They still function perfectly, but without security patches, they’re not worth the risk.

 Posted by at 2:58 pm
Oct 212023
 

It was 82 years ago, back in 1941, that the country of my birth, Hungary, switched to driving on the right [link in Hungarian].

Streetcar with a large sign reminding the public to drive on the right

The decision has a sad history. It was prompted by the experience earlier that year when Hungary allowed the transit of Wehrmacht troops on their way to occupy Yugoslavia.

This was yet another step towards Hungary fully committing itself to the German effort, giving up any semblance of neutrality.

For Hungary’s prime minister at the time, Pal Teleki, this was the last drop [link in Hungarian] in the proverbial bucket. Early in the morning on April 3, 1941, he shot himself. His farewell letter to Miklos Horthy, Hungary’s leader at the time, simply stated, “I did not hold you back. I am guilty. Pal Teleki, April 3, 1941.”

Hungary went on to fight with the Germans against the USSR. When it became clear that the Germans cannot win, Horthy made a half-hearted attempt to extricate the country out of the war. Instead, he was removed from power by the rabid national socialist Arrow Cross, with support from occupying German troops, who in the remaining few months of the war assisted the Germans in the deportation and wholesale murder of hundreds of thousands of Hungary’s Jews. In the end, the country was liberated but at a tremendous cost: Much of Budapest lay in ruins, devastated by a brutal Soviet siege, with all the city’s magnificent bridges across the Danube destroyed by the retreating Germans. Eventually, Horthy’s worst nightmare became reality: The “Bolsheviks” took over and stayed in power for more than 40 years, which included the a bloody intervention by the Soviets in 1956 to crush an anti-communist revolution.

Meanwhile, Budapest’s “millennial” subway, the continent’s first all-electric urban underground railway, continued to drive on the left all the way up to 1973, when the line was rebuilt, new rolling stock were introduced, and these trains, too, were switched to right-hand drive.

 Posted by at 9:41 pm
Oct 192023
 

Last night, I received notification from the CRA about an upcoming small tax refund.

When I logged on with my business account, it appeared to show that I had 3 unread messages, though there was a funny smudge before the ‘3’ in the notification icon.

When I clicked, I saw only one unread message. When I went back to the main screen, I now saw a ‘4’. That’s when I realized that the smudge was… a minus sign.

Indeed I had four messages shown in the mail interface, all read. So instead of counting the number of unread messages as a positive number, the UI showed the number of read messages as a negative number.

I have not yet received the refund. I hope that when (if?) it shows up in my bank account, it will have the correct sign.

 Posted by at 10:15 pm
Oct 172023
 

Here are two images. The first is from 1943.

By way of explanation, the gentleman on the left is Admiral Miklos Horthy, Hungary’s leader at the time. The gentleman on the right with the famous moustache needs no introduction.

The second image is from today, October 17, 2023:

The somewhat overweight gentleman on the left is Viktor Orban, Hungary’s prime minister. The gentleman on the right is well known I suppose.

I don’t think I need to comment on why I opted to post these two pictures together. All I have to say is that this second image will come to haunt Hungarians in the future much the same way as the first.

 Posted by at 3:52 pm
Oct 122023
 

I’m doing more work on gravitational lensing. In particular, the little ray tracing model that I developed can now use actual astronomical images as sources. Here’s a projection of a nice spiral galaxy as it would be seen through a pair of non-coplanar, imperfectly lined up lenses:

Somehow, I suspect, no astronomer would recognize (at least not without a spectral analysis) that these are four images of the same rather nice-looking galaxy, NGC-4414:

These lensing examples also demonstrate how difficult it is to reconstruct either the original view, or the mass distribution of the lens itself, when all we see is something like the first image above.

 Posted by at 9:35 pm
Oct 122023
 

As I watch the lamps of the post-WW2 world order go out, one tiny, flickering light at a time, I am compelled to remember something that happened more than a century ago: When Sir Edward Grey, Great Britain’s Foreign Secretary at the time, remarked that “the lamps are going out all over Europe”.

We are not quite there yet. There is hope that sanity will prevail.

Yet I feel that that hope is fading, that time is running out.

In 1914, the point of no return, the trigger was Germany’s decision to attack neutral Belgium. It compelled Britain to declare war, and ultimately widened that war into the world’s first (or maybe second — I think the Napoleonic wars might qualify as World War 0) global conflict.

What the trigger will be this time, I do not know. I am reacting in part to the announcement that the West warned Hezbollah to stay out of Israel’s conflict with Hamas. But chances are it will be something else.

But it is coming, of that I am near certain, even as I dearly hope that I am dead wrong, that my pessimism is unwarranted, my concerns grossly misplaced.

 Posted by at 2:17 am
Oct 082023
 

I am simulating gravitational lenses, ray tracing the diffracted light.

With multiple lenses, the results can be absolutely fascinating. Here’s a case of four lenses, three static, a fourth lens transiting in front of the other three, with the light source a fuzzy sphere in the background.

I can’t stop looking at this animation. It almost feels… organic. Yet the math behind it is just high school math, a bit of geometry and trigonometry, nothing more.

NB: This post has been edited with an updated, physically more accurate animation.

 Posted by at 5:35 pm
Oct 082023
 

The world is not heading in the right direction. Not by a long shot. The golden era that began in 1945 and saw an unprecedented number of people around the world find relative peace, prosperity, and security for nearly eight decades, may be coming to an unpleasant end. There is a Hungarian saying (“kutya is jódolgában megy a jégre”) that may have a loose equivalent in English in the form of the proverb, “you never miss the water till the well runs dry”.

Here are a few things that concern me, in no particular order:

  • Worsening wars: Russia-Ukraine, the (brand new) Hamas-Israeli war, hotspots elsewhere, China-Taiwan tension
  • The shrinking middle class, rising inequality and homelessness
  • Erosion of democratic values, faith in democratic/constitutional institutions
  • Rise of populism, ideological demagoguery and intolerance, political polarization, even violence
  • Rising economic instability, lack of economic and environmental sustainability

There are probably a few more that I have not mentioned, including petty domestic Canadian issues, such as the gloriously incompetent bills C-11/C-18 by which Canada tries to control online media.

Individually, each of these issues would be considered serious, but certainly not insurmountable. When they come all at the same time… The last time the world faced something similar was in the late 1920s, early 1930s. We know how well that turned out. Tens of millions of deaths, the rise of two of the worst totalitarian ideologies in history, a world war and the deployment of two nuclear weapons later…

Those nuclear weapons proved to be genuine peacemakers: Few can argue that they had a major role convincing all participants to play kind of nice, making sure that certain lines in the sand remain firmly uncrossed. But the inhibitions against their use are becoming weaker over time.

Am I being an alarmist? I don’t think so. I’m pretty sure the people who woke up today to the sound of air raid sirens in Israel, or found themselves at the end of the day in Hamas custody as human shield hostages do not think so either.

Earlier today, I was looking at amazing pictures of an abandoned Siberian town, Kadykchan. Built at the cost of the lives of countless gulag prisoners, the town lost its population after the breakup of the USSR, and now serves as little more than a sad reminder of entire chapters of 20th century history. I think one of the images of that town that I saw might serve well as a cautionary tale.

How about coming to our senses before it’s too late, before we turn much of the world into a similar post-apocalyptic wasteland?


PS: My AI friend Claude suggested toning down this post a little, to make it less alarmist. I don’t want to. I am alarmed.

 Posted by at 3:14 am
Oct 052023
 

I don’t know much about attosecond light pulses but my wife and I did note that one of the recipients of this year’s physics prize was a physicist who studied just a year ahead of Ildiko at ELTE (Eötvös University). She doesn’t recall if she ever bumped into Ferenc Krausz, though.

And of course one of the recipients of the Nobel prize in physiology or medicine was Katalin Kariko, for her groundbreaking work in mRNA vaccines. Well-deserved indeed! I actually know (a little bit) more about mRNA vaccines than about attosecond physics, which might seem odd, considering that physics is my home turf, and organic chemistry is like an alien landscape. But the generation of ultrashort photon pulses is a very specialized field of study, to which I never paid much attention.

Anyhow, Kariko and Krausz are now added to that long list of scientists who were born, and studied in, Hungary, but who eventually ended up abroad, where they did the bulk of the work that earned them this recognition.

 Posted by at 7:03 pm
Oct 032023
 

Here’s my phone screen as of a few minutes ago:

That’s in Centigrade of course.

What can I say? OK, our balcony thermometer only shows 28.3 C. Even so… not exactly typical early October weather for Ottawa.

 Posted by at 5:08 pm
Sep 302023
 

So this has been in the news lately, too: a discovery of remnants of a wooden structure that is almost half a million years old.

It is truly incredible. These tools, these worked pieces of now petrified wood, predate the emergence of homo sapiens by several hundred thousand years.

Not for the first time I am left wondering just how much of the past will remain forever hidden from us. The earliest human whose name is known to us lived roughly 5000 years ago. Let that sink in for a moment. Modern human behavior began roughly 100,000 years ago, give or take. Presumably, this behavior involved language, social structures and, well, names. These were our ancestors, millions and millions of them, who inhabited the Earth for countless generations. And we don’t even know their names.

And now this, some 476,000 year old logs along with simple stone tools that were used to shape them. That suggests some form of permanence. Which implies a structured society. Skills, transferred from one generation to the next. Language. Culture. About which we know nothing.

Half a million years. That is, 100 times what counts as recorded history. An eyeblink in geologic terms, to be sure, but for us humans? The word that pops into my mind is… humbling.

 Posted by at 3:09 pm
Sep 292023
 

I’ve been meaning to mention this: A few days ago, the sample capsule of the OSIRIS-REx mission returned safely to the Earth, carrying inside a sample taken from the asteroid Bennu.

This is a remarkable achievement, the first* successful sample return of its type. I wonder what we will learn from the material that was obtained, but I’m sure it will reveal some intriguing secrets, especially about the history and formation of the solar system.

Love the way the capsule was sitting on the ground, upright, not even tilted. Could it be more picture perfect than this?

I am also mildly (but pleasantly) surprised that I have not heard any panicmongering about a capsule bringing back extraterrestrial microbes or whatever. OK, I wasn’t specifically looking but still. It’s a relief.


* I don’t know what possessed me when I wrote “first”; granted, OSIRIS-REx brought back a lot more material, supposedly, but the first successful such missions were the two Hayabusa missions of the Japanese Space Agency.

 Posted by at 6:09 pm