• 000006 by petite.abeille@... on 2009/01/05 at 02:48 GMT
  • 000005 by yuri@... on 2009/01/05 at 02:01 GMT

Page Content

From yuri at sims.berkeley.edu  Fri Jan  2 01:24:09 2009
From: yuri at sims.berkeley.edu (Yuri Takhteyev)
Date: Fri Jan  2 00:32:27 2009
Subject: [Sputnik-list] sputnik-mbox: integrating mailing list archives into
	Sputnik
Message-ID: <fa4efbc00901011924w7b1baed7v6dd7ebc3c070b78a@mail.gmail.com>

Sputnik-mbox integrates a mailing list archive into a Sputnik site.
This plugin has been half-done for quite some time, but it is finally
presentable.

http://sputnik.freewisdom.org/en/list/

This provides a complete integration of mailing list archives with the
wiki.  Among other things, each email sent to the list shows up in
wiki history as an edit to the corresponding node, with the right time
stamp:

http://sputnik.freewisdom.org/en/history/

Search also looks at both list archives and regular nodes.

Messages are sorted into threads, with one node representing all
messages in a thread. The messages are collapsible through JS. The
first message is shown open by default, while the rest are shown as
closed. This helps with long threads, I think, such as
http://sputnik.freewisdom.org/en/list/blueprint

A thread is defined simply by the subject field. Same subjects = same
thread. This makes it easy to refer to mailing list threads from other
wiki pages. E.g., to link to the thread "Problems installing Sputnik",
one just needs to write: [[list/Problems installing Sputnik]]. To link
to a specific message in that thread, you can write [[list/Problems
installing Sputnik#message_yuri_2]].

Nodes representing list threads are not editable through the web
interface, except by Admin. You can "edit" them by emailing the list,
though. :)

This all only works with the current code in git, but I will try to
make a release of "Fenchurch" in some reasonably near future.

- yuri


From petite.abeille at gmail.com  Sat Jan  3 18:55:54 2009
From: petite.abeille at gmail.com (Petite Abeille)
Date: Sat Jan  3 18:11:30 2009
Subject: [Sputnik-list] sputnik-mbox: integrating mailing list archives
	into Sputnik
In-Reply-To: <fa4efbc00901011924w7b1baed7v6dd7ebc3c070b78a@mail.gmail.com>
References: <fa4efbc00901011924w7b1baed7v6dd7ebc3c070b78a@mail.gmail.com>
Message-ID: <3C874F5A-2F6C-4EAA-992C-F706ABAEEEE2@gmail.com>


On Jan 2, 2009, at 4:24 AM, Yuri Takhteyev wrote:

> Sputnik-mbox integrates a mailing list archive into a Sputnik site.

?Every program attempts to expand until it can read mail??

? Zawinski's Law

Happy New Year! ?

Cheers,

PA.

From nop at nop.com  Sat Jan  3 20:42:07 2009
From: nop at nop.com (Jay Carlson)
Date: Sat Jan  3 19:50:40 2009
Subject: [Sputnik-list] sputnik-mbox: integrating mailing list archives
	into Sputnik
In-Reply-To: <3C874F5A-2F6C-4EAA-992C-F706ABAEEEE2@gmail.com>
References: <fa4efbc00901011924w7b1baed7v6dd7ebc3c070b78a@mail.gmail.com>
	<3C874F5A-2F6C-4EAA-992C-F706ABAEEEE2@gmail.com>
Message-ID: <D5209FC2-E848-4C79-902F-788401880F67@nop.com>

On Jan 3, 2009, at 3:55 PM, Petite Abeille wrote:

>
> On Jan 2, 2009, at 4:24 AM, Yuri Takhteyev wrote:
>
>> Sputnik-mbox integrates a mailing list archive into a Sputnik site.
>
> ?Every program attempts to expand until it can read mail??
>
> ? Zawinski's Law

Pet peeve: jwz didn't originate that.  See

http://article.gmane.org/gmane.comp.handhelds.ipaq.general/12198

and jwz's followup at

http://article.gmane.org/gmane.comp.handhelds.ipaq.general/12226

Now I feel old.

Jay

From petite.abeille at gmail.com  Sat Jan  3 20:58:38 2009
From: petite.abeille at gmail.com (Petite Abeille)
Date: Sat Jan  3 20:07:09 2009
Subject: [Sputnik-list] sputnik-mbox: integrating mailing list archives
	into Sputnik
In-Reply-To: <D5209FC2-E848-4C79-902F-788401880F67@nop.com>
References: <fa4efbc00901011924w7b1baed7v6dd7ebc3c070b78a@mail.gmail.com>
	<3C874F5A-2F6C-4EAA-992C-F706ABAEEEE2@gmail.com>
	<D5209FC2-E848-4C79-902F-788401880F67@nop.com>
Message-ID: <19188091-C243-4B9C-8719-39436EDDFA32@gmail.com>


On Jan 3, 2009, at 11:42 PM, Jay Carlson wrote:

> Pet peeve: jwz didn't originate that.

Hmmm... you mean it was inspired by the MIT one [1]?

"Every program in development at MIT expands until it can read mail."

Will be remembered as "Zawinski's Law" nonetheless :)

