On 12/05/2012 4:32 AM, Alex Mizrahi wrote:
>>> You didn't understand my point at all.
>> That is incorrect. I just didn't agree with it.
>
> You replied with completely irrelevant pieces.
Classic unsubstantiated and erroneous claim.
> Either you didn't understand or you were trolling.
Classic erroneous presupposition.
> Or do you claim that a typical person can click buttons with mouse
> without looking?
Without looking at the mouse? Yes. Without looking at the screen? No,
but then a touch typist doesn't need (or want!) to look away from the
screen much anyway.
In any event, a proficient mouse user is a lot faster and more accurate
than a novice like, I assume, you are and anyone else here is who is
sour on mouse use.
>>> But it helps with those 'lagged systems' too. Maybe in your ideal world
>>> computers never go slow, but in reality it isn't the case. Even most
>>> modern systems can go thrashing if something goes awry, and in my
>>> experience it's better to use text console at that time.
>>
>> In my experience it's better to fix whatever the problem is (e.g. nice a
>> process that started hogging the CPU, or restart it if it's not supposed
>> to occasionally do that, or even debug it and recompile it)
>
> Are you retarded?
What does your ridiculous question have to do with the topic at hand,
Mizrahi?
> I need a fucking console to kill that fucking process.
What does your foul language have to do with Lisp, Mizrahi? Of course
you don't; there are graphical process-management tools out there for
those who prefer them. Also, one hopes one only has to nice processes
that are hogging the CPU or otherwise slowing the system down on
infrequent occasions. As for a fix-and-recompile one hopes one only has
to do that *once*, and then the problem won't happen again.
> It isn't like it happens all the time, but from time to time shit
> happens, and console is a much better tool for emergencies.
So you claim, without evidence.
>> Input to your locally-running browser will not be affected by this.
>> Stuff typed into a web form will echo promptly and mouse movement won't
>> be affected. It may just take a while for the response to get back to
>> you after you click "submit" or a link or whatever.
>
> How is that related? Should I use a browser instead of SSH?
If you're complaining about GUIs being lagged by the network you're not
using SSH.
>>> No matter how fast your network is and how fast your
>>> computer it. In command prompt it is noticeable, but not problematic at
>>> all. With GUI it might be more of an issue.
>
>> You're hypothesizing
>
> I do not hypothesize
Classic unsubstantiated and erroneous claim.
> Are you saying there is no need in non-client-server software?
You are confused. We had been discussing UIs slowed down by network lag,
which doesn't affect you when working with purely local software.
>> That would be ... weird. Mostly you use a
>> web interface to a remote machine these days.
>
> I never used web interface and never seen anybody using web interface.
Then you're weird. What can I say?
>> If for some reason you
>> can't (usually because you're the admin trying to remote-fix the machine
>> after the httpd died)
>
> Yeah, I'm like that admin. I set up servers from scratch, for example.
>
>> you grit your teeth, ssh into it, and use a
>> command prompt.
>
> Well, maybe you grit your teeth, but I comfortably use SSH each day.
How can you "comfortably" use anything that forces you to see the work
you're doing through a keyhole instead of in widescreen HD? Which is
what a command prompt does, of course, what with the little-to-no
context it displays while you work. Not to mention forces you to,
instead of hands-on manipulating whatever it is you're working on,
forces you to grunt at a robot in pidgin that will then go and do the
manipulating and hope it doesn't get confused and misunderstand you --
one little typo and the thing will merrily start destroying everything
on the machine systematically (and finish, or do a lot of damage before
the damage crashes it, too fast for you to intervene and stop it).
Unless you have a big job to do that's easily specified as a rote
mechanical action you'll have just as much work to do as doing it
yourself, with a higher likelihood of error and worse potential
consequences of such an error. Actually, you'll have *more* work to do
-- for example, moving a file might, instead of one click and drag
taking a second or so, take fifty or more keystrokes and three or four
seconds.
>>> Shell commands reference file name, but not position.
>
>> The example was using a program more like dired rather than a command
>> prompt.
>
> Your example was shitty.
What does your classic unsubstantiated and erroneous claim have to do
with this debate, Mizrahi?
>>> rm -rf frobla.txt <look that it's correct> <enter>
>>
>> And if you're in the wrong directory and there are frobla.txts you don't
>> want to delete as well as ones you do, in different parts of the
>> filesystem ...
>
> Does use of mouse prevent this problem?
Certainly, since the GUI comes along with it and you can actually see
where the hell you are. With the CLI you're peering through a keyhole.
You may see
local %>
and maybe you're in etc/local and maybe you're in usr/local. With a GUI
you can see at a glance where you are because the files in the directory
you're in are displayed right there on the screen. If you're in the
wrong one you'll probably notice right away by what files are (or
aren't) present.
> It's totally unrelated.
But not uncorrelated. Nor is it uncorrelated with the presence of
confirmation prompts and trash/recycle bins and other useful safeguards.
It's much, *much* less likely that you will accidentally delete when you
meant to do something else, and much, *much* more likely that if you do
anyway you can *un*do it. Wrong directory? You'll probably see that
you're in the wrong place, since you can actually see that place and not
just its name or even a part of its name. Wrong command? It's much
easier to mistype "em foo.txt" as "rm foo.txt" than it is to confuse an
editor icon and a trashcan icon, or to miss the former by a large enough
margin to drop the file on the latter. And then you'll unexpectedly get
an "OK to delete file?" prompt instead of an editor window. And failing
*that* you don't really lose the file unless you're stupid enough to
empty the trash instead of dig the file back out of it that you didn't
mean to drop there!
Sure, for some things, it's slower, but it's also safer, and any decent
system still provides a command prompt and a scripting capability for
tasks that benefit from automation.
> If you're in wrong directory, you do not look at directory you're using
???
>>> In reality it's more like
>>> 1. rm -rf fro<TAB>
>>> 2. look whether it was completed, there is a list of options or ...
>>> 3. when everything looks OK press enter.
>
>> The GUI equivalent would be to click a file and hit del.
>
> No, you first need to find it visually, which is very problematic in a
> directory with many files.
Really? It's a lot easier to spot a distinctive icon and name than just
a distinctive name, and a lot faster to mouse to and click an icon than
to type a name longer than ten or so characters.
Not to mention a GUI gives you the nifty ability to have more than one
"current directory" at a time, instead of having to type a
potentially-long path anytime you need to switch, or perform an
operation involving multiple directories (such as moving files to a
different part of the filesystem).
> So, same amount of logical units, or actions, but I'll type this command
> much faster because you'll have to switch between keyboard and mouse and
> look at screen in process.
Bad comparison. First of all, it's not "same amount of logical units".
Second, you don't have to switch between keyboard and mouse unless it's
a *very large* directory (hundreds of files seems to be the threshold
for when typing part of the name is faster than scrolling to locate the
file). And third, if you're a touch-typist you don't have to look at the
keyboard, for the most part, and don't want to either, so whether you're
typing or not you don't have to look *away from* the screen.
>> You'd have to
>> look to see that it had acknowledged your click and selected the file
>> before hitting del, but that's the same as your having to look before
>> hitting enter.
>
> No, you're ignoring the fact that you need to find file first.
I was assuming you'd already found it, but it's not as if keyboard-only
is better for finding the file either. You can find it in only one way
then: by its name. If you don't know its name you have to invoke search
tools, and at a CLI that tends to mean an arcane syntax and possibly a
trip to the help files to get *that* right before you even can find the
file you want to delete! And then the name might be really long and
awkward to type. And it might have characters in it that tend to give
shells fits: nontypable symbols, percent signs, leading hyphens,
quotation marks, and even spaces tend to cause problems there.
With the GUI you can find the file in any of a number of ways. Type
(some prefix of) the name; scan for it while scrolling with the keyboard
pgdn key; scan while scrolling with the mouse wheel; set a sort order
that makes the file go to the top or bottom of the window and then hit
ctrl+home or ctrl+end (if it's alphabetically first, or larger than any
other file there, or the newest, or the oldest -- deleting the oldest of
some set of logfiles would be a common case); or type a query into a
little search box that works more or less as expected for simple
substring matches but supports more complex queries as well when needed,
such as based on modification time, file contents, or other criteria.
>> Where you went off the rails is comparing keystrokes to mouse clicks.
>> Everything but the "rm" and "enter" parts correspond to one single mouse
>> click to select the file.
>
> No.
Still in denial? Seek help.
>> The del key supplies those parts (and gives a
>> confirmation prompt in any decent GUI file manager to boot, as one added
>> level of safety).
>
> rm also has this confirmation. Surprise! Surprise!
Wrong. It just deletes things without checking first. You can make it
prompt for confirmation, but only by remembering to type something extra
first.
Not to mention all the various ways it can go wrong. Guess what happens
if there's a file named "-rf" in a directory where you use "rm *" or
similar.
>>>> Don't be ridiculous. I'm just pointing out an inconsistency in the
>>>> pro-keyboard-only position.
>
>>> And who holds that pro-keyboard-only position?
>
>> You, Madhu, and Kylheku, at the very least.
>
> I don't.
Classic inconsistency with the rest of your post.
>>> If information is textual chances are that incremental search would have
>>> worked better.
>>
>> Information is often not textual, or not solely textual.
>
> It depends on what you're doing.
Perhaps.
> I'm a programmer, 99% of information I'm working with is textual.
I wear rather more hats here.
>> Textual
>> information often lacks short unique prefixes on each item,
>
> It doesn't need to be a prefix, incremental search can find parts in the
> middle.
You are confused. Tab completion needs a prefix. So does the incremental
search in typical GUI file managers, such as Windoze Explorer.
You seem to be thinking of searching a text file in an editor, which is
not what we were discussing; we were discussing finding files in the shell.
>> That's when drawing freehand rather than doing something else, such as
>> dragging pre-created image fragments around and assembling them in some
>> manner or applying filters, etc.
>
> You can use pen tablet instead of mouse.
If you have a spare $200 lying around, perhaps you can.
> I agree that mouse is an excellent poor man's choice. You can do
> everything with it, but in a slow and sloppy way.
Classic erroneous presupposition. Obviously you've never seen a mouse
wielded by someone truly proficient in its use -- or you've seen bad
mice. Ball mice that haven't had their bearings cleaned in a while,
perhaps. Even a ten-dollar optical mouse from the bargain bin at Office
Depot will outperform *that*.