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

Jan 132024
 

In 1981-82, I served as a conscript in what was then called the Hungarian People’s Army.

As an engineering student, I was trained as a radar operator, which is several notches above cannon fodder I suppose. Still, I do not have fond memories of the time.

Nonetheless, I have to admit that there were some educational moments.

Having once lived in a resort hotel that my stepfather was managing, in the spectacular, historic small town of Visegrád at the bend of the Danube, I learned how a commercial-grade kitchen, serving 100+ people, operates. Standards in Hungary were quite strict at the time, and managing such a kitchen entailed both enforcing food safety and hygiene standards and tasks such as managing and recycling meal samples, which would be used by health authorities in case of a suspected case of food-borne illness.

The military base where I spent most of my time as a conscript was an active air defense installation, part of the country’s peacetime air defense network. Nonetheless, they had a chronic shortage of officers, which meant that many tasks that would normally have been assigned to commissioned or non-commissioned officers were instead handed to us conscripts. Once they learned that I had some knowledge of how a kitchen is run, I was frequently assigned kitchen duty: No, not washing dishes (though I did that, too, in the early months of my service) but as kitchen supervisor, responsible for everything including obtaining the needed ingredients from our food storage (run by a civilian employee) and taking samples. It was a surprisingly educational experience.

Or how about the time when I was tasked with ordering… a freight train? Not just any train, mind you, but a specialized train (and route) to carry oversize equipment (our large Ural trucks that carried radar equipment and electronics) with a larger-than-standard cross-section to the USSR border, to participate in some international war games exercise. Fortunately, I didn’t have to go myself, my participation was limited to a journey to the regional headquarters of Hungary’s national railway company, where I had to patiently, and correctly, explain to the person responsible what kind of train we needed and why.

I also did minor tasks such as keeping the base’s one and only television set (an aging color set, a Videoton Color Star television, a mostly Soviet design I was told) alive. I was also responsible for the base’s movie projector, and I took weekly trips to Budapest to get a fresh movie on film, for movie night Mondays (back in the early 1980s, there was no television broadcast in Hungary on Mondays.)

The base where I served no longer exists. First, the military abandoned it. The municipality that inherited it tried to sell without much success, even as the facility was stripped, e.g., of nearly all metal bits by (I presume) metal thieves. Someone took a walk around the base in the early 2000s and put the resulting video on YouTube; it looked almost like parts of the city of Pripyat, near Chernobyl, except that in this case, I was looking at a building that I remembered very well personally, having spent some nine months of my life there.

In the end, the entire facility was demolished, to make way for a solar energy farm, if memory serves me correctly.

All that is to say that I was quite surprised, pleasantly I might add, when I discovered the other day that back in 2022, the local municipality decided to install a small memorial plaque thanking all those who served there in defense of Hungary’s airspace. The cynic in me was wondering if there was any profit in this act (it was, after all, partially financed by the EU, it says so on the plaque itself) even as I actually felt a bit of gratitude that our service was not completely unnoticed after all.

What can I say? The plaque is actually quite nice. I might even visit the spot some day.

 Posted by at 4:34 pm
Jan 102024
 

Here are the first few lines of a program I wrote over 40 years ago, an early attempt to model a massively parallel processor architecture.

No, the program is nothing special. And there are much better ways to create practical multiprocessor/multicore systems. The reason why I copy-pasted this image here has to do with something else: the fact that it was written in the Pascal programming language.

Pascal was just one of the many creations of one of the giants of computer science, Niklaus Wirth.

I learned yesterday that Wirth, who was born back in 1934, passed away on January 1.

 Posted by at 10:31 pm
Jan 042024
 

Looking at this image by Kyodo News showing the wreck of that Airbus 350 that burnt to a cinder at Haneda Airport the other day, I continue to feel astonished that not only did everyone survive, most of the almost 400 passengers were not even injured!

Photo taken from a Kyodo News helicopter on Jan. 3, 2024, shows a Japan Airlines plane a day after it caught fire on a runway at Haneda airport in Tokyo following a collision with a Japan Coast Guard aircraft while landing. (Kyodo)