Cheers,

PA.

[1] http://groups.google.com/group/rec.humor.funny/browse_thread/thread/2195f8fdf5402dbd/786a67b37348bc23




From sputnik-list-bounces@lists.luaforge.net Sun Jan  4 20:01:20 2009
Received: from pop.gmail.com (el-in-f109.google.com [209.85.163.109])
	by chai (mpop-1.0.11) with POP3
	for <yuri>; Sun, 04 Jan 2009 18:01:20 -0200
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.242.18 with SMTP id p18cs842222wfh;
        Sun, 4 Jan 2009 07:58:59 -0800 (PST)
Received: by 10.100.127.18 with SMTP id z18mr10642866anc.6.1231084738802;
        Sun, 04 Jan 2009 07:58:58 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id c14si9379519ana.58.2009.01.04.07.58.48;
        Sun, 04 Jan 2009 07:58:58 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LJUZ6-0001VX-JH; Sun, 04 Jan 2009 13:06:56 -0200
Received: from rv-out-0506.google.com ([209.85.198.237])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LJUZ4-0001VR-Mi
	for sputnik-list@lists.luaforge.net; Sun, 04 Jan 2009 13:06:55 -0200
Received: by rv-out-0506.google.com with SMTP id k40so6677483rvb.29
	for <sputnik-list@lists.luaforge.net>;
	Sun, 04 Jan 2009 07:58:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:sender
	:to:subject:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references
	:x-google-sender-auth;
	bh=9i8kUUDGVOtPvd8W82ymeNyuiIPKfrWo+WAewYo+HvQ=;
	b=wTjYxUpvSTCoF2uIvxu/KQzxGW3ALwIhQr2POv+Ya+WCieLmHgFwRgdMNnFoaa531K
	jcG7nZezdLSRXv5tZYZQ/kXPDeXjPCghTzpgNjlAjKFAFMHTJSDASG5uHjPJUW7ud7ax
	Aitv1gnrF8NGxuS5tYumy9k9rEZ/IJPximVcg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references:x-google-sender-auth;
	b=LvGK8QXDIapSmxJPOPeKNqmiJkV2X+bg2BKEka4ao8Kt4t5vGw4LiSWyZ7b4oCMPRO
	g6pSJh9jH0L1DMON2GZjc7fpSov1oG+pazSRBXNqnWjaVuJMtJ2jOLQivp+EnNDN1qSa
	tpILKU0pN1wweZN2E2+xkI9+eQEkC++KE9F9Q=
Received: by 10.141.152.9 with SMTP id e9mr9896912rvo.189.1231084700590;
	Sun, 04 Jan 2009 07:58:20 -0800 (PST)
Received: by 10.140.177.20 with HTTP; Sun, 4 Jan 2009 07:58:20 -0800 (PST)
Message-ID: <fa4efbc00901040758w2451afc4v58bfca6961901170@mail.gmail.com>
Date: Sun, 4 Jan 2009 13:58:20 -0200
From: "Yuri Takhteyev" <yuri@sims.berkeley.edu>
To: "Petite Abeille" <petite.abeille@gmail.com>
Subject: Re: [Sputnik-list] sputnik-mbox: integrating mailing list archives
	into Sputnik
In-Reply-To: <19188091-C243-4B9C-8719-39436EDDFA32@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <fa4efbc00901011924w7b1baed7v6dd7ebc3c070b78a@mail.gmail.com>
	<3C874F5A-2F6C-4EAA-992C-F706ABAEEEE2@gmail.com>
	<D5209FC2-E848-4C79-902F-788401880F67@nop.com>
	<19188091-C243-4B9C-8719-39436EDDFA32@gmail.com>
X-Google-Sender-Auth: 228a77e40c4771b8
Cc: Sputnik <sputnik-list@lists.luaforge.net>
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net

> "Every program in development at MIT expands until it can read mail."

I believe the second part says "Those programs which cannot so expand
are replaced by ones which can." :)

More seriously, though, let me clarify two things. First, handling
mbox archives is not intended to be incorporated into Sputnik as a
default feature. It will be a plugin, installable with luarocks, so
there is no bloat in core sputnik. You don't need to install this
plugin. Second, the plugin itself consists of a total of 251 lines of
Lua code, which includes (1) two custom actions, (2) two templates,
and (3) a script to load mbox files into Sputnik. (You will also need
a generic lua module for reading mbox files - which adds whopping 200
lines. And you will need lua-iconv to handle conversion from different
encodings into utf8.)

Sputnik has quite obviously grew in size from its original 2000 lines
of Lua, but not as much as one might think. The current sputnik rock
consists of just a little over 3000 lines of actual Lua code (skipping
comments and blank lines), plus another 3000 lines of templates,
images, css, js, etc. versium and saci together add another 1300
lines.  And with plugins it can do quite a lot of things. To me this a
good balance between features and small code size.

There is a more serious issue with what Andr=E9 once called "paradigm
overload" [1]. Once your site includes non-editable pages that
represent mailing list threads, calling it a "wiki" might perhaps be a
little confusing. To me the benefits of having the list archives
integrated into the site seem obvious, but it does create challenges
for communicating what Sputnik is. Perhaps we should come back to the
question of whether Sputnik should be presented as "a wiki that can be
expanded to do things wikis don't usually do" or "a simple CMS that
works as a wiki out of the box".

 - yuri

[1]: http://sputnik.freewisdom.org/en/list/blueprint#message_carregal_1

_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list


From sputnik-list-bounces@lists.luaforge.net Sun Jan  4 20:48:19 2009
Received: from pop.gmail.com (el-in-f109.google.com [209.85.163.109])
	by chai (mpop-1.0.11) with POP3
	for <yuri>; Sun, 04 Jan 2009 18:48:19 -0200
Delivered-To: sputnik.list.archiver@gmail.com
Received: by 10.142.242.18 with SMTP id p18cs849527wfh;
        Sun, 4 Jan 2009 12:14:43 -0800 (PST)
Received: by 10.100.255.10 with SMTP id c10mr10706073ani.86.1231100083195;
        Sun, 04 Jan 2009 12:14:43 -0800 (PST)
Return-Path: <sputnik-list-bounces@lists.luaforge.net>
Received: from mail.luaforge.net (www.luaforge.net [147.65.1.201])
        by mx.google.com with ESMTP id d29si35156822and.1.2009.01.04.12.14.31;
        Sun, 04 Jan 2009 12:14:42 -0800 (PST)
Received-SPF: pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) client-ip=147.65.1.201;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of sputnik-list-bounces@lists.luaforge.net designates 147.65.1.201 as permitted sender) smtp.mail=sputnik-list-bounces@lists.luaforge.net; dkim=neutral (body hash did not verify) header.i=@gmail.com
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
	by mail.luaforge.net with esmtp (Exim 4.50)
	id 1LJYYf-000721-Kh; Sun, 04 Jan 2009 17:22:45 -0200
Received: from fk-out-0910.google.com ([209.85.128.189])
	by mail.luaforge.net with esmtp (Exim 4.50) id 1LJYYd-00071w-IM
	for sputnik-list@lists.luaforge.net; Sun, 04 Jan 2009 17:22:43 -0200
Received: by fk-out-0910.google.com with SMTP id 18so3519255fkq.5
	for <sputnik-list@lists.luaforge.net>;
	Sun, 04 Jan 2009 12:14:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:from:to
	:in-reply-to:content-type:content-transfer-encoding:mime-version
	:subject:date:references:x-mailer;
	bh=QP1qR5FkMnAPTK7fAS6XFQXm7Kqb6O+p1jFW/HCVbuE=;
	b=hYQIKqHubMMgGPjmdN02Gr8vHdVk1d80HuuREqv+nlH7ahlMHbDn0BOMIyAltICJcx
	bmw2sxE1Tt7M2pfA5GZ+icdFbSy0ql0tEg6EzPrvz/ULlz/GAWAeoH0o1xvzlivXHWUh
	7YDxYZ257L+F90syXdR7scjVRwf8iYj+/l8jw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:from:to:in-reply-to:content-type
	:content-transfer-encoding:mime-version:subject:date:references
	:x-mailer;
	b=vKsyX6TL3Ck5kj998b16vO4HQRy1tCkC+U+IRKZfRuZa5ydTlVFbv3lNdsNHB4dA3z
	f3mnDxQCNWC1qTtLLYDGRrNf1S6clVDROC3jypuSkL/wqVXEqzavNumhkcTg4zp2tZRX
	FcBs71VBlXt6sUbTicI+BjebdlMxJ2GAus77E=
