Website review
This review may include AI-generated content and is not individually verified. Domain, certificate and other facts come from the observed data on this page.
What is david-peter.de?
david-peter.de is the personal website of David Peter, a software developer in Stuttgart, Germany. It is a portfolio-style page that gathers his open-source command-line tools, small web projects and games, alongside a short personal introduction. The site describes his background in programming, science and math, and notes his work on a Python type checker at OpenAI, earlier software for LiDAR-based perception in self-driving cars, and research on ultracold quantum gases.
What you will find there
- Command-line programs:
fd(a friendlier alternative tofind),hyperfine(benchmarking with statistical analysis),bat(syntax-highlightedcat),hexyl(a colored terminal hex viewer),pastel(color generation and conversion) andvivid(a generator forLS_COLORS). - Numbat: a high-precision scientific calculator with full physical-unit support, usable in the terminal or the browser.
- cube composer: a puzzle game inspired by functional programming, where you compose transformations to arrange colored cubes.
- Other projects:
quizzityandcuriositY, listed as further personal projects.
Who it is for
The page suits developers looking for practical terminal utilities, people curious about unit-aware calculation, and anyone interested in small programming-themed games. It is a personal index rather than a tutorial site: each entry is a brief pointer, with source code published on GitHub and academic work on arXiv. If a tool catches your eye, the most useful next step is to open its linked project page, such as Numbat, and try the browser version or read the command-line usage before installing anything locally.
Who is David Peter and what does he work on at OpenAI?
David Peter is a software developer based in Stuttgart, Germany, who works on the Astral team at OpenAI on a Python type checker. His background spans LiDAR-based perception software for self-driving cars and research on topological properties of ultracold quantum gases, and his personal site lists interests in science, math, programming, climbing, cycling, progressive rock, and board games david-peter.de.
What he builds outside work
His open-source projects cluster around fast, modern command-line tools, several of which are widely used:
- fd — an alternative to
find, emphasizing performance and a cleaner command-line interface. - hyperfine — a benchmarking tool for measuring program execution time with statistical analysis.
- bat — a syntax-highlighting replacement for
cat. - hexyl — a color-coded terminal hex viewer.
- pastel — a color generation, conversion, and manipulation tool.
- vivid — a generator for the
LS_COLORSvariable that controlslscoloring.
He also created Numbat, a high-precision scientific calculator with full physical-unit support that runs in the terminal and the browser, and cube composer, a puzzle game inspired by functional programming and written in PureScript.
If you want to explore further
A practical next step depends on your goal: if you work in the terminal, start with fd or hyperfine, since both target everyday tasks (finding files, comparing command performance) where the benefit is immediately measurable. If you need unit-aware calculations, try Numbat in the browser first, since it requires no installation. For his broader open-source output, his code is published on GitHub and his academic papers on arXiv, both linked from his site.
Which of David's command-line tools should I use to benchmark a program's execution time?
Use hyperfine. It is David’s command-line benchmarking tool, described on his site as measuring the execution time of other programs and helping with proper statistical analysis of the results. That makes it the direct fit if you want repeatable timing rather than a one-off shell time reading.
A practical next step is to benchmark the exact command you care about, then compare variants—for example, different flags or input sizes—using repeated runs so the result reflects typical performance rather than a single lucky execution. If you mainly need to locate files quickly, fd is the relevant tool; if you want to read source files with syntax highlighting in the terminal, bat serves that purpose.
For the tool itself, see david-peter.de and its linked project pages.
How does Numbat handle physical units compared with a typical graphical calculator?
Numbat treats physical units as part of the calculation itself, not as a label you attach afterward. According to the site, it is "a high precision scientific calculator with full support for physical units" that understands all SI units (including metric and binary prefixes) plus most US customary and imperial units. A typical graphical calculator, by contrast, usually works on bare numbers: you convert units yourself and remember the conversion factors.
Where the difference shows up
- Unit-aware arithmetic: In Numbat, quantities carry their units through operations, so mismatched units surface as an error rather than a silently wrong number. On a typical graphical calculator, entering feet and meters in the same sum just produces a number.
- Built-in constants and functions: The site lists predefined mathematical functions and physical constants alongside the units, plus support for user-defined variables and functions. That suits multi-step scientific work where you want to name intermediate results.
- Interface: Numbat is an interactive command-line interface that runs in the terminal and in the browser, rather than a keypad-and-screen device.
Practical trade-off
For a student checking a single conversion, a graphical calculator's directness is hard to beat. For lab or engineering work where several quantities combine and a unit slip would invalidate the result, Numbat's unit checking and precision are the main draw. The cost is that you type expressions rather than press buttons, so the command-line habit matters.
A useful next step: take one calculation you would normally do on a graphical calculator—say, a force from mass and acceleration with a mixed-unit input—and write it as a single Numbat expression. If the unit handling catches an error you would otherwise have missed, that is your decision criterion. The project's own site is Numbat, and the author's other tools are listed at david-peter.de.
What is cube composer and how does its functional-programming-inspired puzzle gameplay work?
cube composer is a browser puzzle game by David Peter in which you arrange colored cubes by composing a series of transformations, an idea borrowed from functional programming. The page describes it as a puzzle game "inspired by functional programming methods," written in PureScript, a Haskell-like language that compiles to JavaScript.
How the gameplay works
- A starting configuration of cubes. Each level presents colored cubes in some arrangement that needs to change.
- A set of transformations. You are given operations that move or recolor cubes. In functional-programming terms, each is a function from one cube arrangement to another.
- Composition, not direct editing. Instead of dragging cubes into place, you chain transformations together. The result is the arrangement produced by applying them in sequence, much like composing functions
fthengto getg(f(x)). - A target pattern. A level is solved when the composed sequence produces the required arrangement. The puzzle is finding which operations, in which order, get you there.
Who it suits
The game is a good fit if you enjoy logic puzzles and want an intuitive feel for function composition, order of operations, and how small steps combine into a larger result. Programmers often find the mapping to code immediate; non-programmers can still play it purely as a sequencing puzzle, since no coding is required.
A practical next step
Start with the earliest levels to learn what each transformation does in isolation, then treat later levels as a search problem: try one operation, observe the result, and work backward from the target pattern to decide which operation must come last. That backward reasoning is usually the fastest way to solve composition puzzles, and it mirrors how you would decompose a function into simpler pieces when writing code.
For related tools by the same author, Numbat is a unit-aware scientific calculator that runs in the terminal and the browser.
Can I play David's projects like cube composer or Numbat in the browser, or do I need to install them?
Yes for both: Numbat and cube composer can be used in the browser, so you don't need to install anything to try them. Numbat is described on david-peter.de as running both in the terminal and in the browser, and cube composer is linked at a /cube-composer path on the same site, suggesting a playable web version.
The command-line tools are a different case. fd, hyperfine, bat, hexyl, pastel and vivid are terminal programs, so expect to install them before use.
| Project | Browser use | Install needed |
|---|---|---|
| Numbat | Yes, runs in browser and terminal | No for browser; terminal version is separate |
| cube composer | Yes, linked as a web page | No |
| fd, hyperfine, bat, hexyl, pastel, vivid | No | Yes, as command-line tools |
A practical way to decide: if you want to evaluate Numbat's unit-aware calculations before committing, start with the browser version and test a few conversions you already know. If you need it inside scripts or offline, plan on the terminal version instead. For cube composer, the browser page is the natural first stop since it is a puzzle game meant to be played directly.
User reviews (0)