It really boggles the mind. I hope that the JAL flight crew who facilitated what, for all intents and purposes, was a textbook successful evacuation from a severely damaged, burning aircraft, will get the recognition they deserve.

Although unwelcome, it was also a good test of the A350 airframe and its ability to protect passengers long enough for a successful evacuation.

 Posted by at 1:08 am
Dec 242023
 

At this time of the year, especially in these tumultuous times, is there anything else I could possibly wish for?

Earthrise from Apollo 8

And from the crew of Apollo 8, we close with good night, good luck, a merry Christmas, and God bless all of you — all of you on the good Earth.

 Posted by at 2:34 am
Dec 242023
 

I don’t think I’ve ever done a “year in review” bragfest thing in my blog, but this year has been… well, surprisingly productive, helped in part by our AI friends.

Here are some of the things I created this year:

  1. A science-centered front-end for the major large language models, with support for LaTeX, markup, SVG graphics generated by the AI, and good quality PDF output. Also, savable conversations and compatibility with several Anthropic and OpenAI models. I am quite proud of this, not to mention that it has since become my primary means of accessing LLMs. (I even thought about commercializing it, but I fear it’s way too much hassle and in the end, without proper marketing, just not worth the effort.)
  2. A Web-based application to model image recovery of a rotating exoplanet with varying illumination, viewed through the solar gravitational lens.
  3. A Web-based application to model a constellation of four satellites, used in a precision gravitational experiment to detect the presence of a specific type of deviation from Newtonian gravity.
  4. A Web-based application to model imaging by multiple gravitational lenses.
  5. Another Web-based application to process and analyze emergency room medical data using machine learning.
  6. A custom telnet implementation to finally make it possible to access my game sites, british-legends.com and mud2.com, from within the browser but without third-party plugins.
  7. A reimplementation of my “seas of Mars” Web applet, written originally in Java, showing what Mars would look like if it was flooded with an ocean.
  8. A reimplementation of code I wrote many years ago, constructing a psychrometric chart and calculator, running in a Web browser.

I also published a number of papers, both on my own and with coauthors:

  1. A paper with Slava Turyshev in Phys. Rev. D, on imaging with the realistic solar gravitational lens (SGL), accounting for its deviation from perfect spherical symmetry
  2. Another paper with Slava in Phys. Rev. D, on the spherical harmonic representation of gravitational lenses
  3. A paper with several (mostly NASA) authors in Planetary and Space Sciences, on the use of solar sailing smallsats for projects, including the SGL
  4. A paper with Slava in Monthly Notices of the Royal Astronomical Society, related to the software I described above about imaging a rotating planet with varying illumination
  5. Another paper in MNRAS, this one with John Moffat, on applying his Scalar-Tensor-Vector Gravity to the case of a difficult galaxy, NGC-1277
  6. Yet another paper in MNRAS under my own name, on recovering our key results on the SGL using strictly geometric optics
  7. Finally, another sole-author paper of mine, published in Astrophysics and Space Science, also related to the corresponding software, about using a satellite constellation for gravitational anomaly detection.

Additionally, I completed several in-house projects, including a much dreaded major Joomla! upgrade: Joomla! is the content management system I use for several of my Web sites, and the upgrade required first upgrading PHP, which in turn required fixes to countless instances of PHP code I wrote as many as 20 years ago, code that is not compatible with modern PHP versions. In the process, I also wrote replacement alternatives to two no longer supported third-party Joomla! components, to view images as thumbnails, and to view an image slideshow.

I also completed the Google foobar challenge, Google’s secret recruiting tool. No, I am not looking for a job at Google, but the challenge was, well, challenging (in a fun way) and it also allowed me to learn Python, the language I chose to implement the code that the challenge required. So now I know Python. Not a Python expert by any means, but I feel confident in my ability to use that language (which, incidentally, turns out to be more fun than I anticipated.)

