Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Recently I stumbled upon this crazy thing: https://github.com/anomalyco/opencode/issues/9676#issuecomme...

`ripgrep` tool call on opencode added `--follow` override, which allowed to traverse symlinks. And you can imagine what happens when symlinks point to ancestors. My 9950x3D CPU had 100% load all the time until I did a bit of research and added config to forbid this on `rg` level.

So I'd refine it as "Premature optimization is the root of all evil. Blatant ignorance of it is even worse."



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: