All 4,799 reports

NoTool not named · 24 Dec 2024

I was setting up Ticker based waiters for Go and then in one place I accepted `time.NewTimer` local-LLM snippet instead of `time.NewTicker` in infinite loop

xlii on Hacker News

4 hours

In the thread “Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?”

Got in the way: Accepted wrong snippet causing a lock; lost big picture understanding.

… Example? I was setting up Ticker based waiters for Go and then in one place I accepted `time.NewTimer` local-LLM snippet instead of `time.NewTicker` in infinite loop. It was 4 lines of code and looked VERY similar as in 3 functions above (that was before code reduction phase). …