News for hackers. Stuff that matters.
Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @09:23AM (#3153953)
"Expression" as the author defines it seems to be very narrow. Users of Photoshop or InDesign or Illustrator or Maya or Logic or Premiere Pro most definitly do express themselves, even though they are operating a GUI. GUIs are widely used for expression. Does the author want to suggest that CLIs would better serve the needs of all who want to express themselves?
Re:GUI vs CLI: Operation vs Expression by rmc on Tuesday October 25, 2011 @10:27AM (#3154149)
Users of Photoshop or InDesign or Illustrator or Maya or Logic or Premiere Pro most definitly do express themselves

But in those programmes, the GUI is more like a keyboard of a CLI than the actual programme. The GUI controls are used as tools to use on the main area, the drawing area. A graphical programme like photoshop presents you with a massive empty whitespace for you to draw in. It doesn't tell you where to draw, or what colour to draw. It allows you choose any colour you want. Once you paint some red, you can then paint any other colour.

In this way the programmes you list confirm the "unbounded, "lack of constrains" and "newbie unfriendlyness" of the CLI.

A newbie doesn't know what commands to type into bash, and they don't know what colours to put down first in photoshop.

Re:GUI vs CLI: Operation vs Expression by dirkstoop on Tuesday October 25, 2011 @12:24PM (#3154633)
So a sufficiently complex GUI is more like a CLI? When is a GUI complex enough to be "more like a keyboard of a CLI"?

I'm sorry but the basic premise of GUIs being limited and CLIs not is just completely wrong.

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @10:40AM (#3154210)
I don’t understand. You also seem to think that the author picked a horrible analogy?
Re:GUI vs CLI: Operation vs Expression by rmc on Tuesday October 25, 2011 @12:04PM (#3154536)
No, I think the analogy is apt. I think you're looking too shallowly and only looking at GUI/CLI, and thinking that Photoshop, being a GUI, fits into that world. Whereas Photoshop has more in common with CLI tools than many GUI programmes.
Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @12:09PM (#3154567)
Wow. Just wow. What a completely absurd redefinition of what is a CLI and what is a GUI. No true Scotsman, anyone?

It is just not an apt analogy if it requires you to claim that Photoshop is more CLI than GUI. That’s so freaking absurd.

Well, I guess I should have picked up on that when reading your last paragraph where you imply that everything that’s hard to use is also a CLI.

Re:GUI vs CLI: Operation vs Expression by burgerbrain on Tuesday October 25, 2011 @01:16PM (#3154872)
Have you ever seen a professional autocad user? How would you define that? A blurred line between the terms CLI and GUI is not a True Scottsman. It's an observable reality.
Re:GUI vs CLI: Operation vs Expression by marshray on Tuesday October 25, 2011 @02:16PM (#3155162)
I'll attest to that.

Long ago I used Autocad regularly for work. When someone gets really productive with it they tend to use one hand on the keyboard for selecting menu items and typing short CLI commands and the other for picking points and dragging selection boxes.

That kind of interface really does attempt to combine the best of both worlds, but at the expense of a big learning curve.

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @01:28PM (#3154928)
I’m quite confused. Everyone seems to disagree with me by vehemently agreeing with me. As you yourself say: Expression is not reserved for CLIs. GUIs can allow for it, too.

I’m not trying to bring down CLIs here. What I don’t like, though, is how the author of the article tries to bring down GUIs to prop up CLIs. That’s just not necessary. GUIs are used by so many people to express themselves and it’s patently absurd to claim otherwise.

Re:GUI vs CLI: Operation vs Expression by burgerbrain on Tuesday October 25, 2011 @03:17PM (#3155444)
Basically I am disagreeing with the validity of the discussion in general. There aren't agreed upon meanings for either term, so there isn't much point in going forward.
Re:GUI vs CLI: Operation vs Expression by 4ad on Tuesday October 25, 2011 @09:49AM (#3154024)
Cars vs. musical instruments to GUIs vs CLIs is an analogy, it won't work in all scenarios, but I think it's a pretty good analogy for explaining how CLIs work for people that have never used them or think they are antiquated.
Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @09:55AM (#3154043)
It's a bad anology if it excludes the majority of expression, though, isn't it? I'm not talking about some corner case here.

Software seem too malleable to me to characterize it in such broad strokes.

Re:GUI vs CLI: Operation vs Expression by agumonkey on Tuesday October 25, 2011 @10:32AM (#3154178)
In the case of Maya (and his cousins like Houdini, [ex]Shake...) every gui action is a word in an embedded DSL/bindings api (mel script, hscript, python). Maybe Adobe products too, but the javascript parts aren't a cultural feature of the application. Maya is as macro-capable as Emacs, you operate buttons, open the console log, copy the last instructions and drag it into a toolbar to have a new operation.

Plus the underlying reactive dataflow model is like a limited mathematical language. The gap between GUI and CLI is short here. So even without relying on text, you still can build operators (Houdini does this to a great extent, even the skeletal system is build out of user-level geometric primitives)

Some software that took the growable GUI a step forward is Luxologic Modo, here GUI tools are combinators that you sequence in a `toolpipe` to suit your needs, kinda like building a function out of lower level ones.

I agree with jpalomaki (http://news.ycombinator.com/item?id=3154076) there's room for different and more linguistic GUI.

To finish on a blurry note : text doesn't exist, bytes lead to intepretation/action aka a function of the application model, I see no real reason that visual interactions can't be made 'linguistic'

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @10:37AM (#3154200)
You are talking about possibility. I have no doubt that it’s possible to manipulate images, sound and videos with CLIs. The question is whether that would be the optimal way.
Re:GUI vs CLI: Operation vs Expression by gbog on Wednesday October 26, 2011 @09:30AM (#3158443)
When I worked with Photoshop, after a while most of the time was spent in a shitty point and click batch instructions editor, it should have been a text file in Vim.
Re:GUI vs CLI: Operation vs Expression by super_mario on Tuesday October 25, 2011 @10:20AM (#3154120)
You are taking the "expression" too far. We are talking about expression at the time of doing, not at the by-product of doing. GUI constrains you, it limits your expressive ability to tell the computer what to do. CLI is extremely expressive, it allows you to tell the computer what to do in very elaborate way, not only by having more options available for each command, but also by allowing you to combine things in ways GUIs simply can't allow for.

We are not talking about end products of this communication between computer and person, its output which could be images or software you created with the computer and which also allow you to express yourself in the more broader sense.

Re:GUI vs CLI: Operation vs Expression by CJefferson on Tuesday October 25, 2011 @10:26AM (#3154141)
Are you suggesting that there could be a CLI for creating and altering graphics, which was even 1% as effective as photoshop?
Re:GUI vs CLI: Operation vs Expression by JoachimSchipper on Tuesday October 25, 2011 @10:33AM (#3154184)
I'm not the grandparent, but I use TikZ to "programmatically" create graphics in LaTeX. It is much faster and looks much better than what I produce in the GIMP. (See e.g. http://www.texample.net/tikz/examples/.)

Of course, I'm drawing graphs and geometric objects, not trying to do "photo work" - but CLIs can be an excellent interface to some kinds of graphics.

Re:GUI vs CLI: Operation vs Expression by super_mario on Tuesday October 25, 2011 @10:44AM (#3154225)
No, I'm not. If you read carefully you will note that I'm talking about your expressive ability to tell the computer what you want it to do. Not about your ability to express yourself through a medium like video or images.

By the way, there are some great CLI tools (like ImageMagic) to manipulate images from the CLI and these are indispensable for batch editing large collection of images and other applications (image analysis), but I was not referring to that.

Re:GUI vs CLI: Operation vs Expression by stonemetal on Tuesday October 25, 2011 @11:16AM (#3154335)
Ok so I want to select the pretty green color from a photo for future use. In MS paint it would be two actions select the color selection tool and select the color. How do you do that from the CLI in more expressive way?
Re:GUI vs CLI: Operation vs Expression by marshray on Tuesday October 25, 2011 @11:50AM (#3154465)
How do you edit a text document using MS paint?

Anyone can pick examples that make the discussion go nowhere. That's why this discussion never feels like it makes any progress.

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @12:00PM (#3154515)
Why should you be able to edit a text document with MS Paint? I don’t understand the point you are making.
Re:GUI vs CLI: Operation vs Expression by marshray on Tuesday October 25, 2011 @02:12PM (#3155141)
Why should you be able to "select the pretty green color from a photo" via the CLI?

That's my point - just because it's the wrong tool for some hyperspecific job doesn't imply anything useful in general.

But if you really want to pursue the analogy, we could in fact come up with a command line that selects the green color value from a certain area of an image a lot easier than one could edit a non-image file using MS Paint (though I've seen that done too).

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @02:19PM (#3155178)
I don’t see your point. I think we have to go back to basics.

GUIs can be and are widely used for expression. I already listed many examples that touch on wide array of human creativity and creation.

I’m not trying to bring down CLIs. I take issue only when people claim that GUIs are not for expression.

Why does Photoshop have to be good at word processing in order for it to be a valuable tool for expression?

Re:GUI vs CLI: Operation vs Expression by marshray on Tuesday October 25, 2011 @02:46PM (#3155299)
I think GUIs and CLIs can both be "valuable tools for expression".

But Photoshop is an example of something that's particularly good for the GUI. It's not representative of most things that people do when they're interacting with a computer.

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @02:48PM (#3155314)
Yeah, so you are agreeing with me and disagreeing with the author. His analogy sucks.

GUIs and CLIs are for expression.

Re:GUI vs CLI: Operation vs Expression by stonemetal on Tuesday October 25, 2011 @05:07PM (#3155882)
The main thrust of the article is that CLIs are expressive, and GUIs are not. I came up with a counter example QED.

He pushes this topic by talking about Unboundedness vs Boundedness and Internalization vs externalization. What he seems to fail to realize is that internalization and unboundness are not properties inherent to CLIs nor is externalization and Boundedness inherent to GUIs. Those properties are a function of how you designed your application and user interaction not the medium by which it is accomplished.

Re:GUI vs CLI: Operation vs Expression by recoiledsnake on Tuesday October 25, 2011 @12:12PM (#3154578)
The discussion is getting nowhere because the author is not even wrong. He's conflating too many things and picking analogies that sound correct but don't make any sense once you dig deeper.
Re:GUI vs CLI: Operation vs Expression by super_mario on Tuesday October 25, 2011 @11:55AM (#3154491)
Re:GUI vs CLI: Operation vs Expression by recoiledsnake on Tuesday October 25, 2011 @11:44AM (#3154436)
>man paint

Zillion lines of text scroll by

swear

>man paint | less

go through 10 pages of text before finding the /pickcolour command

>paint /pickcolor /x 123 /y 843

how the pixel position was found is left as an exercise for the reader

option pickcolor not found

curse and rerun the man and scroll through all the pages again

realize it's /pickcolour and not /pickcolor

>paint /pickcolor /x 123 /y 843

red gets selected

after more furious rtfm'ing and Bing'ing(on Lynx of course), realize pickcolor uses coordinate calculation from the bottom right and not top left

When you need to do this again in a month, forget the command and the spelling and repeat all of the above again.

Re:GUI vs CLI: Operation vs Expression by keenerd on Tuesday October 25, 2011 @10:31AM (#3154172)
Sure. Check out the Lisp repl that is built into AutoCAD.
Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @10:42AM (#3154216)
I don’t understand what you are trying to tell me. I really don’t.
Re:GUI vs CLI: Operation vs Expression by marshray on Tuesday October 25, 2011 @10:33AM (#3154183)
Sure, a Graphical User Interface is likely the best interface for doing by-hand manipulation of graphics.

But is a Photoshop-like GUI the best UI for anything else?

Furthermore, don't some of those high-end packages you listed include a CLI component too?

Re:GUI vs CLI: Operation vs Expression by gurraman on Tuesday October 25, 2011 @11:14AM (#3154325)
A lot of the things _I_ do in Photoshop could probably be done more efficiently in a CLI (read DSL) than a GUI (and enable me to create and manage reusable components in a better way - some kind of mixins for example).

Now, a lot of what I do is adding (and tweaking!) effects and filters bound to shapes, selections (most often based on shapes) and layers, it would be harder to create an efficient CLI to _draw_ arbitrary shapes, but I don't used Photshop for that anyway.

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @10:39AM (#3154205)
“But is a Photoshop-like GUI the best UI for anything else?”

It isn’t. Why should it? Is a hammer the best tool for anything but hammering?

“Furthermore, don't some of those high-end packages you listed include a CLI component too?”

I’m not sure how that’s relevant. I have no issue with CLIs or the way the author characterizes them. CLIs can be wonderful tools.

Re:GUI vs CLI: Operation vs Expression by marshray on Tuesday October 25, 2011 @11:29AM (#3154375)
All this suggests that Photoshop/by-hand image editing is a special case where the GUI is at its best.

It'd probably be useful to pick some other examples to discuss.

Re:GUI vs CLI: Operation vs Expression by ugh on Tuesday October 25, 2011 @11:47AM (#3154453)
Alright then. Is it possible to be somewhat systematic about this?

Things that humans create with software:

– Text

– Images

– Sound

– Video

– Algorithms†

All those elements can be glued together in different ways. Images and text, for example, can be glued together to create a magazine or newspaper layout. Text, images, sound, video and algorithms can be glued together to create a video game. Separate software for gluing stuff together is quite common. (You don’t really write and edit texts or edit images with InDesign but you bring texts and images together.)

Maybe I’m wrong about this but it doesn’t seem to me as though GUIs are the exception or a special case. They seem to be quite common.

—

† I’m not sure about this one. I think it deserves an extra category even though most people use text to create them. It seems wrong to me to put novels and algorithms in one category, it would be a disservice to both.

There are different ways of looking at this. In some way video and images are one and the same – you get video from glueing images together. It seems, however different enough to deserve its own category. Algorithms seem similar to me.

Re:GUI vs CLI: Operation vs Expression by recoiledsnake on Tuesday October 25, 2011 @12:03PM (#3154533)
>It'd probably be useful to pick some other examples to discuss.

Maybe you can help with this, the author certainly didn't.

Let me try:

Firefox vs. Lynx

IDE vs. makefiles/make/compile

Word. vs Latex

Excel vs. ????

Outlook/Gmail vs. Pine?

Does one of those encourage expression over operation? Probably the closest is Latex, but still I don't see how it would be more expressive than what someone who spends equal time learning Word would accomplish with Word.

Re:GUI vs CLI: Operation vs Expression by p9idf on Tuesday October 25, 2011 @02:44PM (#3155288)
Excel vs SQL or awk.

Because Lynx (except for its dump mode) and Pine address characters on the screen in two dimensions, I consider them to be graphical programs. They are just very limited graphics. There is a difference between a program which displays text on the screen and a program which prints its output to stdout.