Subscribe

2008-04-03 Thread John Duncan
Hello John Duncan <[EMAIL PROTECTED]> :-) You are now subscribed Hi! I'm interested in this implementation. Please subscribe me. John

PDF Functionality

2008-04-07 Thread John Duncan
Hi all, Does pico have PDF functions? I was considering implenting something in that area. John Also, I am still having problems getting the PDF function working properly (i.e., finding useable fonts other than Courier).

Re: Pico, difficulty with circular lists

2008-04-10 Thread John Duncan
Only simple circular lists seem to work properly. '(a b . (c d e .)) is equivalent to '(a b c d e c d e ...) : (de X . (a b .)) -> X : X -> (a b .) : (de X . (a . (b c .))) # X redefined -> X : (cdr X) -> (b c .) : X -> (a b c b c b c b c b c b c b c b c b c b c b c b c b c b c b c b c b c b

Re: Pico, handling requests from jQuery

2008-05-27 Thread John Duncan
The + shows up in post data too, when the default "application/x-www- form-urlencoded" content type is used and there are spaces in a value. On 27 May 2008, at 5:16 AM, Alexander Burger wrote: > Hi Jon, > >> properly. I get the "+" in Pico Lisp. Therefor I cannot know whether >> a "+" in Pico Li

Re: 'date' and 'time'

2008-08-19 Thread John Duncan
(list (dat$ (date T)) (tim$ (time T) T)) -> ("20080819" "10:55:59") The T argument to (date) returns UTC, and the T argument to (time) returns the time at the call to date. If (date) was called with the T argument, the time will be in UTC. The T argument to (tim$) returns a string with second

Re: Subscribe

2008-10-01 Thread John Duncan
--Boundary_(ID_0i1pLLSumxnIAcUHaroTzw) Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-transfer-encoding: 7BIT Thanks, Henrik! I wish I'd known about your website earlier. Perhaps Alex can link to it so it's more googleable? John On 1 Oct 2008, at 12:03 AM, Henri

Re: Asyncronous IO

2008-10-10 Thread John Duncan
If the socket is set not to block, then the socket will read as much data as is available and the underlying read call will return the number of bytes read, right? So the poll will still be useful in an nbio world. John On 10 Oct 2008, at 12:36 PM, Alexander Burger wrote: > Hi Tomas, > >>

Re: Status of 64 picoLisp

2008-10-15 Thread John Duncan
On 15 Oct 2008, at 9:11 AM, Alexander Burger wrote: > It is a complete rewrite. Even the implementation language changed. > Instead of C it is written in a generic assembler (which in turn is > written in PicoLisp :) that generates GNU assembler code (currently > there is only a x86-64 generator,

Re: closures

2008-10-30 Thread John Duncan
I thought Chicken's approach seemed novel, but I don't understand it well enough to explain it. From what I gather, they use the C stack as the "new" heap and collapse it when the garbage collector copies. John On 30 Oct 2008, at 3:56 AM, Alexander Burger wrote: > >> class continuations like

Subscribe

2008-12-01 Thread John Duncan
Hello John Duncan <[EMAIL PROTECTED]> :-) You are now subscribed Changing my address! Please subscribe this one: [EMAIL PROTECTED] -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]

Unsubscribe

