The JSON encoder/decoder is almost finished, there is only one problem left.
In the encoding I use getl to get all the properties of an object, however
when some of them contain T or NIL I run into problems.
Just running this code illustrates the problem:
(setq Tst (new))
(put Tst 'a hello)
(put
Maybe this is a non-issue when I think about it. I can think of two
possibilities:
1) For some reason an +Entity object needs to be converted to JSON.
2) A key = value structure needs to be sent, in such a case a paired list
would do the trick, ie: ((k1 . v1) (k2 v2)) = {k1: v1, k2: v2}.
This is
Thanks for the input Thomas but I think I will just go with paired lists
instead, they are easier to manipulate with various list functions and
should therefore be preferable to basic objects anyway. +Entity objects are
on the list though.
This is oversimplified version as there are lots of
I've read the prior discussion on using cross domain get with callback, very
nice but now we have something simpler, a POST on the same domain, i.e.
http://localhost:8080.
I have a simple document rendered with (html), (app) and (action) are
absent. I don't want to use them at all since I'm using
Another question, I have a small upload form I want to use, again without
(action) or (app), is this possible?
Currently my form looks like this:
(html ...(post NIL @importOpml
(upload 10 '*OpmlFile)
(submit Import))]
The recipient function looks like this:
(de
I compiled with gcc 4.1.2 at home and the problem disappeared without
changing a single thing in the Pico code so I really never had a problem at
all.
To all: During the past few days Alex and me realized that compiling with
gcc 4.2.3 will introduce memory corruption issues when using the default
I'm still getting exactly the same problem, it just stalls without returning
anything, ie Response: Loading... in Firebug.
As far as I know this should simply work in the same way a POSTed form does,
I know you use Ajax in the JS form logic so there is nothing in the Pico
server that is stopping
Hi Eugene.
1.) Why a secret? I once asked the same thing and Alex's answer was simply
that he hadn't spent much time promoting, I suppose he has enough clients
using Pico that he survives anyway :-). I'm trying though to bring it out in
the open more, as well as trying to make it less daunting
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,
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:
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
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 = {};
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
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
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
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);
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
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.
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
Alex realized that the problem is a missing newline at the end of the
post string today. I've covered the solution over here:
http://www.prodevtips.com/2008/10/06/jquery-and-pico-lisp/
Maybe not the most elegant one, but orders of magnitude better than
actually changing the jQuery core.
/Henrik
Sounds clever, but very complicated maybe to maintain the scheduling?
You mentioned multiplayer online games as a possibility, are the big
ones with thousands of simultaneous users already operating under
these principles? It would be great if you could point me to a
resource on the basics behind
Konrad,
Thanks for the links and clarifications, here is another one:
http://en.wikipedia.org/wiki/Twisted_(software)
However, for really understanding what this is about this link that
you posted is very good: http://www.nightmare.com/medusa/medusa.html
From the above Medusa link: Most
There has been some prior discussion on the list:
http://www.mail-archive.com/search?q=circular+listsl=picolisp%40software-lab.de
It might or might not be of help.
/Henrik
--
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]
I'm experiencing some unwanted behavior with regards to cookies, I
have a login form looking like this:
(de signin ()
(app)
(action
(rss-html
(form NIL
(table NIL NIL NIL
(row NIL Username (gui 'uname '(+TextField) 10))
(row NIL
I currently have a section of code that is loading a remote XML (RSS2
or Atom) and then loads all articles. Since we are talking about HTML
inside XML here there is no way for the xml library to realize this,
and there should be no reason for it either.
In any case because of this I find myself
I'm trying to output a nested list to text, see the (trace 'pipe)
output I copy pasted.
Why do you think there might be a bug in the kernel? Obviously
everything is working fine when we work in a non server context and as
far as I know the http server is not a part of the kernel?
Note also that
I just realized I haven't had the need to do a reference link lookup
until know and don't really know how.
Pretend we have +User(s), they are from different countries like so:
(rel country (+Ref +Link) NIL (+Country))
Now if I want to have all the Germans, how would that generator look?
Maybe
Wasn't it somebody else?
Randall maybe...
/Henrik
On Thu, Dec 4, 2008 at 11:09 PM, Tomas Hlavaty [EMAIL PROTECTED] wrote:
Hi Henrik,
Well Thomas, I see that they used PHP in that test which means
they're using the beloved Apache
probably.
which I think you have bashed earlier for its
I just realized that it doesn't work properly with a longer list
length than 3, back to the drawing board.
/Henrik
On Thu, Dec 25, 2008 at 7:41 PM, Henrik Sarvell hsarv...@gmail.com wrote:
Hello everyone, I couldn't find anything already created to this
effect so I sat down and did this, I
is set
properly.
What am I missing?
/Henrik
On Mon, Oct 20, 2008 at 7:34 PM, Alexander Burger a...@software-lab.de wrote:
On Mon, Oct 20, 2008 at 11:26:00PM +0700, Henrik Sarvell wrote:
Simply manually navigating to http://localhost:8080/@desktop after
this displays all the correct results
Thanks Tomas, yes I'm aware of that thread and will try it out.
I could've sworn though that I had it working somehow but I can't
remember anymore, could be that I've lost the working version because
I can't tell the difference anymore.
/Henrik
On Thu, Apr 2, 2009 at 10:01 AM, Tomas Hlavaty
The only reason I'm opting for the cookie solution is that the current
session logic is using ports and there are not an unlimited amount of
ports, I don't like that, furthermore it seems overkill for what I
want to do here where I only want to use the current (app) logic in
the sign up form and
Apparently the change of everyone's url is Google making changes, I
think they are related to Adsense in feeds or something.
Anyway, the following works at the moment:
In getfeed.php:
#!/usr/bin/php -q
?php
error_reporting(E_PARSE);
echo utf8_encode(file_get_contents($_SERVER['argv'][1]));
?
On Sat, Apr 4, 2009 at 6:13 PM, Henrik Sarvell hsarv...@gmail.com wrote:
Apparently the change of everyone's url is Google making changes, I
think they are related to Adsense in feeds or something.
Anyway, the following works at the moment:
In getfeed.php:
#!/usr/bin/php -q
?php
Hi Kriangkrai (what is your short name?).
This is a matter of taste, I actually like the func way because that
makes it easy for me to differentiate them from system functions.
Check out the xhtml.l file for both those functions and the tag function.
/Henrik
On Fri, May 8, 2009 at 3:24 PM,
)
or to comment within context, e.g.
=A0 =A0 =A0 =A0(de f (A #{...}# B #{...}#)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0... )
Best regards,
KS
On 5/8/09, Henrik Sarvell hsarv...@gmail.com wrote:
I've implemented simply selecting a slew of lines in my editor,
hitting ctrl-t and they're all single
Is Kriangkrai acceptable, too?
Kriangkrai Soatthiyanont sounds Thai, but maybe I was mistaken, if I
wasn't there is a short, usually 3 letter name that is easier to use
:-).
/Henrik
On Fri, May 8, 2009 at 4:43 PM, Alexander Burger a...@software-lab.de wrote:
Hi Kriangkrai,
You may call me
Thomas: I think there was some other problem mentioned on this
mailing list that was caused by -O2...
Yes, don't compile pico lisp on a Ubuntu version newer than Feisty,
the result is highly unstable with O2, seems to be working with O1
though.
In any case I just don't compile pico lisp on newer
, 2009 at 03:08:34PM +0200, Henrik Sarvell wrote:
Yes, don't compile pico lisp on a Ubuntu version newer than Feisty,
the result is highly unstable with O2, seems to be working with O1
though.
Hmm, I do not think that the problems here have to do with the C
compiler.
It rather seems
I vaguely remember a discussion approaches to cleaning or optimizing
databases, I searched the mailing list however without success.
Alex can you remember?
/Henrik
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
I'm going to look into this too but what I had in mind was some kind
of maintenance you were running at one of your clients or something
like that.
/Henrik
On Tue, Jul 21, 2009 at 7:42 AM, Alexander Burgera...@software-lab.de wrot=
e:
Hi Henrik,
I vaguely remember a discussion approaches
That's it, dbgc and cron jobs, that rings a bell. Can you post an
example usage of dbgc?
/Henrik
On Tue, Jul 21, 2009 at 9:55 AM, Alexander Burgera...@software-lab.de wrote:
On Tue, Jul 21, 2009 at 09:43:46AM +0200, Alexander Burger wrote:
I cannot find a posting about that, but there is
for '+Ord'.
(17.12.04) Regenaxer: This is there because we want all positions in
that object to be recursively deleted, too.
On Tue, Jul 21, 2009 at 2:33 PM, Alexander Burgera...@software-lab.de wrot=
e:
On Tue, Jul 21, 2009 at 10:07:38AM +0200, Henrik Sarvell wrote:
That's it, dbgc and cron jobs
I'm having problems putting text in a +Blob when I try to emulate how
it's done in the demo application.
In the top section of my main I have this:
(setq *Blob (pack *BP blob/)) where *BP is my base path.
This is the point at which my code diverges from all the example code
I've seen so far.
Works, but I can't pretend to understand how the folder and file naming wor=
ks.
I just checked the ext3 limits on wikipedia, apparently it can't
handle more than roughly 32000 sub folders inside a folder, it's
unclear whether that applies to files too or not.
Anyway, how does it work, could
It seems to me that the 64bit version will be completely incompatible
with the old 32bit databases/blobs. Alex how will you go about
migrating all the old databases?
/Henrik
On Sun, Aug 16, 2009 at 9:10 PM, Tomas Hlavatyt...@logand.com wrote:
Hi Alex,
database file number is encoded in a
I've just used dbs to split my database into several files which seems
to be working but if I recall correctly the catch all will be file no
1 and it's growing out of proportion very rapidly when I import my
data. Out of proportion with regards to what I believe should be in it
that is.
I've had
Thanks for that, will try it out tonight!
/Henrik
On Tue, Aug 18, 2009 at 7:21 AM, Alexander Burgera...@software-lab.de wrot=
e:
Hi Henrik,
I've just used dbs to split my database into several files which seems
to be working but if I recall correctly the catch all will be file no
1 and
I almost forgot, I think I am seeing +Aux relations in no 1 too,
fairly long lists of dotted pairs smells like it. I suppose my dbs
example in the prior post won't take care of them properly, ie putting
them in their own files?
/Henrik
On Tue, Aug 18, 2009 at 8:49 PM, Henrik
- Did you call 'pool' with '*Dbs'?
- Are you sure you started with an empty database after you changed 'dbs'=
?
Yes on both accounts, strange, I will do some isolated tests today, ie
not use my normal import functions but instead simply insert some test
data into an empty database and then see
for the help!
/Henrik
On Wed, Aug 19, 2009 at 10:39 AM, Alexander Burgera...@software-lab.de wro=
te:
On Wed, Aug 19, 2009 at 10:08:03AM +0200, Henrik Sarvell wrote:
Note that the tree root nodes (e.g. {2}) above are always created in f=
ile=3D
=A0#1.
What exactly do you mean
Maybe we should but the mature 32bit version on Mercurial then
everyone could submit to their hearts content and then Alex could very
easily choose which stuff he wants to merge into each new release or
something. This is starting to feel primitive, what do you think Alex?
/Henrik
2009/8/20 TC
On Fri, Aug 21, 2009 at 11:26 AM, Alexander Burgera...@software-lab.de wro=
te:
On Fri, Aug 21, 2009 at 09:48:57AM +0200, Henrik Sarvell wrote:
http://bitbucket.org/plans/. PicoLisp is such a small repository that
we can go free on either BitBucket or GitHub.
...
Then I randomly ended up
...@software-lab.de wrote:
On Thu, Sep 03, 2009 at 02:00:39AM +0200, Henrik Sarvell wrote:
http://www.prodevtips.com/2009/09/02/pico-lisp-to-json-with-javascript/
...
two issues but I don't know about the rest of you, any ideas?
I believe it is difficult to parse nested Lisp data with static
Thanks Mateusz, I'll try it out.
/Henrik
On Thu, Sep 3, 2009 at 11:52 AM, Mateusz Jan
Przybylskidexen.devr...@gmail.com wrote:
Hello,
On Thursday 03 September 2009 02:00:39 Henrik Sarvell wrote:
Hello everyone, I sat down tonight and ugly coded a Pico to JSON
converter in JS, I documented
First of all, to offload the server from having to build json all the time.
For me the real issue is not speed in the client, given that premise I
simply took a wild guess that building the json and then evaluating it
is a simpler road to take than actually building the composite objects
right
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
first one is really impossible then any JSON converter will stumble on
it since it's impossible to know if [key, [1, 2, 3]]
Thanks for the idea TC, another alternative would be to give the
parser a bias to lean on as an extra argument but that doesn't feel
100% right. I can't see how :key would create any conflicts either.
/Henrik
On Fri, Sep 4, 2009 at 8:23 AM, Tomas Hlavatyt...@logand.com wrote:
Hi Henrik,
I've updated the converter now, the current version is more flexible
than earlier and will now also do (:key (1 2 3)) - {key: [1, 2,
3]}.
/Henrik
On Fri, Sep 4, 2009 at 11:10 AM, Henrik Sarvellhsarv...@gmail.com wrote:
Thanks for the idea TC, another alternative would be to give the
parser a
For what it's worth I think I once just simply copied the picolisp
executable that I had compiled in Ubuntu Feisty (observe no later
versions of Ubuntu will work as the GCC is broken on them) to a Mac
and it simply ran it without any problems.
/Henrik
On Mon, Sep 14, 2009 at 11:09 AM, Alexander
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
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
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...
It worked OK, and I realized I had another relation with the same setup:
(class +Awords +Entity)
(rel words (+Blob))
(rel counts (+Blob))
(dm put (Key Val)
(put! This Key T)
(out (blob This Key)
(prinl Val)))
The above works but I wanted to follow your advice on this one too, so
I
I might be inclined to think something similar normally, but in this
case the only difference is: (put! This Key T) which works as opposed
to (super This Key T) which doesn't. And that has absolutely nothing
to do with A (an article).
/Henrik
On Sat, Sep 19, 2009 at 4:36 PM, Alexander Burger
I don't understand how a (show This) would show anything else but this
in this case:
[test3.l:23] !? (has (meta This Var) Val (get This Var))
has -- Bad message
? (show This)
{4-5v;} (+Awords)
- {4-5v;}
If you check the earlier code listing you will see that +Awords is
clearly a descendant of
Yes you should revert back, and I suppose the best solution is to
implement the change you were talking about above. How much overhead
would it introduce?
/Henrik
On Thu, Sep 24, 2009 at 11:45 AM, Alexander Burger a...@software-lab.de wr=
ote:
Hi Henrik,
I'm confused I thought pico didn't do
But then you get the kind of break down you referred to earlier?
However for me this is not a problem I've always had space between the
dot and the rest anyway.
On Thu, Sep 24, 2009 at 12:44 PM, Alexander Burger a...@software-lab.de wr=
ote:
On Thu, Sep 24, 2009 at 12:04:54PM +0200, Henrik
Hi Alex, I tried to run the 64bit version but it hung when I tried to
do the initial import and it would not even allow me to kill it, I had
to reboot the machine so I'm back with the 32bit version. I have no
idea what might be the problem, it just crashes without any errors and
churns away with
What flags do I need? If I recall correctly I think I tried compiling
the 32bit version but it didn't work simply using 'make'.
On Mon, Oct 26, 2009 at 7:05 AM, Alexander Burger a...@software-lab.de wrote:
Hi Henrik,
idea what might be the problem, it just crashes without any errors and
+0100, Henrik Sarvell wrote:
The only thing that is different is that I'm now running them on a
64bit system. The interpreter works just fine, it's just that ht:Pack
thing that won't play ball.
Strange. What does 'file' say?
=A0 $ file lib/ht
=A0 lib/ht: ELF 32-bit LSB shared object, Intel
'
before the interpreter locks up completely at 100% of cpu, I have to
kill it every time.
On Mon, Oct 26, 2009 at 4:46 PM, Henrik Sarvell hsarv...@gmail.com wrote:
About the Mac stuff, AFAIK everything works OK on the Intel architecture.
Putting even a joule of effort into making things work
The last part of my earlier post refers to the 64bit version, forgot
to say that.
On Tue, Oct 27, 2009 at 2:56 AM, Henrik Sarvell hsarv...@gmail.com wrote:
Seems like I have to apologize for the 32bit confusion, when I tried
today it simply worked, no ht:Pack problems.
Anyway, I ran my
a...@software-lab.de wr=
ote:
On Tue, Oct 27, 2009 at 11:09:31PM +0100, Henrik Sarvell wrote:
username/password and get this from the traceAll call, I only paste
the last hundred lines or so, I think it should be enough:
...
=A0 =A0 =A0db : uname +User henrik pwd 123456
...
=A0 =A0 =A0 _db : {2
What I'm subsequently doing further down in the code is a recursive
matching in order to get at the pieces I want, on the same list, I'll
give you an example:
(dm twitter (L)
(use (@A @X @E @Z)
(make
(while (match '(@A s t a t u s @E /
s t a t u s @Z) L)
(let R
It's a good question with a very simple answer, many many feeds out
there are completely broken, sometimes they don't conform to
standards, that's a good scenario but often they have unmatched tags
or unclosed attributes.
At first I tried using the xml function but I quickly discovered that
it
I want to be able to search for feeds by substring in their titles,
the E/R looks like this at the moment:
(class +Feed +Entity) #
(rel fid (+Key +Number)) #
(rel title (+Idx +String)) #
(rel xmlUrl(+Key +String)) #
(rel htmlUrl (+Key +String)) #
(rel lastFetch (+Number))
The
Hi Alex I can't remember if we had this discussion on IRC or on the
list. I'll do a short recap in case it was IRC.
The main thing is that my old registration form looked like this:
(de register ()
(app)
(action
(rss-html
(form NIL
(unless *Post (=: obj (new!
I'll replace them with tw_pwd and tw_uname which is the names of the
E/R relations, I like it consistent over the whole board :-)
/Henrik
On Mon, Nov 2, 2009 at 8:33 AM, Alexander Burger a...@software-lab.de wrot=
e:
Hi Henrik,
As of PicoLisp 3 *Post for instance is no more so the above
-English {:q}) {:q}
(=E7=BB=8F=E7=BD=91=E3=80=8B-English {:q}) {:q}
(=E7=BD=91=E3=80=8B-English {:q}) {:q}
(=E8=B4=A2=E7=BB=8F=E7=BD=91=E3=80=8B-English {:q}) {:q}
Does that output tell you anything?
On Mon, Nov 2, 2009 at 12:25 PM, Henrik Sarvell hsarv...@gmail.com wrote:
Thanks, I'll try it out
doing?
/Henrik
On Mon, Nov 2, 2009 at 9:39 PM, Henrik Sarvell hsarv...@gmail.com wrote:
I did the rebuild but I'm still not getting any results when running
the above query and I know for a fact that I should be getting at
least two.
Doing the scan gives me a long list, this is the end
I'll try with the one you suggested, thanks for the clarifications!
/Henrik
On Tue, Nov 3, 2009 at 8:38 AM, Alexander Burger a...@software-lab.de wrot=
e:
Hi Henrik,
I took a look at the pilog file, I already get what same and range are
doing but what are part, head and fold doing?
You are
the (from) but it didn't
have the intentional result, any suggestions here?
/Henrik
On Sun, Nov 1, 2009 at 6:26 PM, Alexander Burger a...@software-lab.de wrot=
e:
On Sun, Nov 01, 2009 at 01:49:59PM +0100, Henrik Sarvell wrote:
It's a good question with a very simple answer, many many feeds out
Hi all.
I've had no problems compiling picolisp32 on a 32bit Intel system and
then running the executable on a 64bit intel system. However now I'm
faced with a 64bit AMD system and the old 32bit executable I compiled
on the Intel system is not even recognized.
When I'm trying to compile the
Hi everyone, so the picolisp application I've been working on and off
on for the past year has started to come together. It's a feed reader.
It can be found here: http://vizreader.com
The reasons for making a feed reader are many, but there are two that stand out:
1.) I don't like Google Reader,
Hi Alex, you know I use the standard GUI for logging in and
registration. After the server has been on for a while I suddenly get
http://vizreader.com:39968/366072015751376...@start?*menu=+0*Tab=+1*ID=
and Firefox can't establish a connection to the server at
vizreader.com:39968 when I try to
the
problem with a simple app that you can easily run.
/Henrik
On Tue, Nov 24, 2009 at 10:57 AM, Henrik Sarvell hsarv...@gmail.com wrote=
:
Yes (redir) is just a shortcut to:
(de redir (Func)
=A0 (redirect (pack *Domain (or Func @desktop
redirecting causes you to lose part of the session's
Given the problems I'm having with the GUI framework I thought it
might be a good idea to skip it all together and try it the old
fashioned, simple way since we're just talking about two field form
anyway.
So I changed the signin form to look like this:
(de signin ()
(html 0 Viz Reader *Css
, 2009 at 5:30 PM, Alexander Burger a...@software-lab.de wro=
te:
On Sun, Nov 29, 2009 at 10:40:05AM +0100, Henrik Sarvell wrote:
Yes the (patch _htHead '(format (car @H)) 0) line didn't help in the end=
:(
OK, so we know at least that it is not a HTTP/1.1 problem.
1.) Started it and tried
I'm looking into implementing a more advanced similarity algorithm
than what I have now for comparing text. I'm going to use various
wordstat files that categorizes words, now a lot of the words in these
files have already been stemmed, ie reduced to their common stem,
for instance INFINIT*.
So I
Don't forget, in some cases it's simply enough with ::, for instance
(pop (:: classVar)). Just to make the discussion complete :-)
/Henrik
On Wed, Dec 9, 2009 at 7:53 AM, Alexander Burger a...@software-lab.de wrot=
e:
Hello Cle,
Now I have detected the class variables I want to use now. But
I don't know exactly the circumstances of what you're trying to
achieve, but if I were you and needed to access by unique id I would
first use +Key in the relations:
(rel id (+Key +String))
Then I would use (db) to access (like you do but without the Pilog):
(db 'id '+Test 1)
I think that's
:
Hello Henrik,
Henrik Sarvell wrote:
I don't know exactly the circumstances of what you're trying to
achieve,
ok, I will try to answer this in the next mail to Alex ...
but if I were you and needed to access by unique id I would
first use +Key in the relations:
(rel id (+Key +String))
Ah
Recently I've been testing things additions to http.l in order to try
and consume Push feeds (
http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.2.html
).
I've managed the whole sequence up till actually getting the feed
updates which are posted from the hub to my script by way of
I just noticed that someone had searched for picolisp json on
Google, I've attached the JSON encoder/decoder to this mail.
However there is one problem, it isn't properly managing when there
are complex texts involved, then the double quote escaping might get
it wrong if there are already escaped
. =A0Having
server-side JSON support is going to make what I have in mind vastly
simpler. =A0PicoLisp looks fascinating; this should be quite fun.
--Benjamin
On Mon, Dec 14, 2009 at 5:12 AM, Henrik Sarvell hsarv...@gmail.com wrot=
e:
I just noticed that someone had searched for picolisp json
I've done some more examining and testing and I think the content
might be chunked even though there's nothing advertised in the
headers.
Alex, you mentioned on IRC how to handle/read chunked content and of
course I forgot to save the buffer. Would you care to go through it
again please?
I also
Thanks Alex, I've actually tried advertising as both 1.0 and 1.1,
doesn't seem to make any difference, will try ht:Ln tonight.
On Tue, Dec 15, 2009 at 7:39 AM, Alexander Burger a...@software-lab.de wro=
te:
Hi Henrik,
Alex, you mentioned on IRC how to handle/read chunked content and of
, 2009 at 9:25 AM, Henrik Sarvell hsarv...@gmail.com wrote:
Thanks Alex, I've actually tried advertising as both 1.0 and 1.1,
doesn't seem to make any difference, will try ht:Ln tonight.
On Tue, Dec 15, 2009 at 7:39 AM, Alexander Burger a...@software-lab.de w=
rote:
Hi Henrik,
Alex, you
Good idea, the explicit linking, it shows me I'm actually getting the
body, however somewhere later on I'm stalling. I keep forgetting that
traceAll doesn't in fact trace everything ;-)
My @pubsub function is not executing (and the hub reports failure),
which it is when I access it through the
1 - 100 of 392 matches
Mail list logo