Marc Battyani | 1 Oct 2003 01:24

Re: Conclusion (was Re: Looking for a better Text and HTML Lisp syntax)

From: "james anderson" <james.anderson <at> setf.de>
Sent: Tuesday, September 30, 2003 11:05 PM

Hmm... Step by step I will finish to see what you mean ;-)
As I told you I already agree with you for data representation but I still
don't see how you apply this to mixed code/data.

As a picture is supposed to be better that N words (especially in a non
native language), can you rewrite the following code snipset so that I can
see a clearer picture...

(compile-text ()
(table (:col-widths '(58 58) :border 0 :padding 0)
            (loop for info in (otfr::source obj) do
           (row ()
         (if info
             (progn
        (cell ()(paragraph (:h-align :centered :font "Helvetica" :font-size
*s-cell-liste*)
             (put-string (otfr::description info))))
        (cell ()(paragraph (:h-align :centered :font "Helvetica" :font-size
*s-cell-liste*)
             (put-string (otfr::address info)))))
             (progn
        (cell ()(paragraph (:h-align :centered :font "Helvetica" :font-size
*s-cell-liste*) "----"))
        (cell ()(paragraph (:h-align :centered :font "Helvetica" :font-size
*s-cell-liste*) "----"))))))))

Marc
(Continue reading)

james anderson | 1 Oct 2003 08:59
Picon
Gravatar

Re: Conclusion (was Re: Looking for a better Text and HTML Lisp syntax)


On Wednesday, Oct 1, 2003, at 01:24 Europe/Berlin, Marc Battyani wrote:

> From: "james anderson" <james.anderson <at> setf.de>
> Sent: Tuesday, September 30, 2003 11:05 PM
>
> Hmm... Step by step I will finish to see what you mean ;-)
> As I told you I already agree with you for data representation but I 
> still
> don't see how you apply this to mixed code/data.
>
> As a picture is supposed to be better that N words (especially in a non
> native language), can you rewrite the following code snipset so that I 
> can
> see a clearer picture...
>
> (compile-text ()
> (table (:col-widths '(58 58) :border 0 :padding 0)
>             (loop for info in (otfr::source obj) do
>            (row ()
>          (if info
>              (progn
>         (cell ()(paragraph (:h-align :centered :font "Helvetica" 
> :font-size
> *s-cell-liste*)
>              (put-string (otfr::description info))))
>         (cell ()(paragraph (:h-align :centered :font "Helvetica" 
> :font-size
> *s-cell-liste*)
>              (put-string (otfr::address info)))))
(Continue reading)

Marc Battyani | 5 Oct 2003 00:34

cl-typesetting saturday night news

New in cl-typesetting:

Math mode!
Ok it's only a basic one for now but the infrastructure is here.
I didn't wanted to do a math mode because I though it would be a big
challenge. But in fact in Common Lisp in a Common Lisp typesetting system,
it's deceptively too easy. The most annoying problem is that I will have to
import the TeX Math fonts to achieve a decent result. It would also be cool
if somebody could write a TeX Math syntax parser... So far the Math mode take
40 lines of Lisp !!! BTW by using user drawn boxes or custom boxes, the
typesetting system is open to alternative Math modes like Kenny's one (If he
survives the ILC Talk...;-)

Added superscripts, subscripts and baseline offset.

cl-typesetting is now used in production:
Last week I couldn't work a lot on cl-typesetting as I money making work has
a higher priority. In particular when you have to deliver! But I worked with
cl-typesetting. So now it is in production in a rather critical intranet web
application, generating lots of complex reports.

As usual, the new always fancier example is here:
http://www.fractalconcept.com/ex.pdf

Marc

The full source of the example:

(defparameter *par1*
  "Lisp is a family of...")
(Continue reading)

Ng Pheng Siong | 8 Oct 2003 18:47
Favicon

Java vs Smalltalk

Hi,

Here's an interesting link about Java vs Smalltalk (or page-oriented vs
continuations-based webapp programming) on implementing a wiki:

 http://lists.squeakfoundation.org/pipermail/seaside/2003-September/002132.html

Cheers.

--

-- 
Ng Pheng Siong <ngps <at> netmemetic.com> 
Marc Battyani | 8 Oct 2003 19:19

Re: Java vs Smalltalk

From: "Ng Pheng Siong" <ngps <at> netmemetic.com>
Sent: Wednesday, October 08, 2003 6:47 PM

> Here's an interesting link about Java vs Smalltalk (or page-oriented vs
> continuations-based webapp programming) on implementing a wiki:
>
>
http://lists.squeakfoundation.org/pipermail/seaside/2003-September/002132.ht
ml

If I can find some time I will do it with my framework if it's not too long.
Is there some description or spec of what to do ?

BTW, though it's not directly related, cl-typesetting has still improved. As
usual the example is here:
www.fractalconcept.com/ex.pdf

Marc
Avi Bryant | 8 Oct 2003 20:43

Re: Java vs Smalltalk


On Wednesday, October 8, 2003, at 10:19 AM, Marc Battyani wrote:

> If I can find some time I will do it with my framework if it's not too 
> long.
> Is there some description or spec of what to do ?

See http://www.waferproject.org.
Marc Battyani | 8 Oct 2003 22:49

Re: Java vs Smalltalk

From: "Avi Bryant" <avi <at> beta4.com>
Sent: Wednesday, October 08, 2003 8:43 PM

> On Wednesday, October 8, 2003, at 10:19 AM, Marc Battyani wrote:
> 
> > If I can find some time I will do it with my framework if it's not too 
> > long.
> > Is there some description or spec of what to do ?
> 
> See http://www.waferproject.org.

I've found this example:
http://www.waferproject.org/weblog-prototype/index.jsp

and this:
http://www.waferproject.org/examples/weblog/index.html
Is this the only spec of what to do ?

Marc
Avi Bryant | 8 Oct 2003 23:40

Re: Java vs Smalltalk


On Wednesday, October 8, 2003, at 01:49 PM, Marc Battyani wrote:

> I've found this example:
> http://www.waferproject.org/weblog-prototype/index.jsp
>
> and this:
> http://www.waferproject.org/examples/weblog/index.html
> Is this the only spec of what to do ?

I don't know too much about it - Todd Blanchard did the Seaside 
implementation, not me.  But from what I've seen, yes, the examples are 
the only specs.  I think the idea is to write something that is 
indistinguishable from the example apps (although presumably the URL 
scheme, at least, is allowed to change).
Marc Battyani | 10 Oct 2003 19:38

[ANNOUNCE] mod_lisp 2.33

The release 2.33 of mod_lisp is online here:
http://www.fractalconcept.com/asp/html/mod_lisp.html

mod_lisp 2.33 is an Apache 1.3 module to easily write web applications in
Lisp.
mod_lisp talk from Apache to lisp processes by sockets with a very
straightforward protocol to handle a request

From the change log:

  Version 2.33
  Added a couple of new headers like "Log-Notice" and so on.
  They are named like the corresponding log levels in httpd_log.h.
  The "default" log level (i.e. the one sent by just "Log") has not changed.
  (contributed by Edi Weitz)

  Version 2.32
  Removed duplicate URL header sent to Lisp.
  moved server-id header before the user http headers for security.
  do not transmit any "end" header that could be sent by an malicious user
  (Thanks to Robert Macomber for the security screening)

mod_lisp 2.33 is an Apache 1.3 module it does not work with Apache 2.0.
I started to work on an Apache 2.0 version but it's not finished yet and it
is in standby for now as I 'm working on cl-typesetting. So if somebody wants
to help to finish it, please contact me. ;-)

Marc
Marc Battyani | 15 Oct 2003 13:08

[ANNOUNCE] cl-pdf release 2.0

CL-PDF is a cross-platform Common Lisp library for generating PDF files.
It does not need any third-party tools from Adobe or others.
It is used by cl-typesetting to provide a complete typesetting system.

15 October 2003: Release 2.0
   This release provides support for cl-typesetting
   Major changes in the fonts and font-metrics classes
   Support for custom character encodings
   Loading and embedding of type1 fonts
   Several fixes

The cl-pdf home page is here:
http://www.fractalconcept.com/asp/html/cl-pdf.html

Marc

Gmane