HackerTrans
トップ新着トレンドコメント過去質問紹介求人

runekaagaard

no profile record

投稿

Using Claude's chat search and memory to build on previous context

support.anthropic.com
1 ポイント·投稿者 runekaagaard·10 か月前·0 コメント

コメント

runekaagaard
·6 か月前·議論
/sandbox AFAIK uses https://github.com/anthropic-experimental/sandbox-runtime under the hood.

It's still experimental and if you dive into the issues I would call its protection light. Many users experiences erratic issues with perms not being enforced, etc.

For me the largest limitation was that it's read-mode is deny-only, meaning that with an empty deny-list it can read all files on your laptop.

Restricting to specific domains have worked fine for me, but it can't block on specific ports, so you can't say for instance you may access these dev-server ports, but not dev-server ports belonging to another sandbox.

It feels as though the primary usecase is running inside an already network and filesystem sandboxed container.
runekaagaard
·6 か月前·議論
... also interested. What would one build an Emacs TRAMP plugin for? :)
runekaagaard
·6 か月前·議論
Configuring Claude Code ... the new init.el ;)
runekaagaard
·6 か月前·議論
It's impossible to not get decision-fatique and just mash enter anyway after a couple of months with Claude not messing anything important up, so a sandboxed approach in YOLO mode feels much safer.

It takes the stress about needing to monitor all the agents all the time too, which is great and creates incentives to learn how to build longer tasks for CC with more feedback loops.

I'm on Ubuntu 22.04 and it was surprisingly pleasant to create a layered sandbox approach with bubblewrap and Landlock LSM: Landlock for filesystem restrictions (deny-first, only whitelisted paths accessible) and TCP port control (API, git, local dev servers), bubblewrap for mount namespace isolation (/tmp per-project, hiding secrets), and dnsmasq for DNS whitelisting (only essential domains resolve - everything else gets NXDOMAIN).
runekaagaard
·8 か月前·議論
I like Claude Code in the terminal. For me it's so good it don't need IDE integration. I'm just using emacs and magit to navigate the code out of band.
runekaagaard
·8 か月前·議論
Thats me to a tee. I also don't have a inner dialogue when thinking through a problem:)
runekaagaard
·9 か月前·議論
Yeah, totally this. I've had so much fun with AoC, learning nim, elixir at the same time.

I would normally tap out around the same place on the first dynamic programming puzzle which just takes me so long to wrap my head around each time (tips anyone? :)).

I welcome these new changes, and what ever the format are very greatful for all his hard work!
runekaagaard
·10 か月前·議論
I agree. The industry standard for a great, boring, durable and surprisingly cheap knife is the Victorinox Fibrox Chef's Knife 20 cm.
runekaagaard
·10 か月前·議論
Nope, I've really, really tried to like modal editing, because the programmable command chaining is super cool, but even though I became proficient with it I never really enjoyed it.

Starting out emacs i got super fatigued with all the long pinky driven commands for mostly used commands. It felt usable after I added keybindings for commands like switch buffer, close buffer, duplicate line(s), move line(s), find in project, find file in project, indent (wrote my own sane (for me)) indention code). The windows/apple key is great for those things because they are not used by emacs.

On linux I settled on using emacs vanilla key commands for copy/paste/cut but that took a looong time to feel comfortable with and I still mess it up sometimes, also with the ctrl+shift-X version of them in the terminal. On iOS, using the apple key like for the rest of the system is sweet relief.