Show HN: Removing AI Traces in Vibe Coding (stylespark.dev)
4 points by cunjieliu 10h ago 1 comments
Show HN: Super simple offline app to track yearly goals (anyg.me)
9 points by anyg 1d ago 5 comments
An Interactive Debugger for Rust Trait Errors
57 matt_d 10 5/6/2025, 5:09:42 AM cel.cs.brown.edu ↗
User forgot to include the posts table in the query.
Error line 1 says "Cannot select `posts::columns::id` from `users::table`.
For me, that is more than enough to spot the issue. But if I had missed my morning coffee, 5 lines below I have extra help: "note: `posts::columns::id` is no valid selection for `users::table`"
The rest of the "help" lines I can happily ignore.
Some years ago I came to the conclusion I like Rust compiler errors the most
https://www.inkmi.com/blog/developer-productivity-compiler-e...
A simpler, more jooq like interface with strings would work about just as well.
There is such a thing as going overboard. Remember when Hashtable extended Dictionary in Java, because OOP is teh futureh!
However, comparing Rust traits to template programming seems a bit disingenuous. One is literally a templating engine (albeit powerful one that people got creative with) and the other is part of a fairly cohesive type system (even if it has some downsides).
Also, I think even the most obtuse errors in Rust are still more helpful than average C++ template error.