Subscribe

2010-07-06 Thread Edwin Eyan Moragas
Hello Edwin Eyan Moragas haa...@gmail.com :-) You are now subscribed -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

DB ACID properties

2010-07-06 Thread Edwin Eyan Moragas
Hi list, while doing a www search on picolisp ACID properties i came across http://www.ohloh.net/p/PicoLisp and found this PicoLisp implementation includes Object System, XHTML GUI toolkit (including AJAX support), web application server, relational database with ACID properties, Pilog (Prolog

Re: DB ACID properties

2010-07-06 Thread Edwin Eyan Moragas
Hi Alex, 'pool' and 'journal' answered my questions. thanks for the fast response! /e On Wed, Jul 7, 2010 at 1:23 AM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, i'm now wondering as to what extent ACID properties are implemented in the picolisp DB implementation. All processes

Re: DB ACID properties

2010-07-07 Thread Edwin Eyan Moragas
On Wed, Jul 7, 2010 at 2:11 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, 'pool' and 'journal' answered my questions. thanks for the fast response! Yes, 'pool' is the right place. Please note that 'journal' has strictly speaking not much to do with ACID. It writes a protocol

Re: solicting user stories of picolisp

2010-07-19 Thread Edwin Eyan Moragas
On Mon, Jul 19, 2010 at 10:39 PM, Mateusz Jan Przybylski dexen.devr...@gmail.com wrote: However, a (quick'n'dirty) HTML HTTP application in PicoLisp got me a v= ery good grade for `Programming languages paradigms' course at Uni. The lecturer never heard of Lisp before; after listening to my

Re: solicting user stories of picolisp

2010-07-19 Thread Edwin Eyan Moragas
Hi Alex, thank you for these. very comforting. and thank you for picolisp! my thanks also to Mateusz and Henrik. guys, keep em coming! i am deeply enjoying this. i hope the rest are too. On Tue, Jul 20, 2010 at 12:46 AM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, if anybody

Unsubscribe

2010-07-24 Thread Edwin Eyan Moragas
Good bye Edwin Eyan Moragas haa...@gmail.com :-( You are now unsubscribed -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Subscribe

2010-07-24 Thread Edwin Eyan Moragas
Hello Edwin Eyan Moragas e...@yndy.org :-) You are now subscribed -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

warning while compiling picolisp

2010-07-25 Thread Edwin Eyan Moragas
Hi all, compiling picoLisp-3.0.3 on openbsd 4.6 gives some warnings. the others i am familiar with but this one is beyond my C programming foo at the moment: flow.c: In function `doCatch': flow.c:1351: warning: argument `x' might be clobbered by `longjmp' or `vfork' i'm willing to test patches

Re: warning while compiling picolisp

2010-07-25 Thread Edwin Eyan Moragas
On Mon, Jul 26, 2010 at 12:59 AM, dexen deVries dexen.devr...@gmail.com wrote: On Sunday 25 of July 2010 17:41:11 you wrote: compiling picoLisp-3.0.3 on openbsd 4.6 gives some warnings. the others i am familiar with but this one is beyond my C programming foo at the moment: flow.c: In

Re: warning while compiling picolisp

2010-07-25 Thread Edwin Eyan Moragas
Hi Alex, On Mon, Jul 26, 2010 at 1:02 AM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, snip The best solution is to use a more up-to-date version of 'gcc', or - even better - use the 64-bit version which avoids 'C' :-) thank you. i'll try a newer version of gcc. Cheers, - Alex

Re: PL vs. BSD License

2010-08-02 Thread Edwin Eyan Moragas
Hi Alex, all, On Mon, Aug 2, 2010 at 2:29 PM, Alexander Burger a...@software-lab.de wrote: Hi all, as this discussion popped up recently and in the past, and will surely pop up in the future: What do you think if PicoLisp were released under the BSD license instead of GPL? i go for BSD.

Re: PL vs. BSD License

2010-08-02 Thread Edwin Eyan Moragas
Hi Dan, all, On Mon, Aug 2, 2010 at 7:24 PM, Daniel Elliott danelliotts...@gmail.com w= rote: Hello. Does the GPL affect code that I write that runs on PicoLisp, or just changes to the PicoLisp interpreter? picoLisp is made up of 1) the interpreter and 2) libraries and support files that

documentation license?

2010-08-09 Thread Edwin Eyan Moragas
Hi Alex, what's the license of the documentation that comes with picoLisp? best, /e -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

first swing at running local wiki

2010-08-09 Thread Edwin Eyan Moragas
Hi all, built picoLisp, fetched the wiki, untarred it, then followed the instructions here: http://www.mail-archive.com/picolisp@software-lab.de/msg01556.html in summary it went like: $ cd ~/picoLisp $ mkdir -p db/wiki $ ./dbg wiki/main.l lib/too.l -main wiki/init.l -go opened the browser to:

Re: documentation license?

2010-08-10 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Aug 10, 2010 at 2:09 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, what's the license of the documentation that comes with picoLisp? I assumed that it is also under the GPL until now, as the GPL is the only license included in the distribution. As we are

Re: first swing at running local wiki

2010-08-10 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Aug 10, 2010 at 2:23 PM, Alexander Burger a...@software-lab.de wrote: I didn't test under OpenBSD since last year. Something's wrong with the link flags (PICOLISP-FLAGS or DYNAMIC-LIB-FLAGS) in src/Makefile? will check. thank you /e -- UNSUBSCRIBE:

Re: first swing at running local wiki

2010-08-10 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Aug 10, 2010 at 2:39 PM, Edwin Eyan Moragas e...@yndy.org wrote: I didn't test under OpenBSD since last year. Something's wrong with the link flags (PICOLISP-FLAGS or DYNAMIC-LIB-FLAGS) in src/Makefile? will check. thank you no problems with the link flags as far as i can

Re: first swing at running local wiki

2010-08-10 Thread Edwin Eyan Moragas
On Tue, Aug 10, 2010 at 10:19 PM, Alexander Burger a...@software-lab.de wr= ote: Hi Edwin, no problems with the link flags as far as i can tell. it compiles cleanl= y. OK diverging a bit. what's picolisp's protocol of loading shared libs? A simple dlopen() followed by dlsym(). This

Re: first swing at running local wiki

2010-08-11 Thread Edwin Eyan Moragas
Hi Alex, On Wed, Aug 11, 2010 at 2:48 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, didn't. dbg spewed out similar errors. digging deeper... Most probably you already thought about it, but just in case: Is it possible that the shared object files are the remains of a previous

Re: first swing at running local wiki

2010-08-11 Thread Edwin Eyan Moragas
e...@obsddev $ ./dbg wiki/main.l lib/too.l -main wiki/init.l -go !? (ht:Pack @U) ht:Pack -- Undefined ? (bye) File not found the error is from dlerror(). i'm also posting to m...@openbsd for some clues. haven't dealt with dlopen() and friends before. :) i did another run. the buffer was

Re: GPL vs. BSD License

2010-08-11 Thread Edwin Eyan Moragas
hi Alex, whee! *thank you* for going this way. altho i must add that either way, i am (and so's everybody on the list) thankful for picoLisp! same goes for miniPicoLisp? /e On Wed, Aug 11, 2010 at 9:10 PM, Alexander Burger a...@software-lab.de wro= te: Hi all, thanks for the feedback! By

Re: first swing at running local wiki

2010-08-11 Thread Edwin Eyan Moragas
Hi Alex/list, On Tue, Aug 10, 2010 at 10:19 PM, Alexander Burger a...@software-lab.de wr= ote: You could try manually som functions from lib/ht, e.g.: =A0 $ ./dbg =A0 : (ht:Prin abcd) =A0 alt;bamp;cgt;d- abcd =A0 : (ht:Fmt 'abc def 123 (4 5 6)) =A0 - $abcdef+123_+4_+5_+6 If this works,

Re: first swing at running local wiki

2010-08-12 Thread Edwin Eyan Moragas
Hi Alex, On Thu, Aug 12, 2010 at 2:28 AM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, made ext.c and ht.c as part of the picolisp binary by editing the makefile. also tweaked tab.c (and io.c, flow.c since there were clashing symbols there) and pico.h to include the missing

looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Edwin Eyan Moragas
On Thu, Aug 12, 2010 at 2:31 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, thank your for the instructions. the bootstrap was successful. i have Great! moving forward, i'm playing with some flags to diagnose the problem. the obsd guys game some hints that i can work with.

Re: looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Edwin Eyan Moragas
Hi Alex, possible additions to the Makefile (INSTALL instructions sensitive) : # Clean up clean: rm -f *.o + rm -f ../lib/ht + rm -f ../lib/ext On Thu, Aug 12, 2010 at 3:21 PM, Edwin Eyan Moragas e...@yndy.org wrote: On Thu, Aug 12, 2010 at 2:31 PM, Alexander Burger

Re: looks like solved (was Re: first swing at running local wiki)

2010-08-12 Thread Edwin Eyan Moragas
On Thu, Aug 12, 2010 at 3:56 PM, Alexander Burger a...@software-lab.de wro= te: Hi Edwin, possible additions to the Makefile (INSTALL instructions sensitive) : =A0# Clean up =A0clean: =A0 =A0 =A0 =A0 rm -f *.o + =A0 =A0 =A0 rm -f ../lib/ht + =A0 =A0 =A0 rm -f ../lib/ext That's right. It

script for generating tags for picolisp

2010-08-17 Thread Edwin Eyan Moragas
Hi all, anybody who made an attempt to create such kind of script? or maybe a resource somewhere in the interwebs for this? cheers, /e -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

difference between a cons pain and plain list

2010-08-17 Thread Edwin Eyan Moragas
Hi all, yes, a lisp newcomer here. looking at the example in the app dev doc: : (h1 '(id . bar) Title) two questions 1) if the cons pair was written as code(id bar)/code instead of as with the example, would h1 treat it different? how? 2) what's the fundamental difference between a cons pair

Re: difference between a cons pain and plain list

2010-08-17 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Aug 17, 2010 at 8:34 PM, Alexander Burger a...@software-lab.de wro= te: (a . b ) =3D=3D [a, b] (a b) =3D=3D [a, b, NIL] Well, it depends how your '[' and '[' notation is interpreted. I would draw it as cell boxes. (a . b) is a single cell (two pointers), with 'a' in the

Re: script for generating tags for picolisp

2010-08-18 Thread Edwin Eyan Moragas
Hi Alex, On Wed, Aug 18, 2010 at 3:41 PM, Alexander Burger a...@software-lab.de wro= te: Hi Doug, On Tue, Aug 17, 2010 at 09:19:23PM -0700, Doug Snead wrote: ... # make a tags file for pico lisp source files. ... As I understand it, this is not exactly what Edwin intended. I think he

Re: script for generating tags for picolisp

2010-08-18 Thread Edwin Eyan Moragas
; gsub(/^\(/,,n); gsub(/\)$/,,n); print n \t FILENAME \t?^ $0 $?; if (n ~ /^\+/) { =A0gsub(/^\+/,,n); =A0print n \t FILENAME \t?^ $0 $?; } } ' $* | sort tags =3D =3D =3D --- On Tue, 8/17/10, Edwin Eyan Moragas e...@yndy.org wrote: From: Edwin Eyan Moragas e...@yndy.org Subject: script

(extend cls)

2010-08-18 Thread Edwin Eyan Moragas
Hi all, i'm going thru the wiki code. encountered `(extend)` in it but couldn't find an example in the tutorial but found the definition in the docs. after reading thru, seems to me that *Class is used to change class definitions (from wiki/er.l and doc/family.l). examining wiki/gui.l, seems to

Re: (extend cls)

2010-08-19 Thread Edwin Eyan Moragas
Hi Alex, thank you for reading thru and replying. `(pp)` helps a lot. snip which leads to more questions... scalability. Moreover, I would say the typical case is not to have multiple databases, but a single database distributed across multiple machines. this is very interesting. how

how to run tests

2010-08-22 Thread Edwin Eyan Moragas
Hi all, i can't find anything on how to run tests that come with the source distribution. anybody has an URL or a clue how to do this? thank you. /e -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: how to run tests

2010-08-23 Thread Edwin Eyan Moragas
Hi Alex, On Mon, Aug 23, 2010 at 1:56 PM, Alexander Burger a...@software-lab.de wro= te: Hi Edwin, i can't find anything on how to run tests that come with the source distribution. anybody has an URL or a clue how to do this? Do you mean the unit tests residing in the test/ directory? yes.

non forking picoLisp appserver

2010-08-23 Thread Edwin Eyan Moragas
Hi all, another question from your neighborhood newbie. can i make the picoLisp app server not fork? that is, when i run examples with the app server, it forks. and this is of course covered by the app dev tutorial. but is there an easy way for it not to fork? i know i am poking around. just

Re: non forking picoLisp appserver

2010-08-23 Thread Edwin Eyan Moragas
On Mon, Aug 23, 2010 at 7:10 PM, Alexander Burger a...@software-lab.de wro= te: Hi Edwin, can i make the picoLisp app server not fork? that is, when i run There was a discussion about that here in 2008. You can easily make a non-forking server by not calling the standard 'server' function

port handling and httpgate

2010-08-24 Thread Edwin Eyan Moragas
Hi all, i start httpgate with: $ bin/httpGate 3000 8080 8081 8082 then run the sample app. it shows me the login screen and then the location in the browser points at: http://192.168.1.253:3000/45313/713963214703762...@start?*menu=+3*Tab=+1*ID= which shows a blank page. console shows:

Re: port handling and httpgate

2010-08-24 Thread Edwin Eyan Moragas
Hi Alex, Do you need this kind of setup for some special reason? After all, the not really. i was just using it for tests. i didn't even give port 80 a shot yet. :). main purpose of 'httpGate' is to proxy all requests to the default port to app-specific ports like 8080. If you pass :3000 to

Re: port handling and httpgate

2010-08-24 Thread Edwin Eyan Moragas
Hi Alex, will try the usual port and if i don't succeed, then it will be a concern. it is a concern. $ ./bin/httpGate 80 8080 gives the same result. cheers, /e -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: where are the values of CAR and CDR stored?

2010-08-24 Thread Edwin Eyan Moragas
:-) you've hit it right in the head. assuming your answer is correct, the i guess i get it. :-) 2010/8/24 Edwin Eyan Moragas e...@yndy.org Hi list, looking at pico.h i see the definition of the cell: typedef struct cell { =A0 =A0 =A0 =A0 =A0 =A0// PicoLisp primary data ty= pe =A0 struct cell *car

Re: where are the values of CAR and CDR stored?

2010-08-24 Thread Edwin Eyan Moragas
Hi Mansur, On Wed, Aug 25, 2010 at 12:27 PM, Mansur Mamkin mmam...@mail.ru wrote: Hi all! Look at http://www.software-lab.de/doc/ref.html#vm yes. i have read thru it and several times over. thank you. what i need is confirmation of my understanding. so i guess this mean that symbols are

Re: where are the values of CAR and CDR stored?

2010-08-25 Thread Edwin Eyan Moragas
Hi Alex, As you observed, a cell is defined as a structure of two pointers. This is just to keep the C compiler happy. In truth, the CAR and the CDR contain either a pointer to another cell, or a plain binary value. this is what i was after. thank you. cheers, /e -- UNSUBSCRIBE:

httpGate redux

2010-08-25 Thread Edwin Eyan Moragas
Hi list, using the dev version, i was able to install and run the wiki with httpGate successfully. i can log in and do things fine. *but* i am redirected to a different port (http://192.168.1.253:34205/523083596357234...@start?*menu=+3*Tab=+1*ID=*Evt=+1*Got=_+2_+1) after logging in. how can i

Re: httpGate redux

2010-08-26 Thread Edwin Eyan Moragas
Hi Alex, Sticking with port 80 is usually handled by 'httpGate'. To the outside world, there will always only port 80 (or 443) be visible. there's the rub. i'm running it behind httpGate. thank you, /e -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: httpGate redux

2010-08-26 Thread Edwin Eyan Moragas
Hi Tomas, On Thu, Aug 26, 2010 at 2:52 PM, Tomas Hlavaty t...@logand.com wrote: I use nginx as a web server and proxy on port 80 and it allows you more freedom of configuration than when using httpGate. =A0You can read a bit about my setup at

where is the tail?

2010-09-15 Thread Edwin Eyan Moragas
Hi list, reading thru the reference: A property is a key-value-pair, represented as a cell in the symbol's tail. looking at the definition of a cell (from pico.h): typedef struct cell { struct cell *car; struct cell *cdr; } cell, *any; where is the 'tail' in light of what's given? is it

symbols, values and properties

2010-09-25 Thread Edwin Eyan Moragas
Hi list, reading up on the docs again, it mentions symbols, values and properties. the way i understand it, symbols evaluate to a value. symbols also have properties. several questions: 1) how are symbol properties implemented on the C level? 2) how are symbol properties stored in the db? what

Re: symbols, values and properties

2010-09-26 Thread Edwin Eyan Moragas
Hi Alex, On Sun, Sep 26, 2010 at 3:11 PM, Alexander Burger a...@software-lab.de wro= te: Note that - as opposed to association lists - the key is in the CDR of the cell. This has advantages when manipulating the value, because the CAR of a cell is a variable ('var' called in the

opt/pilog.l?

2010-10-05 Thread Edwin Eyan Moragas
hi all, being a newbie and all, what is the significance of pilog.l in opt/ in the source distribution? best, /e -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Re: opt/pilog.l?

2010-10-05 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Oct 5, 2010 at 3:10 PM, Alexander Burger a...@software-lab.de wrote: The first case were some Pilog extensions from cle, and as there is already a lib/pilog.l and a misc/pilog.l, we agreed to put such things into a new directory opt/. thank you. cheers, /e -- UNSUBSCRIBE:

warning in io.c

2010-10-06 Thread Edwin Eyan Moragas
Hi all, compiling picolisp gives me this warning: io.c: In function =91doEcho=92: io.c:2161: warning: =91op=92 may be used uninitialized in this function my problem is that i can't find where `op is defined. any help would be appreciated. best, /e -- UNSUBSCRIBE:

Re: warning in io.c

2010-10-06 Thread Edwin Eyan Moragas
On Wed, Oct 6, 2010 at 4:21 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, io.c:2161: warning: =91op=92 may be used uninitialized in this function my problem is that i can't find where `op is defined. any help would be appreciated. Well, 'op' is declared in that line (2161),

Re: picolisp in java

2010-10-14 Thread Edwin Eyan Moragas
Hi Tomas, On Thu, Oct 14, 2010 at 1:43 AM, Tomas Hlavaty t...@logand.com wrote: In that email, I just wanted to say that I implemented some functions directly in Java and that speeds up the fibo benchmark significantly. For getting better picture about interpretation overhead, there are now

Re: wiki password

2010-10-27 Thread Edwin Eyan Moragas
On Wed, Oct 27, 2010 at 2:54 PM, Alexander Burger a...@software-lab.de wro= te: Hi Tomas, This is a big flaw. =A0You should not be able ever to find out his password. Why not? Nobody could stop me anyway. I could trace the program during execution, for example, to get the passwords. oh

just a big THANK YOU

2010-12-21 Thread Edwin Eyan Moragas
Hi list (esp Alex), was browsing thru the rosetta code examples. not to mention all the docs and written materials made available freely via the web. to everyone who has made picolisp what it is today, THANK YOU so much! have a merry christmas y'all! cheers! /e -- UNSUBSCRIBE:

Re: ErzatsLisp J2ME?

2011-01-20 Thread Edwin Eyan Moragas
Hi all, On Wed, Jan 19, 2011 at 12:58 AM, Alexander Burger a...@software-lab.de wr= ote: Hi Jakob, I just thought about this: =A0could ErzatsLisp run on J2ME in a meaningf= ul way? Or at all? I don't think J2ME has reflection. Reflection is not needed for the interpreter itself, but

unsubscribe

2011-02-18 Thread Edwin Eyan Moragas
Good bye Edwin Eyan Moragas e...@yndy.org :-( You are now unsubscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

subscribe

2011-02-20 Thread Edwin Eyan Moragas
Hello Edwin Eyan Moragas e...@yndy.org :-) You are now subscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: help in deciphering (app)

2011-03-15 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Mar 15, 2011 at 2:44 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, (de app ()    (unless *SesId       (setq          *Port% (not *Gate)          *SesId (pack (in /dev/urandom (rd 7)) ~)          *Sock (port *HPorts '*Port) )       (timeout *Timeout) ) )

Re: composite primary keys

2011-03-16 Thread Edwin Eyan Moragas
columns. i'm not sure if this is applicable at all, please note. so if +Aux is indeed the right direction, i'll give it a swing. thank you. /e On Wed, Mar 16, 2011 at 2:19 PM, Edwin Eyan Moragas e...@yndy.org wrote: Hi List, anyone encountered creating a composite primary key for Pilog

Re: composite primary keys

2011-03-16 Thread Edwin Eyan Moragas
Hi Alex, On Wed, Mar 16, 2011 at 3:54 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, anyone encountered creating a composite primary key for Pilog? You mean for database indexes? not just for indexes but for a composite primary key. i'm not sure tho if my head is right on this.

Re: composite primary keys

2011-03-16 Thread Edwin Eyan Moragas
Hi Alex, On Wed, Mar 16, 2011 at 4:44 PM, Alexander Burger a...@software-lab.de wrote: In my mind, I distinguish between objects and indexes in the DB. The objects are the payload data, and also have direct links between each other (the +Link and +Joint relations). uhm. this helps a lot.

setting a cookie from a script

2011-03-16 Thread Edwin Eyan Moragas
Hi List, i got as far as figuring out where a script is executed in a (listen)-ing http server. i think it's somewhere here in http.l: ((= '@ (car @U)) #URL starts with @ #@U is @start by default (if

Re: setting a cookie from a script

2011-03-16 Thread Edwin Eyan Moragas
Hi Alex, On Thu, Mar 17, 2011 at 12:46 AM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, i got as far as figuring out where a script is executed in a (listen)-ing http server. i think it's somewhere here in http.l:                      ((= '@ (car @U))                        

understanding (task)

2011-03-25 Thread Edwin Eyan Moragas
Hi list, in http.l, i see a lot of (task (close S)) usage. from the docs, (task) says it's a front end to the *Run global and created a (job) environment. isn't (close) simple enough to just let it rip? why should it be enclosed in a (task). /e -- UNSUBSCRIBE:

Re: understanding (task)

2011-03-25 Thread Edwin Eyan Moragas
Hi Alex, On Fri, Mar 25, 2011 at 4:00 PM, Alexander Burger a...@software-lab.de wrote: Instead of enclosing it in (task (close S)), two separate calls (close S) and (task S) would also be all right (just a little bigger). But both are necessary: (close S) to free the socket file descriptor,

Re: understanding (task)

2011-03-25 Thread Edwin Eyan Moragas
Hi Alex On Fri, Mar 25, 2011 at 4:46 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, But both are necessary: (close S) to free the socket file descriptor, and (task S) to remove the corresponding entry from the list in '*Run'. is this in the context of multiple picolisp

Re: understanding (task)

2011-03-25 Thread Edwin Eyan Moragas
On Fri, Mar 25, 2011 at 9:22 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, So if you just close the file descriptor, but don't remove it from the task list, you'll get a Key conflict error when the next time a new socket with that file descriptor number is assigned a 'task',

paging Tomas Hlavaty for java.wl license

2011-03-28 Thread Edwin Eyan Moragas
Hi Tomas, was wondering if you'd like to attach an explicit license to wl (hopefully MIT too, or new BSD :) since i cannot find one (or maybe i'm just a moron not to find it). i'm hoping i could use java.wl for some open source stuff (currently vaporware) i'm doing. btw, wl.java is a great

autogenerated keys for pilog

2011-03-30 Thread Edwin Eyan Moragas
Hi List, what's the best way to go about autogenerated keys for Pilog? i've been digging around a bit and can't find anything related. hints and pointers would be most appreciated. thank you. /e -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: autogenerated keys for pilog

2011-03-31 Thread Edwin Eyan Moragas
H Alex, On Thu, Mar 31, 2011 at 2:42 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, what's the best way to go about autogenerated keys for Pilog? i've been digging around a bit and can't find anything related. Hmm, I am not sure what that is. You mean something along

Re: autogenerated keys for pilog

2011-03-31 Thread Edwin Eyan Moragas
On Thu, Mar 31, 2011 at 3:10 PM, Edwin Eyan Moragas e...@yndy.org wrote: Can you give an example what you'd like to do? suppose there is a song entitled evergreen. one was sung by barbra streisand, the other by will young. different lyrics, but same song title. i'd like to use SongTitle

understanding (id) (was Re: autogenerated keys for pilog)

2011-03-31 Thread Edwin Eyan Moragas
and JavaScript in my non-traditional gui and as you can see both approaches accomplish that but that latter is imo more elegant. /Henrik Sarvell On Thu, Mar 31, 2011 at 1:26 PM, Jakob Eriksson ja...@vmlinux.org wrote: On Thu, Mar 31, 2011 at 09:57:06AM +0800, Edwin Eyan Moragas wrote: Hi List

Re: autogenerated keys for pilog

2011-03-31 Thread Edwin Eyan Moragas
Hi Alex, On Thu, Mar 31, 2011 at 3:34 PM, Alexander Burger a...@software-lab.de wrote: suppose there is a song entitled evergreen. one was sung by barbra streisand, the other by will young. different lyrics, but same song title. i'd like to use SongTitle as a key, but it won;t cut it, as in

Re: understanding transient symbols, (====) and dynamic binding

2011-04-13 Thread Edwin Eyan Moragas
On Wed, Apr 13, 2011 at 2:15 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, if i understand correctly, () when called outside a method works only when a file is (load)ed? I'm not sure what you mean here. Isn't that the case for _any_ function? check. i realized this after

Re: understanding transient symbols, (====) and dynamic binding

2011-04-13 Thread Edwin Eyan Moragas
On Wed, Apr 13, 2011 at 3:22 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, (wishful thinking: alternative syntax for representing transient symbols without embedded spaces. maybe something like \xxx) Yeah, that's something I'm missing too. Transient symbols which represent not

Re: understanding transient symbols, (====) and dynamic binding

2011-04-13 Thread Edwin Eyan Moragas
On Wed, Apr 13, 2011 at 7:45 PM, Alexander Burger a...@software-lab.de wrote: On Wed, Apr 13, 2011 at 10:57:17AM +0200, Alexander Burger wrote: I was thinking of re-introducing a syntax like :MyParam, or perhaps MyParam, but this saves only a single character over MyParam, and doesn't look so

named, interned symbols

2011-04-14 Thread Edwin Eyan Moragas
Hi list, several things that need help on. i encounter named symbol and interned symbol a lot in the docs. i just want to make sure that i understand things correctly. 1) named symbols are symbols that have a name in their property cell 2) interned symbols are symbols that are bound to

Re: Changed '@' to '!' for functions in URLs

2011-05-08 Thread Edwin Eyan Moragas
On Sun, May 8, 2011 at 6:31 PM, Jakob Eriksson ja...@vmlinux.org wrote: In which Linux distributions?  This is great news! debian for one. not sure about the others yet. // Jakob -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe -- UNSUBSCRIBE:

more questions on transient symbols

2011-05-22 Thread Edwin Eyan Moragas
Hi Alex, the effect of () is that it clears the transient index. how then does the interpreter find the correct one to achieve the as identifiers with a limited access scope (like, for example, static identifiers in the C language family) feature as pointed out in the reference after

Re: more questions on transient symbols

2011-05-22 Thread Edwin Eyan Moragas
On Mon, May 23, 2011 at 12:19 AM, Edwin Eyan Moragas e...@yndy.org wrote: Hi Alex, the effect of () is that it clears the transient index. how then does the interpreter find the correct one to achieve the as identifiers with a limited access scope (like, for example, static identifiers

Re: more questions on transient symbols

2011-05-23 Thread Edwin Eyan Moragas
Hi Alex, On Mon, May 23, 2011 at 2:00 PM, Alexander Burger a...@software-lab.de wrote: The interpreter _first_ 'read's the list   (de x (a b) () (pack a b)) and _then_ executes it, i.e. assignes the list   ((a b) () (pack a b)) to the symbol 'x'. The function '' is not

sorting db queries

2011-05-23 Thread Edwin Eyan Moragas
Hi list, i'm currently playing with pilog and the database. i'm trying to look for an example of sorting the output of database queries by a given attribute. as a trivial example: (class +MyClass +Entity) (rel date (+Date)) and if i run a query, i'd like to sort the output, say, by increasing

Re: sorting db queries

2011-05-23 Thread Edwin Eyan Moragas
Hi Alex, thank you. just what i need. /e On Tue, May 24, 2011 at 2:09 AM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, i'm trying to look for an example of sorting the output of database queries by a given attribute. ... (class +MyClass +Entity) (rel date (+Date)) ... and if

limiting results of select/3

2011-05-25 Thread Edwin Eyan Moragas
Hi list, after checking the 'select' predicate doc, i can't find any way to limit the number of results of the query. i'm thinking along the lines of the LIMIT clause of SQL. thank you. /e -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

running test suite in mac osx error: IP bind error: Address already

2011-06-09 Thread Edwin Eyan Moragas
Hi guys, any chance ideas on how to fix this on osx? /e -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: running test suite in mac osx error: IP bind error: Address

2011-06-10 Thread Edwin Eyan Moragas
Hi Alex, On Fri, Jun 10, 2011 at 1:16 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, any chance ideas on how to fix this on osx? In which situation does this error appear? not sure which specific one. but the ouput's here: eyan@faya $ $(/bin/pwd)/p lib/test.l -bye +

Re: running test suite in mac osx error: IP bind error: Address

2011-06-10 Thread Edwin Eyan Moragas
Hi Alex, On Fri, Jun 10, 2011 at 4:05 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, eyan@faya $ $(/bin/pwd)/p lib/test.l -bye + [test/lib.l:5] !? (port T ) IP bind error: Address already in use Oh, I see. This are the unit tests, and it is the place where it tries to bind

Re: running test suite in mac osx error: IP bind error: Address

2011-06-10 Thread Edwin Eyan Moragas
On Fri, Jun 10, 2011 at 5:43 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, i'll be on it. not sure about time frame tho since i'm diddling with Great! an app at the moment. looks like i'm the only one running it on obsd so i guess it's not an urgent issue. :) We are now

Re: running test suite in mac osx error: IP bind error: Address

2011-06-10 Thread Edwin Eyan Moragas
whopee! thanks Alex and ckeen! On Fri, Jun 10, 2011 at 8:24 PM, Alexander Burger a...@software-lab.de wrote: Hi Edwin, We are at it ... :) We've got it!! Thanks to ckeen! :) There were actually two problems with the OpenBSD version: 1. Signal handling was wrong. There was the

Re: running test suite in mac osx error: IP bind error: Address

2011-06-10 Thread Edwin Eyan Moragas
downloaded and ran the unit tests now runs fine on osx snow leopard and obsd 4.8 32 bit. thanks a bunch again guys! On Fri, Jun 10, 2011 at 9:01 PM, Edwin Eyan Moragas e...@yndy.org wrote: whopee! thanks Alex and ckeen! On Fri, Jun 10, 2011 at 8:24 PM, Alexander Burger a...@software-lab.de

Re: android picolisp using ndk/jni

2011-07-07 Thread Edwin Eyan Moragas
Hi Doug, you've been pretty busy. :) cheering everybody on... /e On Thu, Jul 7, 2011 at 4:43 PM, Doug Snead semaphore_2...@yahoo.com wrote: http://developer.android.com/sdk/ndk/overview.html : Typical good candidates for the NDK are self-contained, CPU-intensive operations that don't

