Switching from Ubuntu

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: Switching from Ubuntu

Post by Evert »

rreagan wrote: Out of curiosity, what are examples of the downside of Windows? Please refrain from empty words like "horrible", that doesn't tell us anything. Also please spare us any of the "it's not Linux" reasons like the one above.
Actually, "it's not Linux" is a major reason for me.
There is a certain way to use a computer that I find comfortable. I found, empirically, that I vastly prefer the UNIX shell combined with focus-follows-mouse in a GUI. I find OS X (10.6, haven't tried any of the newer ones) tolerable because of the presence of the shell.

I know, you can install UNIX tools under Windows too. It's a lot of hassle and at the end of the day you have something that sortof-but-not-quite behaves like a UNIX system. I prefer the real thing.
"I haven't used windows in ages and it's horrible because it's not what I'm familiar with".
To be fair, that seems to be a major complaint by Windows users about other operating systems: it's different, therefore it's worse. Not saying that that isn't a natural reaction.
Even for most of you, I wonder how much you would have in your pocket for all the hours you spent towards tweaking Linux, even at minimum wage for all of those hours.
You assume too much.
I have spent far less time configuring Linux systems than I have fighting with Windows, certainly relative to the amount of time I spent using the OS.
Then there's malware. This is definitely a drawback, for now. Virtual desktops will put an end to this before long. Besides, anyone who can install and be productive on Linux will have no problem avoiding malware infections, even without any antivirus software.
Perhaps, but irrelevant. My mother may not be able to install and maintain a Linux system, but she wouldn't be able to do that with Windows either. Using it, however, to write documents, read email and surf the web she can do just fine with Linux.
Yes I'm poking fun at some if you Linux fans, but in all seriousness, I am curious what the drawbacks are, with examples :)
Not what I'm used to and doesn't really fit the way I prefer to use my computer. I don't like the window manager either. All of this is purely personal preference, and so there is no objective "right" or "wrong".
Having said that, much of the software I use on a dayly basis either doesn't work, or doesn't work comfortably on Windows.
zamar
Posts: 613
Joined: Sun Jan 18, 2009 7:03 am

Re: Switching from Ubuntu

Post by zamar »

rreagan wrote: Yes I'm poking fun at some if you Linux fans, but in all seriousness, I am curious what the drawbacks are, with examples :)
- Linux is extremely powerful scripting environment. Perl, Bash, Python are present by default. I use these a lot to write test/helper scripts for my C++ programs. Nothing like this is present in Windows.
- Makefile & GCC is very good, fast and reliable system. Nothing like this is present in Windows.
- In Linux I can install and remove programs as much as I want. In Windows if I install 100 different software packages and then remove these, I'm in trouble (the computer just works slower, it becomes more unstable, etc.).
- My wife uses Windows Vista on her laptop. The computer just slows down during the years. It looks that every 2 - 3 years I need to reinstall the Windows.
I don't know why, but nothing like this has ever happened for me with Linux.

But I agree that for average person, Windows is the best choice.
Joona Kiiski
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Switching from Ubuntu

Post by ilari »

rreagan wrote:Out of curiosity, what are examples of the downside of Windows? Please refrain from empty words like "horrible", that doesn't tell us anything. Also please spare us any of the "it's not Linux" reasons like the one above.
I use Windows 7 daily at work (and sometimes at home) and Ubuntu Linux daily at home, so I feel that I'm qualified to compare the two. So without further ado, the downsides of Windows:

* The file system is way worse that EXT3, EXT4 or anything used in the Linux land. It fragments the contents of the hard drive(s) quite quickly and makes file access a lot slower than in Linux. On my home PC the hard drive is crunching loudly when I use Windows 7, but it's almost silent when I use Ubuntu.

* The lack of a good software repository means that installing almost anything is slower, more annoying and more difficult. In Ubuntu I can install my build tools, IDEs, archive managers, media players, codecs, etc. with a single command or very easily through the Software Center. And a lot of the stuff I need is installed already, eg. the Python interpreter. On Windows I have to search for these programs with a web browser, download installers and suffer through a boatload of installation wizards.

* I have to update almost every application separately and manually. In Ubuntu all installed packages are kept up to date automatically by the package manager. Of course some Windows apps have an auto-update feature, but they're usually more annoying than helpful (eg. Apple's Quicktime updater, Skype's auto-update, Adobe's Acrobat updater, etc.).

