Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 38866 invoked from network); 24 Nov 2009 10:20:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 10:20:36 -0000 Received: (qmail 21582 invoked by uid 500); 24 Nov 2009 10:20:36 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 21536 invoked by uid 500); 24 Nov 2009 10:20:36 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 21526 invoked by uid 99); 24 Nov 2009 10:20:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 10:20:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hirsch.dick@gmail.com designates 72.14.220.153 as permitted sender) Received: from [72.14.220.153] (HELO fg-out-1718.google.com) (72.14.220.153) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 10:20:25 +0000 Received: by fg-out-1718.google.com with SMTP id l26so1258815fgb.0 for ; Tue, 24 Nov 2009 02:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=MuYAbDyxK7BgqMjy21spSuUyN6mXSbEK1tb7GGbWRXU=; b=Zk04NIHyOfNGJBujAXUo8q/NFN8d011oPLDJfAS0q02t+hzy8YdCrft8B5utklezCs DyL0UocT5zcbJAOiPnG+ca/zwQCTnVSufXvY/zMx/B+EM68UqBIYqvTgXiI3REJbLc3z XTGJX45KNrfKlKQQ1M/oUry4D10YsnTT54dYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DgZtMCO2j6pesRyenO/eqcK1V2JytcCN9GbnPNgQP7CjBdYIZgy3L0Dp7V3pQFc20P OsG66EAsiSYW19+HjDCfF5AFRwTt55hns2Ug+sHcH6sQ1GjHzvbrupmurlCAVV9jSrRH bclqIUs8M3emPCvSUcxrk1hc+v6m9R7py+aX4= MIME-Version: 1.0 Received: by 10.103.76.29 with SMTP id d29mr2757124mul.50.1259058004468; Tue, 24 Nov 2009 02:20:04 -0800 (PST) In-Reply-To: <771905290911240148idb31333r5ce1bdfda311b5e3@mail.gmail.com> References: <771905290911231530s28817fbcpa815ddbfced8a9ad@mail.gmail.com> <771905290911240014r69837d3ei549c061a49efa266@mail.gmail.com> <771905290911240148idb31333r5ce1bdfda311b5e3@mail.gmail.com> Date: Tue, 24 Nov 2009 11:20:04 +0100 Message-ID: Subject: Re: Memory allocation analysis From: Richard Hirsch To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Posted the performance results (plus attachments) to the wiki: http://cwiki.apache.org/confluence/display/ESME/Performance+test+2009-11-24 D. On Tue, Nov 24, 2009 at 10:48 AM, Markus Kohler wrote: > Hi Vassil, > OK I understand, for automatically generated messages a server side > implementation would be needed. > > > Markus > "The best way to predict the future is to invent it" -- Alan Kay > > > On Tue, Nov 24, 2009 at 10:17 AM, Vassil Dichev wrote: > >> > Basically I meant that we should just go for a simple custom formatter >> and >> > not try to improve the existing textile formatter. >> >> Agreed. It will be easiest to first add just enough formatting >> necessary for the needs of ESME and then think about full-blown >> parsers. Not that the latter is not worth investing in, but it will >> take more effort. >> >> > David suggested ANTLR and maybe we should give it a try and write a >> custom >> > formatter. >> >> ANTLR would be nice for something where speed is important and parsing >> is complex, like parsing scala syntax in a beautifier. For an >> occasional comment in a blog liftweb-textile should be OK, I guess. >> >> > Another crazy idea that just came to my mind would be to use javascript >> on >> > the client side to do the formatting. Not sure whether this could be >> easily >> > support all the features ESME needs, but markdown formatting using >> > javascript is possible : >> > >> http://stackoverflow.com/questions/1319657/javascript-to-convert-markdown-textile-to-html-and-ideally-back-to-markdown-te >> > points to http://attacklab.net/showdown/ >> > >> > Stackoverflow itself does on the fly formatting, which I think is a nifty >> > feature. >> >> This is not a crazy idea at all, however I had the idea to apply >> formatting to automatically generated messages, and not based on >> lightweight formatting rules only. >> >