Jul 092022
 

When the Rogers outage hit us, especially seeing that equipment remained physically connected but became unreachable for the outside world, I was immediately drawn to the conclusion that this was a cascading configuration error, invalid routes advertised through BGP, not some physical equipment problem or a cyberattack.

I guess I was not wrong (though I should stress that making such a general assessment after the fact from the comfort of my own chair is easy; finding the specific causes and resolving the problem, now that’s the hard part and I’m sure there are more than a few Rogers network engineers whose hair got a bit grayer in the past 48 hours). Cloudflare offered their own analysis, in which they pointed out that indeed, the outage was preceded by a sudden, unexpected burst of BGP advertisements. Here are two plots from Cloudflare’s blog post, montaged together so that the timestamps match:

Whatever the specific action was that resulted in this, it is truly spectacular how it killed all of Rogers’s network traffic at around 4:45 AM Friday morning.

Today, things were slowly coming back to normal. But just to add to the fun, earlier this afternoon first my workstation and later, two other pieces of hardware lost all connectivity here on my home office network. What the… Well, it turned out that the router responsible for providing DHCP services needed a kick in the proverbial hind part, in the form of a reboot. Still… Grumble.

 Posted by at 10:32 pm
Jul 082022
 

Well, someone broke the Internet this morning.

To be more precise, someone broke a large part of the Internet in Canada. The network of Rogers has been down since about 4:30 this morning. When I woke up, I saw several e-mails from my own server complaining about its failure to connect to remote hosts; I also saw an e-mail from our family doctor’s office informing us that their phone lines are down and what to do in case of a medical emergency.

The fact that a major provider can have such a nationwide outage in 2022 is clearly unacceptable. Many are calling for the appropriate regulatory agencies to take action, and I fully approve.

In my case, there are backups and backups of backups. I am affected (we have no mobile data, and my highest-bandwidth network connection is down) but the outage also offered an opportunity to sort out an issue with network failover.

But I find it mind-boggling that more than 9 hours into the outage, Rogers still has no explanation and no ETA.

And now I accidentally hit Ctrl-Alt-Del while the KVM was connected to my main server instead of the device that I was trying to reboot. Oh well, no real harm down, the server rebooted cleanly, I just feel stupid.

All in all, this Friday is shaping up to be a rather unpleasant one. And here I thought I was looking forward to a nice, quiet, productive day.

 Posted by at 2:02 pm
Jun 102022
 

There are a few things in life that I heard about and wish I didn’t. I’m going to mention some of them here, but without links or pictures. If you want to find them, Google them. But I am mindful of those who value their sanity.

  • In a famous experiment, a researcher subjected rats to drowning. Rats that were previously rescued tried to stay afloat and took longer to die than those who weren’t. Hope changed their behavior.
  • There was an old Chinese method of execution: literally cutting the condemned in half at the waist.
  • Japan’s wartime bioweapons and chemical warfare research facility, the famous Unit 731, was so horrific, Auschwitz-Birkenau is probably like a happy summer camp in comparison (and not because Mengele was nice).
  • Touch a tiny fraction of a milligram of dimethylmercury for more than a few seconds even while wearing a latex glove, and you will almost certainly die a horrible death months later, as your body and mind irreversibly deteriorate. (Someone once said that the very existence of something evil like Hg(CH3)2 is proof that there’s no God, or at least not a benevolent one.)

There may be a few other similarly unpleasant tidbits, but I can’t recall them right now, and that’s good. Mercifully, our human memory is imperfect so perhaps it is possible to unlearn things after all. (Or, perhaps I am hoping in vain, like those unfortunate rats.)

 Posted by at 1:19 am
Jun 022022
 

I have a color laser printer that I purchased 16 years ago. (Scary.)

