Show HN: Enjoy the Silence, a software factory on a box that isn't yours
Article URL: https://dmytroportianka.github.io/enjoy-the-silence/ Comments URL: https://news.ycombinator.com/item?id=50603195 Points: 1 # Comments: 0
Article URL: https://dmytroportianka.github.io/enjoy-the-silence/ Comments URL: https://news.ycombinator.com/item?id=50603195 Points: 1 # Comments: 0
Hi HN!I want to show you a project which I'm using myself to save time on worktrees creation and management. My case is a bit specific because I'm normally working on a really big monorepo, where creation of a worktree takes around a minute and 20+GB of disk space. Previously I was using a pool of worktrees which were managed by my own sessions manager. It worked, but was a bit clunky and sometimes I was running out of the worktrees anyway.As a fun side-project I decided to create a VFS for serving git branches directly from the git object store, with only one real checkout needed. I started with read only version to speed-up the reviews (I often checkout the PRs code to get LLM support) and that is very easy to do with FUSE, but it would not let me fully replace my old solution. Adding write capabilities was a bit more involved, and writing without full kernel passthrough turned out to be a few times slower. But interestingly for my workflows it does not matter. I was also running some external tests like full Linux kernel build (allmodconfig) and the performance hit vs a native build was around 2.5%. So far so good!After building the core I realised that having VFS allows me to play with other interesting features. And I implemented a few:- tree structure of branch dependencies; you can e.g. have branch 'api', on which 'store' and 'ui' depend. When you add or fetch new commits to 'api', whole tree rebases automatically- read only views showing "merged" state of each node in the tree from the previous point; e.g. you can check how 'api' branch would look like, if both 'store' and 'ui' would be merged as is; currently it has two modes: only committed or all changes- command for showing conflicts between current worktree and all other open worktrees- command for showing all worktrees touching given file of interest- agents getting real time notifications about potential conflictsWhat is also important is that it works without an issue with all native git commands. Git sees those workspaces as normal worktrees. So you can e.g. normally rebase every such worktree separately (which is one of the main differences compared to overlayfs). I'm sure some people will think this project is very similar to GitFS, EdenFS, OverlayFS, ArtifactFS, etc... spoiler alert: it is not. Most of those projects are focusing on fetching objects from remote git server lazily. Which I can imagine is very useful if you need a fresh checkout on a new instance (eg. in a CI). But that is not my use case. I have a full local checkout, and need to be able to create and delete on demand a lot of worktrees. That is it :) But I also prepared a full comparison, just in case: https://github.com/pkukielka/gitfold/blob/main/docs/comparis...I'm happy to answer any questions! Comments URL: https://news.ycombinator.com/item?id=50601881 Points: 1 # Comments: 0
Article URL: https://github.com/zenkdom/reverse-socks-go Comments URL: https://news.ycombinator.com/item?id=50607951 Points: 1 # Comments: 0
Article URL: https://just-dashboard.com/ Comments URL: https://news.ycombinator.com/item?id=50606937 Points: 2 # Comments: 0
EtherPK (https://app.etherpk.com) can now also work as a general purpose markdown editor. It can now open a folder that doesn't contain EtherPK graph and view and edit markdown, text and code files in place. We call it Plain Folder mode. In Plain Folder mode, EtherPK reverts to plain markdown for .md files (no wikilinks, tasks or indexing). However, many of the features that make EtherPK a great reading, and editing experience are still there, including a rich markdown viewer and editor, a PDF reading with annotations and EBook reading. Text and code files are supported also. Comments URL: https://news.ycombinator.com/item?id=50610374 Points: 1 # Comments: 0
Article URL: https://modelflare.dev/ Comments URL: https://news.ycombinator.com/item?id=50608665 Points: 1 # Comments: 0
Article URL: https://github.com/sebion7125/pi-protokoll Comments URL: https://news.ycombinator.com/item?id=50605127 Points: 1 # Comments: 1
Article URL: https://github.com/float64co/pysh Comments URL: https://news.ycombinator.com/item?id=50610339 Points: 1 # Comments: 0
Article URL: https://github.com/taladb/taladb Comments URL: https://news.ycombinator.com/item?id=50609192 Points: 1 # Comments: 1
Article URL: https://github.com/taskcue/taskcue Comments URL: https://news.ycombinator.com/item?id=50605978 Points: 1 # Comments: 0