brendoncarroll

Joined 6 years ago

Karma
195
Submissions
71
Member since
Jan 4
https://www.brendoncarroll.net

My email is on my website.

[ my public key: https://keybase.io/brendoncarroll; my proof: https://keybase.io/brendoncarroll/sigs/fYaonvrG14Nua37nuEegQ1J9jl0b0RYIc3PyBRtwbjE ]

View on Hacker News

Recent submissions

Comment · 4 months ago
No Nonsense Containers: a simple Linux containerization tool, secure by default, with support for presets.

https://github.com/brendoncarroll/nnc

I use it for running agents locally.

  nnc run /usr/bin/opencode --preset agent
You can make your own presets (which nnc looks for in ~/.config/nnc/presets) or use one from the standard library

https://github.com/brendoncarroll/nnc/tree/master/presets

Presets are written in Jsonnet, and resolve to a list of things to pass through from the parent process into the container. Presets can reference other presets, so you can build up arbitrary rules for passing files and devices into containers, give those rules a name, and reference them later.

Comment · 6 months ago
Thanks for the link.

It looks like this treats files as blobs just like Git, and trees as single objects which fit in memory. Assuming that is a correct understanding, this core abstraction would need to change to handle large files and directories well.

All the well known version control systems do this though, and it simplifies the system significantly. It's the right model for source code, but it doesn't translate well to arbitrary data.

Comment · 6 months ago
Comment · 8 months ago
Comment · 9 months ago
Comment · 9 months ago
Comment · 9 months ago
Me too. Version control is great, it should get more use outside of software.

https://github.com/gotvc/got

Notable differences: E2E encryption, parallel imports (Got will light up all your cores), and a data structure that supports large files and directories.

Comment · 9 months ago
Comment · 9 months ago
Comment · 10 months ago
I personally think that this is the future, especially since such an architecture allows for E2E encryption of the entire database. The protocol should just be a transaction layer for coordinating changes of opaque blobs.

All of the complexity lives on the client. That makes a lot of sense for a package manager because it's something lots of people want to run, but no one really wants to host.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton