Feb 272023
 

More than 20 years ago, I wrote a program that showed what Mars would look like if it had oceans.

I wrote it originally in C++, but then ported it to Java and turned it into a Web application.

That was a long time ago. Unfortunately, browsers no longer support Java applets for security reasons. So my beautiful applet was not working anymore.

Today, I finally spent some time reimplementing the applet in plain JavaScript. It’s working again! (Apart from some minor cosmetics.) And it has data sets for Mars, Earth, Venus and the Moon as well.

 Posted by at 2:47 am
Jan 162023
 

This is our cat Rufus, doing his darnedest best to look like Italy’s former fascist dictator, Benito Mussolini, aka. Il Duce:

Mind you, unlike Mussolini, Rufus has not established himself as the leader of a totalitarian tyranny. (He couldn’t. Our other cat Freddy would also have a say in the matter and I don’t think he would approve.)

On the other hand, Rufus occasionally craps in places where he shouldn’t, and that was not a habit that Il Duce was known for.

 Posted by at 11:12 pm
Jan 032023
 

So this is 2023. And suddenly I am reminded of the year 1973. A different world, 50 years ago, and not necessarily a happy one.

It was the year the Vietnam War officially ended for the United States. It was the year marking the beginning of the OPEC crisis.

The Apollo program was canceled but the United States launched Skylab, America’s short-lived space station.

Iconic buildings, including the Sears Tower in Chicago and the Sydney Opera House, were completed.

A tumultuous year in politics, 1973 saw the US Supreme Court decide in Roe vs. Wade, a decision that was overturned 49 years later by a conservative court majority. The year also marks the beginning of Watergate. Meanwhile, vice president Spiro Agnew resigns and Gerald Ford takes his place, paving his way to become America’s first, and to date only, unelected president.

NASA launches Pioneer 11; and before the year is out, Pioneer 10 (launched earlier, in 1972) reaches Jupiter.

But what makes this year especially memorable for me was that in the summer, my Mom and I traveled to Ferihegy Airport in Budapest and boarded a Swissair DC-8 taking us to Zurich, where we switched planes, boarding another Swissair flight, a DC-10, taking us to Montreal. We were visiting my aunt, here in Ottawa.

That visit was beyond incredible. Canada! Of course as a child, I was most impressed by superficial things, such as the number of channels even my aunt’s old black-and-white television set was able to pick up through a rooftop antenna. (Saturday morning cartoons!) Still, superficial or not, what I saw I suppose thoroughly inoculated me against communist propaganda. And, needless to say, this experience played a major role in my decision to leave Hungary 13 years later, eventually settling right here in Ottawa, a beautiful city that — thanks in no small part to that childhood visit — feels like my true hometown.

One of the many images from an extraordinary album by “Busman Extraordinaire” Paul A. Bateson on Flickr, showing Confederation Square as it appeared in the summer of 1973, when my Mom and I were visiting. I remember these sightseeing buses, imported from the UK, complete with right-hand drive.

And that visit was (almost) 50 years ago.

 Posted by at 12:39 am
Dec 282022
 

Recently I was beginning to worry about the possibility that the 6-year old SSD in my main workstation is aging and just might fail. I was also running a little low on space. So I decided to buy a new one, Samsung, just like the previous device.

Samsung has a piece of consumer-grade software for migrating from one drive to another. I decided to try it.

It ran reasonably fast, completing the copy of 1 TB, between two SATA devices, one in an external USB enclosure, in just over two hours. But then… it got stuck. Still displaying 99%, not budging.

I was about to give up on it, since it’s been like that for a good 15 minutes when finally, it changed its mind, declared the copy complete, and shut down my workstation.

I then swapped the drives, turned on the machine, crossed my fingers, and… the machine rebooted exactly the way it was supposed to. Worked on the first try, out of the box!

So far, there’s only one glitch: Some of my Outlook settings were reset. The reason is that the local Outlook message file was not copied for some reason, presumably because it was locked, despite the fact that I closed Outlook. Not an issue as all my mail is on my IMAP server, so I only lost a few minor convenience settings, and at least it freed up some more space (that local message file has a tendency of becoming much bigger than the actual message folders on the server!)

All in all, a surprisingly stress-free experience. I hope I’ll have no reason to change my opinion in the coming days.

 Posted by at 10:17 pm
Dec 122022
 

I mentioned recently on Quora that I still have a Windows 98 machine. Someone asked for a picture.

Not terribly exciting, I know. Just your standard tower case with some obsolete hardware. The “security device enclosed” sticker is a joke; it’s from a DVD package.

The only remarkable thing about this box is that its motherboard was one of the earliest motherboards to support RAID out of the box. So yes, it is a Windows 98 machine with two hard drives and a RAID mirror. How about that?