Re: The PicoLisp Ticker

2011-07-15 Thread Edwin Eyan Moragas
On Fri, Jul 15, 2011 at 4:13 PM, Doug Snead semaphore_2...@yahoo.com wrote: I think you created a bot-trap :-) aha! that figures. i'm subscribed to google alerts with 'picolisp' and 'pico lisp' as keyword. i have gotten 4 so far from that wacky ticker of yours. but don't remove it, please!

doProve (was Re: Ninety-Nine Lisp Problems: pilog)

2011-07-16 Thread Edwin Eyan Moragas
(BTW - Many people might not realise the heart of pilog, the prove function, is written in C and seems very fast. For some prolog applications, it may be fast or faster than compiled prologs - would like to see some benchmarks to investigate that feeling. But for years, I was under the

Re: doProve (was Re: Ninety-Nine Lisp Problems: pilog)

2011-07-17 Thread Edwin Eyan Moragas
Hi Alex, On Sun, Jul 17, 2011 at 3:55 PM, Alexander Burger a...@software-lab.de wrote: Hmm, after some searching, it seems I have only a fragment of some initial version, when I experimented in Lisp before I rewrote the time critical parts in C. There is 'prove', but 'unify' seems missing.

difference between (let) and (bind)

2011-07-27 Thread Edwin Eyan Moragas
Hi list, looking at the docs, looks like (bind) is just a fancy way of doing (let). is this correct? i tried looking at the source but i'm still trying to decipher it. also checked out wl.java. both (let) and (bind) are quite similar. is this so? /e -- UNSUBSCRIBE:

Re: difference between (let) and (bind)

2011-07-27 Thread Edwin Eyan Moragas
Hi Tomas, On Thu, Jul 28, 2011 at 1:27 AM, Tomas Hlavaty t...@logand.com wrote: Hi Edwin, roughly speaking, bind is a function while let is a macro.  They differ in argument evaluation.  bind is programmable while let is more of a syntax thingy. thank you for this. thinking about it a bit,

Re: difference between (let) and (bind)

2011-07-27 Thread Edwin Eyan Moragas
On Thu, Jul 28, 2011 at 4:48 AM, Tomas Hlavaty t...@logand.com wrote: Hi Edwin, thinking about it a bit, i can just do away with one and live with the other?  say, can i just live with (bind)? yes, but it is more convenient to write let in your programs instead of the bind with constructing

  1   2   >