Re: behavior of +Need

2008-10-05 Thread Henrik Sarvell
I think it might depend on what function you use when creating the records, as you can see I get the proper behavior when using (new!) over here: http://www.prodevtips.com/2008/04/23/simple-oodb-in-pico-lisp/ /Henrik On Sun, Oct 5, 2008 at 4:31 AM, Andrei Ivushkin [EMAIL PROTECTED] wrote: Yes,

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
I don't know what I might have done the last time when I got that result after 7 minutes, it did not happen this time, I'm using a different version of Firefox and Firebug this time though. Anyway this time I traced line also, here is the result I get immediately after making the jQuery post:

Re: behavior of +Need

2008-10-05 Thread Alexander Burger
Hi Ballona! I don't know if I'm missing something here, but see the example below: Your example looks perfectly ok :-) # I know I shouldn't do this, but it's only to keep it simple (show '{1}) ... You are right in that it is not recommended to refer to external objects explicitly in a

Re: v2.3.3 and v2.3.4 core dump at gc.c:68

2008-10-05 Thread Henrik Sarvell
What crap, if that is the case I want to change, I still want as little friction as possible which I get from Ubuntu, is there another distro which will give me the same ease of use? Alex, didn't you compile with 4.2.3 on Debian only to see it crash with that one too or am I mistaken? /Henrik

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
I just downloaded the newest version from http://jquery.com and tried it as is, no zipping or packing, same result, here is the $.post function: post: function( url, data, callback, type ) { if ( jQuery.isFunction( data ) ) { callback = data; data = {};

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
I want to explain why this is important for me and should be important for all. Obviously the Pico server can play nicely with Ajax calls, the form.js is an example of this, however it's heavily bound to the GUI framework, there might be many different reasons however to communicate with the

Re: jQuery again

2008-10-05 Thread Alexander Burger
Hi Henrik, The above works flawlessly with Apache + PHP. Surely jQuery will do that right, but still I do not understand where the problem might lie in the PicoLisp server. The tracing definitely shows that the HTTP header arrives, but the following POST data (a single line) don't. The

Re: Idx lists with symbol - values, value lost in db

2008-10-05 Thread Alexander Burger
On Sun, Oct 05, 2008 at 05:22:37PM +0700, Henrik Sarvell wrote: (class +Awords +Entity) (rel words (+Key +List)) (rel counts (+List)) ... [idxtest.l:2] !? (extra Var (cdr Lst)) T -- Bad extra Oops, sorry, my fault! It should have been (rel words (+List +Key +String)) (rel counts

Re: v2.3.3 and v2.3.4 core dump at gc.c:68

2008-10-05 Thread Alexander Burger
On Sat, Oct 04, 2008 at 10:58:58PM +0300, Andrei Ivushkin wrote: Funny enough. I've just downloaded and compiled picolisp-2.3.4 on Zenwalk ... and bad.l script works fine. Good to hear that. I still hope that this bug is restricted to the GCC version distributed with Ubuntu. I quite frequently

Re: jQuery again

2008-10-05 Thread Alexander Burger
On Sun, Oct 05, 2008 at 02:41:33PM +0700, Henrik Sarvell wrote: http : 5 line : line = (P O S T / @ a j a x T e s t H T T P / 1 . 1) _htHead : ... _htHead = NIL line : So this is exactly what I expected. Why does Firefox send the HTTP header, but not the following

Re: v2.3.3 and v2.3.4 core dump at gc.c:68

2008-10-05 Thread Alexander Burger
On Sun, Oct 05, 2008 at 04:34:09PM +0700, Henrik Sarvell wrote: friction as possible which I get from Ubuntu, is there another distro which will give me the same ease of use? Not sure. Ubuntu is really nice, and clever usually when it comes to hardware detection. Knoppix is an alternative,

Re: Idx lists with symbol - values, value lost in db

2008-10-05 Thread Henrik Sarvell
Yes, in the real application there will be no +Key I just put it there in this test to be able to use (collect). /Henrik --=_Part_38569_17306459.1223208853641 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline div dir=ltrYes, in the real

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
If the above simple example is not working either for for instance Alex maybe? Then obviously something needs to be changed in either jQuery or the Pico server to make them play well, the question is where and what and which needs fewest changes? Unfortunately I'm sorely lacking in all areas

Re: behavior of +Need

2008-10-05 Thread Roberto Carlos Barroso Ballona
Hi Alexander, I've already read your post: The need for +Need. Thank you for take your time and give those detailed explanations. I see that as a piece of documentation and so I won't comment there. In fact this is a complex issue and the base of any application framework. Nevertheless, I think

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
I just did a very basic test, the javascript: function ajaxFunction(){ var xmlHttp; try{ xmlHttp = new XMLHttpRequest(); }catch (e){ try{ xmlHttp = new ActiveXObject(Msxml2.XMLHTTP); }catch (e){ try{ xmlHttp = new ActiveXObject(Microsoft.XMLHTTP);

Re: jQuery again

2008-10-05 Thread Alexander Burger
Hi Henrik, The above works just fine, however when changing the GET to POST I run in to the same stalling problem as I did before. Is there a reason why xmlHttp.open(GET, http://localhost/@ajaxTest;, true); xmlHttp.send(null); When you changed GET to POST, did you also make sure to

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
I just changed the original example to: $(document).ready(function(){ $(.articles_link).css('cursor', 'pointer').click(function(){ $.get(@ajaxTest, {jquerytest: test}, function(res){ $(.middle_content).html(res); }); }); }); Not surprisingly it works too, the only difference is

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
Yes it does, but when changing the ajaxTest function to: (de ajaxTest () (httpHead text/plain; charset=utf-8) (ht:Out T (ht:Prin (pack Result: (get 'jquerytest 'http) I only get Result: in the alert box, and firebug does not show any POST variables at all either.

Re: jQuery again

2008-10-05 Thread Henrik Sarvell
Disregard my prior post, I had forgotten to change the GET to POST. --=_Part_47580_21775726.1223270082765 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline div dir=ltrDisregard my prior post, I had forgotten to change the GET to