Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nojs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
211.
▲
by
nojs
1y ago
Reminds me of this, created by one of the tailwind guys: https://heropatterns.com/ These are really useful for subtle background patterns on footers etc.
212.
▲
by
nojs
1y ago
It’s not just switching costs though, what alternatives to Claude Code are as good right now?
213.
▲
by
nojs
1y ago
Brace yourself: https://www.biometricupdate.com/202506/reddit-considers-worl...
214.
▲
by
nojs
1y ago
> 2- Sub-agents encourage 24x7 workflows, then get punished… The Sub-agent feature docs literally showcase spawning parallel tasks that run unattended. Yeah, the new sub-agents feature (which is great) is effectively unusable with the cu
215.
▲
by
nojs
1y ago
Lenny has you covered there. No AI required! https://www.lennytroll.com/
216.
▲
by
nojs
1y ago
It’s literally recommended in “Best practices”: https://www.anthropic.com/engineering/claude-code-best-pract...
217.
▲
by
nojs
1y ago
> No one is writing a long paragraph of styles for _every_ button in their app. Very much not true. LLMs love doing this!
218.
▲
by
nojs
1y ago
> I see. It seems I can't rename the directory I'm currently in. > Let's try a different approach. “Let’s try a different approach” always makes me nervous with Claude too. It usually happens when something critical pre
219.
▲
by
nojs
1y ago
> Agent: This is getting too complex with the sign errors. Let me just find a historical transaction that would make up the difference Haha, this strongly reminds me of doing TDD with Claude
220.
▲
by
nojs
1y ago
> Yes, it's not faster to develop with AI if you watch it work. It’s actually a lot faster. You read the diffs as soon as they start coming in, and immediately course correct or re-prompt when you see bad mistakes.
221.
▲
by
nojs
1y ago
> This is the first special feature of f-strings: adding a trailing equals sign lets you print out the expression and what it evaluates to. >>> foo='bar'; print(f"{foo=}") foo='bar' Wow
222.
▲
by
nojs
1y ago
Could you explain in more detail how you’re using these tools?
223.
▲
by
nojs
1y ago
The problem with working at the PR level is it massively sacrifices speed if you need to make small tweaks yourself interspersed with CC’s work, which seems to be the best workflow atm, at least for nontrivial changes. Local git worktrees a
224.
▲
by
nojs
1y ago
What tasks are you running that take more than a few minutes without intervention?
225.
▲
by
nojs
1y ago
Who? Honest question
226.
▲
by
nojs
1y ago
One thing that I’ve found works well is to permanently have a few numbered branches checked out as worktrees, keep them up to date with main, and then when you want to do a task in parallel you just pick an existing branch rather than creat
227.
▲
by
nojs
1y ago
This is surprising because the template language in particular feels so anti-PHP, it’s highly opinionated about not mixing code in with the template. I often wish it supported arbitrary Python. Anyway, thank you Simon :)
228.
▲
by
nojs
1y ago
Definitely AI generated
229.
▲
by
nojs
1y ago
You can view and navigate the diffs made by the terminal agent in your IDE in realtime, just like Cursor, as well as commit, revert, etc. That’s really all the “integration” you need.
230.
▲
by
nojs
1y ago
On the left side, the 1 at the bottom means that the third from the bottom must be a mine (since the 2 can't point to the bottom two). The 1 touching that mine then excludes a bunch more, and that's sufficient to solve the rest.
231.
▲
by
nojs
1y ago
The first example is not ambiguous. You can solve it starting at the bottom left
232.
▲
A 1999 Google Ad
(old.reddit.com)
1 points
by
nojs
1y ago
|
0 comments
233.
▲
by
nojs
1y ago
This was the plot of a Monk episode if I recall correctly, except jelly beans
234.
▲
by
nojs
1y ago
It’s AI slop
235.
▲
by
nojs
1y ago
Ah you’re right, but for more complex logic it’s useful to be able to run it through a custom script
236.
▲
by
nojs
1y ago
Exit Code 2 Behavior PreToolUse - Blocks the tool call, shows error to Claude This is great, it means you can set up complex concrete rules about commands CC is allowed to run (and with what arguments), rather than trying to c
237.
▲
by
nojs
1y ago
The best approach is never to get remotely close to the point where it auto-compacts. Type /clear often, and set up docs, macros etc to make it easy to built the context you need for new tasks quickly. If you see that 20% remaining war
238.
▲
by
nojs
1y ago
Yeah, it’s basically the “I accidentally bumped my ear buds” track
239.
▲
by
nojs
1y ago
https://www.astralcodexten.com/p/the-claude-bliss-attractor
240.
▲
by
nojs
1y ago
> decided to delete the test to make the test suite pass At least that’s easy to catch. It’s often more insidious like “if len(custom_objects) > 10:” or “if object_name == ‘abc’” buried deep in the function, for the sole purpose of ma
More ›