From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 73BA613877A for ; Tue, 12 Aug 2014 19:22:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D105E0D27; Tue, 12 Aug 2014 19:21:56 +0000 (UTC) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2933CE0CFB for ; Tue, 12 Aug 2014 19:21:54 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hi2so6357832wib.4 for ; Tue, 12 Aug 2014 12:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=o+iUqEZR516+vga9iOr+aoiwm3ADq7ltxW58+gGw7G0=; b=Vvax0zznD/8nTyZ857qHsFLQ33LItvYx2RkWZhkK9QPUEEGqyQZQzke1sQkEWEz1h2 gkLpIrq2Lh11mkONZYrch0H4DZj5pLeJesNs7tgCBY6vY402GEDeEsHuYgGsG0CVJfom E/PXheGNeYNjld/pXfuhhtYYfgQhykUzDCAAYgY2DynGIXgu6nx7vpqF784UnXgSrxKT 1uhbayf+ag8VcR3+ixBd9Plm2W5lC7a9sdLTAKFczN6gzW7um7WLjQ4yipB1gqfdEp1u DiEtfsRWatdVtgd7y5LXHJRdJ7OU6iBZMgZiJaiCf6OZaAMVrPAjMiiOTUZ3nK6q+3F1 R+Iw== X-Received: by 10.180.98.165 with SMTP id ej5mr33721661wib.37.1407871313821; Tue, 12 Aug 2014 12:21:53 -0700 (PDT) Received: from [172.20.0.41] (105-237-190-183.access.mtnbusiness.co.za. [105.237.190.183]) by mx.google.com with ESMTPSA id 19sm11284033wjz.3.2014.08.12.12.21.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Aug 2014 12:21:53 -0700 (PDT) Message-ID: <53EA691B.2040306@gmail.com> Date: Tue, 12 Aug 2014 21:20:59 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] akonadi ... don't you just love it? References: <201408092100.58965.michaelkintzios@gmail.com> <53EA18C7.6080800@gmail.com> <3717332.DIJMXoBY7Q@andromeda> <53EA5B0F.9070909@googlemail.com> <93a075f9-f022-4051-a7eb-3d6e67561e9a@email.android.com> In-Reply-To: <93a075f9-f022-4051-a7eb-3d6e67561e9a@email.android.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: df67f951-fcdc-48d0-a373-927dad3f6271 X-Archives-Hash: 2a704f17ae2a10a6037e2f947ea773d8 On 12/08/2014 21:00, J. Roeleveld wrote: > On 12 August 2014 20:21:03 CEST, Volker Armin Hemmann wrote: >> Am 12.08.2014 um 16:10 schrieb J. Roeleveld: >>> On Tuesday, August 12, 2014 03:38:15 PM Alan McKinnon wrote: >>>> On 12/08/2014 15:28, J. Roeleveld wrote: >>>>> On 12 August 2014 14:06:07 CEST, Alan McKinnon >> >>> wrote: >>>>>> On 12/08/2014 11:10, Mick wrote: >>>>>>> I recall the devs explicitly stating early enough in the KDE4 >>>>>> development that >>>>>> >>>>>>> sqlite is not man enough for the job and advising everyone to >> move >>>>>> over to >>>>>> >>>>>>> mysql. >>>>>>> >>>>>>> Someone was looking at postgresql as an alternative to mysql, but >> I'm >>>>>> not sure >>>>>> >>>>>>> that this would bring any benefit. >>>>>> pg is a fine database, but for this use will always be a 2nd class >>>>>> citizen. Most users will already have mysql installed, or will be >>>>>> willing to install it. >>>>>> >>>>>> The number of folks with pg and without mysql will probably be >> small >>>>> Not necessarily. >>>>> People who care about databases actually supporting SQL properly >> and >>>>> performing properly will prefer PostgreSQL. >>>>> >>>>> I don't like to be forced to run a MySQL instance as well. It's >> often the >>>>> laziness of developers that causes the difficulty of supporting a >>>>> different database when they started with MySQL. If you start with >> a >>>>> different one, like PostgrSQL, supporting different database >> engines is >>>>> very simple. >>>> I don't think you read what I said. >>> Sorry, didn't read the below in what you put. >>> >>>> I didn't say postgresql shouldn't be supported, I said it would >> always >>>> end up being a second class citizen as the number of people who'd be >>>> happy with mysql will vastly outnumber the number of people who >> highly >>>> desire postgresql. So, logically, a postgresql driver in this case >> will >>>> probably just bitrot away. Whihc nicely explains the likely reason >> why >>>> that driver is not there. >>> It wouldn't bitrot away as there would be people willing to keep it >> working, >>> provided it wouldn't require a MySQL -> SQL translator to be kept >> up-to-date. >>> >>>> People like yourself who care about databases are very much in the >>>> minority of users, even on Linux. Most users across the boards just >>>> don't give a shit. Them's the breaks. >>> Users never care about what they install. I just wish the majority of >> >>> developers would actually be willing to follow some simple guidelines >> to make >>> it actually possible to others to write and maintain the drivers to >> connect to >>> different databases. >>> >>> Several attempts have been made by people to add support for >> different >>> databases to various projects. I've tried to do it myself on >> occasion, but >>> even when patches are accepted by upstream, they get broken by >> upstream at a >>> future release again because of the bad design that is often employed >> by lazy >>> developers. >>> >>> -- >>> Joost >>> >>> >> wasn't qtsql once supposed to that? > > If a framework like qtsql is used, swapping the database is easy. > > Most developers seem to prefer to reinvent the wheel and often come up with something that vaguely resembles a circle and is held together with a mixture of glue and duck tape. I blame php and others of it's ilk. The good thing about php is that everyone and their dog can knock out running code. The bad thing about php is that they do. Substitute mysql and bash if you will and tweak the content to suit - it all works out the same. Sensible languages (like, oh I dunno - python maybe?) have this trick about them - you have to work hard to write awful code. You also have to work hard to write awesome code, but if you just follow the book you usually end up with acceptable code. I will refrain from commenting on perl. -- Alan McKinnon alan.mckinnon@gmail.com