These are unofficial samples. They were not written, reviewed, or endorsed by the projects' maintainers, and Dev Hype is not affiliated with them. Nothing here has been posted anywhere.
Here's how we'd launch hyperfine v2.0.0.
Unofficial sample: not written, reviewed, or endorsed by the hyperfine maintainers. Not affiliated. Based only on the public README and release notes: https://github.com/sharkdp/hyperfine · release notes. Drafts below are written as suggestions for the maintainers; Dev Hype has not posted any of them.
time runs are noisy; caches and shell overhead skew results.--metrics, --env, direct execution by default, JSON schema v2 (release notes).1/ hyperfine 2.0 is out. The command-line benchmarking tool now shows wall-clock time AND peak memory by default — and can track instructions, CPU cycles, cache misses, and branch misses too. 🧵
2/ Pick what you measure with the new --metrics option. The terminal output gives an overview of every metric you select.
3/ New --env: set env vars per benchmark without a shell.
hyperfine -P threads 1 8 --env 'OMP_NUM_THREADS={threads}' 'my_command'
4/ Commands now run directly by default (--shell=none) — no shell startup overhead to correct for. Need pipes or globs? Add -S.
5/ Heads up: JSON export moved to schema v2 with metadata, per-run measurements, and summaries for every metric. results[i].mean → results[i].summary.time_wall_clock.mean.
6/ Still everything you rely on: warmups, cache-clearing prepare commands, outlier detection, parameter scans, CSV/JSON/Markdown export. Release notes + migration: github.com/sharkdp/hyperfine/releases/tag/v2.0.0
hyperfine --parameter-list branch main,perf --setup 'git switch {branch}' 'python main.py'--warmup 3 for warm, --prepare to drop caches before each run. Same tool, honest numbers.-S for shell syntax, setup/prepare/conclude/cleanup still run in a shell, JSON is schema v2.hyperfine -L compiler g++,clang++ '{compiler} -O2 main.cpp' — non-numeric parameter lists in one line.--env for per-run variables, and direct execution without a shell. Warmups, cache-clearing, outlier detection, parameter scans, and CSV/JSON/Markdown export included. Cross-platform.time run; summarize 2.0 (peak memory shown by default, hardware counters via --metrics, no intermediate shell by default with -S to restore it, JSON export with per-run measurements for every metric); point script authors to the migration notes; ask which metrics matter most in their workflow.Title: Show HN: Hyperfine 2.0 – CLI benchmarking with memory and hardware counters
Text: Hyperfine is a command-line benchmarking tool. You give it commands; it runs each many times, does statistical analysis, detects outliers, and can compare them. 2.0 adds alternative metrics: peak memory is shown by default, and --metrics selects instructions, CPU cycles, cache misses, branch misses. Commands now run without an intermediate shell by default, which removes the shell-overhead correction for fast commands (-S restores the old behavior). --env sets variables per run, and the JSON export is a new schema with per-run data for all metrics — a breaking change for scripts. Feedback on the new defaults welcome.
--metrics and direct exec rationale; link to the issue explaining the shell change.--metrics, --env, no shell by default" — angle: practical one-liners (branch compare, -L lists, warmup vs prepare).hyperfine 2.0.0 — measure more than time.
- Added: --metrics (peak memory, instructions, CPU cycles, cache/branch misses); peak memory shown by default; --env; plotting/analysis scripts support metrics.
- Breaking: direct execution by default (--shell=none; use -S); setup/prepare/conclude/cleanup always run in a shell; JSON export schema v2.
| Day | Platform | Asset |
|---|---|---|
| 1 Tue | X thread 9am PT; Show HN 8am PT | launch |
| 2 Wed | Product Hunt 12:01am PT; X follow-up 1 | |
| 3 Thu | r/rust; X follow-up 2 | |
| 4 Fri | X follow-up 3 (migration) | |
| 5 Sat | r/commandline | |
| 6 Sun | X follow-up 4 | |
| 7 Mon | r/programming; X follow-up 5 (ask) | recap |
| Daily: 2×30 min reply windows. |
Here's how we'd launch uv 0.13.1.
Unofficial sample: not written, reviewed, or endorsed by the uv maintainers. Not affiliated. Based only on the public README and release notes: https://github.com/astral-sh/uv · release notes. Drafts below are written as suggestions for the maintainers; Dev Hype has not posted any of them.
1/ uv 0.13.1 just shipped: smaller binary, faster Simple API parsing, and CPython 3.16.0a1 available. If you haven't tried uv yet, here's the short version 🧵
2/ uv is one tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv and more. Written in Rust; its README cites 10-100x faster than pip (benchmarks linked).
3/ Projects: uv init, uv add ruff, uv run ruff check, uv lock, uv sync. Universal lockfile, Cargo-style workspaces.
4/ Scripts: declare dependencies inline in a single file and uv run it. Great for quick automations.
5/ Also new in 0.13.1: Linux SPARC support, missing trusted hashes reported in resolution errors, and tool/Python uninstalls no longer touch unrelated neighboring files.
6/ Install: curl -LsSf https://astral.sh/uv/install.sh | sh or pip install uv. Already have it? uv self update. Notes: github.com/astral-sh/uv/releases/tag/0.13.1
uv self update — if you used the standalone installer, that's the whole upgrade.uv pip is a pip-compatible interface — same commands, faster.uv tool upgrade now works with tool-install-locks enabled.Title: Show HN: uv 0.13.1 – Python package manager, smaller and faster parsing Our note: HN discourages reposting well-known projects for patch releases; recommend skipping Show HN for 0.13.1 and saving it for a major release. Draft kept: "uv is a Python package and project manager written in Rust... (README highlights) ... This release reduces binary size, speeds Simple API parsing, adds CPython 3.16.0a1. Feedback welcome."
uv 0.13.1 — Enhancements: ignore Requires-Python upper bounds in uv pip check/--strict; Linux SPARC; report missing trusted hashes. Python: CPython 3.16.0a1. Preview: uv tool upgrade with tool-install-locks; PEP 825 variant labels parsing. Performance: smaller binary; faster Simple API parsing; less metadata parsing overhead. Fixes: uninstalls no longer delete unrelated adjacent files.
| Day | Platform | Asset |
|---|---|---|
| 1 | X thread | launch |
| 2 | r/Python; follow-up 1 | |
| 3 | follow-up 2 | |
| 4 | r/learnpython guide | |
| 5 | follow-up 3 | |
| 6 | follow-up 4 | |
| 7 | follow-up 5 (ask) | PH/HN held for major release |
Here's how we'd launch gum v2.0.2.
Unofficial sample: not written, reviewed, or endorsed by the gum maintainers. Not affiliated. Based only on the public README and release notes: https://github.com/charmbracelet/gum · release notes. Drafts below are written as suggestions for the maintainers; Dev Hype has not posted any of them.
1/ Make your shell scripts glamorous. gum gives you menus, inputs, text areas and confirm prompts — one command each, no Go code. 🧵
2/ Pick from a list: gum choose "fix" "feat" "docs" "chore"
3/ Ask for text: gum input --placeholder "scope" — or multi-line with gum write.
4/ Guard the dangerous stuff: gum confirm "Commit changes?" && git commit -m "$SUMMARY"
5/ Chain them and you get a full Conventional Commits helper in a short script — the README walks through it.
6/ v2.0.2 fixes raw ANSI sequences leaking in non-input programs. brew install gum (or pacman, dnf, nix, winget, scoop…). github.com/charmbracelet/gum
TYPE=$(gum choose fix feat docs) — gum prints the choice to stdout.gum confirm.Title: Show HN: Gum – interactive prompts for shell scripts without writing Go Text: Gum is a CLI that exposes TUI components (choose, input, write, confirm) as commands you call from shell scripts. Example: a Conventional Commits helper built from four gum calls (README). Built on Bubbles/Lip Gloss. Latest is v2.0.2. Feedback welcome. (Caveat: likely posted before; the maintainers would decide.)
gum v2.0.2 — Fixed: raw ANSI capability sequences no longer leak in no-input programs (Bubble Tea bump, #1155, @andrinoff).
| Day | Platform | Asset |
|---|---|---|
| 1 | X thread; Show HN | launch |
| 2 | r/commandline; follow-up 1 | |
| 3 | follow-up 2 | |
| 4 | r/bash | |
| 5 | follow-up 3 | |
| 6 | r/dotfiles; follow-up 4 | |
| 7 | follow-up 5 |
Secure checkout by Stripe. You'll need your email, card, and billing address.