<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dbx/.gitignore, branch next</title>
<subtitle>Containerized development environments</subtitle>
<id>http://src.lordello.net/dbx/atom/.gitignore?h=next</id>
<link rel='self' href='http://src.lordello.net/dbx/atom/.gitignore?h=next'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/'/>
<updated>2026-11-27T13:59:36Z</updated>
<entry>
<title>Start Next Version of `dbx`</title>
<updated>2026-11-27T13:59:36Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-11-27T13:59:36Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=732bd7137f018e4ad0d114744c92e33c00921d31'/>
<id>urn:sha1:732bd7137f018e4ad0d114744c92e33c00921d31</id>
<content type='text'>
This is the first PR in a fresh branch that refactors `dbx` to a
new agentic development paradigm. The idea is to create a single
development container for each project, and provision it with a
working agent harness.

The development flow is changed to fetching Git refs from the
development box for review and signing on the host. It is meant as
a hardened alternative compared to the previous version (where we
would typically expose a GPG/SSH socket over an `ssh` connection
to the guest, and rely on `pinentry` and `askpass` configuration
to enforce user presence or verification tests for each
authenticated operation.

It is still in the early stages of "ideating" how the final project
would look like, but I already have some idea on how I want it.
</content>
</entry>
<entry>
<title>Back to Shell</title>
<updated>2026-09-07T23:50:55Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-09-07T23:50:55Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=046ce317bb7e1cfeba947ace6aea237cb0f91e2d'/>
<id>urn:sha1:046ce317bb7e1cfeba947ace6aea237cb0f91e2d</id>
<content type='text'>
I ended up fighting with C for no benefit. We are back to a Shell
script, but this time we use (mostly) POSIX shell (we use `local`
because it is so convenient, although it is technically not POSIX).

Additionally, this time we create a monolithic script, and already
add hooks to allow for multiple contianer engines to work with the
script (for now, just `container` is implemented and `podman krun`
is stubbed).
</content>
</entry>
<entry>
<title>Refactoring to a C Binary</title>
<updated>2026-08-29T16:51:31Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-08-29T13:44:43Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=99561277e31caeffa7fc9d722650247511ad3bf7'/>
<id>urn:sha1:99561277e31caeffa7fc9d722650247511ad3bf7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve Locale Support</title>
<updated>2026-07-03T05:56:25Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-07-03T05:56:25Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=be775d4675b19b7f033c01f6826da11b16d7288b'/>
<id>urn:sha1:be775d4675b19b7f033c01f6826da11b16d7288b</id>
<content type='text'>
Previously, the devbox user would default to the `POSIX` locale
which meant that a lot of minor things around UTF-8 would not
work.

We now update the locale to use one with UTF-8 support; note that
we just use the minimal C locale instead of building one. Users
can (if they chose) use something like `dpkg-reconfigure locales`
and `update-locale` in order to modify their default locale if
they want something else specific.

Additionally, get rid of the annoying known hosts warning, by
keeping a devbox specific known hosts file.
</content>
</entry>
<entry>
<title>Port `dbx` To Use `container machine`</title>
<updated>2026-07-01T20:55:29Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-07-01T20:35:54Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=d07d395b09ec1a87677712e7b50ac520495ed573'/>
<id>urn:sha1:d07d395b09ec1a87677712e7b50ac520495ed573</id>
<content type='text'>
With `container` v1, a new `machine` subcommand was introduced in
order to support long-lived machines.

Port the `dbx` utility to use `container machine` instead of using
regular containers. The main motivation for this is:

- `container machine`s are more elastic; when they are stopped
  their containers are removed entirely (which is different to a
  container that is stopped, but not removed)
- `container machine`s can modify settings (such as CPU and memory
  limits) after creation, allowing for the machine to change over
  time as needed

Overall, the structure stays largely the same as before; the main
difference being how initialization is done (since `container
machine` has built-in support for initializing a user with
passwordless `sudo`). Note we explicitly set `--home-mount=none`
in order to keep the same filesystem isolation guarantees that
existed before (files can be copied with `scp`; there is no
`container cp` analogy for machines).

One notable difference is network management. `container machine`s
are assigned their own virtual network device and get a completely
separate IP to the host (which is different than before where
container ports were being published to the host). I do not know
which one is more secure...
</content>
</entry>
<entry>
<title>Added Containerfile</title>
<updated>2026-05-15T06:50:55Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-05-15T06:50:55Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=5a07d783ba5ba3e0e10dfcda140761e865c5673f'/>
<id>urn:sha1:5a07d783ba5ba3e0e10dfcda140761e865c5673f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Started Adapting for Apple Containers</title>
<updated>2026-05-14T10:23:38Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-05-14T10:23:01Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=ed2f2e13cded4d611a92fa228033576c4f976cfd'/>
<id>urn:sha1:ed2f2e13cded4d611a92fa228033576c4f976cfd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Link Devbox Commands and Proxy TCP Connections</title>
<updated>2026-03-23T09:22:06Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-03-23T09:22:06Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/dbx/commit/?id=26f172dd393ec3408312e7bcd9cdf04a666c1f29'/>
<id>urn:sha1:26f172dd393ec3408312e7bcd9cdf04a666c1f29</id>
<content type='text'>
Improve DX by adding a utility to create linked executables that run
in a devbox (for example, editors can natively run LSP servers) and
proxy container TCP connections to the host.

The proxying works over stdin and stdout, so it does not require the
container to publish ports (and know what ports need to be published
beforehand). It was written in Go (since writing this in Bash was too
unruly).

I want to port the whole project to OCaml once I have time :)
</content>
</entry>
</feed>
