Live data from Hacker News

WTF: A personal information dashboard for your terminal

github.com

71–80 of 121 posts

Re: WTF: A personal information dashboard for your terminal

#71

Earlier quoted context omitted.

At what point do we just say why not 'install a modern GUI'?

I use TMUX to essentially create what this person has made. It's much more versatile than a GUI for me because I can kill any "widget" and reopen it with altered command line parameters. It's an incredibly useful and productive way to work. And if I realize that I want data that isn't present, I can just split a TMUX pane (or start a new TMUX window) and display it there.

There was a point where it was that simple to run GUI widgets on a desktop, too. The likes of xman and xclock were just that, programs that one could just run and stop.

Re: WTF: A personal information dashboard for your terminal

#72
post #68

Earlier quoted context omitted.

Yes. One of go's strengths is that there are very few tricks and the language is heavily biased towards easy reading over compact code.

I'm also a Go noob. I tried writing a basic web server in Go yesterday to handle Twilio SMS callbacks. Trying to inspect the requests I was receiving was such a pain, I gave up and wrote the server with Sinatra. Am I missing something that's making this more difficult than it should be?

You were probably missing something but we all had to start someplace. :)

I'm not a Go expert by any stretch of the imagination and I can tell you that almost everything you would want to know about a given request is exposed through the request object passed to your handler if you are using the standard Go http stuff.

Re: WTF: A personal information dashboard for your terminal

#74
post #68

Earlier quoted context omitted.

Yes. One of go's strengths is that there are very few tricks and the language is heavily biased towards easy reading over compact code.

I'm also a Go noob. I tried writing a basic web server in Go yesterday to handle Twilio SMS callbacks. Trying to inspect the requests I was receiving was such a pain, I gave up and wrote the server with Sinatra. Am I missing something that's making this more difficult than it should be?

I love Go specifically for this purpose. I wrote a simple server doing exactly that with Twilio: https://github.com/dang3r/jenophone/

Re: WTF: A personal information dashboard for your terminal

#75
post #11
post #7

Can't this be made more general and modular by creating a windowing system for terminals first, and then write little programs that operate in that system?

Another commenter has mentioned Python's urwid [0], which is precisely that. [0] http://urwid.org

There's also Cursive if you're doing Rust stuff.

Re: WTF: A personal information dashboard for your terminal

#77
post #7

Can't this be made more general and modular by creating a windowing system for terminals first, and then write little programs that operate in that system?

At what point do we just say why not 'install a modern GUI'?

The mouse. It sucks. The latency too (over long thin pipes). I prefer to live in a textual universe anyways. I can't not use a GUI browser for a lot of things, sadly, and occasionally I end up using an IDE, but as much as possible I use tmux/screen + $EDITOR + cscope + scripts + ... as my UI/IDE. It's just better. It works great over mosh, over SSH, over long thin pipes, over short wide pipes -- it just works. Latency is low, and mouse use nil -- win-win.

EDIT: Also, it's a lot easier to organize and find my way around nested tmuxes than it is to organize tons of windows. Yes: I nest tmuxes.

Re: WTF: A personal information dashboard for your terminal

#78
post #50
post #10

Earlier quoted context omitted.

It's a unix system! I know this!

That quote actually made me decide I wanted to know computers, at an early stage. She was so cool - AND saved the day with UNIX magic! :-)

Except she used that wacky 3D file browser instead of ls, find, grep, etc...

Re: WTF: A personal information dashboard for your terminal

#80
post #8

Anyone remembers NetBSD's wtf? http://netbsd.gw.com/cgi-bin/man-cgi/man?wtf+6+NetBSD-curren... $ wtf wtf WTF: {what,when,where,who,why} the fuck $ wtf bsd BSD: berkeley software distribution $ wtf linux wtf: I don't know what linux means!

As a non-native English speaker, I need it all the time to follow conversations on Internet. I've also made a a personal acronyms database to read GCC's internals documentation and another to translate errno codes to their constant name and vice-versa: https://github.com/lgeorget/acronymdb?files=1
Post reply on HN