From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81412 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: I can haz cloud idea Date: Thu, 16 Feb 2012 10:35:36 +0100 Organization: Programmerer Ingebrigtsen Message-ID: <874nurxgrb.fsf@gnus.org> References: <87fwebnzd8.fsf@gnus.org> <87obszxofo.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329384995 1521 80.91.229.3 (16 Feb 2012 09:36:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2012 09:36:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29692@lists.math.uh.edu Thu Feb 16 10:36:31 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RxxlN-0000rT-6y for ding-account@gmane.org; Thu, 16 Feb 2012 10:36:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Rxxkq-0006iQ-AD; Thu, 16 Feb 2012 03:35:56 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Rxxko-0006i9-WE for ding@lists.math.uh.edu; Thu, 16 Feb 2012 03:35:55 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rxxkk-0004kW-Ay for ding@lists.math.uh.edu; Thu, 16 Feb 2012 03:35:54 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rxxki-0007uF-UB for ding@gnus.org; Thu, 16 Feb 2012 10:35:48 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rxxkh-0000MK-NG for ding@gnus.org; Thu, 16 Feb 2012 10:35:47 +0100 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 10:35:47 +0100 Original-Received: from larsi by 93-41-188-50.ip82.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 10:35:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-41-188-50.ip82.fastwebnet.it Mail-Copies-To: never User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:A5HCLMlkkKuP163UugXcOEJl6jM= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81412 Archived-At: Steinar Bang writes: > Have you given any thought to offline/agent operations? No... :-) But thinking about it for the length of time it's taken me to write these words, I don't think offline-ness complicates matters much. I mean, you need to go online to pull/push updates, but the computations themselves would be identical. That is, Gnus would keep a set of "baseline" data in memory. (Basically everything that is in .newsrc.eld.) Whenever Gnus does a push, it computes the difference between the baseline and the current state. If the difference is smallish, it then pushes a delta to the IMAP server. If not, it pushes the complete state. So going-online-and-then-pushing wouldn't introduce any new code. Same with pulling -- it should just work. I think. -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome