Computer Sciencefor Theatre & Technical Direction

148 termsEN · 繁中

Glossary 詞彙表

Learn the English term as the operational one: every datasheet, every menu and every conversation on an international crew is in English. The Chinese is there to build the concept, not to replace it.

Learn the English term as the operational one. Every language reference, every error message, every menu and every conversation on an international crew is in English. The Chinese is here to build the concept, not to replace it.

Where a term also appears in showstack, the open index of live entertainment technology, this glossary follows showstack's wording, because that entry carries a source and this one does not. Where it overlaps the glossaries of the other courses I teach, the definitions agree deliberately, so a term does not change meaning when a student walks between rooms.


A. The machine#

English中文What it means
Bit位元One binary digit, 0 or 1. Physically a voltage above or below a threshold
Byte位元組Eight bits, holding 256 values. One DMX slot, one colour channel
Binary二進位Base two. How every value is actually stored
Hexadecimal十六進位Base sixteen. One hex digit is exactly four bits, which is why it exists
CPU中央處理器The part that executes instructions, one after another, very fast
RAM隨機存取記憶體Working memory. Fast, and lost when power is removed
Flash快閃記憶體Storage that survives power loss. Holds firmware and files
Clock speed時脈速度How many cycles per second the processor runs at
Operating system作業系統The software that decides which program gets the processor, and when
Kernel核心The core of an operating system, which owns the hardware
Process行程One running program, with its own memory
Thread執行緒One line of execution inside a process
Firmware韌體The program running on a device, rather than on a computer
Microcontroller微控制器A chip that runs one program forever, with predictable timing
Single board computer單板電腦A whole computer on one board, such as a Raspberry Pi
GPIO通用輸入輸出A pin that can be an input or an output under program control
Boot開機The sequence from power on to running. A Pi takes 20 to 40 seconds
Headless無頭Running with no screen or keyboard attached

B. Languages and programs#

English中文What it means
Source code原始碼The text a person wrote
Compiler編譯器Turns source into machine instructions before it runs
Interpreter直譯器Executes source as it reads it, so the source is on the machine
Bytecode位元組碼Instructions for a pretend machine, executed by a runtime
JIT即時編譯Just in time: compiles the hot parts to machine code while running
Toolchain工具鏈Everything needed to turn your source into something that runs
Syntax語法The rules of how the language is written
Syntax error語法錯誤The parser reached a token that cannot follow the previous one
Runtime error執行時期錯誤A fault that only appears while running
Token詞元One unit of text after lexing. Also, one unit of text to a language model
Parser剖析器Assembles tokens into a tree that carries the structure
Variable變數A name bound to a value, or to a reference to a value
Type型別What a value is, and therefore what may be done with it
Integer整數A whole number, stored exactly
Float浮點數A number with a fraction, stored approximately
String字串Text, in a specific encoding
Boolean布林值True or false
List / array陣列An ordered collection, addressed by position
Dictionary / map字典A collection addressed by key, with instant lookup
Set集合A collection of unique items, fast at "is this in it"
Null / None空值The deliberate absence of a value
Reference參照A name pointing at an object, rather than holding a copy of it
Mutable可變的Can be changed in place, which is how two names change together
Function函式A named piece of code that takes arguments and returns a value
Signature函式簽章The name, parameters and return type. The first thing to read
Parameter參數What a function declares it needs
Argument引數What you actually pass when calling it
Return value回傳值What comes back
Scope作用域Where a name is visible
Library函式庫Code somebody else wrote that you call
Dependency相依套件A library your program will not run without
Loop迴圈Repetition. Ask what changes and what stops it
Branch分支A decision, taken once, on a condition
Recursion遞迴A function that calls itself
Static typing靜態型別Types checked before running, so mistakes arrive early
Dynamic typing動態型別Types checked while running, so mistakes arrive during the show
IEEE 754IEEE 754 浮點標準The floating point standard. Why 0.1 + 0.2 is not 0.3, everywhere
UTF-8UTF-8 編碼The text encoding to use. Handles every language including 繁體中文
Off-by-one差一錯誤Starting at 1 instead of 0, or missing the last item. Endemic

C. Structure, data and tools#

English中文What it means
Data structure資料結構The shape you keep data in, which decides what is cheap
Algorithm演算法A method for getting from input to output
Complexity複雜度How the work grows as the data grows
Linear (n)線性Touch each item once
Quadratic (n²)平方Every item against every other. A loop inside a loop
CSV逗號分隔值Text table. Universal, untyped, and messier than it looks
JSONJSON 格式Nested, typed, machine written and machine read
YAMLYAML 格式Configuration a human maintains by hand. Indentation is meaning
XMLXML 格式Old, strict, verbose, schema-checkable
SQLiteSQLite 資料庫A whole database in one file. The answer past a few thousand rows
Schema綱要The declared shape of data
Parsing剖析Turning text into structure
Serialisation序列化Turning structure into text or bytes for storage or sending
Version control版本控制Keeping the whole history of a folder
Repository版本庫A folder whose history is kept
Commit提交A snapshot of every file, with a message saying why
Branch (git)分支A line of commits you can start and abandon
Merge合併Bringing a branch back
Merge conflict合併衝突Both sides changed the same lines. Git declines to guess
Remote遠端A copy of the repository somewhere else. This is what makes it a backup
Diff差異What changed between two versions
README說明檔Ten lines: what this is, how to run it, what it assumes, who to ask
Debugging除錯Finding out why, by narrowing the boundary, not by guessing
Bisect二分搜尋Halve the search space repeatedly. Ten halvings covers a thousand lines
Traceback追蹤訊息The error report naming file, line and cause. Read it from the bottom
Test測試Code that proves other code does what you claimed
Edge case邊界情況The empty file, the duplicate, the last item. Where show software lives
Regression迴歸Something that used to work and now does not
Dry run試跑Print what it would do without doing it
Terminal / shell終端機The text interface. Eight commands cover most of it
Path路徑Where a file is. Absolute from the root, or relative to where you are
Environment variable環境變數Configuration from outside the program. Where secrets belong
Virtual environment虛擬環境Per-project isolation, so two projects can want different versions