So not quite an annus mirabilis (I don’t expect to discover a new relativity theory anytime soon) but not a bad year. And at least for a small part of this work, I even got paid. Not much, mind you, but I’ve been able to pay our bills so I am not complaining. I suppose if I were smarter, I’d do more work for money, but then again, there’s the quality of life thing, too…

 Posted by at 2:27 am
Dec 142023
 

I wanted to check something on IMDB. I looked up the film. I was confronted by an unfamiliar user interface. Now unfamiliar is okay, but the UI I saw is badly organized, key information (e.g., year of release, country of origin) difficult to find, with oversized images at the expense of useful content. And no, I don’t mean the ads; I am comfortable with relevant, respectful ads. It’s the fact that a lot less information is presented, taking up a lot more space.

Fortunately, in the case of IMDB I was able to restore a much more useful design by logging in to my IMDB account, going to account settings, and making sure that the Contributors checkbox was checked. Phew. So much more (SO MUCH MORE) readable, digestible at a glance. Yes, it’s smaller print. Of course. But the information is much better organized, the appearance is more consistent (no widely different font sizes) and the page is dominated by information, not entertainment in the form of images.

IMDB is not the only example. Recently, after I gave it a valiant try, I purposefully downgraded my favorite Android e-mail software as its new user interface was such a letdown. At least I had the foresight to save the APK of the old version, so I was able to install it and then make sure in the Play Store settings that it would not be upgraded. Not that I am comfortable not upgrading software but in this case, it was worth the risk.

All this reminds me of a recent discussion with a friend who works as a software professional himself: he is fed up to his eyeballs with the pervasive “Agile” fad at his workplace, with its mandatory “Scrum” meetings and whatnot. Oh, the blessings of being an independent developer: I could tell him that if a client mentioned “Agile” more than once, it’d be time for me to “Scrum” the hell out of there…

OK, I hope it’s not just grumpy ole’ complaining on my part. But seriously, these trendy fads are not helping. Software becomes less useful. Project management culture reinvents the wheel (I have an almost 50-year old Hungarian-language book on my shelf on project management that discusses iterative management in depth) with buzzwords that no doubt bring shady consultants a lot more money than I ever made actually building things. (Not complaining. I purposefully abandoned that direction in my life 30 years ago when I quietly walked out of a meeting, not having the stomach anymore to wear a $1000 suit and nod wisely while listening to eloquent BS.) The result is all too often a badly managed project, with a management culture that is no less rigid than the old culture (no fads can overcome management incompetence) but with less documentation, less control, less consistent system behavior, more undocumented dependencies, and compromised security. UI design has fads that change with the seasons, united only by results that are about as practical as a Paris fashion designer’s latest collection of “work attire”.

OK, I would be lying if I said that only bad things come out of change. Now that I use AI in software development, not a day goes by without the AI teaching me something I did not know, including tools, language features and whatnot that can help improve the user experience. But it would be so nice if we didn’t take three steps back for every four steps forward.

 Posted by at 10:21 am
Dec 112023
 

A welcome sight: A seemingly civilized discussion between Volodymyr Zelenskyy and Viktor Orban.

Of course “frank” in the language of diplomacy can mean many things, but if their posture is any indication, the conversation might have been mutually respectful, perhaps even productive. Moments like this have been known in the past to break the ice where more formal encounters led nowhere. One can only hope…

 Posted by at 11:11 am
Dec 092023
 

I am looking at the summary by Reuters of the European Union’s proposed regulatory framework for AI.

I dreaded this: incompetent politicians, populist opportunists, meddling in things that they themselves don’t fully understand, regulating things that need no regulation while not paying attention to the real threats.

Perhaps I was wrong.

Of course, as always, the process moves at a snail’s pace. By the time the new regulations are expected to come into force, 2026, the framework will likely be hopelessly obsolete.

Still: Light transparency requirements as a general principle, severe restrictions on the use of AI for law enforcement and surveillance, strict regulation for high-risk systems… I am compelled to admit, the attitude this reflects makes a surprising amount of good sense.

Almost as if the framework was crafted by an AI…

 Posted by at 11:57 am
Dec 072023
 

