I don't understand why I keep seeing posts like this, but nobody appears to know that DevContainers exist. In a Jetbrains IDE, for example, you check a devcontainer.json file into your repository. This file describes how to build a Docker image (or points to a Dockerfile you already have). When you open up a project, the IDE builds the Docker image, automatically installs a language-server backend into it, and launch…
The main Claude Code GitHub repo even has a Devcontainer config: https://github.com/anthropics/claude-code It's a great starting point, and can be customized as needed. With the devcontainer CLI, you can even use it from a terminal, no GUI/IDE required.
Slightly safer vibecoding by adopting old hacker habits
71–80 of 110 posts
Re: Slightly safer vibecoding by adopting old hacker habits
#72Earlier quoted context omitted.
Spammy ai-generated self promotion.
In what way? This does the same thing as in the blog post, except that there are a LOT of gotchas and minutiae and some yak shaving involved if you want to keep doing it manually. I've gone through the whole path the author has, and finally had to admit that it's too much fiddling around to do it manually. Easier to just have a cmdline tool that does it for you. That's why I built it in the first place.
Re: Slightly safer vibecoding by adopting old hacker habits
#73I would guess OpenAI Codex and Claude Code are well into the millions subscriber range at this point. I would venture to guess the majority of them run in yolo mode. I have only seen a few horror stories on reddit. The same way any time you drive a car you can crash and die (many times through no fault of your own). All that said, no way in hell I’m giving either access to production databases or environments.
Yes, agents.md yells not to mess with prod.
Re: Slightly safer vibecoding by adopting old hacker habits
#74I don't understand why I keep seeing posts like this, but nobody appears to know that DevContainers exist. In a Jetbrains IDE, for example, you check a devcontainer.json file into your repository. This file describes how to build a Docker image (or points to a Dockerfile you already have). When you open up a project, the IDE builds the Docker image, automatically installs a language-server backend into it, and launch…
Has anyone figured out a good way to use (neo)vim with devcontainers?
Re: Slightly safer vibecoding by adopting old hacker habits
#75Re: Slightly safer vibecoding by adopting old hacker habits
#76This works well for vibecoding on a codebase in isolation, which to be fair is what the author is addressing. I don’t think it solves the problems at the current frontier of agent use though, where you expose internal infrastructure via tools to make the agent maximally productive. How to do this safely is still unsolved
I mean this question unironically: how do you do it with interns?
Re: Slightly safer vibecoding by adopting old hacker habits
#77Earlier quoted context omitted.
Has anyone figured out a good way to use (neo)vim with devcontainers?
I personally just use Vim directly in a dedicated development VM that I SSH into. I can always spin up a new one if something goes astray
Re: Slightly safer vibecoding by adopting old hacker habits
#78I don't understand why I keep seeing posts like this, but nobody appears to know that DevContainers exist. In a Jetbrains IDE, for example, you check a devcontainer.json file into your repository. This file describes how to build a Docker image (or points to a Dockerfile you already have). When you open up a project, the IDE builds the Docker image, automatically installs a language-server backend into it, and launch…
I found cloning the repo when creating the devcontainer works best in JetBrains for some reason and I hard code the workspace directory so it’s consistent between JetBrains and vscode
Re: Slightly safer vibecoding by adopting old hacker habits
#79The fact that Claude can and does access files outside the PWD while asking for sudo to do things constantly seems to be a recipe for Anthropic scanning your system without your knowledge and saving that for 5 years if you decided to 'help improve Claude'. No, 'safety oriented' lab has a clause like that which can't be revoked historically. Anthropic, like the majority of 'don't be evil' firms is apart of the great m…
Re: Slightly safer vibecoding by adopting old hacker habits
#80Earlier quoted context omitted.
I personally just use Vim directly in a dedicated development VM that I SSH into. I can always spin up a new one if something goes astray
I'd prefer containers, because they are more light weight and I'm not too concerned about kernel exploits or other sandbox escapes. Configuring a container per project brings me right back to something like devcontainer. But I haven't figured out a good way to incorporate that into my vim/tmux workflow.