Drew DeVault is a user on cmpwn.com. You can follow them or interact with them if you have an account anywhere in the fediverse.
Drew DeVault @sir

Windows: let's use a proprietary database format people need a GUI to manage and complicated scripts to automate

Unix: how about like, text files

Gnome: hey how about a proprietary database format people need a GUI...

· Web · 12 · 32

@sir proprietary? gnome seems open source...

@SoniEx2 proprietary has multiple meanings

@sir @SoniEx2

Sorry if I'm being pedantic, but "recondite" might be a more appropriate adjective for GNOME's gconf formats.

en.oxforddictionaries.com/defi

@starbreaker @SoniEx2 proprietary is correct, it's specifically designed for Glib with an opaque underlying storage system

@sir @SoniEx2 It might be specifically designed for Glib, but the only thing stopping developers from using it elsewhere is their own good sense.

@starbreaker @SoniEx2 nothing stops people from implementing the Windows registry either, see Wine. Proprietary is definitely valid here

@sir when dconf was first introduced there were claims that it vastly improved startup times but I didn't really believe the hype, and given the way gsettings schemas introduce more filesystem objects I don't see how things are actually simplified in practice. has anybody revisited this stuff with a critical eye?

@sir I remember when Theodore Ts'o said that everyone should use a registry instead of text files as his answer to ext4 losing data

@vi @sir
ext4 losing data?
I thought only ffs does this...

@Wolf480pl ext4 truncating files after unexpected shutdowns was very common

I've used ffs for years, never lost anything, but I lost data in the week or two that I used ext4 for.

@vi
Isn't ext4's journal supposed to prevent metadata corruption on unexpected shutdown tho?

Also, I've heard @mulander get his git repo on ffs corrupted on sudden shutdown, where a piece of another file somehow got put in .git/refs/heads/master

@Wolf480pl @mulander Files opened O_TRUNC were immediately truncated, but then ext4 would take its sweet time flushing the new data to disk, so if power cut between the truncate and the flush, ext4 would think the file was *supposed* to be empty. T'so argued for months that this was a feature.

@vi @mulander and then they added a heuristic to detect such use and flush the file immediately?

@sir
Windows: hey what about being able to project virtual files onto the filesystem

9p: kill me now. It's over. Goodbye cruel world.