It is a Konica-Minolta Magicolor 2450. Its print quality is quite nice. But it is horribly noisy, and its mechanical reliability has never been great. It was only a few months old when it first failed, simply because an internal part got unlatched. (I was able to fix it and thus avoid the difficulties associated with having to ship something back that weighs at least what, 20 kilos or more?)

Since then, it has had a variety of mechanical issues but, as it turned out, essentially all of them related to solenoids that actuate mechanical parts.

When I first diagnosed this problem (yes, having a service manual certainly helped), what I noticed was that the actuated part landed on another metal part that had a soft plastic pad attached. I checked online but the purpose of these plastic pads was unclear. Perhaps to reduce noise? Well, it’s a noisy beast anyway, a few more clickety-click sounds do not make a difference. The problem was that these plastic pads liquefied over time, becoming sticky, and that caused a delay in the solenoid actuation, leading to the problems I encountered.

Or so I thought. More recently, the printer crapped out again and I figured I’d try my luck with the screwdriver one more time before I banish the poor thing to the landfill. This time around, I completely removed one of the suspect solenoids and tested it on my workbench. And that’s when it dawned on me.

The sticky pad was not there to reduce noise. It was there to eliminate contact, to provide a gap between two ferrous metal parts, which, when the solenoid is energized, themselves became magnetic and would stick together. In other words, these pads were essential to the printer’s operation.

Inelegant, I know, but I just used some sticky tape to fashion new pads. I reassembled the printer and presto: it was working like new!

Except for its duplexer. But that, too, had a solenoid in it, I remembered. So just moments ago I took the duplexer apart and performed the same surgery. I appear to have been successful: the printer now prints on both sides of a sheet without trouble.

I don’t know how long my repairs will last, but I am glad this thing has some useful life left instead of contributing to the growing piles of hazardous waste that poison our planet.

 Posted by at 1:03 pm
May 252022
 

From time to time, I promise myself not to respond again to e-mails from strangers, asking me to comment on their research, view their paper, offer thoughts.

Yet from time to time, when the person seems respectable, the research genuine, I do respond. Most of the time, in vain.

Like the other day. Long story short, someone basically proved, as part of a lengthier derivation, that general relativity is always unimodular. This is of course manifestly untrue, but I was wondering where their seemingly reasonable derivation went awry.

Eventually I spotted it. Without getting bogged down in the details, what they did was essentially equivalent to proving that second derivatives do not exist:

$$\frac{d^2f}{dx^2} = \frac{d}{dx}\frac{df}{dx} = \frac{df}{dx}\frac{d}{df}\frac{df}{dx} = \frac{df}{dx}\frac{d}{dx}\frac{df}{df} = \frac{df}{dx}\frac{d1}{dx} = 0.$$

Of course second derivatives do exist, so you might wonder what’s happening here. The sleight of hand happens after the third equal sign: swapping differentiation with respect to two independent variables is permitted, but \(x\) and \(f\) are not independent and therefore, this step is illegal.

I pointed this out, and received a mildly abusive comment in response questioning the quality of my mathematics education. Oh well. Maybe I will learn some wisdom and refrain from responding to strangers in the future.

 Posted by at 11:46 pm
May 232022
 

This morning, Google greeted me with a link in its newsstream to a Hackaday article on the Solar Gravitational Lens. The link caught my attention right away, as I recognized some of my own simulated, SGL-projected images of an exo-Earth and its reconstruction.

Reading the article I realized that it appeared in response to a brand new video by SciShow, a science-oriented YouTube channel.

Yay! I like nicely done videos presenting our work and this one is fairly good. There are a few minor inaccuracies, but nothing big enough to be even worth mentioning. And it’s very well presented.

I suppose I should offer my thanks to SciShow for choosing to feature our research with such a well-produced effort.

 Posted by at 7:22 pm
May 092022
 

It’s now Monday, May 9, 2022. And it is an anniversary of sorts.

No I am not talking about Putin and his planned “victory” parade, as he is busy desecrating the legacy of the Soviet Union’s heroic fight in the Great Patriotic War against a genocidal enemy.