Today, December 7, marks the 82nd anniversary of the attack on Pearl Harbor.

Discussion of the Pacific War inevitably leads to discussion of the morality and necessity of the atomic bombings of Hiroshima and Nagasaki.

I have long argued, and continue to argue, that it was the only acceptable decision for Harry Truman to make back during the fateful summer of 1945. And I just came across an unusual data point that supports my argument: the manufacture of Purple Hearts.

Wikipedia tells us that the Purple Heart is a US military decoration awarded to those wounded or killed while serving. Needless to say, Purple Hearts must have been in high demand during the war years, between 1941-1945. The decorations obviously need to be manufactured, and that means the US government placing an order for them in anticipation of casualties during any conflict.

And it was an order of stunning magnitude that they placed in 1944-1945, anticipating the invasion of Japan: Something like half a million Purple Hearts were stockpiled. As a result of this and other unused stocks, it was not until the year 2000 that the US government ordered a new supply, and the old supply, though running low, remains in existence to this date.

So imagine that you are the newly minted president of the United States, after your former boss, Roosevelt, dies. You are informed that your government just completed an astonishing effort to create an immensely powerful new weapon, and it is ready for deployment. You are facing a ruthless enemy: Let’s not forget that the Empire of Japan was no less genocidal than Hitler’s regime, perhaps in some ways even more so (look up Unit 731 on Wikipedia if you have the stomach for it.) Perhaps they are ready to surrender. Perhaps not. But until they are, they remain the enemy. You don’t have the benefit of hindsight. You know what you know and it’s July 1945.

How could you NOT order tactical deployment of the new weapon? As opposed to keeping it in reserve or worse yet, wasting one for a theatrical “demonstration”? Wouldn’t that be an open betrayal of the American servicemen fighting in the Pacific theater? An almost treasonous act?

Yes, there were dissenting voices. But, lest we forget, the conventional bombing campaigns were just as brutal on the civilian population as the nuclear bombs, perhaps even more so. The firebombings of Dresden and Tokyo serve as splendid examples of just what the Allied powers were able and willing to do to enemy cities and their civilian population. Of course there was dissent. Americans are not without conscience, and senior political and military leaders in 1945 were no exception. But it was not until the 1960s that questioning the morality of the use of these weapons became… fashionable.

Yet here we are, more than 78 years later, and not a single nuclear weapon was used in anger ever since. That’s not an iron clad guarantee of course, but at least a ray of hope. Perhaps Hiroshima and Nagasaki achieved more than help bring an end to the War in the Pacific. Perhaps they also helped shape our public perception of nuclear war as the pinnacle of abhorrence.

In the meantime, though, if anyone wonders about the morality of Truman’s decision, perhaps it’s a good idea to contemplate the half million (give or take) surplus Purple Hearts.

 Posted by at 9:41 pm
Dec 062023
 

A few days ago, I came across an article that described a remarkable paper, published in the USSR more than 50 years ago, with predictions on climate change.

Predictions that proved remarkably prescient.

I first read about Mikhail Budyko’s article in a recent review, published on EOS three years ago. What caught my attention, in particular, was Fig. 1 of that article, reproduced below, that shows just how spot on Budyko’s predictions happen to be.

Budyko’s 1972 predictions (solid gray lines) of a) surface temperature and b) changes in Arctic sea ice, compared to observational data from NASA Goddard and IPCC predictions.

Naturally, I wanted to see the original reference, which proved harder than I expected. While it was cited many times, the paper was almost impossible to find. Although I did locate it in an online Russian library, it was only an index entry, with the (unscanned) copy available only for reading in person.

But then… Fortunate favors the… foolish? Persistent? I stumbled upon a 2020 Russian-language publication containing full reprints of several papers by Mikhail Budyko, including the paper in question.

I took it upon myself then to translate the paper in its entirety, with help from one of our AI friends. (AI can do a remarkable job translating technically challenging content, much better than dedicated translation software, albeit some supervision is required.)

