Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Why CLI will never die.
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Wed Apr 06, 2011 10:21 am    Post subject: Why CLI will never die. Reply with quote

A decent read about why the CLI should not be ditched. I know people that something similar to this has happened to, hell it has happened to the guy that manages our corporate firewall, which is web gui based.

http://www.infoworld.com/d/data-center/why-guis-suck-revisited-515

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Wed Apr 06, 2011 10:37 am    Post subject: Reply with quote

People just want to click on icons like idiots. Commands? Keyboard? Oh no!

I cannot even imagine the world without crappy good old command lines. Especially on Linux. Usually every advanced tinkering happens in CLI. It is just much easier to implement tons of commands than making GUI for it too, not to mention what happens if the system is not able to start any GUI and you have a blinking cursor to fix it. CLI doesn't need any special resources and still offers much more possibilities than GUI. It would be just plain stupid to drop it.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Wed Apr 06, 2011 11:54 am    Post subject: Reply with quote

I run all my servers headless so there is no need for a gui other than xServer.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
ZacTheSin
I post too much
Reputation: 6

Joined: 09 May 2006
Posts: 2657

PostPosted: Wed Apr 06, 2011 8:19 pm    Post subject: Reply with quote

The only problems I have with CLI is remembering commands + typos.
That all comes with practice though.

_________________
If someone helps you, why not Rep them?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Apr 06, 2011 8:44 pm    Post subject: Re: Why CLI will never die. Reply with quote

AhMunRa wrote:
A decent read about why the CLI should not be ditched. I know people that something similar to this has happened to, hell it has happened to the guy that manages our corporate firewall, which is web gui based.

http://www.infoworld.com/d/data-center/why-guis-suck-revisited-515


This article is extremely bias towards Windows. Sorry but this dude is a total Linux fanboy. What kind of UI would have a user type an entire IP table in manually? This isn't 1995, my routers config even accepts file input to create rules and so on.

I enjoy how he specifically makes sure to state the Windows based application is a web based thing. That's entirely different then an actual executable vs. an HTML page. It's not hard to parse a spreadsheet. Or even do what he did and do the same exact thing. But without needing an extra file since I can just paste it into a text box and click a button and do the same thing.

This argument is so old. And it is the same thing every time, someone finds two very specific environments to cry about and makes a shitty article complaining about what he had to deal with. That story is more then likely based on something him or a co-worker had to deal with at one point.

TL;DR: QQ. Haters gunna hate. It's 2011 GUI isn't going anywhere.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
ipivb
Master Cheater
Reputation: 5

Joined: 29 May 2010
Posts: 256

PostPosted: Thu Apr 07, 2011 3:58 am    Post subject: Reply with quote

^ thank you.

I wrote a very long reply against this article with very detailed arguments, but decided I just didn't have the energy to deal with the potential negative feedback.

Creating a GUI for every command is not hard at all. In the end, it saves the users a lot more time, which is worth any extra time the programmer has to take.

If all you have to fix a computer is a blinking cursor... you need a fucking new computer and probably a better operating system. Today, even all BIOS and OS installations have at least text based GUIs since over a decade ago. With modern computers, if you have the ability to display text, you have the ability to display a GUI.

Command lines are utterly pointless, except for instances where not a lot of effort was put into making something more user-friendly, in which case CLI is needed not because it's necessary, but because a the programmers were, for lack of a better word, lazy.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Apr 07, 2011 5:19 am    Post subject: Reply with quote

Quote:
Creating a GUI for every command is not hard at all.


It isn't hard but why bother with it. Besides, many modern programs have a bunch of command line parameters that are not even documented anywhere so if someone want to use them, it has to be discovered first.

Quote:
If all you have to fix a computer is a blinking cursor... you need a fucking new computer and probably a better operating system. Today, even all BIOS and OS installations have at least text based GUIs since over a decade ago.


Yes they have GUIs with limited settings while you can do tons of things in command lines and if you face a problem with a given equipment, you cannot always say "get a new one". Getting a new one solves almost every problem but it has it's cost. Why should we buy fuel at the gas station when we can buy a new car every day? Why should we care about health at all? Heart attack? Lol, just get a new heart silly. Your kid has cancer? Make a new one. Sometimes we just have to or want to use the available assets and not replace them completely to solve the problem. Not to mention the fact that if you work for a company and your task is to fix something, your supervisor will not be pleased with this kind of attitude for sure. Unless you are paying for the new equipment.

Quote:
Command lines are utterly pointless, except for instances where not a lot of effort was put into making something more user-friendly, in which case CLI is needed not because it's necessary, but because a the programmers were, for lack of a better word, lazy.


