xkcd.WTF!?

Image loading failed. try again

Modern Tools

I tried to train an AI to repair my Python environment but it kept giving up and deleting itself.

Explanation

Cueball tells White Hat how he has trained a neural net to generate mostly valid Makefiles.

This is the file type that Make searches for. In software development, Make is a build automation tool that automatically builds executable programs and libraries from source code by reading files called Makefiles which specify how to derive the target program. (See 2173: Trained a Neural Net). Make is a very old tool, having first appeared in 1976.

Then Cueball continues to tell that he next will train it to distinguish between Bash and Zsh.

Bash and Zsh are two command line interfaces for Unix-like OSes. The way to execute commands is almost identical, making detecting a script that contains a mixed syntax nearly impossible. This was previously referenced in 1678: Recent Searches. Bash and Zsh are also old tools, having come out in 1989 and 1990 respectively.

A human-designed 'random Makefile'-maker might have been written with this explicit choice amongst the earlier decisions in the generation process, but an AI might be assumed to have started (many, many generations ago) with something close to utter nonsense and painstakingly reached the stage of (mostly!) valid files along the way. Some might say that the differentiation training would have been better added at another point in the lengthy process.

On top of that, the current (mostly valid) results may even be polyglot and/or shell-agnostic. Dependant upon the fitness tests in use, many other $SHELL-choices and Makefile styles may have been coevolved as valid (if rarer) subgenus of outputs, such as a command.com-based makefile.

In the caption it states that Cueball is using modern tools to make ancient technology, as opposed to other people who use ancient tools and UIs (User interface) to develop Modern Tools.

In the title text Randall states that he tried to train an AI (Artificial intelligence) to repair his horribly broken Python environment. But the AI kept giving up and deleting itself. The joke partly relates to when it or is not appropriate to personify goal-driven processes. In the study of alignment of artificial intelligence, it is common to consider AIs finding ways to meet the tasks they are given that are highly unexpected, and then developing into an apocalypse. A common unexpected solution encountered in research is that the agent finds a way to disable itself as more efficient to meet its reward parameters than anything else it discovers, and then learns to repeatedly do so. The AI might be so intelligent that it had developed critical 'personal' opinions that led it to be so intellectually appalled by the task, or else just found it impossible to fix the Python environment and therefore justify its own existence, that it had no other recourse but to commit a form of suicide because Cueball's code was that bad (which is a recurring theme for Cueball). Python has been a recurring subject as has Programming and Artificial Intelligence.

The main joke is that Cueball is using cutting-edge tools to develop very old technologies, which is perhaps only useful if one is pursuing hobbies in conflict with a differing AI addiction. As the caption implies, it is much more common for people to use fundamental and well-established tools as the toolchain or building blocks of modern technology. A concrete example of this is writing scripts using decades-old Bash to automatically set up a significantly newer (2014) technology called Kubernetes.