Yes, Budyko indeed accurately predicted human-induced climate change. His concerns about rapid changes, “tipping points” are also well-justified. Notably, his work was written before climate change became political football. It’s the work of an excellent climate scientist, not a political hack.

 Posted by at 11:57 pm
Dec 052023
 

Now that Roy Kerr’s paper on black holes and singularities is on arXiv, I am sure I’ll be asked about it again, just as I have been asked about it already on Quora.

Roy Kerr, of course, is one of the living legends of relativity theory. His axisymmetric solution, published in the year of my birth, was the first new solution in nearly half a century after Karl Schwarzschild published his famous solution for a spherically symmetric, static, vacuum spacetime. I hesitate to be critical of this manuscript since chances are that Kerr is right and I am wrong.

Kerr now argues that the singularity theorems are nonsense, and that his axisymmetric solution actually hides some nonsingular configuration of matter therein.

At a first glance, the paper seems well written and robust. Still… when I dug into it, there are a few things that caught my attention, and not in a right way. First, the paper takes argument with “singularity believers” using language that almost sounds like pseudoscience. Second, it has some weird factual errors. E.g., it asserts that black holes “as large as 100 billion solar masses have been observed by the James Webb Telescope” (not even close). Or, it describes the famous Oppenheimer-Snyder paper of 1939 as having “used linear, nineteenth century ideas on how matter behaves under extreme pressures” (actually, Oppenheimer and Snyder discuss the collapse of a “dust” solution with negligible pressure using the tools of general relativity with rigor). Kerr further criticizes the Oppenheimer-Snyder paper as attempting “to ‘prove’ that the ensuing metric is still singular”, even though that paper says nothing about the metric’s singularity, only that the collapsing star will eventually reach its “gravitational radius” (i.e., the Schwarzschild radius). Nonetheless, later Kerr doubles down by writing that “Oppenheimer and Snyder proved that the metric collapses to a point,” whereas the closest the actual Oppenheimer-Snyder paper comes to this is describing collapsing stars as stars “which cannot end in a stable stationary state”.

Never mind, let’s ignore these issues as they may not be relevant to Kerr’s argument after all. His main argument is basically that Penrose and Hawking deduced the necessary presence of singularities from the existence of light rays of finite affine length; i.e., light rays that, in some sense, terminate (presumably at the singularity). Kerr says that no, the ring singularity inside a Kerr black hole, for instance, may just be an idealized substitute for a rotating neutron star.

Now Kerr has an interesting point here. Take the Schwarzschild metric. It is a vacuum solution of general relativity, but it also accurately describes the gravitational field outside any static, spherically symmetric distribution of matter in the vacuum. So a Schwarzschild solution does not imply an event horizon or a singularity: they can be replaced by an extended, gravitating body that has no singularities whatsoever so long as the radius of the body is greater than the Schwarzschild radius associated with its mass. The gravitational field of the Earth is also well described by Schwarzschild outside the Earth. So in my reading, the crucial question Kerr raises is this: Is it possible that once we introduce matter inside the event horizon of a Kerr black hole, perhaps that can eliminate the interior Cauchy horizon or, at the very least, the ring singularity that it hides?

I don’t think that is the case, and here is why. Between the two horizons of a Kerr black hole, the “radial” coordinate is now the timelike coordinate, with the future pointing “inward”, i.e., towards the Cauchy horizon. That means that particles of matter do not have trajectories that would allow them to avoid the Cauchy horizon; no matter what path they follow, they will reach that horizon in finite proper time.

Inside the Cauchy horizon, anything goes, since closed timelike curves exist. So presumably, it might even be possible for particles of matter to travel back and forth between the past and the future, never hitting the ring singularity. But that’s not what Kerr is suggesting in his paper; he’s not talking about acausal worldlines inside the Cauchy horizon, but some “nonsingular interior star”. I don’t see how to make sense of that suggestion, because I don’t see how a stationary configuration of matter could exist inside the inner horizon. Wobbling back-and-forth between yesterday and tomorrow in a closed timelike loop is not a stationary configuration!

