‹ BackHN Continuity

Thread

Small programming tricks

681 points · 294 comments · signa11

  1. kccqzy · · focus · HN ↗
    A lot more tricks can be learned from just watching AI work. Instead of allowing AI to work autonomously, go back to the old days where you manually approve every command the AI runs. Just recently while doing performance optimization work, I found Opus using the `perf` command in ways I didn’t know possible. Just give AI a real task and carefully read what commands are used by the AI to solve the problem; most likely the AI uses a trick or two that you didn’t know existed.
    1. bigstrat2003 · · focus · HN ↗
      > go back to the old days where you manually approve every command the AI runs

      Those are also the current days if you have any sense. It's a bad idea to run an LLM with access to your machine at all, but if you absolutely must, you better review everything it does to make sure it doesn't run anything insane.

      1. kccqzy · · focus · HN ↗
        They run in a container with no network access, no data access other than the project folder.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.