In case anyone is wondering, I use it (very rarely) mostly to connect to old hardware. These include an HP-IL interface card to connect old calculators; an old EPROM burner with a serial interface and Windows 95/98/ME software; and last but not least, an old Sharp Winprinter, which only works under Windows 98. I use this printer for heavy stock (e.g., business card stock) to avoid stressing or damaging my more expensive laser printers.

Oh, and once every other leap year I turn this machine on just to return to alien-infested LA in the role of the potty-mouthed hero Duke Nukem…

 Posted by at 12:50 pm
Dec 122022
 

Yes, I am rooting for Ukraine. I am not terribly fond of nationalism. I would love to live long enough to see a free and prosperous world in which national borders are a thing of the past, a quaint historical curiosity, nothing more. But that’s not the world we live in, and when a country attacks another in a form of naked territorial aggression, I root wholeheartedly for the defender.

In light of this, I was delighted to see that the supply of a particular brand of our favorite Hungarian Christmas candy (szaloncukor), which has been made in Ukraine for the past several years, remains uninterrupted.

Thank you, nameless workers in that Ukrainian factory that manufactured these delicacies.

 Posted by at 12:43 pm
Nov 072022
 

Every so often, I am presented with questions about physics that go beyond physics: philosophical questions of an existential nature, such as the reasons why the universe has certain properties, or the meaning of existence in light of the far future.

I usually evade such questions by pointing out that they represent the domain of priests or philosophers, not physicists. I do not mean this disparagingly; rather, it is a recognition of the fact that physics is about how the universe works, not why, nor what it all means for us humans.

Yesterday, I came across a wonderful 1915 painting by Russian avant-garde painter Lyubov Popova, entitled Portrait of a Philosopher:

What can I say? This painting sums up how I feel perfectly.

 Posted by at 1:19 am
Oct 242022
 

Oh, moments after posting about not having worthwhile subjects to post about, I suddenly remembered something that I have been meaning to post about for some time. That is to say, Moore’s law in computing, the idea that the capabilities of computer technology roughly double every 18-24 months or so.

It has been true for a long while. Gordon Moore made this observation back in 1965, when I was just two years old.

I observed a form of Moore’s law as I was swapping computer hardware over the years. My first major planned upgrade took place in 1992, when I built a really high end desktop computer (it even had a CD-ROM drive!) for many thousands of dollars. Months later, my older desktop machine found a new life as my first ever Linux server, soon to be connected to the Internet using on-demand dial-up.

The new desktop machine I built in ’92 lasted until 1998, when it was time to replace it. For the first time, I now had a computer that could play back DVDs without the help of external hardware. It also had the ability to capture and display video from cable. Ever since, I’ve been watching TV mostly on my computer screen. I watched the disaster unfolding on September 11, 2001 and the tragic end of the space shuttle Columbia on February 1, 2003 on that computer.

Next came 2004, when I executed a planned upgrade of workstation and server, along with some backup hardware. Then, like clockwork, 2010 and finally, 2016, when I built these fine machines, with really decent but low power (hence low thermal stress) Xeon CPUs, three of them.

And now here we are, in late 2022. More than six years have passed. And these computers do not feel the least bit obsolete. Their processors are fast. Their 32 GB of RAM is more than adequate. Sure, the 1 TB SSDs are SATA, but so what? It’s not like they ever felt slow. Video? The main limitation is not age, simply finding fanless video cards of decent capabilities that a) make no noise, b) don’t become a maintenance nightmare with dust-clogged fans.

I don’t feel like upgrading at all. Would feel like a waste of money. The only concern I have is that my server runs a still supported, but soon-to-be-obsoleted version of CentOS Linux. My workstation runs Windows 10 but support won’t be an issue there for quite a while.

And then there are the aging SSDs. Perfectly healthy as far as I can tell but should I risk relying on them after more than 6 years? Even high-end SSDs are becoming dirt cheap nowadays, so perhaps it’s time to make a small investment and upgrade?

Moore’s Law was originally about transistor counts, and transistor counts continue to rise. But transistor counts mean nothing unless you’re interested in counting transistors. Things that have meaning include execution speed, memory capacity, bandwidth, etc. And on all these fronts, the hardware that I built back in 2016 does not feel obsolete or limiting. In fact, when I look at what I would presently buy to build new machines, quite surprisingly the specs would only differ marginally from my six year old hardware. Prices aren’t that different either. So then, what’s the point, so long as the old hardware remains reliable?

 Posted by at 8:10 pm
Oct 242022
 

There are only about six days left of the month of October and I have not yet written anything in this blog of mine this month. I wonder why.

Ran out of topics? Not really, but…

… When it comes to politics, what can I say that hasn’t been said before? That the murderous mess in Ukraine remains as horrifying as ever, carrying with it the threat of escalation each and every day? That it may already be the opening battle of WW3?

Or should I lament how the new American radical right — masquerading as conservatives, but in reality anti-democratic, illiberal authoritarianists who are busy dismantling the core institutions of the American republic — is on the verge of gaining control of both houses of Congress?