I am referring to something much more personal. This sentence:

I watched The Matrix, for the first time. I’ve seen Dark City, and I loved it. I have heard all sorts of bad things about The Matrix, so I had low expectations. I was pleasantly surprised. Maybe not as well done as Dark City, it was nevertheless a surprisingly intelligent movie for a blockbuster.

Not very profound or insightful, is it.

But it happens to be my first ever blog entry, written when I still refused to call a blog a “blog”, calling it instead my “Day Book”, in the tradition of the late Jerry Pournelle.

So there. Will I be around twenty years from now? Perhaps more pertinently, will the world as we know it still be around?

What can I say? I am looking forward to marking the 40th anniversary of my blog on May 9, 2042, with another blog entry, hopefully celebrating a decent, prosperous, safe, mostly peaceful world.

 Posted by at 3:01 am
May 062022
 

A beautiful study was published the other day, and it received a lot of press coverage, so I get a lot of questions.

This study shows how, in principle, we could reconstruct the image of an exoplanet using the Solar Gravitational Lens (SGL) using just a single snapshot of the Einstein ring around the Sun.

The problem is, we cannot. As they say, the devil is in the details.

Here is a general statement about any conventional optical system that does not involve more exotic, nonlinear optics: whatever the system does, ultimately it maps light from picture elements, pixels, in the source plane, into pixels in the image plane.

Let me explain what this means in principle, through an extreme example. Suppose someone tells you that there is a distant planet in another galaxy, and you are allowed to ignore any contaminating sources of light. You are allowed to forget about the particle nature of light. You are allowed to forget the physical limitations of your cell phone’s camera, such as its CMOS sensor dynamic range or readout noise. You hold up your cell phone and take a snapshot. It doesn’t even matter if the camera is not well focused or if there is motion blur, so long as you have precise knowledge of how it is focused and how it moves. The map is still a linear map. So if your cellphone camera has 40 megapixels, a simple mathematical operation, inverting the so-called convolution matrix, lets you reconstruct the source in all its exquisite detail. All you need to know is a precise mathematical description, the so-called “point spread function” (PSF) of the camera (including any defocusing and motion blur). Beyond that, it just amounts to inverting a matrix, or equivalently, solving a linear system of equations. In other words, standard fare for anyone studying numerical computational methods, and easily solvable even at extreme high resolutions using appropriate computational resources. (A high-end GPU in your desktop computer is ideal for such calculations.)

Why can’t we do this in practice? Why do we worry about things like the diffraction limit of our camera or telescope?

The answer, ultimately, is noise. The random, unpredictable, or unmodelable element.

Noise comes from many sources. It can include so-called quantization noise because our camera sensor digitizes the light intensity using a finite number of bits. It can include systematic noises due to many reasons, such as differently calibrated sensor pixels or even approximations used in the mathematical description of the PSF. It can include unavoidable, random, “stochastic” noise that arises because light arrives as discrete packets of energy in the form of photons, not as a continuous wave.

When we invert the convolution matrix in the presence of all these noise sources, the noise gets amplified far more than the signal. In the end, the reconstructed, “deconvolved” image becomes useless unless we had an exceptionally high signal-to-noise ratio, or SNR, to begin with.

The authors of this beautiful study knew this. They even state it in their paper. They mention values such as 4,000, even 200,000 for the SNR.

And then there is reality. The Einstein ring does not appear in black, empty space. It appears on top of the bright solar corona. And even if we subtract the corona, we cannot eliminate the stochastic shot noise due to photons from the corona by any means other than collecting data for a longer time.

Let me show a plot from a paper that is work-in-progress, with the actual SNR that we can expect on pixels in a cross-sectional view of the Einstein ring that appears around the Sun:

Just look at the vertical axis. See those values there? That’s our realistic SNR, when the Einstein ring is imaged through the solar corona, using a 1-meter telescope with a 10 meter focal distance, using an image sensor pixel size of a square micron. These choices are consistent with just a tad under 5000 pixels falling within the usable area of the Einstein ring, which can be used to reconstruct, in principle, a roughly 64 by 64 pixel image of the source. As this plot shows, a typical value for the SNR would be 0.01 using 1 second of light collecting time (integration time).

What does that mean? Well, for starters it means that to collect enough light to get an SNR of 4,000, assuming everything else is absolutely, flawlessly perfect, there is no motion blur, indeed no motion at all, no sources of contamination other than the solar corona, no quantization noise, no limitations on the sensor, achieving an SNR of 4,000 would require roughly 160 billion seconds of integration time. That is roughly 5,000 years.

And that is why we are not seriously contemplating image reconstruction from a single snapshot of the Einstein ring.

 Posted by at 4:01 pm
Apr 132022
 

Acting as “release manager” for Maxima, the open-source computer algebra system, I am happy to announce that just minutes ago, I released version 5.46.

I am an avid Maxima user myself; I’ve used Maxima’s tensor algebra packages, in particular, extensively in the context of general relativity and modified gravity. I believe Maxima’s tensor algebra capabilities remain top notch, perhaps even unsurpassed. (What other CAS can derive Einstein’s field equations from the Einstein-Hilbert Lagrangian?)

The Maxima system has more than half a century of history: its roots go back to the 1960s, when I was still in kindergarten. I have been contributing to the project for nearly 20 years myself.

Anyhow, Maxima 5.46, here we go! I hope I made no blunders while preparing this release, but if I did, I’m sure I’ll hear about it shortly.

 Posted by at 2:26 am
Mar 292022
 

For the first time in my life, I exercised my right as a Hungarian citizen and voted.

Before I left Hungary, voting was pointless: my choice was the Hungarian Socialist Workers’ Party or else. The “or else” meant nothing.

More recently, I didn’t feel it kosher to participate in elections in a country where I do not reside and do not pay taxes. Then again, thanks in part to the current government, a great many Hungarian citizens who do not reside in Hungary or pay taxes there have gained the right to vote… so perhaps it’s not unethical for me to do so as well.

So I did.

Incidentally, the Parliament building in Budapest is quite an impressive edifice.

 Posted by at 3:28 pm
Mar 242022
 

Between a war launched by a mad dictator, an occupation by “freedom convoy” mad truckers, and other mad shenanigans, it’s been a while since I last blogged about pure physics.

Especially about a topic close to my heart, modified gravity. John Moffat’s modified gravity theory MOG, in particular.

Back in 2020, a paper was published arguing that MOG may not be able to account for the dynamics certain galaxies. The author studied a large, low surface brightness galaxy, Antlia II, which has very little mass, and concluded that the only way to fit MOG to this galaxy’s dynamics is by assuming outlandish values not only for the MOG theory’s parameters but also the parameter that characterizes the mass distribution in the galaxy itself.

In fact, I would argue that any galaxy this light that does not follow Newtonian physics is bad news for modified theories of gravity; these theories predict deviations from Newtonian physics for large, heavy galaxies, but a galaxy this light is comparable in size to large globular clusters (which definitely behave the Newtonian way) so why would they be subject to different rules?

But then… For many years now, John and I (maybe I should only speak for myself in my blog, but I think John would concur) have been cautiously, tentatively raising the possibility that these faint satellite galaxies are really not very good test subjects at all. They do not look like relaxed, “virialized” mechanical systems; rather, they appear tidally disrupted by the host galaxy the vicinity of which they inhabit.

We have heard arguments that this cannot be the case, that these satellites show no signs of recent interaction. And in any case, it is never a good idea for a theorist to question the data. We are not entitled to “alternative facts”.

