RSSAmplifier

Blog

Marc Abramowitz

marc-abramowitz.comRSS feed ↗10 posts

Latest posts

A one-liner to install my iOS app on my iPhone, no Xcode GUI

I ve been building Lexitaire mostly from the command line these days Xcode stays open for breakpoints and previews, but building, running, and installing don t need it. The one piece I hadn t automated yet was getting a build onto my actual phone, so I wrote tools/install-to-iphone.sh: Two small decisions worth calling out: Pin the device [ ]

Flushing the DNS cache on macOS

Every so often macOS holds onto a DNS answer longer than it should — you ve just repointed a domain, switched VPNs, or fixed a broken record, and your Mac is still confidently resolving the old one. The fix is a one-liner: It s really two separate flushes chained together, because macOS caches DNS answers in two [ ]

Unify спас меня от ада ручной расстановки кавычек

Бывало ли у вас такое, что причуда в стиле кода медленно сводит с ума? На работе наша команда следует стилю кода Black — с одним исключением: одинарные кавычки вместо двойных. Кажется безобидным, правда? Оказывается, это крошечное отклонение порождает удивительное количество трений. Усталость от «поиска и замены» Конечно, я мог бы вручную искать и заменять кавычки. Но делать это [ ]

Unify 把我从手动引号地狱中拯救了出来

有没有遇到过某个代码风格的小怪癖,慢慢把你逼疯?在工作中,我们团队遵循 Black 代码风格——只有一个例外:使用单引号而不是双引号。听起来无伤大雅,对吧? 结果这个小小的偏差却带来了惊人的麻烦。 「查找和替换」疲劳 当然,我可以手动查找并替换引号。但在多个文件中反复这样做很繁琐。后来我尝试用 Cursor 来处理,结果却带来了一整套新的麻烦:大量的 token 消耗、缓慢的处理速度,还需要每隔几步就推它一下,就像哄一个固执的机器人助手。 这打乱了我的工作节奏。 Unify(和 uv)登场 我已经安装了 uv ,所以引入 Unify 非常顺畅: 这个 --python=python3.10 的部分很关键——否则 uv 会默认使用 Python 3.13,这会导致 lib2to3 出问题(没错,它现在依然相关!)。 Unify 依赖它,所以用旧版本的 Python 就能解决问题。…

Unifyが手動クォート地獄から救ってくれた話

少しずつ気が狂いそうになるコーディングスタイルの癖に悩まされたことはありますか?仕事では、私たちのチームは Blackのコードスタイルに従っています——ただし一つだけ例外があります。二重引用符ではなく単一引用符を使うことです。無害に思えますよね? ところが、このほんの小さな逸脱が驚くほどの摩擦を生むことが分かりました。 「検索と置換」疲れ もちろん、引用符を手動で検索・置換することもできます。しかし、それを複数のファイルに渡って繰り返すのは面倒です。そこでCursorを使ってみましたが、それはそれで新たな頭痛の種を生みました。大量のトークン消費、遅い処理、そして頑固なロボットアシスタントのように何ステップかごとに突く必要があること。 それは私の作業の流れを乱していました。 Unify(とuv)の登場 すでに uv をインストールしていたので、Unifyを導入するのはシームレスでした: この…

O Unify me salvou do inferno das aspas manuais

Já teve uma mania de estilo de código que aos poucos te deixa louco? No trabalho, nossa equipe segue o estilo de código Black — com uma exceção: aspas simples em vez de duplas. Parece inofensivo, né? Acontece que esse pequeno desvio gera uma quantidade surpreendente de atrito. A fadiga do localizar e substituir Claro, eu poderia buscar [ ]

Unify hat mich vor der manuellen Anführungszeichen-Hölle gerettet

Hattet ihr schon mal eine Code-Stil-Marotte, die euch langsam in den Wahnsinn treibt? Bei der Arbeit folgt unser Team dem Black-Code-Stil — mit einer Ausnahme: einfache statt doppelte Anführungszeichen. Klingt harmlos, oder? Es stellt sich heraus, dass diese winzige Abweichung überraschend viel Reibung erzeugt. Die „Suchen und Ersetzen“-Erschöpfung Klar, ich könnte Anführungszeichen manuell suchen…

Unify m’a sauvé de l’enfer des guillemets manuels

Avez-vous déjà eu une manie de style de code qui vous rend peu à peu fou ? Au travail, notre équipe suit le style de code Black — à une exception près : les guillemets simples plutôt que doubles. Ça a l air inoffensif, non ? Il s avère que cette petite entorse engendre une friction surprenante. La lassitude du « Rechercher [ ]

Unify me salvó del infierno de las comillas manuales

¿Alguna vez has tenido una manía de estilo de código que poco a poco te vuelve loco? En el trabajo, nuestro equipo sigue el estilo de código Black — con una excepción: comillas simples en lugar de dobles. Parece inofensivo, ¿verdad? Resulta que esta pequeña desviación genera una cantidad sorprendente de fricción. La fatiga del buscar [ ]

Unify Saved Me from Manual Quote Hell

Ever had a coding style quirk that slowly drives you mad? At work, our team follows the Black code style — with one exception: single quotes over double. Seems harmless, right? It turns out this one tiny deviation spawns a surprising amount of friction. The “Find and Replace” Fatigue Sure, I could manually search and replace quotes. But [ ]