Received: by 10.103.213.10 with SMTP id p10mr7134133muq.17.1231100051768;
	Sun, 04 Jan 2009 12:14:11 -0800 (PST)
Received: from ?192.168.1.4? ([84.227.183.255])
	by mx.google.com with ESMTPS id e9sm43165071muf.51.2009.01.04.12.14.10
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Sun, 04 Jan 2009 12:14:11 -0800 (PST)
Message-Id: <6328B192-92BB-49DD-A3BA-C08E67C2AE48@gmail.com>
From: Petite Abeille <petite.abeille@gmail.com>
To: Sputnik <sputnik-list@lists.luaforge.net>
In-Reply-To: <fa4efbc00901040758w2451afc4v58bfca6961901170@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Subject: Re: [Sputnik-list] sputnik-mbox: integrating mailing list archives
	into Sputnik
Date: Sun, 4 Jan 2009 21:14:09 +0100
References: <fa4efbc00901011924w7b1baed7v6dd7ebc3c070b78a@mail.gmail.com>
	<3C874F5A-2F6C-4EAA-992C-F706ABAEEEE2@gmail.com>
	<D5209FC2-E848-4C79-902F-788401880F67@nop.com>
	<19188091-C243-4B9C-8719-39436EDDFA32@gmail.com>
	<fa4efbc00901040758w2451afc4v58bfca6961901170@mail.gmail.com>
X-Mailer: Apple Mail (2.930.3)
X-BeenThere: sputnik-list@lists.luaforge.net
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "An all-purpose list for now." <sputnik-list.lists.luaforge.net>
List-Unsubscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=unsubscribe>
List-Archive: <http://lists.luaforge.net/pipermail/sputnik-list>
List-Post: <mailto:sputnik-list@lists.luaforge.net>
List-Help: <mailto:sputnik-list-request@lists.luaforge.net?subject=help>
List-Subscribe: <http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list>,
	<mailto:sputnik-list-request@lists.luaforge.net?subject=subscribe>
Sender: sputnik-list-bounces@lists.luaforge.net
Errors-To: sputnik-list-bounces@lists.luaforge.net


On Jan 4, 2009, at 4:58 PM, Yuri Takhteyev wrote:

>> "Every program in development at MIT expands until it can read mail."
>
> I believe the second part says "Those programs which cannot so expand
> are replaced by ones which can." :)

Ironically and/or shamefully enough, Nanoki has indeed plans for email  
integration as well :))

Interestingly, the plan goes in the exact opposite directly than  
Sputnik: provide Nanoki as a email service vs. convert email into  
Sputnik...

(1) Format

In the same way as pages can be rendered in HTML and XML, pages will  
be represented as a self contained "message/rfc822" content type.

http://www.freesoft.org/CIE/RFC/1521/23.htm

E.g.:

http://svr225.stepx.com:3388/sputnik-program.html
http://svr225.stepx.com:3388/sputnik-program.xml
http://svr225.stepx.com:3388/sputnik-program.msg (not implemented yet)

Collection of pages will be represented as "multipart/digest" content  
type.

http://www.freesoft.org/CIE/RFC/1521/19.htm

E.g.:

http://svr225.stepx.com:3388/search.html?q=sputnik
http://svr225.stepx.com:3388/search.xml?q=sputnik
http://svr225.stepx.com:3388/search.msg?q=sputnik (not implemented yet)

(2) Protocol

In addition to the current HTTP/WebDAV access, POP3 and SMTP will  
provide the necessary plumbing for direct email integration. E.g.  
access page content as message/rfc822 directly from a email client  
through POP3 and, similarly, post new pages directly from an email  
client through SMTP.

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/







_______________________________________________
Sputnik-list mailing list
Sputnik-list@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/sputnik-list
Powered by Sputnik | XHTML 1.1