But then, here’s a paper from just a few months ago with a very respectable list of authors on its front page, presenting new observations of two faint galaxies, one being Antlia II: “Our main result is a clear detection of a velocity gradient in Ant2 that strongly suggests it has recently experienced substantial tidal disruption.”

I find this result very encouraging. It is consistent with the basic behavior of the MOG theory: Systems that are too light to show effects due to modified gravity exhibit strictly Newtonian behavior. This distinguishes MOG from the popular MOND paradigm, which needs the somewhat ad hoc “external field effect” to account for the dynamics of diffuse objects that show no presence of dark matter or modified gravity.

 Posted by at 2:30 am
Mar 032022
 

This beautiful creature was my Mom’s canine, who went by the name Labi.

I use the past tense because unfortunately, Labi is no more. He died a few hours ago. He was 13.

I know, I know. This is a very minor tragedy with all that’s going on in the world right now. But even minor tragedies are devastating to those who experience them first-hand.

Our first cat, Marzipan, taught us a lesson. Do not grieve death; celebrate life. It’s been almost 22 years since Marzipan’s life was cut short by illness, and every time we think about him, we smile. He continues to bring happiness to our lives even this many years after his death.

I’ll have to tell my Mom that this will also be true for Labi. Years from now, every time she thinks about him, she will smile, remembering all the love and all the mischief. Life, even a brief life, triumphs because it exists.

 Posted by at 12:42 am
Jan 112022
 

My name is not the rarest, but also not terribly common. I never met another Viktor Toth in person, but over the years, I came across a few and I’ve at least been in close contact with one.

The first Viktor Toth I read about as a teenager was featured with his girlfriend in some silly magazine for young Pioneers in then-communist Hungary.

Around the same time, I also read about a Viktor Toth in a small town in Hungary, who butchered his unfortunate wife with an axe. Yikes!

When I came to Ottawa, Canada, I was surprised to learn that there was already a Victor Toth in the local phone book. I never met him, but I did end up working with a gentleman who knew him.

It was still relatively early in the Internet era when I first searched for my own name, in the context of the small Hungarian town of Visegrad where I once lived. Much to my surprise, I found a Viktor Toth but it wasn’t me. It was a Hungarian astronomer who organized a conference that happened to take place in that small town. (Much later, he and I got in touch and even collaborated a little, contributing an article to a Hungarian popular science magazine about the future of radio astronomy in the country.)

There is a Viktor Toth who is an internationally renowned jazz saxophonist; unfortunately the type of improvisation-based modern jazz he plays is not my favorite subgenre, but he seems very well regarded.

And finally, there’s the Viktor Toth who recently put his pet rat into a virtual reality harness and had him play Doom. For the record, the only rat I own is this one, and he definitely doesn’t play Doom:

 Posted by at 12:25 am
Dec 312021
 

Y’all heard the joke: twenty-twenty-two,
It will be just like twenty-twenty, too.
But I really hope it will not be so.
We really just can’t give it another go.

 Posted by at 9:06 pm
Dec 242021
 

Although we are not religious, we celebrate Christmas.

And I still cannot think of a better way to celebrate Christmas than with the words of the astronauts of Apollo 8, and the sense of awe they felt when they became the first human beings ever in the history of our species to be completely cut off from Mother Earth, when their spaceship disappeared behind the Moon.

Earthrise from Apollo 8

Re-emerging, they read passages from the Book of Genesis to their audience, with Frank Borman concluding with the words:

[G]ood night, good luck, a Merry Christmas – and God bless all of you, all of you on the good Earth.

To me, this is the most beautiful Christmas message ever.

 Posted by at 2:38 am
Dec 242021
 

For the record: The Viktor Toth who has recently become quite popular on YouTube by placing his pet rat into a virtual reality harness and letting him play Doom is not me.

Even if I were inclined to do such an experiment with a live animal (I am not) it would be one of my cats, and the retro game of choice would be Duke Nukem.

You see, I was never really a fan of Doom.

 Posted by at 1:44 am