
I do stuff and I like to make javascript/go/rust fast https://teapawt.net/t.co/pcmG2YD8ss
Warsaw
Joined October 2019
- Tweets548
- Following628
- Followers78
- Likes6.3K
A good Sunday excuse for a 10-min stack check:
1. SSH + GitHub: check github.com/yourusername.keys. GitHub publishes your SSH public key openly. If it's an old RSA key reused on your servers, swap to two separate Ed25519 keys (one for GitHub, one private for servers) and turn off RSA host/user keys in sshd.
2. Email DKIM: check your DNS TXT records for 1024-bit RSA keys (starts with MIGfMA0). DeepMind + Heninger already published real 1024-bit optimizations this month. Rotate those to 2048-bit (MIIBIjAN).
3. HTTPS reality check: Cloudflare Edge + Origin ECC certs are already ECDSA + hybrid X25519/ML-KEM, but browsers still trust old RSA root CAs. If RSA ever breaks, the real fix during the transition is avoiding untrusted Wi-Fi without a WireGuard VPN.
4. Quiet RSA spots: GitHub App PEMs, GCP service account keys, and any app verifying client-supplied Google/Apple OIDC id_tokens locally.
Totally fine and untouched by RSA (or lattice) breaks:
- FileVault / AES disk encryption, password vaults, symmetric git-crypt
- HMAC auth / cookies / Stripe webhooks / S3 signing
- WireGuard / Signal / WhatsApp
- Modern TLS 1.3 & OpenSSH key exchange (already hybrid X25519 + ML-KEM)
Do the 10-min hygiene pass, might as well!
DarkGL retweeted
Here's a simplified CPU visualizer of 3 common performance improvements I look for.
Tell your coding agent to check your code for:
- Array of Structs -> Struct of Arrays
- False Sharing
- SIMD in a hot loop
You can take a guided tour or click around: aaronstuyvenberg.com/cpu-viz…
DarkGL retweeted
Today we're introducing Claude for Ads.
Just enter your website and Fastlane finds every winning ad in your market, then makes thousands of better ones for your product in seconds...
DarkGL retweeted
Replying to @awawawhoami
>global mallicious ip registry
There exist many already. Spamhaus, abuseipdb, are the ones I know by name
DarkGL retweeted
some things I often say to claude when doing perf optimization work:
> how do we rewrite this to better leverage data-oriented design principles
> can you replace those hash tables with a flat array? can we make the pointers an index into the array? can we pack the most commonly used data into upper bits of the index?
> caching is cope for a slow design. do not add caches and delete all existing caches. instead, redesign it to be faster
> should this be a structure of arrays instead of an array of structures?
DarkGL retweeted
thought everyone had their agent build their own cli...apparently not.
Before: ~40k tokens and 6 file reads just to get oriented. 30s
After: one command, 2k tokens. 5s
DarkGL retweeted
We added a tool for this in our MCP. Agent feedback very interesting so far! Recommend!
Every public API should have a feedback endpoint for agents
When my agent struggles to use your API, it should be able to submit structured feedback directly
Your agent should consume that feedback, fix the API + docs, ship an update, and notify my agent
Remove the human from the loop and let the agents work!
DarkGL retweeted
Google just open-sourced the plugin thousands of its engineers use every day to stop AI from shipping sloppy code.
It's called the Elephant-Goldfish Model.
No code until the plan survives. No AI grading its own homework. No context collapse halfway through a feature.
The idea is simple and kind of brilliant.
The Elephant is one long-running AI session that remembers everything: the architecture, the intent, every small decision. It writes zero code. It interviews you, argues with you, and keeps the record.
The Goldfish are fresh AI sessions with no memory at all. They never saw your design conversation, so they don't inherit its blind spots.
Here's how it works:
→ egm-brainstorm: you and the Elephant debate options under a strict no-code rule
→ egm-draft: you produce a Markdown design doc with the problem, the plan, the alternatives, and the exact files to change
→ egm-review: one Goldfish has to explain the design back. If it gets it wrong, the doc is ambiguous and goes back for redrafting
→ Then several Goldfish attack it as hostile reviewers hunting edge cases, hidden dependencies and logic gaps
→ A final Goldfish makes the go/no-go call: are file paths, data structures and function signatures all present and unambiguous?
Here's why this matters:
Google's team says AI made coding faster but also sped up slop, bugs and session context collapse. Speed without guardrails just scales your mistakes.
This flips the order. The design gets attacked before a single line exists.
Here's the wildest part:
This isn't a research demo. Google says thousands of Googlers run it daily to ship production code.
The repo ships the Markdown rules, the reviewer personas and the review workflows. Free, Apache 2.0.
The honest trade-off: it only runs inside Antigravity for now, with other environments coming. And security isn't on the default reviewer list. You'd add your own security Goldfish.
github.com/google/elephant-g…
DarkGL retweeted
One little trick to make your codebase more readable:
* Install cccc github.com/moznion/cccc
* Configure it with max-cognitize and max-cyclomatic 40
* In AGENTS.md, instruct to validate that cccc passes
* Have one agent in ultracode refactor everything until cccc passes
🤩
Claude Code and Codex can push dozens of PRs a day now. Writing the code takes minutes, and the rest of the time goes to waiting on CI, the checks and tests GitHub runs every time you push.
Nine changes took each PR's CI 𝗳𝗿𝗼𝗺 𝘂𝗽 𝘁𝗼 𝟰𝟬 𝗺𝗶𝗻𝘂𝘁𝗲𝘀 𝗱𝗼𝘄𝗻 𝘁𝗼 𝟮. One step was having an agent pull the last 150 CI runs and split every job into three parts: waiting for a machine, setup, and actually running. That alone showed that half the test jobs 𝘄𝗲𝗿𝗲𝗻'𝘁 𝘂𝘀𝗶𝗻𝗴 𝘁𝗵𝗲 𝗱𝗲𝗽𝗲𝗻𝗱𝗲𝗻𝗰𝘆 𝗰𝗮𝗰𝗵𝗲 at all, a bug that had been sitting there for a whole year.
Send this prompt to Claude Code or Codex to find out where your CI time goes, then cut it down one piece at a time 👇
"Audit this repo's CI:
1. Use gh to pull the last 150 CI runs and split each job's time into three parts: waiting in the queue for a machine, setup (checkout, installing dependencies, restoring the cache), and actually running the task. List the 5 slowest jobs and how many seconds each part takes.
2. Check these 9 things one by one: queueing on the default runners; slow lint; slow typechecking; tests that aren't sharded, or machines that are too small; every test file reloading the whole app; slow setup (cache misses, clones that aren't blobless, more parallel tasks than cores); jobs that don't run in parallel; every PR running the full test suite; no local checks before push.
3. For each problem, tell me how many seconds it costs now, which line of which file to change, and roughly how much it would save. List the ones that cost more money (new runners, bigger machines) or run fewer tests separately for me to decide.
Give me the report first. Don't change anything."
DarkGL retweeted
Prompt of the day:
/retro take a look at as many GitHub PR review comments as you have access to from my team. Create suggestions for updates to CODING_STANDARDS.md (breaking into multiple files as needed).
Makes your PR comments inform the code going forward.
DarkGL retweeted
Prompt of the day:
/writing-for-agents my AGENTS.md is a hot mess, propose a series of restructurings that:
- Remove no-ops
- Use progressive disclosure
- Move instructions to CODING_STANDARDS.md
Apply your work over three subagents, each more radical than the last. Create a single PR.
AGENTS.md is the most common source of token inefficiency. This prompt kills it dead.
DarkGL retweeted
Prompt of the day:
Assess logs/errors from the last week and make changes to improve the ability to debug the code. Clean up error messages for better grouping. Add attributes to help with future debugging. Ensure every log and error contains a stable correlation ID.
DarkGL retweeted
So I found you can instantly ~2x* your GitHub CI speed for free
GH added parallel actions.
But AI usually misses it since it's too new 😱
* Depends on what you're doing, just ask AI to benchmark
github.blog/changelog/2026-0…
DarkGL retweeted
Opus 5.5 just one-shot decompilation of an old game, Chaos Overlords (1996), and porting to modern macos. it took it 48mins with the below prompt:
DarkGL retweeted
Prompt of the day:
/retro read my last 10 coding agent sessions and find ways to make my repo easier to navigate. Find where agents take too long to find relevant information, or rely on out-of-date docs.
Improving navigability is such an underrated way to save tokens.
DarkGL retweeted
found this resource last night, absolutely no idea who'd sit down and build such a thing
learn-inference.com
























