Re: Blob problems

2009-09-16 Thread Alexander Burger
Hi Henrik, (class +Article +Entity) (rel aid (+Key +Number)) (rel title (+String)) (rel type (+String)) (rel htmlUrl (+Key +String)) (rel body (+Blob)) (dm put (Key Val) (if (= Key 'body) (prog (put! This 'body T) (out (blob This

onOff question

2009-09-16 Thread Tomas Hlavaty
Hi Alex, is this supposed to happen? : (show NIL) NIL NIL - NIL : (onOff) - T : (show NIL) T T - T : (=T NIL) - T : (onOff sym ..) - flg Logical negates the VAL's of all argument symbols sym. Returns the new value of the last symbol. - Should not the symbol names be passed explicitly?

Re: Static content and http.l

2009-09-16 Thread Tomas Hlavaty
Hi Henrik, I need to be able to serve static content as well as dynamic content generated through PicoLisp. I have tried several different configurations. You can serve everything with picolisp, either the way Alex suggested or you can have a look at http://logand.com/picoWiki/rewriteUrl how

Re: Static content and http.l

2009-09-16 Thread Tomas Hlavaty
Hi Henrik, (`(chop swf) application/x-shockwave-flash 3600) (`(chop xml) text/xml 3600) I think you can add custom mime-types in your app like this: (mime swf application/x-shockwave-flash 3600) (mime xml text/xml 3600) Cheers, Tomas -- UNSUBSCRIBE:

Re: From Pico to JSON in the client

2009-09-16 Thread Henrik Sarvell
It worked out OK with the :key rule, however in the end I went for prefuse flare, not processing for my visualizations and was irritated by having to change (processingjs is too slow) so I skipped the Actionscript 3 implementation, I'm just outputting JSON in picolisp now straight away which works

Re: Static content and http.l

2009-09-16 Thread Henrik Sarvell
Would it be possible for you to simply copy paste your config file here? /Henrik On Wed, Sep 16, 2009 at 9:47 AM, Tomas Hlavaty t...@logand.com wrote: Hi Henrik, I need to be able to serve static content as well as dynamic content generated through PicoLisp. I have tried several different

Re: Blob problems

2009-09-16 Thread Henrik Sarvell
nightly garbage I can't remember, didn't you go through that cron job script here in the mailing list or was it on IRC, if it was on IRC maybe it would be a good idea to do it here again? Will change the put! implementation, the error was on put so hopefully that might take care of it...

Re: onOff question

2009-09-16 Thread Alexander Burger
Hi Tomas, is this supposed to happen? .. : (onOff) - T : (show NIL) T T Oops, no. But if I try here: : (onOff) !? (onOff) NIL -- Protected symbol ? I really don't remember, but it could well be that I repaired that in the course of rewriting some parts while codig the 64-bit

Re: onOff question

2009-09-16 Thread Alexander Burger
Hi Tomas, sorry, I missed the last two questions: (onOff sym ..) - flg Logical negates the VAL's of all argument symbols sym. Returns the new value of the last symbol. - Should not the symbol names be passed explicitly? Yes. But on the other hand, missing arguments usually default

Re: From Pico to JSON in the client

2009-09-16 Thread TC
On Wed, 16 Sep 2009, Tomas Hlavaty wrote: Hi Henrik and TC, I just realized that there is an ambiguity here since I can't seem to accomplish a pair looking like this: (key . (1 2 3)), no matter how I try I get: (key (1 2 3)), if the Heh, I think the problem is quite obvious when looking to