D. AI and language models#

English中文What it means
Large language model大型語言模型A function producing a probability distribution over the next token
Token (LLM)詞元About 0.75 of an English word. What you are billed per
Context window上下文視窗Everything the model can see at once. Currently around a million tokens
Prompt提示What you send. Including the code, files and history the tool added
Inference推論Running the model to produce output
Hallucination幻覺Confident, plausible, wrong. The same mechanism that makes it work
Fine-tuning微調Further training on specific data
RAG檢索增強生成Looking things up and putting them in the window before answering
Agentic代理式The tool runs commands and edits files by itself, for minutes at a time
MCP模型上下文協定A standard way to give a model access to tools and data
Prompt caching提示快取A discount for re-reading an unchanged prefix. Stable content first
Temperature溫度How much randomness in choosing the next token
Verification驗證Reading, running on a copy, and proving against a case you worked out
Provenance來源出處Where this code came from, and what licence it carries

E. Show code and hardware#

English中文What it means
State machine狀態機A set of states, events and transitions. Most show code is one
Transition轉移A rule moving the system between states. The missing one is the fault
Blocking阻塞Code that stops everything else while it waits. delay() is blocking
Non-blocking非阻塞Checks the time and returns, so the loop keeps turning
Polling輪詢Asking repeatedly whether something has changed
Interrupt中斷Hardware calling your code the moment something happens
Debounce消抖Ignoring changes for 20 to 50 ms after the first one
Latency延遲Time from cause to effect. Budget it, do not hope
Jitter抖動Variation in latency. Often worse than latency itself
Deadline截止時間When it must have happened by. The whole reason show code is different
Loop budget迴圈預算Time available for one pass. 1 kHz means 1 ms for everything
Safe state安全狀態What it does when alone and confused. Decide it before you build it
Loss of signal訊號中斷Cue stopped arriving. Fixtures hold, amplifiers mute, hoists stop
Watchdog看門狗計時器A timer that resets the device if the program stops feeding it
Interlock連鎖裝置A physical circuit preventing an unsafe action. Never software alone
Emergency stop緊急停止Hardwired, removes power, asks no processor for permission
Serial序列通訊Bytes one after another, at an agreed rate
Baud rate鮑率Symbols per second on a serial line. DMX is 250 kbit/s
UART通用非同步收發器The hardware that shifts serial bits in and out
I²C / SPII²C / SPI 匯流排Short-range buses for talking to sensors and chips
PWM脈寬調變Switching fast and varying the on-time. How brightness and servos work
ADC類比數位轉換器Turns a voltage into a number. Its accuracy is its reference's accuracy
DMX512DMX512 控制協定512 slots per universe, 250 kbit/s, one way, no acknowledgement
Universe一條 DMX 線路(universe)512 slots of DMX data, so 170 RGB pixels. A quantity of data, not a cable
OSC開放聲音控制Text-ish messages over UDP. Flexible, routable, unacknowledged
MIDI樂器數位介面Old, universal, well understood by sound and stage management
Pixel tape像素燈帶Addressable LEDs. Three bytes each, rewritten every frame
systemd servicesystemd 服務How a Linux program starts on boot and restarts when it dies
SSH安全外殼協定A shell on another machine over the network

F. Media, time and notation#

English中文What it means
Frame影格One picture. At 25 fps it lasts 40 ms
Frame rate (fps)影格率Pictures per second
Codec編解碼器How pictures are compressed. H.264, ProRes, HAP
Bitrate位元率Data per second of video. Decides file size and quality
Deterministic確定性的The same input always gives the same output. Why a result can be trusted twice
Seed種子The number that makes randomness repeatable
Idempotent冪等Safe to run twice. Worth roughly double a tool that is not
Dry run試跑Print what it would do without doing it. Required before anything destructive
Patcher圖形化編程環境Boxes and wires: the parser's graph, edited directly
Node節點One operation in a patcher. Where the state lives
Wire連線What carries a value between nodes. Not where state lives
Cook運算週期One evaluation pass in a node environment. Its version of "each pass"
Ladder logic梯形圖A graphical language in IEC 61131-3. What runs certified automation
Block language積木式程式語言Scratch, MakeCode, Blockly. Removes syntax errors, not the four questions
Spaghetti義大利麵式結構What every patcher becomes past a few hundred nodes without discipline