Samba's Jeremy Allison On Linux's Future
TRNick writes "Jeremy Allison talks Ubuntu, why he loves Gnome, and the trials and tribulations of open source development in a wide-ranging interview on TechRadar."
← Back to Stories (view on slashdot.org)
Thats a pretty thin Opening Post.
I don't know why, but whenever I try out KDE (every few years or so) there's something about it which drives me back to GNOME again. I'm trying out KDE4, which I really like but the real problem is program integration. The majority of useful utilities on Linux are written with GTK widgets rather than Qt, and while the Gnome-Qt bridge thingy which replaces GTK objects works for the most part, the different File Open/Save dialogue boxes grate on me.
the different File Open/Save dialogue boxes grate on me
Which is exactly one of the reasons why I prefer KDE. I don't know how you can stand the Gnome requesters! They seem horrible to me.
But at the same time it grates that some applications only exist in their Gnome version, Firefox for example.
Although most of the time I just look for a KDE version of the application (like using Kopete instead of Pidgin, although it is not as feature rich it at least integrates perfectly with KDE)
I bought a laptop for my wife some time ago. It came with a extremely bad distro that tried to resemble Windows XP in every way - and, of course, it failed.
So, I asked her if she wanted to try Ubuntu, and installed it in the laptop. I had some problems with drivers for the webcam (which still doesn't work) and the wireless driver (which works using ndiswrapper).
She never typed a single 'apt-get' in the command line (in fact, I think she doesn't even know there is one) but, after the initial setup, I didn't have to help her at all. And now, even being an average computer user, she is trying to spread Linux to her friends and colleagues.
Any life is made up of a single moment, the moment in which a man finds out, once and for all, who he is.
However, it will be the compatibility with M$ software that will push Linux mainstream.
I wouldn't be allowed to install Linux on my laptop if didn't work with the corporate network. I would be fired if I didn't open the Microsoft Word documents.
I'm glad that Linux can talk Microsoftish, so I can use Linux at my will.
Okay next to nothing about Samba 4, AD, or how about the potental for better integration with and possible replacing of Exchange now that the protocol have been documented and released?
See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
This pegs the meh-o-meter. Even if I was the biggest fan of KDE I would still shrug at it (but I like XFCE better nowadays)
Exactly.
Microsoft compatibility is a misleading term as well. It is "Linux Compatibility With Microsoft Products."
Microsoft is not compatible with anything else but rather new microsoft products by design.
Linux, by design, is compatible with almost anything that it needs to interact with on a network. While this causes there to be proprietary code in your distro in some cases, it opens the door to actually using Linux.
The thing is, even if you are able to convert your whole company to Linux, companies do not operate in isolation, and hence the rep with his Linux empowered laptop will eventually have to go and do a presentation at a Windows shop, and hence compatibility will enable you to make the move to Linux with confidence.
Seven Days with Ubuntu Unity
Samba is a transition tool that allows businesses to move away from Microsoft. It's the leverage that a company's IT professionals (who are, more often than not, Linux-friendly) can use to transition away from Microsoft tools. When a company's Microsoft boxes are all talking to shares on Linux servers anyway, and saving scads of money doing it, it's more compelling to say let's begin to transition other things away from Microsoft.
Linux isn't going to displace Microsoft by ignoring it. Linux will displace Microsoft by offering reasonable alternatives at a more reasonable price, and by making the transition as easy as possible. To that end,
Samba is one of the best things that has ever happened to Linux.
Am I the only one who initially thought the name of this article was "Jennifer Aniston on why she loves Gnomes"
I'm not sure. Is NFS a viable alternative? I keep seeing Samba get better performance than Windows->Windows networking and have heard that NFS 'sucks' and 'wait until NFSv4'.
NFS does suck. It trusts the client to do quite a bit of access control enforcement insofar as it expects the UIDs to be the same on the client and the server.
While KDE's speed and overall configurability are a huge plus, it is really the apps that make KDE win over GNOME for me. GNOME just can't come close to Amarok, Konqueror (KIO slaves in particular), and K3B.
df -h
Any administrator will tell you that NFS sucks. NFSv4 simply sucks less.
NFS is fine for systems which have static IP addresses, filesystems that have limited writes and do not require high-performance access for reads of many files. If you need better performance, you should look at direct-attach options such as SANFS, Veritas Storage or GPFS.
NFS has a nasty tendancy of tying itself in knots when a server goes offline. Witness the zombie processes that can't unlock themselves. Even if you go down the route of soft mounts and interruptable locks, it can be messy. As the original server comes back up, all the remote systems relying on it can suddenly flood the machine with requests for NFS access and knock it over again, requiring some careful masking of the servers traffic for a while.
Samba isn't perfect but it works better for dynamic IP, has reasonable performance and generally doesn't get into locking hell. You can also access remote services such as printing over Samba.
My 2 cents...
Cheers,
Toby Haynes
Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
Gnome is a problem because it doesn't encourage desktop use of linux in the sense that users use applications that are written to work and play well together. Gnome does nothing to encourage that.
This is the reason why OSX (and even windows) is beating the crap out of linux on the desktop and why it always will.
The average Gnome user (according to /.'s own roblimo) patches together a bunch of applications that are pretty much desktop agnostic.
The other two cases are the "optimizer" that worries about the terminal program they're using taking up another half kilobyte of memory when they recompile their kernel, or a developer that doesn't care about the desktop because all they really do is development.
All of these type of users would be just as well using Windowmaker or FVWM or any other window manager that we used to fight over last decade.
KDE has its issues, but at the very least it attempts to encourage users to utilize the K* applications and those K* applications actually work together very well. Further, the environment is a fairly consistent development target for applications.
At the moment, KDE is really the only coherent desktop environment that the free unix world has (with a possible nod to Xfce). Enlightenment development stalls out on a regular basis and as it stands now is years behind even Gnome for the most basic stuff. GNUstep was a great idea, but its in the same boat as E, too little, too late.
Finally, let's remember why Gnome was initially developed -- as a political response to some issues with QT that no longer exist -- and more often than not Gnome is still chosen over KDE in distros due to politics.
Gnome used to be my favorite window manager, until I realized that the focus model is totally wrong, and there is no way to fix it. It lies in this principle,
No window should ever steal focus ... ever. Don't even do it if the computer will blow up, or the world will end, if I fail to respond.
If you are trying to maximize your computing efficiency, focus stealing is your worst enemy. It's entire purpose is to slow you down.
Focus stealing breaks flow and can also be a security issue. Let's say you are typing away in a text editor and some other application decides it needs you to make a decision in the form of a pop-up window. Just as you are hitting enter in your text editor, the window pops-up, grabs your return keystroke and accepts it as your answer, doing whatever the default action is. Or the case where you are typing a password and a dialog steals focus and you type part of your password out in plain sight into the dialog.
A lot of this can be blamed on Windows for having a really shitty focus model, which everyone else tries to emulate in order to appeal to mouse-driven Windows users, I guess. I have noticed that Vista has a slightly improved focus over XP, but still very wrong. This focus model is the same attitude that gets you the Windows update manager that bugs you every 10 minutes by stealing focus, or worse, automatically rebooting while you aren't even at the machine (this is simply unforgivable).
Unfortunately, if you switch to a reasonable focus model, you will break poorly designed applications that are used to the broken focus models (OpenOffice, Matlab, any IDE, to name a few). These are applications that use a lot of pop-ups that don't "disable" the main window, which is when it is ok. For example, save dialogs are just fine for pop-ups: you can't have the main window in focus, so the change in focus to the dialog is natural and doesn't have a negative effect (it's not actually focus stealing).
However, pop-up text-searching is always absolutely wrong, for reasons beyond focus stealing too*. You will find that removing focus stealing will (correctly) not give these search boxes focus, which really breaks things for these applications. (Firefox wins here, maintaining its fairly good usability, with the integrated, incremental search bar.)
KDE does actually have a setting that can strictly stop focus stealing, in the form of a sliding bar. This works most of the time, but it's not perfect. New windows do in fact steal focus for a few milliseconds. This is enough to occasionally steal a keystroke, but I can live with it for now.
At work, I only get to choose between Gnome and KDE, so some other window manager out there may get this 100% right and I haven't explored it. At home I use IceWM, which also has a broken, unfixable focus model. However, the software I use at home is better behaved, making it less of an issue.
* Side rant here. For seasoned Emacs users, the incremental search function is frequently used for navigation (see item 4). If I need to move the point by more than a few characters or words, I start a text search (C-s, C-r) and type some text at the point I want to go. I do this all the time without even thinking about it. This doesn't work in a pop-up text search, even ignoring the fact that the aren't incremental either. When you bring it up, usually ctrl+f, there is always a delay to the window coming up. If I start typing my search right away, as I am used to in Emacs, it will go into my document rather than the search box. I find this incredibly annoying. I shouldn't be waiting for the computer like that.
slightly over the top, but there's a lot of truth in that. The Linux community has a "good enough" attitude. CVS was good enough (thankfully, there are finally better solutions). X is good enough. Interopability with Windows is good enough. No. It's a crutch that lets MS call their shit cross platform when they should be eliminated. Say NO to mediocracy. Say NO to Microsoft compatability.
I don't know that it's entirely true. I use Samba on my Linux box. But that's because I'm temporarily using it headlessly via ethernet with X, SSH, and so on through my folk's Windows computer. I don't consider it a crutch at all. When I first changed off windows about a year ago, it was hard. Now I do a lot of my work on my linux box (and it's harder to do the stuff on windows now).
OS agnosticism is a good thing. It can be achieved in a couple of ways: open standards that everyone follows (probably the best way), and everyone implements everyone else's standards enough to make it work (not the most optimal, but it works).
Disclaimer: The opinions and actions of the US Gov't are in no way representative of those held by this author or its ci
I don't know how windows works low level but in X windows theres no excuse for focus stealing since its quite easy to make a window pop up over all the others but not take the focus so you still keep typing away in the window underneath.
Since you mentioned it, I think Emacs is my favorite desktop manager. It's also my favorite CAD program.
Just disrupt the deflector shield with a tachyon burst.
*wonders why sibling posters took this so seriously.*
At least he has the sense to post AC when drunk... :-)
I have determined that my sig is indeterminate.
Sir, you seem to be familiar with GNOME, so I'll throw out some more questions about KDE equivalents in GNOME, and maybe you can convince me to switch.
These are the main things that keep me with KDE. In particular, there are a whole bunch of scripts I've written with DCOP calls.
There are a few things inducing me to consider GNOME.
So, if I can get comfortable with GNOME, it might be worth serious consideration.
Thanks for any help you can give.
404555974007725459910684486621289147856453481154 in hex is "You sank my Battleship?"
[GPG key in journal]
in most situations i have tested scp is faster than samba and its encrypting the data so something is
not so good with samba.
[site]
I have used both KDE and GNOME for extended periods (total, over a year for each) and I just can't claim to have a strong preference for either. I like how KDE is configurable, but sometimes it is too cluttered. I like that GNOME looks cleaner, but it can be irritating when I want to change something but can't. I like KDE's ioslaves, but GNOME also integrates things like ssh into Nautilus fairly well. GNOME's defaults are good; by default KDE 3.5 makes a bunch of irritating sound effects.
I have gone back and forth between them but have now settled on KDE just because I know how to make it do what I want, not because I have a strong preference. Before I used GNOME, not because I had a strong preference but because I used Ubuntu.
Overall it seems to me the two desktops are somewhat different so it is good to have them both. I don't know why folks like to swear one of them is "better" because, if it were better, it would be the only one in existence. Tools fall into disuse when there is an obviously superior alternative.
Since this is (was?) a place for programmers it would be more interesting if these wars talked about the differences of programming for KDE versus GNOME.
Penny - plain text accounting
Good point! Not necessarily easy to implement, but you do point out something that would give a more user-friendly feel, since lay users find graphics less intimidating.
Maybe, to cut down on CPU load, there can be a blank picture next to each program with "Click to see screenshot." Also another (easily visible/accessible) option saying, "Click to load all screenshots (might take a long time!)". And that option must be cancellable if the user has decided that the wait is too long.
404555974007725459910684486621289147856453481154 in hex is "You sank my Battleship?"
[GPG key in journal]
Say NO to Microsoft compatability.
Say no to wide-spread Linux usage!
I don't think parent is meant as Flamebait. It's the eventual result of Microsoft incompatibility (at least it would be in most IT shops). If you remove MS Office compatibility from OpenOffice, and Samba from Linux, unless you're in a university or some other place that does number crunching, the only use for Linux would be as a webserver. With rdesktop, Samba, et al, I'm able to gradually nudge my users into a *nix world by using only Linux on my laptop (which I take to meetings just to show off compiz).
While I may agree with some of the sentiment about things only being "good enough" but interoperability is what helps people transition their networks to Linux. For example if someone wants to import a Linux workstation into a Windows environment, it will do fuckall if they cannot access useful shares on the SMB shares. Sure you can say "Just move everything over to NFS" but that takes time, money, and effort. Transitions can happen but people need things in the mean time and I think SMB is doing a phenomenal job bridging the gap between Windows and Linux. Also lets say for example, just hypothetically that maybe an office doesn't want to move over to 100% Linux. You know "best tool for the job" etc and so on, so while you may have animosity towards Microsoft, it is the a top player in office environments and when you're fighting a uphill battle, you try to be as compatible as possible, make the transition smooth, and give users less of a reason to use the other guy's product if your product does the same thing and also inter operates with the competition, people will be more inclined to use it.
Reading this post, it's obvious that the 'choice is good' mantra is so simplistic as to be useless.
When it comes down to desktop environments, if you need to know all these details to choose best of breed apps from various desktops, you're essentially gonna end up picking one or the other desktop and living with its deficiencies. That's a choice of sorts, but hardly optimal.
That isn't to say that both KDE and GNOME are not better than they would otherwise have been without the other as competition to spur them along - though Windows and OS/X ought to provide competition enough for that...
But seriously. The advantages of competing development have been reaped, and we're left with the problems. Various incompatibilities and no logical target for any new app. KDE, GNOME and freedesktop need to work together toward a new goal. Define a set of shared services that all underlying toolkits can rely on for common dialogs, themes, etc. Ultimately produce a desktop on which there are no visible differences between a GTK app and a QT app. Or as close as you can get.
The ultimate question is whether there's something about FOSS that makes such cooperation impossible. Obviously, nobody can be forced to respect any kind of dictated standard - though it seems like within the desktops, devs do respect the standards. Yes somebody could always fork off yet another desktop, but ultimately if the GNOME and KDE muckety-mucks could agree to cooperate, they could more or less impose their decisions on the rest of us. And about now, that sounds okay - as long as it works like KDE ;)
As it is, we're ending up letting Ubuntu (a good, but not great distro) make our decisions for us. Even somebody like Jeremy Allison ends up pretty unenthusiastically 'endorsing' GNOME because he figures Ubuntu is the new 'standard target'. But he doesn't sound thrilled...
Posted from my Android phone. Oh, I can change this? There, that's better...
??
1- NFS performance is amazing. It isn't the protocol you have performance problems with it is the transport (layer 1 or layer 2). The protocol in a transport might make a couple % points difference, and that even rarely.
The transport is where it is at. Comparing gigabit with FC is a losing battle for NFS, but compare 10G with FC (even 8G FC) and you have NFS at the top of the performance heap right now for mass storage, only iSCSI is in the same ballpark- but it is also on... 10G ethernet. iSCSI also cannot do simultaneous reads/writes like POSIX compliant NFS can. Direct attach is miserable because you invest loads in disk and can only use it on one server. What if you want to share that data around? Replicate? Islands of storage?
2) use automounter. Seriously, this hasn't been a problem for 5-10 years. Automounter, hostnames, don't use IP addresses (better if you can reverse the addresses).
You obviously haven't maintained NFS either recently or in a large environment.
NFSv4 does things your post doesn't even mention (security and ACL improvements, some performance in some cases).
Nothing wrong with apt-get...Since using Linux about 2 years, I have used the keyboard more than I did with the previous 6 of windows xp....I feel like I'm actually *using* my computer rather than a CPU housing with a mouse....Regarding GNOME/KDE I noticed that Debian used to come with KDE by default, but now it installs GNOME ...I bet there were a few tears and gnashing of teeth at the KDE devs office...but I think it was the right choice.
Absolutely.
Boss: Wait, but if you're using this "linux" how will you use outlook? ..No difference ... So why would I care?
Me: I'll be running windows in a VM
Boss: So it'll make..
Me:
Boss:
I never understand the need to drag and drop things between windows. If you don't need that, stay with the lightest, reasonable, window manager - FVWM2.
However, it will be the compatibility with M$ software that will push Linux mainstream.
It was MS Word incompatibility that caused it to become the de facto standard when MS convinced PC manufacturers to pre-load Windows. There were many UNIX based and proprietary OS based word and document processing, and plublishing tools that were (only a few still exist) far superior to Word.
Prior to those days, MS used to rant about compatibility until it became a power buzzword.
It is a sad truth that the world of IT and computing in general would be better off tomorrow if MS disappeared from the face of the earth.
The dearth of computing platforms is already frightening. No one should be pushing future business towards the existing 'standards' of MS compatibility.
Linus is oft quoted as saying that he has no wish to make Linux compete with MS.
He is wise.
He is not alone. Thankfully, there are companies like Apache, and projects like perl and php, that defy the corporate doctrine of market share, in favor of innovation and common sense.
Since about 1999 KDE has had problems with major distributions. It started with Debian (though that is fixed) then RedHat was very pro-Gnome, and Sun's Java desktop. Just look at who are the members of the Gnome foundation particularly 6-8 years ago. The OEM versions Progeny and User Linux were both Gnome based.
In the end though KDE has out innovated Gnome fairly consistently. Linux users pick KDE over Gnome for themselves by a large but not overwhelming majority. Ubuntu started off Gnome only but KDE users demanded a KDE version. On the other hand Mandriva (Mandrake) had to go the other way.
There just isn't a clear winner today. Moreover the two diverged heavily in their plusses and minuses and design choices.
However, it will be the compatibility with M$ software that will push Linux mainstream.
Of course, and with pretty much anything else.
It had a big advantage in being able to decipher files (having access to a wealth of open tools) and protocols through a wealth of open libs) that most proprietary systems, most notably Windows are blind and deaf to unless you invest in several compatibility packages.
In the past 10 years that I've been setting up Linux machines for small and middle sized shops, the main point was that they were typically the simplest ones to just drop in (although a BSD would have worked equally well in most cases I guess) with associated simplicity/security/simplified maintenance (at least from my POV). And I haven't had any complaints yet.
Mostly, Linux "just works". And then, it keeps on working. No weird crashes (or I've always tracked them down to faulty hardware), no incomprehensible messages in syslog à la Mac OS, no daemons running that nobody knows about à la Windows.
Nowadays I'm putting it on workstations for "plain" users more and more often. And those who still keep a legacy Windows machine because of some old app to ease the transition (old machines won't have enough RAM to run a virtualizer) actually typically won't run anything else in Windows after just a few weeks. "It's just to crappy" they say.
IMO Linux has a very bright future in the workplace. And once people use it at work, they'll bring it home.
May contain traces of nut.
Made from the freshest electrons.