Live data from Hacker News

Modernize your Bash Scripts by adding GUI

medium.com

41–50 of 72 posts

Re: Modernize your Bash Scripts by adding GUI

#41

"Tired of displaying raw text on Console?" Nope. I am a scripter. I will never get tired of raw text, but I sure get tired of GUIs, fast. If the author had pitched this as a way to make the scripter's scripts accessible to others who do not understand scripts, I would have a different response.

I'm also a scripter and love the CLI but notify-send is really nice to be alerted when locally-executed long-running scripts end (for example, a terraform plan)

Re: Modernize your Bash Scripts by adding GUI

#43
This reminds me, a company I worked at used a bash script + zenity to automate the programming of devices using open-jtag. It worked pretty well and let the workers (skilled mostly in soldering and electronics assembly) do the programming and flashing of a fairly involved embedded device. We eventually ended up replacing it with a local web-app but the zenity version was fast to write and good enough that the quick and dirty prototype survived for several years.

My pitch for zenity would be - "Need a prototype gui for users that struggle in the console? Consider zenity."

Re: Modernize your Bash Scripts by adding GUI

#44

Earlier quoted context omitted.

Last sentence of the first paragraph "But if it is used by a general audience it is obviously good to have some user friendly interactions."

I stopped reading after the sentence I quoted. If he had led with a title like "Tired of GUIs...", then I would have kept reading. It's the pitch I am commenting on, not the software. I want more "raw text", not less.

So you didn't read the article and stopped after reading the subhead yet you felt the need to comment anyway.

Re: Modernize your Bash Scripts by adding GUI

#45

"Tired of displaying raw text on Console?" Nope. I am a scripter. I will never get tired of raw text, but I sure get tired of GUIs, fast. If the author had pitched this as a way to make the scripter's scripts accessible to others who do not understand scripts, I would have a different response.

I'm also a scripter and love the CLI but notify-send is really nice to be alerted when locally-executed long-running scripts end (for example, a terraform plan)

gnome-terminal already seems to do this for me...

Re: Modernize your Bash Scripts by adding GUI

#46

Earlier quoted context omitted.

I stopped reading after the sentence I quoted. If he had led with a title like "Tired of GUIs...", then I would have kept reading. It's the pitch I am commenting on, not the software. I want more "raw text", not less.

So you didn't read the article and stopped after reading the subhead yet you felt the need to comment anyway.

[deleted]

Re: Modernize your Bash Scripts by adding GUI

#47

Earlier quoted context omitted.

I stopped reading after the sentence I quoted. If he had led with a title like "Tired of GUIs...", then I would have kept reading. It's the pitch I am commenting on, not the software. I want more "raw text", not less.

So you didn't read the article and stopped after reading the subhead yet you felt the need to comment anyway.

[deleted]

Re: Modernize your Bash Scripts by adding GUI

#48

This is such a backwards way of thinking. Like modernizing math by using little colored blocks with symbols written on them, because your tired of using boring old white and black pencil and paper... It's what you do to entertain children into being interested in something, not how adults get stuff done.

> This is such a backwards way of thinking. Like modernizing math by using little colored blocks with symbols written on them, because your tired of using boring old white and black pencil and paper...

I remember having to use TI-83 for school. Back then, some people taught the same about the calculator.

Also, sounds like you'd oppose syntax highlighting. I like making e.g. my PS1 colorful. The problem is when other's force their color scheme upon you, like mIRC colors, or website themes (!!).

Re: Modernize your Bash Scripts by adding GUI

#49
post #31
post #24

Can’t read the article, guess I’m out of free reads this month/week. I wish there was some kind of rule against posting medium.com links on HN. That would incentivise people to use some other tools, for example dev.to or personal blogs.

Just block cookies on medium.com and enjoy the paywall-free experience. On Chrome, click the lock icon in the address bar, hit "Cookies", select "medium.com" and block. Then refresh.

Are you sure that would work for every Chrome user? Chrome tests many different variations on different users and they are constantly messing with Chrome and ChromeOS via automatic updates. On a Chromebook I have in developer mode, using the Crouton chroot script, for many months, through several "updates", cookies could no longer be blocked from the address bar, only through Settings and only on a per site basis; it became impossible to globally disable cookies, the setting would automatically revert back to enabled! After the latest update, I can now finally gloablly disable cookies again and disable from the address bar (though this requires more clicks than it once did). Sometimes they release "updates" and the stuff is still broken. By the next update they have fixed it. In the interim we have to settle for unfinished software. In my opinion, Chrome is not one program, it is constantly changing unfinished work and not every user gets the same "features".

I block cookies using a local proxy. I cannot rely on Chrome "features" for anything privacy-related. They just keep changing.

Re: Modernize your Bash Scripts by adding GUI

#50

Earlier quoted context omitted.

I stopped reading after the sentence I quoted. If he had led with a title like "Tired of GUIs...", then I would have kept reading. It's the pitch I am commenting on, not the software. I want more "raw text", not less.

So you didn't read the article and stopped after reading the subhead yet you felt the need to comment anyway.

That "unneeded" comment has received almost as many points as the article itself.
Post reply on HN