And probably he was thinking that if someone is too stupid to remember to a few commands, it is better if he doesn't even know about them. Automatic idiot filtering and it works well. User-friendly usually means "made for idiots". Some programs are just not made for idiots thus you can expect that the user can type in 20 charachters instead of relying on mouse-clickings alone. I don't see why is this a problem and why should every program limited to GUI settings. Besides (again), time is a resource that you may or may not have. So what if you don't have 20 years to finish every single program and you have a schedule? Then it is not lazyness but resource management, putting efforts into more critical projects and not bother with things like making GUI for every little crap.


So I think that CLI doesn't require too much resources both in developing and using them, thus it is an ideal choice for certain tasks where the user should have a brain anyway. It isn't about hard or not hard but about the question that is worth the effort to make it that way at all. And in most cases, if something doesn't have a GUI, it is because it didn't worth the effort to make it.

Your idea that everything should be new, shiny and easy to use demands time and money too, which can be probably better invested elsewhere.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Thu Apr 07, 2011 8:32 am    Post subject: Reply with quote

@Wiccaan currently at work our email backup server and our firewall device both do this. Neither actually run either Windows or Linux, but I think a hybrid linux kernel. Our backup software also runs on Windows Server 2003, it's gui based and let me tell you, when you really need to get into it to figure why it failed, the gui it a turd (granted it's one piece of software, poorly written at that) but you have to go for the CLI to really get into it. Note the software was written by HP.

Even that web based ruleset he mentioned for Windows I doubt was even Windows. It could have been anything running on it, he never brings that detail to light could have been a net app using a linux kernel as well. That was a very good point in the article that I missed.

Very valid points fellas.

@ipivb Command lines are not utterly pointless. All a GUI is, is a widget that calls the underlying command line to execute the command. Don't believe me, have a look in System32 folder.

Here is a list of the pros and cons of each.

http://www.computerhope.com/issues/ch000619.htm

Don't rule out either, they both have their place in computing.

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Apr 07, 2011 11:08 am    Post subject: Reply with quote

AhMunRa wrote:
@Wiccaan currently at work our email backup server and our firewall device both do this. Neither actually run either Windows or Linux, but I think a hybrid linux kernel. Our backup software also runs on Windows Server 2003, it's gui based and let me tell you, when you really need to get into it to figure why it failed, the gui it a turd (granted it's one piece of software, poorly written at that) but you have to go for the CLI to really get into it. Note the software was written by HP.

Even that web based ruleset he mentioned for Windows I doubt was even Windows. It could have been anything running on it, he never brings that detail to light could have been a net app using a linux kernel as well. That was a very good point in the article that I missed.

Very valid points fellas.


Hes quick to blame Guis in full rather then the software provider that makes the application. It's not the Guis fault something can/cant be done or that errors are not produced cleanly for the end user to understand, that's the developers. Same goes for command line programs, print outs of errors and so on are up to the developer, it doesn't make either or better.

Regardless of platform, his article just jumped quick to throw Guis under the bus like every other article like this. I can't say I've read a single article on this subject that once mentions the fault being that of the developer of the application they use. Instead they just generalize all Gui apps to be shit. They also never mention how/if their companies go and look for alternatives, upgrades, etc. to the required software they use. But stick to the one specific one giving them problems and QQ an article out of it.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Thu Apr 07, 2011 12:54 pm    Post subject: Reply with quote

That's a very interesting point. And I have not seen the same in any article like that either. I'll have to start looking out for that now.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
ipivb
Master Cheater
Reputation: 5

Joined: 29 May 2010
Posts: 256

PostPosted: Fri Apr 08, 2011 2:48 am    Post subject: Reply with quote

@geri like I said, I don't have the energy to debate this. So instead I'll leave a good analogy... why bake a whole cake and not put frosting on it? The GUI makes things look a lot better and in most cases, easier to use.

Also, if a company's computer are so old that they are actually breaking down and are very hard to fix because all you have is a blinking cursor... it may be costing more money to pay IT guys than it would be to buy new computers. You would buy a new car if your old one costs more to fix than it would cost to buy a new car.

As for you "GUI is for idiots" example, I agree. However, that's not a very valid argument for CLI. The windows registry editor can really mess an OS up, and very seldom is anyone actually dumb enough to go in and play around without knowing what they're doing.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Fri Apr 08, 2011 5:57 am    Post subject: Reply with quote

Quote:
why bake a whole cake and not put frosting on it? The GUI makes things look a lot better and in most cases, easier to use


Because you don't like it or don't want to buy it. Or just don't have the time to do it. Making something into user-friendly is a real hassle. If you have a GUI, you need to design it too, because people doesn't like ugly GUI. Does it support mouse too? Oh than you need to put in silly icons that you probably need to draw yourself etc. One thing after the other and in the end, making something into shiny and user-friendly will take more time than the actual function itself. People are used to have beautiful GUIs for everything and judge programs by their appearance. So if you go to make it shiny and easy to use, it will take lots of your time.