* Lack of a good built-in command shell. The command line interpreter is still stuck in the DOS ages and can't even do tab-completion properly.

* Every Windows update requires me to reboot the computer. Sometimes multiple reboot-requiring updates are installed at the same time, meaning that right after having booted the PC I have to boot it again.

* Focus doesn't follow mouse. To me this is a serious usability problem.

* UAC. Holy crap it still sucks having to confirm and authorise every single thing I do. And sometimes the whole thing goes haywire and doesn't even let me access my own folders, which I have to fix by using some obscure admin tool.

* I hate the Start menu with passion. In most desktop environments for Linux the start menu items are neatly sorted by category (eg. Accessories, Games, Multimedia, Internet), but in Windows they're only sorted alphabetically or by installation order.
abulmo
Posts: 151
Joined: Thu Nov 12, 2009 6:31 pm

Re: Switching from Ubuntu

Post by abulmo »

Rein Halbersma wrote:
abulmo wrote:
rreagan wrote: Out of curiosity, what are examples of the downside of Windows?
Mingw/cygwin are a pain to install and use.
http://nuwen.net/mingw.html

works like a charm (under Eclipse e.g.)
Not for me. For three reasons:
1) This distro is not obvious to find, and we do not know if it is the one to prefer instead of another one.
2) gcc comes in 32 bit mode only. If you want to compile in 64 bit mode, you have to look for another web site.
3) Some libraries are missing, like pthread.

Basically if you have a chess program using bitboard and parallel search, this distro is not the right one.

This confirm my opinion: mingw is difficult to install.
Richard
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Switching from Ubuntu

Post by Don »

rreagan wrote:
Don wrote:.
Windows has these horrible kludgy solutions based on installing some sort of funky software that let's them share someone else's desktop. To do the most basic things you must be burdened with a heavy duty GUI transmitted over the Internet.
That was true, in 1999.

Out of curiosity, what are examples of the downside of Windows?
The list is huge. We could start with cmd.exe. I won't use the word horrible but let's just say it's awkward to use, cannot be easily be resized and even resizing it has serious limitations. The bash shell - compared to writing batch scripts - no contest. Bash is horrible itself as a high level language but it makes batch scripts look primitive in comparison. But bash as a shell is pretty awesome.

No awk, sed, grep, sort and many other basic utilities that have come by default on unix for years. If you install Linux you get several different programming languages by default and they are properly configured and installed. Such as a C compiler. Hello? You cannot write programs in windows without dowloading and installing something. Also, about 10 different editor choices that are installed by default.

A huge thing is code repositories. It's rare you have to find something you need and go through the pain of downloading and installing it yourself, all the distributions allow simple installation with thousands of software packages. I use emacs, if it's not on my system I do this:

apt-get install emacs

Ditto for a million other packages.

I can get many different programming languages this same way if they are not already installed. Fortran, perl, python, ruby (actually most of those will already be installed on most distributions), lua, haskell, lisp, scheme, and 20 or 30 more.

A serious problem with Windows is that it was never intended to be used in a non-graphical way and not everything is best done by grabbing a mouse. I think that was the vision and dream, but it's a bad vision. It's like never learning to read because you can just watch television. I sometimes refer to windows as a dumbed down operating system for grandma and uncle Joe and that is big part of the reason but by no means the only part of the reason.

Multiple desktops - there is only a single desktop on windows. This is not a fundamental Unix concept but it has been in Linux for years now.

Someone will probably say all of this is just a matter of software. In fact when I work on windows I generally try to install software to make the system saner - but it never feels like a seamless part of the OS like it does in Linux - there are always some limitations or glitches. And then I have to do something on someone else's system and I'm once again on my own with a broken system.

