Live data from Hacker News

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

spencer.wtf

51–60 of 273 posts

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

#52

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.

"People just need to find the info they don't know about, so then they'll know it."

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

#53
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

It's definitely an acronym that got popular in the last year or so, though I'm sure there are people out there who will pretend otherwise. I've been in the industry 15+ years now and never heard it before. Previously it was just UI, GUI, or CLI.

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

#55

Earlier quoted context omitted.

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"…

So the acronym is for Terrible User Interface? ;)

No it's not.

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

#56
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.

how do you trust the code claude wrote? don't you get anxiety "what if there's an error in tui code and it would mess up my git repo"?

Isn't it this case no matter who wrote the code? How do you ever run anything if you're worried about bugs?

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

#57
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.

Tig is a nice and long-maintained git tui you might enjoy, then!

If nothing else maybe for inspiration

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

#60
post #37

Earlier quoted context omitted.

Can you explain TUI? I have never heard this before

[flagged]

Sorry, but this 65 yo grey-beard disagrees. A TUI to me, back in the 80s/90s, was something that ran in the terminal and was almost always ncurses-based. This was back when I was still using ADM-3A serial terminals, none of that new-fangled PCs stuff.
Post reply on HN