For these reasons, even as I am painfully aware that I am arguing with a Roy Kerr so there’s a darn good chance that he’s right and I’m spouting nonsense, I must say that I remain unconvinced by his paper. The language he uses (e.g., describing the business of singularities as “dogma”) is not helping either. Also, his description of the interior of the rotating black hole sounds a bit off; to use his own words, “nineteenth century” reasoning, much more so than the Oppenheimer-Snyder paper that he criticizes.

 Posted by at 7:31 pm
Dec 022023
 

I just came across a quote attributed to Einstein: “If I had foreseen Hiroshima and Nagasaki, I would have torn up my formula in 1905.

The problem with this quote is that it is utter nonsense, and not something Einstein likely would have said, ever.

An image of Einstein that is just as real as some of the quotes attributed to him. Courtesy of Midjourney.

The “formula” of mass-energy equivalence simply states that an object’s resistance to motion (its inertia) is proportional to its energy-content. That is all. Yes, I know that in the popular imagination, \(E=mc^2\) is frequently associated with the nuclear age. But that’s nonsense. \(E=mc^2\) is not about “converting” anything into anything. Mass-energy is mass-energy, and it is conserved. Whether it is in the form of the nuclear binding energy of a uranium atom (or for that matter, the chemical binding energy of carbon atoms in a fireplace log) or in the form of the kinetic energy of photons released by a nuclear or chemical reaction has absolutely nothing to do with \(E=mc^2\): the formula does not explain nuclear fission any more than it explains the chemical reactions that govern the burning of wood.

But then, what about this quote, which appears in a number of reliable places, including Wikiquotes?

It is attributed to a book published by a William Hermanns, who supposedly interviewed Einstein on a number of occasions between the late 1920s and Einstein’s death in 1955.

The person appears real. I found, in Google’s archive, the May 2, 1955 issue of Life, which includes a personal recollection of one of Life’s own editors, William Miller, of his very last visit to Einstein, when he actually met William Hermanns.

Hermanns’s book, Einstein and the Poet: In Search of the Cosmic Man, is also real: In fact, it even has a Kindle edition.

But… how much of it is true?

Considering that Hermanns has an exceptional biography (which one can read on a Web site dedicated to his life) it is more than a bit odd that the only references to his name in Wikipedia are Einstein-related. Yet his name does not appear in notable Einstein biographies, including Abraham Pais’s definitive scientific biography, or Walter Isaacson’s exceptionally good Einstein bio.

When I read the few pages of Hermanns’s book that are available as a Kindle preview, I grow even more suspicious. For instance, according to Hermanns, already in 1927 Einstein was “marked by Nazis as ‘Enemy number One of the Nation,’ and the object of at least seven plots to take his life.” News to me.

But then, Hermanns goes on to quote Einstein who supposedly said, “When I was about five, my father gave me a compass as a toy. I wanted to find out why the needle never deviated […] When I asked my uncle, an engineer, he immediately proceeded to teach me some fundamentals of algebra, with this advice: ‘What you don’t know, call x, then hunt til you find what it is.’ From that time on, I have called everything I didn’t know x, especially magnetism.

As I asked ChatGPT just moments ago, can you imagine Einstein saying these words, in 1927, to a stranger who just visited him?

Long story short, I don’t know what to think. Based on what I have read, I do not believe Hermanns’s accounts of his conversations with Einstein are credible. At the very least, they must be severely distorted versions of Einstein’s words, probably deeply colored, warped by Hermanns’s imagination. For what it’s worth, ChatGPT concurs: “The lack of independent verification and recognition in authoritative sources casts doubt on the accuracy and credibility of his accounts. Your reservations about accepting Hermanns’ narratives as factual are well-founded.”

 Posted by at 11:32 pm
Dec 012023
 

Well, here it is, a local copy of a portable large language and visual model. An everywhere-run executable in a mere 4 GB. Here’s my first test, with a few random questions and an image (one of my favorite Kliban cartoons) to analyze:

Now 4.57 tokens per second is not exactly fast but hey, it runs on my 7-year old workstation, with no GPU acceleration, and yet, its performance is more than decent.