What if you work alone on a project as a programmer and you hate designing the GUI? For example I hate such things. And most of the programmers also hate them. I say if you do something but don't want to make it shiny, then don't do it. Release it as it is, ugly as hell, hard to use but still working. Otherwise you will either hate what you do because you do something that you don't like, or you will just decide to not release it at all. Some people has passion for designs but don't know shit about programming and the opposite may be also true. Where to place the buttons, how should the menu look like, where to place this or that option etc. Just a waste of time.

I totally understand if someone doesn't want to make a GUI for something, whatever is the reason.

Quote:
Also, if a company's computer are so old that they are actually breaking down and are very hard to fix because all you have is a blinking cursor... it may be costing more money to pay IT guys than it would be to buy new computers.


You can easily kill Win XP to have a blinking cursor only and then you can still fix the issue sometimes. And what does the GUI of XP installer offer? Re-install or die. I wouldn't call this advanced. And you cannot say that every company is using Win 7 now (and of course most of them didn't change to Vista). Also, not every company has a fix IT guy. You can hire a guy to make some job in 20 minutes and never see him again. If you would work for a company which is lending IT workforce for small companies, you would see how is a small business operating. You get what you get, you work with what you have and if you cannot do it, you are fired. And with a good reason. Wasting resources when it is not neccessary is unacceptable in business. Also if you have a huge company with 500 computers, you don't change them in every year. People are usually working with ages old computers, not with the latest technology. As long as it is working, why would it be changed. So in many cases, fixing the issue is the cheaper way, not upgrading everything.


Quote:
As for you "GUI is for idiots" example, I agree. However, that's not a very valid argument for CLI. The windows registry editor can really mess an OS up, and very seldom is anyone actually dumb enough to go in and play around without knowing what they're doing.


Yeah, fortunately not many people are finding the registry, but they sure as hell find the Format option. In the DOS days, people didn't format their computers by accident because they didn't even know about that option. Today, one of the most common problem is "I accidently deleted everything". Yes I know. It is written that it will delete everything. People may read it too. But they simply do not understand. Before I format a computer, I take at least 2 minutes to speak with the owner and emphasize the fact that "deleting" means "gone forever" and really forever. Every data on the computer will be lost like as it never existed and no one, not even God will recover them. And then if they seemingly understood it, I make a backup and then format the thing. When it is done, usually the first question is: "oh my things are gone?" And again, the answer is yes, as I have tried to emphasize it so badly but yet as I knew that you just don't get it, I made a backup so here is your data. This happens in almost every case if I agree to format a computer and re-install the system. So imagine what happens when I am not there and that person decides that he/she can do it. It is almost surely some serious data loss at the end. Just because 500 millions people have managed to register on Facebook, it does not mean that they know much more about computers than 20 years ago. It isn't because they are utterly stupid but because they are not interested in it.

And this is why I think that some options are just not meant to be used by most people. If you put a big red button with "don't push it" warnings all over, they will push it. It's just safer if that button is not existing at all.

As for the registry settings, I wonder how would you temper with it in GUI if your Windows wouldn't even start up. You can do it of course if you use another program, like a Live OS or something but it is not neccessary if it has some CLI commands to restore the registry backup (and it has).

In short if you have to work with given assets and you don't have the freedom to choose your equipment freely, you can easily end up in a CLI command line to fix the problem. It is far from being utterly useless.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Hans Henrik
Expert Cheater
Reputation: 0

Joined: 18 Feb 2007
Posts: 178

PostPosted: Sun May 01, 2011 3:09 am    Post subject: Reply with quote

EDIT: read the article now. LOL. Laughing
just a note...
If you want to search for a file that may be anywhere on the partition, on windows Vista and 7, What do you need to do? the built-in search function is NOT RELIABLE. it uses some stupid index shit, indexing ONLY FOLDERS MARKED FOR INDEXING. AND YOU CANNOT BE SURE IT HAS INDEXED SINCE LAST CHANGE.

Code:

cd \
dir "name*whatever*" /S /B

thats the win vista/7 way.
XP did not require this however. the XP search engine was 100% reliable.

_________________
Im not around.

im almost never checking the forum anymore
Back to top
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun May 01, 2011 4:01 am    Post subject: Reply with quote

indexing is for speed, you can search without it. it will ask if you want to specifically index a folder you are searching through.

ps xp had the indexer too, a shitty version
Back to top
View user's profile Send private message
ipivb
Master Cheater
Reputation: 5

Joined: 29 May 2010
Posts: 256

PostPosted: Sun May 01, 2011 4:24 am    Post subject: Reply with quote

Typing in the start menu does only search the index.

If you go to any specific folder, or just the C:\ drive and search in the box in the top right, it will do a classic search (warning you that the search may be slow, and asking you if you'd like to add the location to the index).

Even if that command line was the only way to do a classic search, a more robust GUI program could be coded with not more than a handful of lines... and would be a lot more useful than typing in redundant command lines, then manually navigating to the file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites