Live data from Hacker News

Command Line Tools to Break Your Dependence on the GUI

putorius.net

1–10 of 79 posts

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

#5
A dictionary? I mean, that's neat and all, but not all that useful is it? I might check the weather once a day, tops. This is better solved by having a widget on my smartphone. Same for the dictionary, and same for short google searches too (Firefox Focus).

I had a twinge of hope that this might have been more of an introduction to using the terminal effectively on Linux for diagnoses.

I'm new to Linux, and every time I have an issue and find a thread addressing it, they ask for me to run a whole bunch of commands and paste a bunch of logs. I'm happy to do that, don't get me wrong, but I rarely have the faintest idea of what it is that I'm typing in.

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

#8
post #7

If you use Haskell, then I'd recommend just using ghci over bc because you can't do floating point stuff in bc: 1/3 0 Whereas ghci, or your language's REPL, will likely do better: > 1/3 0.3333333333333333

That's because bc is fixed precision:

    % bc
    bc 1.07.1
    Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
    This is free software with ABSOLUTELY NO WARRANTY.
    For details type `warranty'.
    scale=10
    1/3
    .3333333333

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

#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 line HN client (https://github.com/donnemartin/haxor-news) that's nice, although I think the dependencies need updating (I get various conflicts if I try to install other packages in the same venv).

For twitter, rainbowstream is nice:

https://github.com/orakaro/rainbowstream

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

#10
post #5

A dictionary? I mean, that's neat and all, but not all that useful is it? I might check the weather once a day, tops. This is better solved by having a widget on my smartphone. Same for the dictionary, and same for short google searches too (Firefox Focus). I had a twinge of hope that this might have been more of an introduction to using the terminal effectively on Linux for diagnoses. I'm new to Linux, and every tim…

I would never think to check the weather, but having it in my tmux status is useful

https://github.com/jdxcode/tmux-weather

Post reply on HN