Do I feel like commenting on what has been a foregone conclusion for months, Xi “Winnie-the-pooh” Jinping anointing himself dictator for life in the Middle Kingdom, ruining the chances of continuing liberalization in that great country, also gravely harming their flourishing economy?

Or should I comment on the fact that prevalent climate denialism notwithstanding, for the first time in the 35 years that I’ve lived in Ottawa, Canada, our air conditioner came online in the last week of October because the house was getting too hot in this near summerlike heat wave?

Naw. I should stick to physics. Trouble is, apart from the fact that I still feel quite unproductive, having battled a cold/flu/COVID (frankly, I don’t care what it was, I just want to recover fully) my physics time is still consumed with wrapping up a few lose ends of our Solar Gravitational Lens study, now that the NIAC Phase III effort has formally come to a close.

Still, there are a few physics topics that I am eager to revisit. And it’s a nice form of escapism from the “real” world, which is becoming more surreal each and every day.

 Posted by at 7:41 pm
Sep 212022
 

I looked up a book, States of Matter by David Goodstein, yesterday on Amazon, thinking about purchasing it. Except that Amazon told me that I last purchased this book on February 12, 2020.

I did?

I quickly checked my library database. Many-many years ago, I did a complete inventory of all our books, and since then, I’ve been keeping that database meticulously updated. New books that come to our house land on my desk and stay there until I enter them into the database. This is the only way to keep that database synchronized with reality.

The Goodstein book is not in the database.

I do not remember ordering it. I do not remember receiving it. Yet it clearly happened: The credit card transaction is there, duly entered into my books. The e-mails from Amazon, duly archived in the appropriate folder.

Now it is true that it happened just two and a half weeks before my last overseas trip. Could it be that I simply forgot about this order in the days leading up to my travel, and then never realized that the order failed to arrive? Perhaps. But then, why do I remember clearly other books that I ordered around the same timeframe? Besides, though my trip was upcoming it was not that close; this order and the supposed delivery happened two weeks before my departure.

I would be less suspicious, mind you, were it not for the fact that another weird thing happened yesterday. I have a tiny promotional toy sitting on my monitor. Yesterday, I found its identical twin brother in a box in which I was looking for something else altogether. This is definitely beginning to feel like that moment in The Matrix when Neo sees a black cat cross the hall… and then, a moment later, the same black cat cross the same hall in the same direction once again.

Still doesn’t help me with the Goodstein book. Should I keep looking for it? Under the rug, perhaps? Cat dragged it off to the litter box? Or should I just write it off and buy another copy?

 Posted by at 1:34 pm
Sep 172022
 

One of the many novels by prolific 1930s Hungarian author Jenő Rejtő featured a horrific penal colony somewhere in colonial French Africa. Near the end of the novel, one of the minor protagonists, the military commander of the colony, already in retirement in Rome, recalls the past. As he enjoys the beautiful view from his window, he thinks that “and right now, Bahr el Sudan also exists for sure, and Tiguer, the corporal with the red moustache, is just now hanging a wet blanket, which smells like horses, over the window. This is a strange and unsettling notion.

Sometimes I feel the same way, not so much with respect to distant places in the present, but distant places in the past.

Take this image, a montage of two photographs taken from a wonderful Hungarian photographic archive that someone just shared on Facebook, showing an intersection in downtown Budapest, not far from where I grew up.

The picture predates us living there but not by much; it was taken in 1961, we moved there in 1967, but everything looked pretty much the same. I know this intersection like the back of my hand: the stores, the buildings, everything.

And when I view this image, it comes to life in my mind. It feels tangibly real. I can even smell the smells: the smell of freshly ground coffee (I even remember the noise made by the electric grinder) in that deli store on the corner, the smell of paint and household solvents permeating the hardware store next door. The sound made by those trolley buses as they rolled down the cobblestoned street (only the intersection was asphalt-paved at the time) as it even rattled our fourth-floor living room windows.

It all feels so real… it is a deeply unsettling thought that I am separated from what is depicted in this image not just by distance but also by time. The view that I am looking at is older than I am, as it was taken 62 years ago.

 Posted by at 1:36 am
Sep 132022
 

Oops. It’s past midnight already, so technically it was yesterday but to me it is still today, September 12.

The sixtieth anniversary of John F. Kennedy’s famous “we choose to go to the Moon” speech. How many more years before another human sets foot on the Moon?

Oh, and it was thirty years ago that Ildiko and I became married.

Yup, that’s us; 1979 vs. 2019.

 Posted by at 1:54 am
Aug 212022
 

I have a sign next to our front door, on the inside, warning those who are stepping out:

Occasionally I wonder if I might be overreacting to the state of things in this world. Not today.

I admit, my first reaction was that it must be a satire site. As far as I can tell, it is not.

Now someone please tell me how the world is not one nice, big, comfy insane asylum.

 Posted by at 11:13 pm
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