We could talk about the superior abstractions that Unix has, such as a unified directory structure. In windows you have to think in terms of which drive you are using, i.e. c:\ d:\ etc. So a file path artificially includes this extra information which is unnatural. In Unix that is abstracted away as you only have the root / and any device can be mounted anywhere and you don't have to even know you are working with multiple drives. In unix just about everything is treated in a unified way, in Windows everything "feels" like an add-on hack - the file system is just ONE example of that but by no means the only one.

On linux I can forget which machine I am on and I have even printed documents on printers in other states by accident. That could NEVER happen in Windows because you are painfully aware that everything is different.

I was trying to solve a problem with windows in the past couple of months with creating files atomically. In unix this is handled by the OS, you create a file with a temporary name, build the file and then move it to the name you want to use. The move is handled by the kernel as an atomic operation. I browsed the web trying to find a solution and I got many pages saying that "there are no guarantees" but I later discovered some recent versions of windows provides awkward ways to do this but it won't work on all windows machines. Awkward because that way of doing it was not accessible from the high level language I was using anyway and even if it did it was not guaranteed. Now you might think that is just one thing I am picking on, but it was no surprise to me, windows always provides obstacles and hurdles to doing simple things because to this day it reflects its DOS roots - where muti-tasking was considered something to be avoided.

There is also this determination to always do things in a non-standard way in windows in order to make hurdles for anyone that doesn't use Windows hoping to bully them into using windows. The browser is one example, java used to be another example although I think that has finally been solved.

I have many more thing but I'm going to stop here for now. I don't want this to become an OS war thread. I admit that not all of these things are core windows flaws (such as the browser issues) but it's all part of the windows mentality and lack of flexibility. That is probably the phrase I would use to describe the difference more than anything, a lack of flexibility.

I'm not going to say that windows has NO strengths but most people I know of who have done substantial work on multiple operating systems agree that Linux is a far better development platform. One-off things - forget it, if you have a simple one-off task you probably have to write a program if you are windows but if you are in linux you can probably do it with simple tools.


Please refrain from empty words like "horrible", that doesn't tell us anything. Also please spare us any of the "it's not Linux" reasons like the one above. Windows has quite a nice remote access approach. Very lightweight and very useable over slow connections. And it's built in, client and server. So in your statement above I really only see, "I haven't used windows in ages and it's horrible because it's not what I'm familiar with".

Obviously cost, but for the overwhelming majority the cost is trivial compared to time lost on the learning curve of a free alternative. Even for most of you, I wonder how much you would have in your pocket for all the hours you spent towards tweaking Linux, even at minimum wage for all of those hours. Maybe it's not so obvious.

Then there's malware. This is definitely a drawback, for now. Virtual desktops will put an end to this before long. Besides, anyone who can install and be productive on Linux will have no problem avoiding malware infections, even without any antivirus software.

Yes I'm poking fun at some if you Linux fans, but in all seriousness, I am curious what the drawbacks are, with examples :)

I'll start. I have no doubt in my mind that if I had a Linux box with no GUI, I would be many times more productive in life. As it is there are too many distractions between surfing the Internet and playing games. Have you seen how many cat videos are on the Internet?? How could anyone with a GUI possibly be productive?
Capital punishment would be more effective as a preventive measure if it were administered prior to the crime.
jdart
Posts: 4420
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Switching from Ubuntu

Post by jdart »