How is this LLM different from GPT or Claude? Well, it requires no subscription, no Internet connection. It is entirely self-contained, and fast enough to run on run-of-the-mill PC hardware.

 Posted by at 12:12 am
Nov 302023
 

I made some mistakes in the past. I never made a half-a-billion dollar mistake.

Neither did Chris Lewicki, but he came awfully close.

I just read this delightful account of how Lewicki almost fried the innards of the Spirit rover, destined for Mars, during an engineering test that took place just weeks before the rover was launched.

I can only imagine the sinking feeling in his stomach he must have felt when he thought that the rover was ruined. My mistakes never came close in value, but the sensation is uncomfortably familiar.

Fortunately, in his case, the disaster never actually materialized. In simple terms, yes, he plugged a cord into the wrong outlet, but fortunately, the other end of the cord was not plugged in.

To this day, Lewicki must feel like one of the luckiest persons on the planet.

The illustration is from his blog post, but its appearance suggests that it might have been produced by DALL-E. Or maybe Midjourney or Stable Diffusion? The style looks very reminiscent of AI-produced cartoon images.

 Posted by at 6:17 pm
Nov 302023
 

So the other day, as I was doing a Google Search (can’t exactly remember what it was that I was searching for but it was machine learning related), up pops this invitation to participate in a challenge.

Turned out to be the Google Foobar challenge, Google’s secret recruiting tool. (Its existence is not really a secret, so I am not really revealing any great secrets here.)

Though I have no plans to become a Google employee (and I doubt they’re interested in me on account of my age anyway) I decided to go through the challenge because, well, it’s hard to say no to a challenge, and it was an opportunity to practice my Python skills (which need a lot of practice, because I have not yet used Python that much.)

Well, I did it. It was fun.

More importantly, I enjoyed it just as much as I enjoyed similar challenges as a math geek in my early teens. And if that’s not a gift from life, I don’t know what it is.

And yes, I am now much better at Python than I was just a few days ago. I certainly appreciate why the language has become popular, though I can also see its non-trivial pitfalls.

 Posted by at 6:03 pm
Nov 302023
 

This morning, like pretty much every morning, there was an invitation in my inbox to submit a paper to a journal that I never heard of previously.

Though the unsolicited e-mail by itself is often an indication that the journal is bogus, predatory, I try to be fair and give them the benefit of the doubt, especially if the invitation is from a journal that is actually related to my fields of study. (All too often, it is not; I’ve received plenty of invitations from “journals” in the medical, social, biological, etc., sciences, subjects on which I have no professional expertise.)

So what are the signs that I am looking for? Well, I check what they published recently. That’s usually a good indication of what to expect from a journal. So when I read a title that says, say, “Using black holes as rechargeable batteries and nuclear reactors,” I kind of know what to expect.

Oh wait. That particular paper appears to have been accepted for publication by Physical Review D.

Seriously, what is the world of physics coming to? What is the world of scientific publishing, by and large, coming to? Am I being unfair? Just to be sure, I fed the full text of the paper on black hole batteries to GPT-4 Turbo and asked the AI to assess it as a reviewer:

 Posted by at 11:06 am
Nov 222023
 

Watching things unfold at OpenAI, the company behind ChatGPT, these past several days was… interesting, to say the least.

I thought about posting a blog entry on Monday, but decided to wait as I was sure there was more to come. I was not disappointed.

First, they fire Sam Altman, in a move that is not unlike what happens to the Game of Thrones character Jon Snow at the end of Season 5. (Yes, I am a latecomer to GoT. I am currently watching Season 6, Episode 3.)

Then several other key executives quit, including the company president, Greg Brockman.

Then, the Board that fired Altman apparently makes noises that they might welcome him back.

But no, Altman and Brockman instead joined Microsoft after, I am guessing, Nadella made them an offer they could not refuse.

Meanwhile, in an open revolt, the majority of OpenAI’s employees signed a letter demanding the resignation of the company’s Board of Directors, threatening to quit otherwise.

The authors of CNN’s Reliable Sources newsletter were not the only ones asking, “What on Earth is going on at OpenAI?”

As if to answer that question, OpenAI rehired Altman as CEO, and fired most of their Board.

The New Yorker‘s take on the “AI revolution”

Meanwhile, some speculate that the fundamental reason behind this is not some silly corporate power play or ego trips but rather, genuine concern that OpenAI might be on the threshold of releasing the genie from the bottle: the genie called AGI, artificial general intelligence, that is.

I can’t wait. AGI may do stupid things but I think it’d have to work real hard to be dumber than us humans.

 Posted by at 3:43 pm
Nov 202023
 

I am not Jewish. My family is not Jewish.

My father’s first wife, however, was Jewish. His son from that first marriage, born decades before I was born, is Jewish and married a Jewish woman. My mother’s grandparents, though not Jewish, worked for a Jewish family at the turn of the last century, and lived in their household.

That might explain how it came to be that I grew up using expressions like “gott sei dank” or “na zag schon”, much to the amusement of some of my Jewish friends who know less Yiddish than I. Or why I have friends who had parents, siblings, aunts, nieces, spouses murdered in Auschwitz or shot into the Danube by the Hungarian Arrow Cross during the Holocaust.

No, that does not mean that suddenly I have a favorable opinion of Mr. Netanyahu (I don’t) or that I turn a blind eye when I see innocents suffer. I have criticized and will again criticize the government of Israel. In fact, for what it’s worth, I think Netanyahu is a crook, his pact with the far right is a poison pill for Israeli democracy, and that the outsize influence of the ultraorthodox is corrupting Israeli politics. Unfortunately I also do not see a long-term solution, an achievable goal: None of the foreseeable alternatives provide an acceptable outcome: The two-state solution undermines Israeli security, annexation would create an Arab-majority state, more drastic “solutions” like wholesale expulsion or genocide (of either Palestinians or Jews) are obviously unacceptable. So the status quo remains by default, even though it’s not exactly a solution either.

But “never again” must mean something. Failure to respond to the attack on October 6 would amount to the Israeli state abandoning its most basic responsibility to its citizens. It is the sad nature of war that when one party hides behind its civilians, civilians suffer. Notably, however, hiding behind civilians only works against a civilized opponent that abhors “collateral damage”: if Israel was as savage, as hell-bent on genocide as its enemies suggest, hiding behind civilians would not work as a Hamas tactic.

Earlier, I came across a meme that depicted a female Arab member of Israel’s Knesset, enumerating the rights she enjoys as a full citizen of Israel. I changed my mind about reusing that meme since I suspect that it was created without her approval. Even though she is a public figure, so using her image in this manner is arguably legitimate, it felt a bit tasteless.

Instead, let me just repost a propaganda meme straight from Israel’s defense forces.

It’s not even new; it dates back to 2014. And yes, it’s a propaganda piece. But like all good propaganda, it is based on the sad truth.

 Posted by at 1:01 pm
Nov 192023
 

So I am watching this political drama series, with almost daily new installments.

It’s about a world heading towards conflict, with one of the major powers in particular having recently voted out of office a would-be despot, a crooked, narcissistic businessman who became a politician mainly for self-glorification, preaching a populist message. Although he’s no longer in office, he remains popular, despite the fact that he also has several lawsuits (both civil and criminal) hanging over his head.

The current season will wrap up soon. I am having a feeling that the writers plan to bring him back next season and that, in fact, he’ll win the election again.

Portrait of a would-be despot, a crooked, narcissistic businessman, his thinning blond hair in a combover, with a fake tan, who became a politician mainly for self-glorification, preaching a populist message to a crowd of adoring followers

Pictured is Midjourney’s response to the prompt, “Portrait of a would-be despot, a crooked, narcissistic businessman, his thinning blond hair in a combover, with a fake tan, who became a politician mainly for self-glorification, preaching a populist message to a crowd of adoring followers“.

Oh wait, you’re telling me that this is NOT a scripted television series created for entertainment? That it is reality?

 Posted by at 9:53 pm