Live data from Hacker News

I found a useful Git one liner buried in leaked CIA developer docs

spencer.wtf

31–40 of 273 posts

Re: I found a useful Git one liner buried in leaked CIA developer docs

#32
post #9
post #2

I currently have a TUI addiction. Each time I want something to be easier, I open claude-code and ask for a TUI. Now I have a git worktree manager where I can add/rebase/delete. As TUI library I use Textual which claude handles quite well, especially as it can test-run quite some Python code.

That sounds like a complete waste of time and tokens to me, what is the benefit? So each time you do something, you let Claude one shot a tui? This seems like a waste of compute and your time

Now that I think about it, if Claude can put most useful functions in a TUI and make them discoverable (show them in a list), than this could be better than asking for one-liners (and forgetting them) every single time.

Maybe I'll try using small TUI too.

Re: I found a useful Git one liner buried in leaked CIA developer docs

#35

So effectively "I just discovered xargs"? Not to disparage OP but there isn't anything particularly novel here.

People really do need to read the “Unix Power Tools” book and realize their problem has been solved for decades.

Re: I found a useful Git one liner buried in leaked CIA developer docs

#36
post #2

I currently have a TUI addiction. Each time I want something to be easier, I open claude-code and ask for a TUI. Now I have a git worktree manager where I can add/rebase/delete. As TUI library I use Textual which claude handles quite well, especially as it can test-run quite some Python code.

Can you explain TUI? I have never heard this before

Eg: lazygit https://github.com/jesseduffield/lazygit?tab=readme-ov-file#... https://github.com/sxyazi/yazi https://github.com/darrenburns/posting or I guess Vim would be a prominent example.

Peoples definitions will be on a gradient, but its somewhere between CLI (type into a terminal to use) and GUI (use your mouse in a windowing system), TUI runs in your terminal like a CLI but probably supports "graphical widgets" like buttons, bars, hotkeys, panes, etc.

Re: I found a useful Git one liner buried in leaked CIA developer docs

#37
post #2

I currently have a TUI addiction. Each time I want something to be easier, I open claude-code and ask for a TUI. Now I have a git worktree manager where I can add/rebase/delete. As TUI library I use Textual which claude handles quite well, especially as it can test-run quite some Python code.

Can you explain TUI? I have never heard this before

[flagged]

Re: I found a useful Git one liner buried in leaked CIA developer docs

#40
post #24

Speaking of user friendliness of git UI. I am working on a revision control system that (ideally) should be as user friendly as Ctrl+S Ctrl+Z in most common cases. Spent almost a week on design docs, looking for feedback (so far it was very valuable, btw) https://replicated.wiki/blog/partII.html#navigating-the-hist...

Have you tried Jujutsu? If you want to make a better VCS, your baseline should be that, in my opinion, because it already deals with a lot of the Git pain points whilst be able to read and publish to Git repositories.
Post reply on HN