maxdraco

Programming and AI

The languages and interfaces software is built with, and the AI models that now help write and run it.

Concepts

  • AI Artificial intelligence: software that performs tasks usually thought to need human judgement.
  • API A defined way for one program to ask another for data or actions.
  • Endpoint (route) One specific address on a web service that a program can call to do one job.
  • Environment variable A named setting a running program inherits from whatever started it.
  • Exit code The number a program hands back when it finishes: zero for success, anything else for failure.
  • Infrastructure as code Managing servers and networks by writing their settings down in files that a tool applies, instead of setting each one up by hand.
  • Large language model (LLM) and chatbots An AI model trained on huge amounts of text to predict and write language; the kind of AI behind chatbots.
  • Open source Software whose source code anyone may read, change and share.
  • Polling Checking something over and over on a timer to see whether it has changed, instead of waiting to be told.
  • Prompt injection Hiding instructions in text an AI model reads, so that it follows them instead of its user.
  • Race condition A bug where the outcome depends on which of two things happens first.
  • Regular expression (regex) A compact pattern language for finding text of a given shape, such as any run of digits.
  • Sandbox (sandbox escape) A restricted environment that limits what a program can touch; a sandbox escape is a way out of it.
  • Shell (command line) The program that reads typed commands and runs them; bash and zsh are common ones.
  • Signal (SIGTERM, SIGKILL) A short notice the operating system sends a running program, such as a request to stop.
  • Socket The handle a program uses to send and receive data over a network connection.
  • Source code The human-readable instructions a program is written in, before it is turned into something a computer runs.
  • Timeout A limit on how long a program waits for something before it gives up.
  • Webhook A way for one service to notify another of an event by sending it a web request.

Protocols

  • GraphQL A query language for APIs in which the client asks for exactly the data it wants in one request.

Tools

  • Git Free software that records every change to a set of files, used to keep the history of most software projects.
  • Python Popular general-purpose programming language known for readable code.
  • zsh The Z shell, a Unix command-line shell and the default on macOS.

Related topics