C99 support is an issue but recent Visual C++ versions are reasonably C++ compliant, including parts of C++11. It is compliant with the 2003 ISO standard, minus a quite short list of exceptions (http://msdn.microsoft.com/en-us/library ... 10%29.aspx).

--Jon
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Switching from Ubuntu

Post by Don »

Evert wrote:
rreagan wrote: Out of curiosity, what are examples of the downside of Windows? Please refrain from empty words like "horrible", that doesn't tell us anything. Also please spare us any of the "it's not Linux" reasons like the one above.
Actually, "it's not Linux" is a major reason for me.
There is a certain way to use a computer that I find comfortable. I found, empirically, that I vastly prefer the UNIX shell combined with focus-follows-mouse in a GUI. I find OS X (10.6, haven't tried any of the newer ones) tolerable because of the presence of the shell.

I know, you can install UNIX tools under Windows too. It's a lot of hassle and at the end of the day you have something that sortof-but-not-quite behaves like a UNIX system. I prefer the real thing.
Exactly. I have done the same thing to bring SOME sanity to the system but it really is not quite the same.

"I haven't used windows in ages and it's horrible because it's not what I'm familiar with".
To be fair, that seems to be a major complaint by Windows users about other operating systems: it's different, therefore it's worse. Not saying that that isn't a natural reaction.
Even for most of you, I wonder how much you would have in your pocket for all the hours you spent towards tweaking Linux, even at minimum wage for all of those hours.
You assume too much.
I have spent far less time configuring Linux systems than I have fighting with Windows, certainly relative to the amount of time I spent using the OS.
Then there's malware. This is definitely a drawback, for now. Virtual desktops will put an end to this before long. Besides, anyone who can install and be productive on Linux will have no problem avoiding malware infections, even without any antivirus software.
Perhaps, but irrelevant. My mother may not be able to install and maintain a Linux system, but she wouldn't be able to do that with Windows either. Using it, however, to write documents, read email and surf the web she can do just fine with Linux.
Yes I'm poking fun at some if you Linux fans, but in all seriousness, I am curious what the drawbacks are, with examples :)
Not what I'm used to and doesn't really fit the way I prefer to use my computer. I don't like the window manager either. All of this is purely personal preference, and so there is no objective "right" or "wrong".
Having said that, much of the software I use on a dayly basis either doesn't work, or doesn't work comfortably on Windows.
Capital punishment would be more effective as a preventive measure if it were administered prior to the crime.
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Switching from Ubuntu

Post by Don »

zamar wrote:
rreagan wrote: Yes I'm poking fun at some if you Linux fans, but in all seriousness, I am curious what the drawbacks are, with examples :)
- Linux is extremely powerful scripting environment. Perl, Bash, Python are present by default. I use these a lot to write test/helper scripts for my C++ programs. Nothing like this is present in Windows.
- Makefile & GCC is very good, fast and reliable system. Nothing like this is present in Windows.
- In Linux I can install and remove programs as much as I want. In Windows if I install 100 different software packages and then remove these, I'm in trouble (the computer just works slower, it becomes more unstable, etc.).
When I worked at MIT the few people who used Windows were unanimous about one thing - they said that from time to time you simply have to re-install windows from scratch and they just accepted that as a way of life!

It hasn't been that long since a similar thing was true - for you sanity you simply had to reboot windows a couple of time per day!

It also wasn't that long ago that you had to reboot the computer every time you installed any software. MS had people conditioned to that to the point that everyone believed it to be sensible.

Maybe things have improved a lot recently but the underlying mentality of doing everything the hard way seems baked into the the OS.


- My wife uses Windows Vista on her laptop. The computer just slows down during the years. It looks that every 2 - 3 years I need to reinstall the Windows.
I don't know why, but nothing like this has ever happened for me with Linux.

But I agree that for average person, Windows is the best choice.
Capital punishment would be more effective as a preventive measure if it were administered prior to the crime.
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Switching from Ubuntu

Post by Don »

Oh yes,

In addition to my rant, you have to PAY money to get those inconveniences.

When I purchase machines I try to get them to sell it without the OS for the discount, but most cannot do this. There was a law suit over this many years ago and I think MS lost and yet it's difficult if not impossible to buy a new computer without paying Microsoft their cut.

Don

Don wrote:
rreagan wrote:
Don wrote:.
Windows has these horrible kludgy solutions based on installing some sort of funky software that let's them share someone else's desktop. To do the most basic things you must be burdened with a heavy duty GUI transmitted over the Internet.
That was true, in 1999.

Out of curiosity, what are examples of the downside of Windows?
The list is huge. We could start with cmd.exe. I won't use the word horrible but let's just say it's awkward to use, cannot be easily be resized and even resizing it has serious limitations. The bash shell - compared to writing batch scripts - no contest. Bash is horrible itself as a high level language but it makes batch scripts look primitive in comparison. But bash as a shell is pretty awesome.

No awk, sed, grep, sort and many other basic utilities that have come by default on unix for years. If you install Linux you get several different programming languages by default and they are properly configured and installed. Such as a C compiler. Hello? You cannot write programs in windows without dowloading and installing something. Also, about 10 different editor choices that are installed by default.

A huge thing is code repositories. It's rare you have to find something you need and go through the pain of downloading and installing it yourself, all the distributions allow simple installation with thousands of software packages. I use emacs, if it's not on my system I do this:

apt-get install emacs

Ditto for a million other packages.

I can get many different programming languages this same way if they are not already installed. Fortran, perl, python, ruby (actually most of those will already be installed on most distributions), lua, haskell, lisp, scheme, and 20 or 30 more.

A serious problem with Windows is that it was never intended to be used in a non-graphical way and not everything is best done by grabbing a mouse. I think that was the vision and dream, but it's a bad vision. It's like never learning to read because you can just watch television. I sometimes refer to windows as a dumbed down operating system for grandma and uncle Joe and that is big part of the reason but by no means the only part of the reason.

Multiple desktops - there is only a single desktop on windows. This is not a fundamental Unix concept but it has been in Linux for years now.

Someone will probably say all of this is just a matter of software. In fact when I work on windows I generally try to install software to make the system saner - but it never feels like a seamless part of the OS like it does in Linux - there are always some limitations or glitches. And then I have to do something on someone else's system and I'm once again on my own with a broken system.

We could talk about the superior abstractions that Unix has, such as a unified directory structure. In windows you have to think in terms of which drive you are using, i.e. c:\ d:\ etc. So a file path artificially includes this extra information which is unnatural. In Unix that is abstracted away as you only have the root / and any device can be mounted anywhere and you don't have to even know you are working with multiple drives. In unix just about everything is treated in a unified way, in Windows everything "feels" like an add-on hack - the file system is just ONE example of that but by no means the only one.

On linux I can forget which machine I am on and I have even printed documents on printers in other states by accident. That could NEVER happen in Windows because you are painfully aware that everything is different.

I was trying to solve a problem with windows in the past couple of months with creating files atomically. In unix this is handled by the OS, you create a file with a temporary name, build the file and then move it to the name you want to use. The move is handled by the kernel as an atomic operation. I browsed the web trying to find a solution and I got many pages saying that "there are no guarantees" but I later discovered some recent versions of windows provides awkward ways to do this but it won't work on all windows machines. Awkward because that way of doing it was not accessible from the high level language I was using anyway and even if it did it was not guaranteed. Now you might think that is just one thing I am picking on, but it was no surprise to me, windows always provides obstacles and hurdles to doing simple things because to this day it reflects its DOS roots - where muti-tasking was considered something to be avoided.

There is also this determination to always do things in a non-standard way in windows in order to make hurdles for anyone that doesn't use Windows hoping to bully them into using windows. The browser is one example, java used to be another example although I think that has finally been solved.

I have many more thing but I'm going to stop here for now. I don't want this to become an OS war thread. I admit that not all of these things are core windows flaws (such as the browser issues) but it's all part of the windows mentality and lack of flexibility. That is probably the phrase I would use to describe the difference more than anything, a lack of flexibility.

I'm not going to say that windows has NO strengths but most people I know of who have done substantial work on multiple operating systems agree that Linux is a far better development platform. One-off things - forget it, if you have a simple one-off task you probably have to write a program if you are windows but if you are in linux you can probably do it with simple tools.


Please refrain from empty words like "horrible", that doesn't tell us anything. Also please spare us any of the "it's not Linux" reasons like the one above. Windows has quite a nice remote access approach. Very lightweight and very useable over slow connections. And it's built in, client and server. So in your statement above I really only see, "I haven't used windows in ages and it's horrible because it's not what I'm familiar with".

Obviously cost, but for the overwhelming majority the cost is trivial compared to time lost on the learning curve of a free alternative. Even for most of you, I wonder how much you would have in your pocket for all the hours you spent towards tweaking Linux, even at minimum wage for all of those hours. Maybe it's not so obvious.

Then there's malware. This is definitely a drawback, for now. Virtual desktops will put an end to this before long. Besides, anyone who can install and be productive on Linux will have no problem avoiding malware infections, even without any antivirus software.

Yes I'm poking fun at some if you Linux fans, but in all seriousness, I am curious what the drawbacks are, with examples :)

I'll start. I have no doubt in my mind that if I had a Linux box with no GUI, I would be many times more productive in life. As it is there are too many distractions between surfing the Internet and playing games. Have you seen how many cat videos are on the Internet?? How could anyone with a GUI possibly be productive?
Capital punishment would be more effective as a preventive measure if it were administered prior to the crime.
wgarvin
Posts: 838
Joined: Thu Jul 05, 2007 5:03 pm
Location: British Columbia, Canada

Re: Switching from Ubuntu

Post by wgarvin »

Don wrote:When I worked at MIT the few people who used Windows were unanimous about one thing - they said that from time to time you simply have to re-install windows from scratch and they just accepted that as a way of life!
I hear this claim a lot, and I expect it is true for most Windows users -- who are using bloated "default" installs with all sorts of unnecessary weird Microsoft junk in them. Speaking only for myself, I have been using one flavor of Windows or another since Windows 95, and at least since the days of Windows 2000 I have never had to reinstall a Windows OS on one of my own machines. Every few years I get a new machine, spend an hour or two configuring it once (disabling all of the unnecessary services, fixing the Explorer shell settings so its kind of usable, installing Firefox with adblock and noscript, etc). Windows XP was the sweet spot for this -- I have a WinXP box on my desk at home that I bought several years ago, and I've never had any difficulties with it. It's still just as lightning fast as it was the week I bought it. I've browsed the web for years on it and never had any problems with viruses or other malware. (Every few months I install the latest versions of a few malware scanners and scan it; they never find anything.)
Don wrote:It hasn't been that long since a similar thing was true - for you sanity you simply had to reboot windows a couple of time per day!
I almost never reboot my XP machine at home. Windows Update is disabled (along with most of the stupid Microsoft services that end up having vulnerabilities in them that necessitate pushing frequent security updates in the first place). I don't use Internet Explorer for browsing the web, it only gets used as an embedded HTML control. Flash, javascript and similar things are blocked from running until I whitelist them. I also run an ancient software firewall that lets me whitelist apps that want to open network ports. That's not foolproof, but it does tell me which apps are trying to "phone home" when they have no reason to do so. Anyway, I can use this machine for months without rebooting it, and its completely stable. I also turn off the auto-updaters in apps that have them (such as Firefox) and refuse to install apps where that isn't possible (such as Chrome). The "default" Windows install that malware authors are trying to exploit is a moving target; my machine has been left far in the past. Because I'm running ancient versions of various Windows components and various apps, I am theoretically vulnerable to some old exploits, but in practice none of the drive-by attacks that work against stock WinXP machines seem to work against mine. By turning off all unnecessary services, and using a bit of common sense with Internet-facing things, its possible to have a very stable Windows box that never needs to be rebooted. It does take an hour or two of fiddling when you first set up the box, but I imagine that's true of Linux too.

I have a laptop with Windows 7 that also seems pretty stable, but I haven't turned off as many of the built-in services on that one, and I also don't use it enough to really know if its as stable as it seems. I know I can suspend or hibernate it lots of times without ever shutting it down, but I usually shut it down anyway since I go through stretches of weeks at a time where I don't use it.

[Edit: as a long-time Windows user, I rather like the Win95/NT style of desktop manager. I configure the appearance as much as possible like Win95/NT on each box, turning off whatever stupid shiny graphics stuff MS has added to that version of Windows. If the classic UI is gone from Windows 8, I will never install it, and will have to someday switch to Linux instead. But focus-follows-mouse always felt weird and unnatural to me. I concede that unix has far better command line and scripting support, and the centralized repo for software packages is also much nicer than anything found in the Windows world. The main thing I would miss if I switched to Linux, would be the ease of installing and running games that were written for Windows. Oh, and I like Visual Studio as an IDE... but I were switching to a different OS, I'm sure I could live with Eclipse or XCode or something.]