2008-12-01 Thread John Duncan
Good bye John Duncan <[EMAIL PROTECTED]> :-( You are now unsubscribed Changing my address! John -- UNSUBSCRIBE: mailto:[EMAIL PROTECTED]

Re: Pico build problem on Mac OS X 10.6

2009-09-07 Thread John Duncan
I think what may be happening is gcc is trying to build a universal =20 executable and can't find any ia64 stuff. Try this change in Makefile: from: ifeq ($(shell uname), Darwin) OS =3D Darwin PICOLISP-FLAGS =3D -lc -lm -ldl to: ifeq ($(shell uname), Darwin) OS =3D Dar

Re: Probably solved [Was: picoLisp under MacOS/X 10.6 SIG-N

2009-11-22 Thread John Duncan
Is it necessary to declare the functions extern in the header file? The default linkage for functions is external. John On 22 Nov 2009, at 4:54 AM, cle wrote: Alexander Burger wrote: > Hi Cli, Hi Alex, (...) > So that means, that you fixed also the problems with loading dynamic > lib

Re: Probably solved [Was: picoLisp under MacOS/X 10.6 SIG-N

2009-11-22 Thread John Duncan
Cool. Would have checked it myself if I had snow leopard. John On 22 Nov 2009, at 10:12 AM, cle wrote: John Duncan wrote: > Is it necessary to declare the functions extern in the header file? > The default linkage for functions is external. To speak the truth: I don't know!

Re: www.picolisp.org created

2009-11-26 Thread John Duncan
Cross-posted to hacker news (news.ycombinator.com). On 26 Nov 2009, at 7:57 AM, Javier wrote: Hello, we have created www.picolisp.org, which is pretended to be the main point of interchange and developing of PicoLisp. There is a forum, an article section, a forum, and of course we are creati

Re: Wikipedia

2010-01-11 Thread John Duncan
Alex, Have you tried discussing the issue nicely on the talk (Diskussion) page? There hasn't been any talk in German, which is very strange for an article that has been marked for deletion. One problem that I see is that, generally, wikipedians should not be writing about their own stuff.

Re: help in understanding picolisp implementation

2011-02-25 Thread John Duncan
; > as i understand it, it says typedef "any" to a "function returning a > pointer which takes an argument 'any'". and "any" is defined as a > typedef to a pointer to a"struct cell". > > did i get that one right? > > Ana > > --

Re: help in understanding picolisp implementation

2011-02-25 Thread John Duncan
ain. try... if x is a number, then x. > otherwise > if x is a symbol, then get the value of x > else... x is a list! phew. go forth and evaluate. > > now burn me. > > Ana > > On Sat, Feb 26, 2011 at 3:42 AM, John Duncan > wrote: > > "fun" is the na

Re: Building picolisp on Oneiric ?

2011-09-07 Thread John Duncan
gt; to > > gcc -o $(bin)/picolisp $(ARCH).$(SYS).base.o $(LD-MAIN) > > > If it works with these changes, then we must also fix the corresponding > LD-SHARED lines. > > Cheers, > - Alex > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan University of Georgia College of Veterinary Medicine Class of 2012 SCAVMA Treasurer Emeritus VBMA President Emeritus

Re: error message line numbers

2011-09-07 Thread John Duncan
separate > > computers, a la Erlang. > > Yes, that's interesting. I don't want to care about Windows (Windows is > obsolete in all interesting segments, remaining only on the desktop), > but in fact I was experimenting with mmap'ed versions of PicoLisp in the > past. >

Re: low level VM and disassemble

2015-08-26 Thread John Duncan
may press Shift-K on 'call', then move > down > to 'execArgsE_SXZ' and press Shift-K again > > With Shift-Q you can pop back. > > ♪♫ Alex > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan

Re: Mizar32 - What order do functions have to appear?

2015-12-03 Thread John Duncan
t; to be in and some rules that I can’t find written. It seems to me that you > can’t set a pin direction unless you are going to use it in the immediate > program and I personally can’t seem to get smaller functions of “sethigh” > and “setlow” to ever work. Is there like a comprehensive list of the way I > need to be writing these programs? I experiment a lot and I do not have the > vga board so I have no console on screen, I’m kinda running blind and need > all the heads up I can. Thanks. > > > -- John Duncan

Re: Mizar32 - What order do functions have to appear?

2015-12-03 Thread John Duncan
32B with the usb > cable. > > Sent from my iPhone > > On Dec 3, 2015, at 2:08 PM, John Duncan wrote: > > You could try Termite > > http://www.compuphase.com/software_termite.htm > > On Thu, Dec 3, 2015 at 7:25 AM, J B wrote: > >> Thanks for the quick reply. I&

Re: How to use PWM?

2016-01-19 Thread John Duncan
at to do about it. > > The attachment is a datasheet for the servo I bought. > Thanks. > -- John Duncan

Re: How to use PWM?

2016-01-19 Thread John Duncan
n't test those numbers as I don't have a power supply at home. I'm > curious how your work out hte duty cycle as a percentage? > Thanks. > > On 19/01/16 18:32, John Duncan wrote: > > Just a guess, you probably need to consider the whole 21.7ms or 21.3ms to > be y

Re: How to use PWM?

2016-01-21 Thread John Duncan
Glad I could help On Thu, Jan 21, 2016 at 12:42 PM, Jake wrote: > Thanks John, I had to wiggle the % around. I think I ended up with 10 and > 3, but it spins the same speed both ways. Thanks :) > > On 19/01/16 19:18, John Duncan wrote: > > You have a cycle that is 21.7ms (

Re: Loosing elements in a sorted list

2016-12-14 Thread John Duncan
This is because A still points at the cons that was the head of the list before sorting. If you want to update it, you have to set A to the result of sort. On Dec 14, 2016 8:37 PM, "Bruno Franco" wrote: > Hi list, I have a problem. > > Whenever I sort a list stored in a symbol, some elements are

Re: Loosing elements in a sorted list

2016-12-16 Thread John Duncan
ort' is destructive, and 'by' is not, because it >> builds a >> fresh, private list. >> >> >> > Is this normal operation of picolisp? I assumed its not, because I >> didn't >> > catch any reference to it in the documentation. >> >> Every destructive function should be marked as such in the reference Let >> us >> know when you find a case where this is missing. >> >> - Alex >> -- >> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >> > > -- John Duncan

Re: how to append an element with nested parens and an evaluated centre

2016-12-23 Thread John Duncan
I think using (list 'a (list (list V))) is idiomatic and clear. John On Dec 23, 2016 4:02 AM, "dean" wrote: > I noted that ' let you write as many nested parens as you wanted but > precluded any evaluation in the middle. V was just there to ensure that > EVALUATION was required to get at "some

Re: how to specify *.txt as an argument to ls

2017-01-14 Thread John Duncan
Wildcard expansion in UNIX is performed by the shell, so to experiment with arguments it is probably better to specify a directory as an argument and see the result. You can use a native call to the glob(3) lunch function if you want pattern matching lookup like the shell, or use the output of find

Re: how to specify *.txt as an argument to ls

2017-01-14 Thread John Duncan
s/lunch/libc On Jan 14, 2017 6:01 PM, "John Duncan" wrote: > Wildcard expansion in UNIX is performed by the shell, so to experiment > with arguments it is probably better to specify a directory as an argument > and see the result. You can use a native call to the glob(3) lunc

Re: exit case body/prog/function

2017-01-19 Thread John Duncan
>>(catch 'something >> (for (..) >> (if (..) >> (throw 'something) >> (elseStuff) >> .. >> >> Catch/throw is more general then 'return', but the latter can be emulated >> with >> it. >> >> ♪♫ Alex >> -- >> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >> > > -- John Duncan

Re: Slides and notes from my Picolisp presentation

2018-09-25 Thread John Duncan
ut what about you?” > > > -- John Duncan

Re: Function similar to Scheme 'foldl'?

2018-10-08 Thread John Duncan
(mapc '(@ (pass process-args 'Res)) > Lst1 > Lst2 > Lst3 ) > Res ) > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan

Re: Function similar to Scheme 'foldl'?

2018-10-09 Thread John Duncan
Isn't it destructive to I? On Tue, Oct 9, 2018, 10:30 AM Mike wrote: > hi all, > > My demo code to mimic racket's reference: > https://bitbucket.org/mihailp/tankfeeder/src/default/foldl.l > > (mike) > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe >

Re: Function similar to Scheme 'foldl'?

2018-10-09 Thread John Duncan
ket's reference: > > > https://bitbucket.org/mihailp/tankfeeder/src/default/foldl.l > > Perfect! > > > On Tue, Oct 09, 2018 at 10:57:43AM -0400, John Duncan wrote: > > Isn't it destructive to I? > > You mean the line (setq I (apply F (conc (rest) (cons I

Re: Function similar to Scheme 'foldl'?

2018-10-09 Thread John Duncan
You're right, I was wrong :) John On Tue, Oct 9, 2018 at 3:07 PM wrote: > On Tue, 09 Oct 2018 19:31 +0200, Alexander Burger wrote: > > On Tue, Oct 09, 2018 at 01:21:07PM -0400, John Duncan wrote: > > > Yes, you couldn't reuse the same initial value for a data stru

Re: Function similar to Scheme 'foldl'?

2018-10-09 Thread John Duncan
Yes, it makes more sense in reducing type languages like scheme and Haskell, where its operating model is identical to the recursion that would normally be implemented. On Tue, Oct 9, 2018, 4:03 PM Johann-Tobias Schäg wrote: > > > It is quite inefficient, as it needs to build a new list of > all

Re: Examples of quote usage instead of lambda

2020-02-06 Thread John Duncan
hen my > comp-sci stride to grok picolisp, but I might be here with a lot of newbie > questions for a while. . . . > > Thanks, > Lawrence Bottorff > Grand Marais, MN, USA > -- John Duncan

Re: Examples of quote usage instead of lambda

2020-02-06 Thread John Duncan
Thanks, and I probably should have said, "car and cdr of a cell" rather than a list. Oh well ;) On Thu, Feb 6, 2020 at 1:16 PM Alexander Burger wrote: > On Thu, Feb 06, 2020 at 12:41:51PM -0500, John Duncan wrote: > > Yeah, it's explained in the reference manual: &g

Re: Digging into Symbols

2020-04-28 Thread John Duncan
ration of Lisp, e.g. > > > > (cons 9 (1 2 3)) -> (9 1 2 3) > > > > ..perhaps that is what you meant? > > > > -wilhelm > > > > > > -- > > UNSUBSCRIBE: mailto:picolisp@software-labde > ?subject=Unsubscribe > > -- John Duncan

Re: divmod?

2020-05-03 Thread John Duncan
representation of the answer swamps the actual cost > of the divide, and that's going to be similar regardless of if the > divide and remainder wind up being one machine instruction or two. > > -wilhelm > > > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan

Re: Talking about algorithms and their BIG(O) behaviour, efficiency, other JIT IR compilers ...

2020-05-03 Thread John Duncan
s readable and understandable, if you don't put a link into the > comments)! ;-) > > Have fun! > > Best regards, Guido Stepken > > ¹) https://en.wikipedia.org/wiki/Fusion_tree > <https://en.wikipediaorg/wiki/Fusion_tree> > ²) https://en.wikipedia.org/wiki/Exponential_tree > ³) https://en.wikipedia.org/wiki/Fenwick_tree > ⁴) https://graphics.stanford.edu/~seander/bithacks.html > <https://graphics.stanford.edu/~seander/bithackshtml> -- John Duncan

Re: Do free Open Source Foundation's Software Stacks fall under US Export Law?

2020-05-06 Thread John Duncan
bAssembly. I need something running on POSIX > for > server side applications. Something in the browser is as useful for me as > chewing gum for my cat. > > — Alex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan

Re: Do free Open Source Foundation's Software Stacks fall under US Export Law?

2020-05-06 Thread John Duncan
> languages in one source) GraalVM (Truffle) and observe, how PicoLisp gets > faster and faster after a certain warm up time. GraalVM (Truffle) is same > HotSpot post JIT optimization concept. > > Have fun! > -- John Duncan

Re: Picolisp is the only language in the world, that can reason about database contents!

2020-05-06 Thread John Duncan
;> > > >> > Eric > >> > > >> >>> -- > >> >>> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > >> >>> > > > > > > > > -- > > keep raising the bar > > > > -- > > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe > > -- John Duncan

Re: Do free Open Source Foundation's Software Stacks fall under US Export Law?

2020-05-06 Thread John Duncan
: > > On 06.05.20 18:42, John Duncan wrote: > > Picolisp is interpreted. Even the llvm version is just creating an > > interpreter. There is no JIT. > Exactly! > > Guido, you should really stop talking about things you so obviously have > no understanding of. > The

Re: Bug?

2020-06-21 Thread John Duncan
to 212. ? > If not, how do I force a "." after an integer input by a user? Do I really > have to use a string input and look for a "."? > > > Sent from ProtonMail mobile > > > -- John Duncan

Re: Bug?

2020-06-21 Thread John Duncan
gt; > Sent from ProtonMail mobile > > > > Original Message ---- > On Jun 21, 2020, 12:16 PM, John Duncan < duncan.j...@gmail.com> wrote: > > > Not a bug, this is the design of the reader (symToNum). Can you make input > include the decimal point? > > On

Re: Bug?

2020-06-22 Thread John Duncan
7;"@doc/form/refD.html" -- Open error: > Permission denied' without sudo. > > Uh, yes. But I really have no clue. Is it possibly an SELinux issue? > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan

Re: Licence Dilemma

2020-11-22 Thread John Duncan
ived, as GPLv3, as long as you maintain the MIT license text. > > > AW > > On Sun, 22 Nov 2020, Tomas Hlavaty wrote: > > > what if i don't want to risk going to court because of this? > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan

Re: math.l library in picoLisp

2021-05-17 Thread John Duncan
onder whether a #picolisp group in Matrix would be better in the long > range. > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan

Re: New blog - "PicoLisp for beginners"

2021-09-01 Thread John Duncan
y. Sometimes I even copied > complete sentences if I liked them. Hope that was ok! > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe > -- John Duncan

Re: compilation error

2021-09-01 Thread John Duncan
> > > ☺/ A!ex > > > > -- > > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > > > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe > -- John Duncan

Re: compilation error

2021-09-02 Thread John Duncan
age complains something about base.ll, and this > file comes > > pre-built in the tarball for the first bootstrap. > > > > ☺/ A!ex > > > > -- > > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > > > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe > -- John Duncan

Re: wiki function: _render

2021-09-11 Thread John Duncan
first idea would be, instead of adding complexity to the wiki > syntax to specify ID values, to use the value of the heading as the value > of the ID and output this: > > > > My heading > > > > That does not guarantee that we have unique ID values, which is a > requirement > > in HTML, > > Is there a reason not to use instead? > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- John Duncan