Linked by Antonio Ospite on Fri 21st Oct 2011 23:35 UTC
Gnome Antonio Ospite explores Gnome 3 in fall-back mode and tries to make it look and behave more like Gnome 2.32 again. This summer Linus Torvalds made it to the news for complaining about the gnome-shell design; Gnome fall-back mode is the solution for those like Linus who can't - or better, do not want to - use gnome-shell just yet.
Thread beginning with comment 493672
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Dump Gnome
by ebassi on Sat 22nd Oct 2011 07:32 UTC in reply to "RE: Dump Gnome"
ebassi
Member since:
2006-02-28

ESR should lay down the crack pipe, and you with him.

you two obviously haven't been working for the past 6 or 7 years to optimize the startup time of a complex system, with multiple moving parts, all reading the configuration from a centralized source (necessary so that you get notifications when anything changes, instead of using a ton of file system notifications and run through the kernel limits).

using text for the database is stupid, wasteful, and totally inefficient.

text for configuration is useful if you have to read it once, and the only write operation happens as the user opens the file with a text editor; imagine if we said that Gnome users had to stop the session to change the settings, and that there would be no settings UI whatsoever.

oh, well, this is ESR, who doesn't believe in allocating memory, and left a static array of 1024 multi-kilobyte structures in GPSD:

http://gypsy.freedesktop.org/why-not-gpsd.html

Reply Parent Score: 0

RE[3]: Dump Gnome
by Soulbender on Sat 22nd Oct 2011 07:48 in reply to "RE[2]: Dump Gnome"
Soulbender Member since:
2005-08-18

you two obviously haven't been working for the past 6 or 7 years to optimize the startup time of a complex system

No, but for more than 15 years. Actually, not at all. I don't spend much time at optimizing the startup since it's a waste of time, unless it's ungodly slow but that's usually not the case and when it is it's never due to the use of text configuration files..Startup, as the name implies, happens very seldom and it's not worth spending too much time on. Run-time performance is what counts and the configuration format has very little to do with that.

using text for the database is stupid, wasteful, and totally inefficient.


Wrong, wrong and wrong. What's stupid is using a configuration format that can not easily be repaired and managed by humans, what's wasteful is spending time on optimizing things that has little to no impact and it's inefficient to spend time on solving a problem that does not need solving.

Imagine if we said that Gnome users had to stop the session to change the settings, and that there would be no settings UI whatsoever.


You know, I could swear that this has worked perfectly fine up until now in both GNOME and KDE. I distinctly remember there being UI's for settings in pretty much all GNOME and KDE apps.

Reply Parent Score: 12

RE[4]: Dump Gnome
by jrtokarz on Mon 24th Oct 2011 09:06 in reply to "RE[3]: Dump Gnome"
jrtokarz Member since:
2011-10-24

It's ironic that the configuration is in a binary blog for the sake of 'speed' and yet a good chunk of the Gnome Shell 'code' is javascript which is all text!

Reply Parent Score: 3

RE[3]: Dump Gnome
by bhtooefr on Sat 22nd Oct 2011 12:06 in reply to "RE[2]: Dump Gnome"
bhtooefr Member since:
2009-02-19

OK, so you check to see if the text file has changed (timestamp should be sufficient, filesize if you really want to get fancy) on startup. If it has, you parse it, and convert it to the hidden binary blob. If it hasn't, you just use the binary blob.

There, you get the speed benefit of the binary blob, with the ease of configuration of the text file.

Alternately, if you don't want the overhead of checking for the binary blob, create a "configuration compiler" that you manually run whenever you change the configuration.

Reply Parent Score: 7

RE[3]: Dump Gnome
by Bill Shooter of Bul on Sun 23rd Oct 2011 15:48 in reply to "RE[2]: Dump Gnome"
Bill Shooter of Bul Member since:
2006-07-14

I don't even really hate the interface of shell that much, but the binary configuration is an absolute sin. I was playing with it, now that I now its using binary configuration, I'll never switch to it. That is by far the worst part of gnome 3.

Reply Parent Score: 2