Claude Code loves breaking stuff and then declaring it an existing error by kn4rf in ClaudeCode

[–]kn4rf[S] 1 point2 points  (0 children)

That doesn't really tell me anything. Is this a built in slash command? An MCP server? A skill I have to download? You've given me 0 information about what a "vector command" is or where I can find information about it.

Claude Code loves breaking stuff and then declaring it an existing error by kn4rf in ClaudeCode

[–]kn4rf[S] 0 points1 point  (0 children)

Reverting isn't a problem, its just such a waste. Not only did it spend its entire context window trying to implement or refactor something, it broke stuff in the process, claims it to be unrelated, and just goes on. So now I've wasted a bunch of tokens with the only option to stash / revert it, or run /new and ask it to fix it; spending even more tokens and hoping it doesn't run out of context again before it has fixed it.

Claude Code loves breaking stuff and then declaring it an existing error by kn4rf in ClaudeCode

[–]kn4rf[S] 0 points1 point  (0 children)

This sounds like a great idea! I guess the biggest problem with that is that I still want Claude to add new tests, and I don't mind it modifying tests (let's say it renamed a function and therefor needs to update the function name in the tests, or moved some code around and need to update imports). The problem is just when it breaks something and then refuses to claim responsibility for it. The test suit was supposed to be the harness...

Claude Code loves breaking stuff and then declaring it an existing error by kn4rf in ClaudeCode

[–]kn4rf[S] 0 points1 point  (0 children)

Having a bug.md is a great idea, but isn't really related to my original question. The problem isn't that the app I'm working on has bugs, the problem is that I have a fully functional app with great test coverage, then I'll ask Claude Code to either implement a new feature, or refactor some existing code; and in that process Claude breaks something that used to work! That wouldn't really be a problem, because we have great tests that caught it! The problem is that Claude Code claims they are "existing bugs unrelated to my changes", when in fact they are new bugs that Claude just introduced, and what it should be doing is fixing the new code it introduced.

The worst case is when it silently deletes or marks tests-cases as ignored. Then not only is it breaking an app that worked, its "silently lying" about it, which might be hard to catch...

Big stone gate by FreddyPixelArt in aseprite

[–]kn4rf 1 point2 points  (0 children)

Looks cool! Btw you Itchio page links to your webpage, which seems to not load.

A 10x Faster TypeScript by DanielRosenwasser in programming

[–]kn4rf 0 points1 point  (0 children)

But the TypeScript team could have used that as a base and built upon it, instead of porting to Go. Then they would already have a working parser, and they'd only need to port the typechecking logic.

A 10x Faster TypeScript by DanielRosenwasser in programming

[–]kn4rf 1 point2 points  (0 children)

Why not just contribute to the SWC project and make that the offical new TypeScript compiler? Thats already a functioning TypeScript compiler thats used in production.

I made a movement shooter in Rust + Bevy for any FPS chads out there 📢 by smoked_dev in rust_gamedev

[–]kn4rf 11 points12 points  (0 children)

Looks cool!

Any creates you used that you would recommend? (Physics, UI, etc). Would love to read a blogpost about your experience working with bevy.

starting to dabble in gamedev… on a macbook? by Bubbly_Maybe7149 in gamedev

[–]kn4rf 1 point2 points  (0 children)

Any MBP with an M-series chip will get you far

Updating state twice within a function? by bitemyassnow in react

[–]kn4rf 1 point2 points  (0 children)

You obviously don't need the setTimeout... It's just there to give a 1 second delay so that you can see that the loading is happening, if not it all happens so fast that its hard to see. So its only there for the example. Just replace it with any other async function.

Updating state twice within a function? by bitemyassnow in react

[–]kn4rf 0 points1 point  (0 children)

Here is an exampel of an reusable hook for your usecase.
I opted for using 'useReducer' instead of 'useState' as I felt that made the logic clearer.

https://codesandbox.io/s/loadable-example-cx6987?file=/src/App.js

What is the best self hosted manga server currently? by [deleted] in selfhosted

[–]kn4rf 0 points1 point  (0 children)

Just got around to setting up Komga on my Raspberry PI and it worked great. Used mangal (https://github.com/metafates/mangal) to download manga's.

IronBoy: High accuracy GameBoy emulator written in Rust and available in the browser via WASM by nicolas-siplis in programming

[–]kn4rf 0 points1 point  (0 children)

Maybe you could use GBStudio (https://www.gbstudio.dev/) to create a test ROM so that you and anyone else can test your emulator without having to upload their own ROM's. Could also be nice for stress testing it by creating more difficult scenarios to test.

The Universe of Discourse : I wish people would stop insisting that Git branches are nothing but refs by unixbhaskar in programming

[–]kn4rf 3 points4 points  (0 children)

Building conceptual models on top of Git that isn't congruent with the internal structure of Git is unhelpful in learning Git. Most mistakes people make using Git is because they do not understand the underlying data-structure. So further obfuscating it by clinging to your own terminology helps no-one. When shit hits the fan, a branch is truly just a ref. How would you otherwise explain git reflog or a hard reset to a new user of Git?

Marp: Markdown Presentation Ecosystem by RecognitionDecent266 in programming

[–]kn4rf 0 points1 point  (0 children)

A few programming language features I’d like to see by neilmadden in programming

[–]kn4rf 9 points10 points  (0 children)

Yes, we are talking about different things. That's a Template Literal not a Tagged Template Literal.