News for hackers. Stuff that matters.
Re:Appropriate Uses for SQLite by michaelcampbell on Sunday September 25, 2016 @10:49PM (#12578897)
Ah, systemd.
Re:Appropriate Uses for SQLite by vacri on Sunday September 25, 2016 @11:08PM (#12578961)
Don't worry, you can just have journald send loglines across the network to a centralised logserver...

... oh, wait, that hasn't been solved yet. Instead, there's a variety of hacky workarounds (send it to rsyslog and get it to ship; follow a journal with ncat and ship that; some others). Centralising journald logs is my current ops problem de juor.

Re:Appropriate Uses for SQLite by duncan_bayne on Monday September 26, 2016 @12:37AM (#12579270)
"Those who do not understand UNIX are condemned to reinvent it, poorly" - Henry Spencer
Re:Appropriate Uses for SQLite by hackits on Monday September 26, 2016 @01:08AM (#12579363)
Does that imply that LINUX was implemented poorly? I allays found the concept of socket file's to be mysterious things (coming from a windows background)
Re:Appropriate Uses for SQLite by pjc50 on Monday September 26, 2016 @04:43AM (#12580246)
Socket file descriptors were in UNIX before Linux was written. They were eventually copied into Windows via "Winsock", and Windows shares the same basic idea of using ReadFile to access the sockets.

(The "reinvent it badly" is systemd replacing syslogd without re-implementing functionality that was important to a big subset of admins, because the people who wrote systemd are focused on the personal workstation case to the exclusion of all others)

Re:Appropriate Uses for SQLite by duncan_bayne on Monday September 26, 2016 @11:48AM (#12582803)
But more fundamentally than the desktop / server focus, they either don't understand or don't value what makes UNIX great.

systemd is in many respects a major departure from UNIX philosophy, and I predict it will mark an inflection point in the quality and usability of Linux distros that adopt it, hence my efforts to migrate my own systems to FreeBSD.

For those wondering what I'm banging on about, please read The Art of UNIX Programming, which should have been called The Philosophy of UNIX:

http://www.catb.org/esr/writings/taoup/html/.

Edit: what I mean by fundamental is that it shouldn't matter whether the tools are intended for desktop or server use; they should be designed to interoperate seamlessly using text protocols via pipes, sockets and files. That way they can be composed, filtered and transformed in ways not yet dreamed of by their creators. The systemd folks are falling into the Microsoft and Apple trap by trying to anticipate how their software will be used, instead of building it so it can easily be hacked upon for uses they themselves haven't dreamed of (which oddly seems to include 'servers').

To put it bluntly: systemd has neither the hacker nature nor the UNIX nature, and history has been unkind to OSs with neither. I'm betting against it being a Good Thing in the long run.

Re:Appropriate Uses for SQLite by qwertyuiop924 on Monday September 26, 2016 @03:50PM (#12584982)
Yeah. As much as I hate ESR (I hate to beat that dead horse, but I don't want anyone getting the impression that I like him) he got it right here in this case, and Systemd definitely does the Wrong Thing.

It's not a Good Thing now, though: It's an attack surface.

Re:Appropriate Uses for SQLite by duncan_bayne on Monday September 26, 2016 @05:20PM (#12585666)
Agreed - what I meant was, in the long run, I expect that systemd will prove harmful to GNU/Linux in general, strategically.

Also FWIW, I like ESR a lot :) I'm mildly concerned about thread drift, but... why do you dislike him so?

Re:Appropriate Uses for SQLite by qwertyuiop924 on Monday September 26, 2016 @07:49PM (#12586585)
He's an okay programmer, but he's got a frankly wacko political agenda (Ayn Rand, Libertarian, racism, paranoia etc.), he's mismanaged The Jargon File by putting in some of his own phrases which nobody else uses, and he's just an all-around unpleasant person.

Honestly, he's kind of worse than RMS, who is merely unpleasant to be around...

Re:Appropriate Uses for SQLite by duncan_bayne on Monday September 26, 2016 @08:09PM (#12586671)
I agree on Rand and Libertarianism - although (as an Objectivist myself) it may interest you to know he's not an Objectivist, as he objects to several aspects of Rand's philosophy. I still have his suggested reading in that area on my TODO list.

But racism, and paranoia? I'd (seriously) like to see evidence of those if you have them. Nothing I have seen him write or do suggests he treats people in any way other than as individuals, on their merits alone.

Re:Appropriate Uses for SQLite by qwertyuiop924 on Tuesday September 27, 2016 @06:54AM (#12588595)
Did you miss the blog article where he said a friend had told him that women were trying to have sex with OS leaders, so they could accuse them of rape?

Sounds pretty paranoid to me.

I might have been wrong about the racism stuff. I swear I saw some stuff, but I can't find it now, so I might have been confused with somebody else.

But at the end of the day, he's still an unpleasant person.

Re:Appropriate Uses for SQLite by bnolsen on Monday September 26, 2016 @11:13PM (#12587214)
void linux is a great holdout against systemd.
Re:Appropriate Uses for SQLite by qwertyuiop924 on Tuesday September 27, 2016 @07:01AM (#12588620)
Pretty cool. The other holdouts are gentoo, and part of the Arch userbase, because Arch is very hackable, and someone set up a repo for openrc.
Re:Appropriate Uses for SQLite by qwertyuiop924 on Monday September 26, 2016 @06:31AM (#12580676)
No, but Lennart's been re-inventing userspace poorly...
Re:Appropriate Uses for SQLite by ecnahc515 on Monday September 26, 2016 @12:08PM (#12583004)
Look at systemd-journal-upload. Also look at systemd-journal-remote. I was able to get upload working with the journal-remote and fluentd's TCP input.
Re:Appropriate Uses for SQLite by simcop2387 on Sunday September 25, 2016 @11:28PM (#12579015)
yea that's the one problem I've seen with journald that needs a proper solution. The other features it brings I've loved for my desktop but I wouldn't want it for long term data/logging yet.
Re:Appropriate Uses for SQLite by qwertyuiop924 on Monday September 26, 2016 @06:32AM (#12580678)
My thoughts exactly.