Re: Normalize PicoLisp Wiki Syntax

2012-11-24 Thread José Romero
On Sat, 24 Nov 2012 17:29:13 +0100 Thorsten Jolitz wrote: > > Hi List, > > when writing the picolisp-wiki-mode for Emacs, I began to understand > why mark-up syntax is usually symmetric, i.e. the end-tag looks like a > 180° mapping of the start-tag (e.g. the JSP Scriplet <% ... %>). > > This

Re: `rd' behavior

2012-11-05 Thread José Romero
On Mon, 05 Nov 2012 15:29:42 +0100 dexen deVries wrote: > On Monday 05 of November 2012 10:54:20 you wrote: > > rd without argument (or with a sym) means binary read, it tries to > > read an atom or expression in the binary PLIO format (used by pr). > > Rd with a number argument means to read the

Re: `rd' behavior

2012-11-05 Thread José Romero
On Mon, 05 Nov 2012 14:37:07 +0100 dexen deVries wrote: > hello list, > > why does `rd' return NIL in simplest use ('sym or NIL argument): > (in "info.txt" >(print (rd] > > while it seems to work fine with 'cnt argument: > (in "info.txt" >(print (rd 1] > > guess i'm doing something wro

Re: GOTO in PicoLisp

2012-09-07 Thread José Romero
On Fri, 7 Sep 2012 07:51:03 +0200 Alexander Burger wrote: > Hi José, > > > Because the world wasn't weird enough already I took the liberty to > > Bravo! That's a valid idea ;) > > > Let me suggest two small changes: > > > (de prog+ "Prg" > >(use ("Thunk" "Ret" "L") > > (setq "Thun

Re: too many open files?

2012-09-05 Thread José Romero
On Thu, 6 Sep 2012 08:01:28 +0200 Alexander Burger wrote: > Hi Laurent, > > back to your original mail: > > > By the way, if anyone know what lib to use for (native) to make a > > lstat syscall so I can replace the stat shell call, I'd be very > > grateful: I can't find where it is! (contrary t

GOTO in PicoLisp

2012-09-05 Thread José Romero
Because the world wasn't weird enough already I took the liberty to implement goto in picolisp. This works by using a "trampoline" based on 'throw and 'catch, each goto makes the evaluation "bounce" and continue from the point of the next label until it falls trough. (de goto (L) (throw 'goto L

[WIP] Patch: Unix domain socket support for pil32

2012-09-01 Thread José Romero
I tried to give adding support for Unix domain sockets in pil a go, but I couldn't make functional code yet because I don't really grasp completely how the macro beast language pil32 is written in works (I wrote all the docs though). The changes would be basically to add a function called 'sock,

Re: Parallel command execution

2012-05-28 Thread José Romero
On Mon, 28 May 2012 23:51:21 +0200 Jorge Acereda wrote: > Hi, > > I need to invoke external commands for each entry in my database and > I want to run those in parallel, but restricting the number of > simultaneous jobs to a certain number to avoid bringing the machine > to its knees (sort of 'm

Re: Websockets

2012-05-27 Thread José Romero
On Sun, 27 May 2012 18:53:31 +0700 Henrik Sarvell wrote: > Google couldn't show me any prior discussions of websockets and > picolisp. > > Is it too early to start thinking about this maybe, seems like the > spec/ref is still changing a little bit too fast/much atm? > > http://en.wikipedia.org/

Re: Speedtest PicoLisp vs Emacs Lisp

2012-04-22 Thread José Romero
On Mon, 23 Apr 2012 02:22:21 +0200 Thorsten wrote: > > Hi List, > out of curiosity I did a little speedtest with PicoLisp and Emacs Lisp > on a 64bit Arch Linux (see > http://picolisp.com/46850/62704437697738713~!wiki?PILvsEL). > > The results are quite favorable for PicoLisp - it is about 4

Unsubscribe

2012-04-01 Thread José Romero
Good bye =?UTF-8?B?Sm9zw6k=?= Romero :-( You are now unsubscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Subscribe

2012-04-01 Thread José Romero
Hello =?UTF-8?B?Sm9zw6k=?= Romero :-) You are now subscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: Structuring a GUI project to avoid stop - starts

2012-03-05 Thread José Romero
Hi Konrad, On Tue, 6 Mar 2012 12:46:44 +1100 Konrad Zielinski wrote: > Hi, > > At the moment I have my project in two files > > model.l which contains my domain classes, database init code and other > related functions. > server.l which contains my URL handling functions. > > I find that I'm

Re: Construct sequences of URL-Strings - need help

2012-03-04 Thread José Romero
On Mon, 05 Mar 2012 03:37:35 +0100 Thorsten wrote: > > > Hi List, > > I try to construct sequences of URL-Strings separated by one blank and > have been almost successfull - but I have to get rid of all the > backslashes '\' in the string sequence: > > Here is the 'workhorse-function' for th

Re: Google Summer of Code (GSoC) 2012

2012-03-03 Thread José Romero
On Sat, 3 Mar 2012 17:56:06 -0500 Joe Bogner wrote: > Hi José - > > I've been thoroughly impressed with everything I've seen from you and > even more so if you're a student. Wow! > > Related to your proposal below, if I can replay back what I am > understanding, it sounds like there are three a

Re: Google Summer of Code (GSoC) 2012

2012-03-03 Thread José Romero
On Sat, 03 Mar 2012 21:10:25 +0100 Thorsten wrote: > Alexander Burger writes: > > Hi List, > > > On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote: > >> We prepared a GSoC 2012 page in the PicoLisp wiki > >> (http://picolisp.com/5000/!wiki?gsoc), where you can find more > >> information

Re: Bug in the wiki?

2012-02-28 Thread José Romero
On Tue, 28 Feb 2012 13:01:31 +0100 Alexander Burger wrote: > Hi Mansur, > > > I've just installed fresh PL release and wiki from this link: > > http://software-lab.de/wiki.tgz > > OK, great. > > > > When I'm logged in and navigate to "Role administration", I see this > > error in the console:

Re: returning multiple distinct closures

2012-02-24 Thread José Romero
I've been thinking on the problem a bit and found another way to tackle it, using this incredibly *UGLY* function (all of them formatted as the output of 'pp, I have no idea how to make it more aesthetically pleasing): (de lazy Prg (let L (box (cons)) (con (val L) (list

Re: returning multiple distinct closures

2012-02-23 Thread José Romero
On Fri, 24 Feb 2012 00:03:34 + Imran Rafique wrote: > Picolisp'ers, > > As the subject asks, is it possible to return multiple distinct > closures from a single function? I was trying out a simple lazy lists > implementation. The lazy function takes in something and returns that > something

Re: Reference Example typo

2012-02-23 Thread José Romero
On Thu, 23 Feb 2012 16:16:01 -0500 Joe Bogner wrote: > Sidenote: Can someone explain why the use of the parentheses around > the class name? It seems confusing to be '+Item in some contexts and > '(+Item) in others. > > It's the way typing works in the PicoLisp object system, "types" are lists

Re: android success with full picolisp

2012-02-20 Thread José Romero
On Mon, 20 Feb 2012 18:46:59 -0800 (PST) Doug Snead wrote: > More android + picolisp fun, this time with the full picolisp.  Using > the android SDK and NDK, I hacked a picolisp/src/makefile to work for > android's arm processor like this: > > --- makefile --- > [snip] > > CFLA

Re: PicoLisp SSL Problem

2012-02-15 Thread José Romero
On Wed, 15 Feb 2012 08:00:10 +0100 Alexander Burger wrote: > Hi all, > > since Firefox 10 (Windows) is out, some of my customers complain that > they can't access their PicoLisp applications via SSL any longer. At > least one also reports the same for Safari. > > They can't access even the appl

Re: Canonical way to do master detail relationship.

2012-02-11 Thread José Romero
On Sun, 12 Feb 2012 16:16:26 +1100 Konrad Zielinski wrote: > Hi, > > I'm trying to work out the proper way to setup a master detail > relationship in a Picolisp database. > > I have a master record with child records where each child record is a > string and a number. Different master records d

Re: (symbols) inside a function

2012-02-01 Thread José Romero
On Wed, 1 Feb 2012 05:53:11 -0800 Imran Rafique wrote: > Thanks for responding Alex. > > As you know, I'm just trying out picolisp in my spare time (hence my > slow responses on this list, sorry about that). To put some context > to these questions, I thought that using seperate namespaces to >

Re: Bug in the JSON example in rosetta

2012-01-27 Thread José Romero
On Fri, 27 Jan 2012 13:58:50 +0100 Alexander Burger wrote: > On Fri, Jan 27, 2012 at 01:48:41PM +0100, Alexander Burger wrote: > > Let me check more thoroughly. > > How about that? > >(de readJson () > (case (read "_") > ... > (T > (let X @ >

Re: Bug in the JSON example in rosetta

2012-01-27 Thread José Romero
Hmmm, it still doesn't work quite well, it chokes on negative numbers, no idea how to fix that. :( -José -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: Bug in the JSON example in rosetta

2012-01-27 Thread José Romero
On Fri, 27 Jan 2012 12:55:29 +0100 Alexander Burger wrote: > Hi José, > > > Looks like the example JSON functions choke on empty objects. I > > made a > > Oops. Right. > > > > If it's OK I'll edit the task page, buggy code is ugly code! > > Indeed. Please do so. Many thanks! Done! > > Che

Bug in the JSON example in rosetta

2012-01-27 Thread José Romero
Looks like the example JSON functions choke on empty objects. I made a quick and dirty fix, but I'm not sure if I introduced extra bugs. Diff follows: ## --- json.orig.l 2012-01-27 07:34:25.0 -0300 +++ json.l 2012-01-

Re: PicoLisp is DEAD (Was: PicoLisp and its (lack of) libraries)

2012-01-22 Thread José Romero
On Sun, 22 Jan 2012 22:58:19 -0200 Jeronimo Pellegrini wrote: > You may count me as silent but very happy with PicoLisp! > > I use it mostly for automating tasks in Unix systems (particularly > fun in small devices running Linux). > > J. > > > On Sun, Jan 22, 2012 at 08:42:38AM +0100, Alexand

Wacky stuff with circular lists, Was:The many uses of @

2011-11-08 Thread José Romero
On Tue, 08 Nov 2011 23:14:59 +0100 Thorsten wrote: > José Romero > writes: > > > On Tue, 08 Nov 2011 21:47:04 +0100 > > Thorsten wrote: > > > >> José Romero > >> writes: > >> > >> > 'text also uses @ http://software-

Re: The many uses of @

2011-11-08 Thread José Romero
On Tue, 08 Nov 2011 21:47:04 +0100 Thorsten wrote: > José Romero > writes: > > > 'text also uses @ http://software-lab.de/doc/refT.html#text > > It's also useful to note that in short-circuit evaluation style > > functions like 'and, @ always holds

Re: The many uses of @

2011-11-08 Thread José Romero
On Tue, 8 Nov 2011 17:10:41 -0300 José Romero wrote: > On Tue, 08 Nov 2011 20:29:39 +0100 > Thorsten wrote: > > > > > Hi list, > > > > when reading Picolisp source code I often find myself a bit confused > > with regards to the meaning of @ in the cont

Re: The many uses of @

2011-11-08 Thread José Romero
On Tue, 08 Nov 2011 20:29:39 +0100 Thorsten wrote: > > Hi list, > > when reading Picolisp source code I often find myself a bit confused > with regards to the meaning of @ in the context of the source code. > Therefore I tried to make a table that summarizes all possible > meanings of @ in Pico

Re: Equivalenz of (quote (...)) and '(...)

2011-09-28 Thread José Romero
On Wed, 28 Sep 2011 20:27:15 +0200 Thorsten wrote: > > Hi list, > I thought that (quote (...)) and '(...) should be equivalent, but I > get different results with the following two versions of a little > test program: > > # version A > (prog >(let (tab '((1 2 3 ) (4 5 6) (7 8 9))) >

Re: IRC dump for #picolisp

2011-07-08 Thread José Romero
On Sat, 9 Jul 2011 12:59:11 +0700 Henrik Sarvell wrote: > Does anyone know how this is done? > > Here is an example from #geany: > http://irc.geany.org/logs/old/log_20101023.html > > At the bottom it says "Stats generated by > irclog.py<>on Sat Oct 23 > 23:58:01 2010 (times in UTC, will be gene

Re: Multiple asynchronous HTTP POSTs and call versus in - a word of

2011-06-20 Thread José Romero
On Tue, 21 Jun 2011 00:33:48 +0700 Henrik Sarvell wrote: > Hi Everyone. > > New article in the wiki: > http://picolisp.com/53823/59880452264949525~-2-1h.html based on > today's adventures. And this is why putting session data in the URL is a terrible practice, correct link: http://picolisp.com/

Re: UB-Tree support

2011-05-20 Thread José Romero
> BTW, I felt that I should finally try Twitter! So I created an > account a few days ago, and just now I twittered (tweeted, twote?) > the good news about the UB-Tree into the world :D > > @Henrik: You are the first (and only one so far) I'm following ;-) > Anybody else? > Following you! i'm @cy

Re: digging dotted pairs

2011-03-13 Thread José Romero
On Mon, 14 Mar 2011 04:49:44 +0800 Ana Zgombic wrote: > Hi list, >=20 > 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 list). >=20 > like in the design of the (tag) API for xhtml generation. why

Re: opt/pilog.l

2011-03-11 Thread José Romero
On Fri, 11 Mar 2011 21:15:16 +0100 Alexander Burger wrote: > Hi Ana, > > On Sat, Mar 12, 2011 at 01:12:21AM +0800, Ana Zgombic wrote: > > oops. sent too soon. found out it is used by misc/pilog.l. > > Oops indeed! I was not aware that it is referred to by "misc/pilog.l". > > In fact, "opt/" wa

Re: Tcpdump and getopts

2011-03-04 Thread José Romero
On Fri, 4 Mar 2011 08:59:09 +0100 Alexander Burger wrote: > Hi meinbg, >=20 > > Let's see if this mail gets through: >=20 > Yes, perfectly. >=20 >=20 > > Tcphex is a tcp proxy that gives a realtime hexdump of data sent > > both ways. ... > > All comments appreciated. >=20 > Thanks for your contri

Re: wiki password

2010-10-26 Thread José Romero
El Wed, 27 Oct 2010 01:00:38 +0800 Boh Yap escribi=C3=B3: > hi, >=20 > send 2 emails, the 1st informing that passwd reset is activated and a > following email will contain the temp. passwd. >=20 > then send the passwd in the 2nd email. And if the 2nd email does not > mention an acct name, then its

Re: wiki password

2010-10-26 Thread José Romero
El Tue, 26 Oct 2010 16:57:10 +0200 Alexander Burger escribi=C3=B3: > Hi Jos=C3=A9, >=20 > > 1. When the user presses reset pass the button on a valid user, > > generate a random password. > > 2. Store it in a special field in the User object (rpass?) along > > with the date of which that random pa

Re: wiki password

2010-10-26 Thread José Romero
El Tue, 26 Oct 2010 14:31:17 +0200 Alexander Burger escribi=C3=B3: > On Sat, Oct 23, 2010 at 12:18:45AM +0200, Javier wrote: > > Alex, please add a feature to reset the password, as I don't > > remember >=20 > Thinking about it: What would be the best way? Try this: 1. When the user presses rese

Re: PL vs. BSD License

2010-08-02 Thread José Romero
El Mon, 2 Aug 2010 15:20:06 +0800 Edwin Eyan Moragas escribi=C3=B3: > Hi Alex, all, >=20 > 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 w

Re: solicting user stories of picolisp

2010-07-19 Thread José Romero
El Mon, 19 Jul 2010 18:46:55 +0200 Alexander Burger escribi=C3=B3: > On Mon, Jul 19, 2010 at 04:39:08PM +0200, Mateusz Jan Przybylski > wrote: > > The lecturer never heard of Lisp before; after listening to my > > explanations he wrapped it up with: > > ``So this Lisp is a newfangled language, qu

Mercurial Repository

2010-04-25 Thread José Romero
Hi, If anyone is interested, I let you know I'm keeping a mercurial repository up to date with the latest picoLisp.tgz (updated automatically with a cron script) on Google Code http://code.google.com/p/picolisp/source/list cheers, Jos=C3=A9 -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=