Readit News logoReadit News
chr15m commented on Claude CLI deleted my home directory and wiped my Mac   old.reddit.com/r/ClaudeAI... · Posted by u/tamnd
blitz_skull · a day ago
There is, in fact, a harness built into the Claude Code CLI tool that determines what can and cannot be run automatically. `rm` is on the "can't run this unless the user has approved it" list. So, it's entirely the user's fault here.

Surely you don't think everything that's happening in Claude Code is purely LLMs running in a loop? There's tons of real code that runs to correctly route commands, enable MCP, etc.

chr15m · a day ago
echo "rm -rf ~/ > safe-rm" chmod 755 safe-rm ./safe-rm

Sandboxes are hard, because computer science.

chr15m commented on The highest quality codebase   gricha.dev/blog/the-highe... · Posted by u/Gricha
chr15m · 4 days ago
It behaved exactly like 99% of developers, introducing unnecessary complexity.
chr15m commented on Pebble Index 01 – External memory for your brain   repebble.com/blog/meet-pe... · Posted by u/freshrap6
chr15m · 6 days ago
Take my money!

Literally take it, I just ordered.

I have been imagining this exact device existing and now it does, yay, thank you!

chr15m commented on Pebble Index 01 – External memory for your brain   repebble.com/blog/meet-pe... · Posted by u/freshrap6
mikob · 6 days ago
Would love to have these go to my Tana or another PKM. Will that be possible or will it have to go to the Pebble app?
chr15m · 6 days ago
In the notes it says you can configure where it goes.
chr15m commented on Google Titans architecture, helping AI have long-term memory   research.google/blog/tita... · Posted by u/Alifatisk
voodooEntity · 8 days ago
When i first read the papers for titans for me it was a "this will be a big step forward".

While i have no "AI" title or work in the respective AI industry, ive spend many years thinking about AI concepts, even long before the whole NN/LLM hype started.

Maybe because of that i was always really annoyed that LLM are called AI because in my years of thinking about how an actual "human like" thinking AI might work, the things an LLM does was far below what my minimum definition was.

But when i stumbled accross the Titans paper, while it still is not an "AI" as i would call it, from my POV its a massive step towarsd the right direction.

Sometimes i consider to write all my ideas/thoughts about AI down in my blog, but than i think nobody would care anyway since im not a known figure shrug - so if not to say "look i wrote it years ago!" theres no actual point in doing so i guess.

However - im looking forward to see titans in action, and i guess it will impress us all.

chr15m · 8 days ago
Sharing it in your blog over a period of months or years is how you become a known figure eventually.
chr15m commented on HTML as an Accessible Format for Papers (2023)   info.arxiv.org/about/acce... · Posted by u/el3ctron
chr15m · 9 days ago
Wish I could upvote this harder. Thank you arXiv!
chr15m commented on Google Antigravity just deleted the contents of whole drive   old.reddit.com/r/google_a... · Posted by u/tamnd
victorbuilds · 15 days ago
Different service, same cold sweat moment. Asked Claude Code to run a database migration last week. It deleted my production database instead, then immediately said "sorry" and started panicking trying to restore it.

Had to intervene manually. Thankfully Azure keeps deleted SQL databases recoverable for a window so I got it back in under an hour. Still way too long. Got lucky it was low traffic and most anonymous user flows hit AI APIs directly rather than the DB.

Anyway, AI coding assistants no longer get prod credentials on my projects.

chr15m · 14 days ago
> deleted my production database

I'm astonished how often I have read about agents doing this. Once should probably be enough.

chr15m commented on Google Antigravity just deleted the contents of whole drive   old.reddit.com/r/google_a... · Posted by u/tamnd
chr15m · 14 days ago
People blaming the user and defending the software: is there any other program where you would be ok with it erasing a whole drive without any confirmation?
chr15m commented on Show HN: Runprompt – run .prompt files from the command line   github.com/chr15m/runprom... · Posted by u/chr15m
leobuskin · 18 days ago
/usr/local/bin/promptrun

  #!/bin/bash
  file="$1"
  model=$(sed -n '2p' "$file" | sed 's/^# \*//')
  prompt=$(tail -n +3 "$file")
  curl -s https://api.anthropic.com/v1/messages \
    -H "x-api-key: $ANTHROPIC_API_KEY" \
    -H "content-type: application/json" \
    -H "anthropic-version: 2023-06-01" \
    -d "{
      \"model\": \"$model\",
      \"max_tokens\": 1024,
      \"messages\": [{\"role\": \"user\", \"content\": $(echo "$prompt" | jq -Rs .)}]
    }" | jq -r '.content[0].text'

hello.prompt

  #!/usr/local/bin/promptrun
  # claude-sonnet-4-20250514

  Write a haiku about terminal commands.

chr15m · 16 days ago
This is cool. An even more minimal bash version. Love it!
chr15m commented on Show HN: Runprompt – run .prompt files from the command line   github.com/chr15m/runprom... · Posted by u/chr15m
__MatrixMan__ · 18 days ago
It would be cool if there were some cache (invalidated by hand, potentially distributed across many users) so we could get consistent results while iterating on the later stages of the pipeline.
chr15m · 16 days ago
I've now added caching to runprompt with the --cache flag and RUNPROMPT_CACHE env var. Thanks for the suggestion!

u/chr15m

KarmaCake day1353July 8, 2015
About
comes with absolutely no warranty

https://mccormick.cx/ https://github.com/chr15m/

View Original