Peter Steinberger Profile picture
I bootstrapped a remote company before it was cool. Founder @PSPDFKit (exit to Insight). Speaker. I tweet about iOS hacks, tech, remote biz. he/him🏳️‍🌈
Nov 8 4 tweets 1 min read
Convert chrome-devtools (or really any) MCP to compiled cli with this one weird trick:

>npx mcporter generate-cli "npx -y chrome-devtools-mcp" --compile

Store somewhere + add a one-liner to agents file. It will call help menu and learn as needed. Progressive disclosure, no context pollution.Image Happy birthday, MCP spec huggingface.co/MCP-1st-Birthd…
Nov 7 6 tweets 2 min read
I gave codex a markdown to keep track of progress and let it chirp away on a massive linter debt, and it worked all night and fixed around ~6000 linter/type issues. (it would stop but I queued a massive amount of continue's to keep it working)

Part of my prompt was to google whenever it's stuck and always update the tracker file when it learn sth new.

This seems to have worked... it's still working.Image
Image
My linting was fine, until I learned about full type-aware inter-project linting via github.com/typescript-esl…) - I hope to switch to github.com/typescript-esl… once that stops being crashy, tsgo is still experimental (but way faster)
Dec 1, 2020 17 tweets 4 min read
📣 I've been working to improve our iOS CI and wrote down a series about our approach. This is the first part, looking at running macOS in the Cloud — including Amazon AWS.

Also includes references what the big teams at Uber, LinkedIn, Pandora or Spotify choose. Lots of good comments to my CI article by @tzeejay!

Didn’t knew that Microsoft-GitHub Action runs on MacStadium.

APFs snapshots would be amazing. Simply reset the machine after every run (or once a day…) and increase reliability, get ephemeral builds. tzeejay.com/blog/2020/12/a…
Nov 20, 2020 9 tweets 2 min read
Focussed a week on iOS tests and reduced our average run time from 35 minutes to ~10 minutes for UI tests (model is at ~5 minutes) How did we do this?
1: Analyzing EarlGrey and finding spots where things could be accelerated. In this case we increased animation speed, but didn’t calculate in that faster timing in the resource tracking, so animations were blocking for the original time.
Oct 13, 2020 25 tweets 2 min read
Don‘t we all love watching two hour long, incredibly well done, advertising shows 🤡 Is Siri good now? I gave up on it a few years ago.
Jul 28, 2020 4 tweets 3 min read
“Phil Schiller says the goal of the App Store was to treat everybody the same”

Riiiight. Some get these special entitlement exceptions, others don’t even get a reply when they ask. All animals are equal, but some animals are more equal than others. imore.com/phil-schiller-… Panic’s com. apple.developer.security.privileged-file-operations
BBEdit’s com.apple.security.automation.apple-events
Microsoft’s com.apple.security.files.user-selected.executable
com.apple.developer.passkit.pass-presentation-suppression that we didn’t get