From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-95445-garchives=archives.gentoo.org@lists.gentoo.org>) id 1M5hR0-00045S-Ro for garchives@archives.gentoo.org; Sun, 17 May 2009 14:33:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E783E0450; Sun, 17 May 2009 14:33:49 +0000 (UTC) Received: from mail-ew0-f165.google.com (mail-ew0-f165.google.com [209.85.219.165]) by pigeon.gentoo.org (Postfix) with ESMTP id E73E8E0450 for <gentoo-user@lists.gentoo.org>; Sun, 17 May 2009 14:33:48 +0000 (UTC) Received: by ewy9 with SMTP id 9so3419868ewy.34 for <gentoo-user@lists.gentoo.org>; Sun, 17 May 2009 07:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=w9eVTRzYSb9JyLdNZytICkD37BRr17r4DCthfskisdY=; b=BrfkWC6kmtHX9xtZW8vMWQ4aBlhrDF+Gyz4oLeQDZZYMZ5l01RqoGwVbak5VHEzOs2 SST4i7j4PCjuuO/MODBTpU6jcjmzg0AwZRmm1xu8YAXXs/2C8n5S087yRNjNceDaE2oO UeJTLxctETE8mJW2N38EfRnKUrZNDWlQ543kQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=HoTvtgyn0onozfIaX5uBSUdfqeMejvJa02RUUojmVHQKr1TcsqALXLJ7jyNRqUCV9I SOOhw8Kr+eDpW19QngCqYcm6Qhc5gRuguYKB8Sfk349K+2b7dJDg8Rp+owniOxaclvvN FbHEAZg4yYmc6ixh1aWog9EnBeWCZxq0Inw4A= Received: by 10.210.60.8 with SMTP id i8mr906896eba.21.1242570828345; Sun, 17 May 2009 07:33:48 -0700 (PDT) Received: from nazgul.localnet (196-210-153-19-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.19]) by mx.google.com with ESMTPS id 5sm1421761eyh.30.2009.05.17.07.33.47 (version=SSLv3 cipher=RC4-MD5); Sun, 17 May 2009 07:33:47 -0700 (PDT) From: Alan McKinnon <alan.mckinnon@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5 Date: Sun, 17 May 2009 16:32:25 +0200 User-Agent: KMail/1.11.3 (Linux/2.6.29-gentoo-r1; KDE/4.2.3; x86_64; ; ) References: <200904070939.57495.michaelkintzios@gmail.com> <200905171119.49998.alan.mckinnon@gmail.com> <4A0FFFE3.3000107@coolmail.se> In-Reply-To: <4A0FFFE3.3000107@coolmail.se> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905171632.25326.alan.mckinnon@gmail.com> X-Archives-Salt: 67820a10-aecf-49b0-928f-9d1c016c90e4 X-Archives-Hash: d9acec0dedfdb6c705ca984c95f3c65e On Sunday 17 May 2009 14:15:31 pk wrote: > > But you have that in the current setup. Hal (for better or worse) is the > > daemon. dbus is simply a message transport and can be omitted from the > > conceptual diagram > > Why is dbus needed? Why can't the user space apps talk to the user space > daemon directly? To me it's just another unnecessary layer, each layer > needs some kind of translation and thus resources. To me hal or whatever > may replace it should have a minimalist approach. Because the methodology is not that user-space apps talk to hal, but that h= al=20 sends events to user space apps that are listening. And hal does not and=20 should not know anything about those apps. Polling vs events is a problem that was solved a very long time ago. For a= =20 dynamically changing system, events wins hands down almost always (one majo= r=20 exception - real time OSes). It's asynchronous, easier to program and both = hal=20 and the user space app talk to one and only one well defined API, and just= =20 forget all about timing issues. =46rom an engineering point of view, a message bus is an excellent idea. =2D-=20 alan dot mckinnon at gmail dot com