Live data from Hacker News

Command Line Tools to Break Your Dependence on the GUI

putorius.net

71–79 of 79 posts

Re: Command Line Tools to Break Your Dependence on the GUI

#71
post #47

Earlier quoted context omitted.

Couple? You mean 4?

'Couple' is a word that in some contexts means two specifically, but in other (informal) contexts means a small number. Generally when somebody describes three or four things as a "couple", they're being informal and a correction isn't warranted.

”but in other (informal) contexts means a small number"

Isn't there a word for that ? I'm thinking of "several". That is what I learned in school (not a native english speaker )

Re: Command Line Tools to Break Your Dependence on the GUI

#72
post #9

I love finding good command line replacements for UIs. One I've grown to rely on a lot these days is awslogs: https://github.com/jorgebastida/awslogs Which allows you to stream Cloudwatch logs via a command like: awslogs get ALL --watch which is cool because you can just specify the log group and get all streams without having to dig around for the specific stream in the AWS console. There's a python based command li…

I can recommend `pipx` (pipx — Install and Run Python Applications in Isolated Environments) https://pipxproject.github.io/pipx/

Re: Command Line Tools to Break Your Dependence on the GUI

#73

Earlier quoted context omitted.

> I rarely have the faintest idea of what it is that I'm typing in. I suggest checking out Like Smith's beautifully assembled video guides, whom I think has done a lot for newbies by releasing comprehensible content while minimising the whole RTFM attitude that kept newbies away from the terminal. But yes, also RTFM.

Luke Smith? Do you have a link?

Lukesmith.xyz I believe

Re: Command Line Tools to Break Your Dependence on the GUI

#74

Earlier quoted context omitted.

'Couple' is a word that in some contexts means two specifically, but in other (informal) contexts means a small number. Generally when somebody describes three or four things as a "couple", they're being informal and a correction isn't warranted.

”but in other (informal) contexts means a small number" Isn't there a word for that ? I'm thinking of "several". That is what I learned in school (not a native english speaker )

Both "several" and "couple" are applicable. "A handful" or "some" have the same connotation generally, and I'm sure there are many others.

Re: Command Line Tools to Break Your Dependence on the GUI

#75
post #56
post #45

Earlier quoted context omitted.

Yes, I caught the drift of the article. I think a better title might have been "Teletype Emulation Strategies to Break Your Dependence on the GUI"

If we are going there, why not "Teletype Emulation Strategies to Break Your Dependence on Limited Desktop Metaphor" ?

Or "airplane seat" metaphor as Frederick P. Brooks, Jr. said.

Re: Command Line Tools to Break Your Dependence on the GUI

#76

Earlier quoted context omitted.

It depends on what people use the GUI for. It's not inconceivable that people start up gvim to make a new file (instead of cat > file) or use some bulk-renaming tool instead of learning about shell expansions. "Awful" was a mean description of this article. I'll fix it (edit: comment, not fix).

`vim newfile` (or gvim/nano/emacs/whatever) will create a new file. I won't say I've never created a file with cat (handy for pasting), but it's a little unusual.

I usually do it when autoindent is going to make a mess of whatever I'm pasting into the file.

Re: Command Line Tools to Break Your Dependence on the GUI

#77

Earlier quoted context omitted.

Stallman would point out that it's gnu/linux... but then there's a number of things he'd likely try and point out. More seriously, this doesn't seem to be linux as much as it is bash and a handful of commonly found on linux tools - all of which you can now run on windows anyway. Windows users: install bash and follow along.

If one were feeling contrary, one could point out that it's not GNU/Linux in this context... it's GNU/NT (WSL1 and cygwin). Unless we're talking about WSL2, in which case it is GNU/Linux again:)

I saw Stallman talk about a decade ago and was thrilled to be picked on, so asked a question about my Linux setup.

"I think you'll find," he interrupts me, like he's done to most of the other people asking questions "that it's actually GNU/Linux" and then fixes me with a look usually reserved for telling an adult that yes, they really have just soiled themselves.

"Actually," I took great joy in responding, "I'm running Mr Torvalds' kernel with a BSD userland, so really, I'm pretty sure I'll find it's not."

We haven't stayed in touch since.

Re: Command Line Tools to Break Your Dependence on the GUI

#78

Earlier quoted context omitted.

If one were feeling contrary, one could point out that it's not GNU/Linux in this context... it's GNU/NT (WSL1 and cygwin). Unless we're talking about WSL2, in which case it is GNU/Linux again:)

I saw Stallman talk about a decade ago and was thrilled to be picked on, so asked a question about my Linux setup. "I think you'll find," he interrupts me, like he's done to most of the other people asking questions "that it's actually GNU/Linux" and then fixes me with a look usually reserved for telling an adult that yes, they really have just soiled themselves. "Actually," I took great joy in responding, "I'm runni…

Beautiful. I've been wanting to do that, actually, but I keep having a rough time because the BSDs tend to assume you're using their kernel, libraries, and userspace all together.

Re: Command Line Tools to Break Your Dependence on the GUI

#79

You can use this CLI to plan you haircut by browsing queue times for Cutters hair salons: https://github.com/draperunner/cutters Which enables you to run: $ npx cutters | grep Oslo | head -3 to get queue times in Oslo. Made by a colleague of mine.

Nice. I have this as an alias in my ~/.zshrc:

curl -s https://www.cutters.no/api/salons | jq '.data[] | select(.location.key == "oslo") | .details.estimatedWait /= 60000 | {name: .name, wait: .details.estimatedWait, serving: .details.numberOfServing, waiting: .details.numberOfWaiting}'

Post reply on HN