Subscribe

2010-07-06 Thread Edwin Eyan Moragas
Hello Edwin Eyan Moragas :-) 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 (Prolo

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 wrote: > Hi Edwin, > >> i'm now wondering as to what extent ACID properties are implemented in >> the picolisp DB implementation. > > All processes operating on

Re: DB ACID properties

2010-07-06 Thread Edwin Eyan Moragas
On Wed, Jul 7, 2010 at 2:11 PM, Alexander Burger 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 of changes (a

solicting user stories of picolisp

2010-07-19 Thread Edwin Eyan Moragas
Hi All, i am getting wet real fast with picolisp. so far, the experience has been great. i would love to share my experience in the coming months. i've been searching for some stories and have come across the picolisp web server speed from John Fremlin and the prodevtips blog. they are very inter

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 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 explanatio= ns he

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 wrote: > Hi Edwin, > >> if anybody would be so kind to s

Unsubscribe

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

Subscribe

2010-07-24 Thread Edwin Eyan Moragas
Hello Edwin Eyan Moragas :-) 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 i

Re: warning while compiling picolisp

2010-07-25 Thread Edwin Eyan Moragas
On Mon, Jul 26, 2010 at 12:59 AM, dexen deVries 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 function `doCatch':

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 wrote: > Hi Edwin, > > 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 > -- > UNSUBSCRIBE

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 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. > > My reason for

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 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 come with the distributi

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: h

Re: first swing at running local wiki

2010-08-09 Thread Edwin Eyan Moragas
Hi all, more notes. tried the bundled app too. no go. i am doing this on openbsd by the way in case it would help. On Tue, Aug 10, 2010 at 1:07 PM, Edwin Eyan Moragas wrote: > Hi all, > > built picoLisp, fetched the wiki, untarred it, then followed the > instructions here: >

Re: documentation license?

2010-08-09 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Aug 10, 2010 at 2:09 PM, Alexander Burger 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 currently discus

Re: first swing at running local wiki

2010-08-09 Thread Edwin Eyan Moragas
Hi Alex, On Tue, Aug 10, 2010 at 2:23 PM, Alexander Burger 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: mailto:picol...@software-lab.de?subject=

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 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

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 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 happens e.g. i

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 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 build on an

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 b

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 wro= te: > Hi all, > > thanks for the feedback! By and by, I feel I sh

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 wr= ote: > > You could try manually som functions from "lib/ht", e.g.: > > =A0 $ ./dbg > =A0 : (ht:Prin "ad") > =A0 ad-> "ad" > > =A0 : (ht:Fmt 'abc "def" 123 (4 5 6)) > =A0 -> "$abc&def&+123&_+4_+5_+6" > > If this works, we ar

$file lib/ht (was Re: first swing at running local wiki)

2010-08-11 Thread Edwin Eyan Moragas
Hi Alex, On Thu, Aug 12, 2010 at 2:00 PM, Alexander Burger wro= te: > Hi Edwin, > > On Wed, Aug 11, 2010 at 08:28:19PM +0200, Alexander Burger wrote: >> Are you sure that the build of "lib/ht" and the other DLLs was >> successful? Are there any strange file permissions? > > and what is the result

Re: first swing at running local wiki

2010-08-11 Thread Edwin Eyan Moragas
Hi Alex, On Thu, Aug 12, 2010 at 2:28 AM, Alexander Burger 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 protoypes. > > Hmm,

setting LD_DEBUG for picoLisp on OpenBSD

2010-08-11 Thread Edwin Eyan Moragas
Hi Alex, a guy from the obsd list hinted to set LD_DEBUG. i'm posting it here just in case it might help. (for the archives, just set LD_DEBUG with any bogus value (more hints, LD_DEBUG is a shell environment variable). here's the result: e...@obsddev $ ./dbg wiki/main.l lib/too.l -main -go rt

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 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. > > Thanks.

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 wrote: > On Thu, Aug 12, 2010 at 2:31 PM, Alexander Burger w= rote: &g

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 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 is

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: : ( '(id . bar) "Title") two questions 1) if the cons pair was written as (id bar) instead of as with the example, would treat it different? how? 2) what's the fundamental difference between a cons pair and a simple

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 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 CAR and 'b'

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 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 > wanted a tag

Re: script for generating tags for picolisp

2010-08-18 Thread Edwin Eyan Moragas
> print n "\t" FILENAME "\t?^" $0 "$?"; > } > /^[ \t]*\(class[ \t]/ { > n=3D$2; > gsub(/^\(/,"",n); > gsub(/\)$/,"",n); > print n "\t" FILENAME "\t?^" $0 "$?"; > if (n ~ /^\+/) { > =A0gsub(

(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 m

Re: (extend cls)

2010-08-19 Thread Edwin Eyan Moragas
Hi Alex, thank you for reading thru and replying. `(pp)` helps a lot. 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 would

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 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. > > They

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 may

Re: non forking picoLisp appserver

2010-08-23 Thread Edwin Eyan Moragas
On Mon, Aug 23, 2010 at 7:10 PM, Alexander Burger 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 which > automati

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: e

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

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: port handling and httpgate

2010-08-24 Thread Edwin Eyan Moragas
Hi Alex, > > OK, got it. I had messed up "lib/http.l". Thanks for finding the bug! cool. :) > > Now I uploaded a new testing release, and hope it is all right now. > Starting 'httpGate' at arbitrary ports works (again). will upgrade to the test release. thank you. /e -- UNSUBSCRIBE: mailto:p

where are the values of CAR and CDR stored?

2010-08-24 Thread Edwin Eyan Moragas
Hi list, looking at pico.h i see the definition of the cell: typedef struct cell {// PicoLisp primary data type struct cell *car; struct cell *cdr; } cell, *any; these are pointers to... where? this would answer questions like: where is the actual symbol (or internal string re

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

2010-08-24 Thread Edwin Eyan Moragas
;|i|*|->NIL > > But just a guess :-) 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 >> >> Hi list, >> >> looking at pico.h i see the definition of the cell: >> &

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 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 stored like pico

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: mailto:

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-25 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 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 > http://logand.com/blog/picolisp-behind-nginx-proxy.html Hope i

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 i

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 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 documentation). > > Searching

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 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: mailto:pic

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: mailto:picol...@software-lab.

Re: warning in io.c

2010-10-06 Thread Edwin Eyan Moragas
On Wed, Oct 6, 2010 at 4:21 PM, Alexander Burger 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), and initial

Re: picolisp in java

2010-10-13 Thread Edwin Eyan Moragas
On Wed, Oct 13, 2010 at 4:07 PM, Alexander Burger wrote: > Hi Tomas, > >> > If you get the latest wl code (git pull), you'll see even a pure java >> > 'fibo.' function for comparison and getting an idea of the overhead >> > caused by interpretation. > > However, what disturbs me more: Where does t

Re: picolisp in java

2010-10-13 Thread Edwin Eyan Moragas
Hi Tomas, On Thu, Oct 14, 2010 at 1:43 AM, Tomas Hlavaty 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 > three versi

Re: wiki password

2010-10-27 Thread Edwin Eyan Moragas
On Wed, Oct 27, 2010 at 2:54 PM, Alexander Burger 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 yes! :D /e

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: mailto:picol...

Re: ErzatsLisp J2ME?

2011-01-20 Thread Edwin Eyan Moragas
Hi all, On Wed, Jan 19, 2011 at 12:58 AM, Alexander Burger 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 probably to do > som

unsubscribe

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

subscribe

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

Re: digging dotted pairs

2011-03-14 Thread Edwin Eyan Moragas
Hi list, replying to the OP after reading replies from Jose, Dexen and Alex... On Mon, Mar 14, 2011 at 4:49 AM, Ana Zgombic wrote: > Hi list, > > i don't dig dotted pairs. it's hard for me to reconcile the existence > of a dotted pair when there's a more general representation of it (a > plain l

help in deciphering (app)

2011-03-14 Thread Edwin Eyan Moragas
Hi List, need help in this piece of code in http.l (de app () (unless *SesId (setq *Port% (not *Gate) *SesId (pack (in "/dev/urandom" (rd 7)) "~") *Sock (port *HPorts '*Port) ) (timeout *Timeout) ) ) from there, *Sesid and *Timeout are per per child glo

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 wrote: > Hi Edwin, > >> (de app () >>    (unless *SesId >>       (setq >>          *Port% (not *Gate) >>          *SesId (pack (in "/dev/urandom" (rd 7)) "~") >>          *Sock (port *HPorts '*Port) ) >>       (timeout *Timeout) ) ) >> >>

composite primary keys

2011-03-16 Thread Edwin Eyan Moragas
Hi List, anyone encountered creating a composite primary key for Pilog? or it is applicable in the Pilog context? how would one go about using composite primary keys? thank you. /e -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: composite primary keys

2011-03-16 Thread Edwin Eyan Moragas
h multiple 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 wrote: >> Hi List, >> >> anyone encountered creatin

Re: composite primary keys

2011-03-16 Thread Edwin Eyan Moragas
Hi Alex, On Wed, Mar 16, 2011 at 3:54 PM, Alexander Burger 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. > > If so, the

Re: composite primary keys

2011-03-16 Thread Edwin Eyan Moragas
Hi Alex, On Wed, Mar 16, 2011 at 4:44 PM, Alexander Burger 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. thank you. Henr

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 (di

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 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)) >>                         #URL st

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: mailto:picolisp@software-lab.de?s

Re: understanding (task)

2011-03-25 Thread Edwin Eyan Moragas
Hi Alex, On Fri, Mar 25, 2011 at 4:00 PM, Alexander Burger 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, > and (task S) to

Re: understanding (task)

2011-03-25 Thread Edwin Eyan Moragas
Hi Alex On Fri, Mar 25, 2011 at 4:46 PM, Alexander Burger 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 processes? figur

Re: understanding (task)

2011-03-25 Thread Edwin Eyan Moragas
On Fri, Mar 25, 2011 at 9:22 PM, Alexander Burger 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', or when >

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 start

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
Hi Jakob, thank you. yeah. picolisp definitely deserves to be promoted. /e On Thu, Mar 31, 2011 at 2:26 PM, Jakob Eriksson wrote: > On Thu, Mar 31, 2011 at 09:57:06AM +0800, Edwin Eyan Moragas wrote: >> Hi List, >> >> what's the best way to go about autogenerated ke

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 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 autogenerated > keys in

Re: autogenerated keys for pilog

2011-03-31 Thread Edwin Eyan Moragas
On Thu, Mar 31, 2011 at 3:10 PM, Edwin Eyan Moragas 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. &

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

2011-03-31 Thread Edwin Eyan Moragas
t is easy to relate for > humans 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 wrote: >> >>

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 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 the >>

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

2011-03-31 Thread Edwin Eyan Moragas
Hi Alex, Henrik, many thanks for taking time to explain and give guidance. i'm trying to digest this bit by bit. again, thank you. /e On Thu, Mar 31, 2011 at 9:49 PM, Henrik Sarvell wrote: > I use a lot of asynchronous information going back and forth and to avoid > problems with escaping wav

Re: paging Tomas Hlavaty for java.wl license

2011-04-06 Thread Edwin Eyan Moragas
Hi Tomas, On Thu, Apr 7, 2011 at 12:30 AM, Tomas Hlavaty wrote: > Hi Edwin, > >> 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 just added the MIT licence. great. th

Re: paging Tomas Hlavaty for java.wl license

2011-04-07 Thread Edwin Eyan Moragas
Hi Tomas, On Thu, Apr 7, 2011 at 2:55 PM, Tomas Hlavaty wrote: >> i'm currently using java.wl to understand which methods from the C >> implementation can be implemented in pure picolisp. > > That was my aim when I wrote wl.  The file wl.java contains minimal java > core.  You can have a look at

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

2011-04-12 Thread Edwin Eyan Moragas
atic behaves in C!". did that explain that right? what are other caveats? On Wed, Apr 13, 2011 at 3:21 AM, Edwin Eyan Moragas wrote: > Hi List, > > was reading thru the FAQ and came across: > > http://software-lab.de/doc/faq.html#problems (Are there no problems > caused by dy

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 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 sending my firs

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 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 just strings

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 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 very much be

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 sy

name of a symbol

2011-04-16 Thread Edwin Eyan Moragas
Hi list, from the reference: The name of a symbol is stored as a number at the end of the tail. It contains the characters of the name in UTF-8 encoding, using between one and three 8-bit-bytes per character. The first byte of the first character is stored in the lowest 8 bits of the number. whe

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 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: mailto:picolisp@software-lab.de?sub

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 calli

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 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,

Re: more questions on transient symbols

2011-05-22 Thread Edwin Eyan Moragas
Hi Alex, On Mon, May 23, 2011 at 2:00 PM, Alexander Burger 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

  1   2   >