Would you trust Claude with your hard drive?
Re:Hyperspace
by SparkyMcUnicorn on Tuesday February 25, 2025 @09:46PM
(#43180050)
Trust, but verify. We should always read and understand what gets spit out anyways.
When doing something with any risk potential I first ask the model for potential risks with the output, and then I manually read the code.
I also "recreated" this tool with Sonnet 3.7. The initial bash script worked (but was slow), and after a few iterations we landed on an fclones one-liner. I hadn't heard of fclones before, but works great! Saved a bunch of disk space today.
wow, just learned about fclones, does this also work with OS X’s CoW cloning?
Re:Hyperspace
by SparkyMcUnicorn on Wednesday March 05, 2025 @02:23AM
(#43263839)
Yes.
Ooh, could you share the source code? That seems like a perfect example for my "relying on AI code generation will subtly destroy your data" presentation.
Hah, I have not actually had a chance to run it as a test yet
Best upload the source code somewhere, before you do. Otherwise, we'll never know why you lost all your files.
And because it has no Internet access yet (and because I prompted it to use a workaround like this in that circumstance), the first thing it asked me to do (after hallucinating the functionality first, and then catching itself) was run `curl https://hypercritical.co/hyperspace/ | sed 's/<[^>]*>//g' | grep -v "^$" | clip`
("clip" is a bash function I wrote to pipe things onto the clipboard or spit them back out in a cross-platform linux/mac way)