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

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

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

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

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! Let me see

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

Re: Building picolisp on Oneiric ?

2011-09-07 Thread John Duncan
-- 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
, remaining only on the desktop), but in fact I was experimenting with mmap'ed versions of PicoLisp in the past. Cheers, - Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe -- John Duncan University of Georgia College of Veterinary Medicine Class of 2012 SCAVMA Treasurer

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

2015-12-03 Thread John Duncan
n 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: How to use PWM?

2016-01-19 Thread John Duncan
fre...@hotmail.co.uk> wrote: > I can'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.3m

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 <k1llfre...@hotmail.co.uk> 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: &g

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

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

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

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" <duncan.j...@gmail.com> 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

Re: Function similar to Scheme 'foldl'?

2018-10-08 Thread John Duncan
(@ (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
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? Not i

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 >

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

Re: Examples of quote usage instead of lambda

2020-02-06 Thread John Duncan
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: >

Re: Digging into Symbols

2020-04-28 Thread John Duncan
n 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: Talking about algorithms and their BIG(O) behaviour, efficiency, other JIT IR compilers ...

2020-05-03 Thread John Duncan
n'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: divmod?

2020-05-03 Thread John Duncan
esentation 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: Do free Open Source Foundation's Software Stacks fall under US Export Law?

2020-05-06 Thread John Duncan
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
: > > 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: Do free Open Source Foundation's Software Stacks fall under US Export Law?

2020-05-06 Thread John Duncan
VM (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: Bug?

2020-06-21 Thread John Duncan
? > 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
rom 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 Sun, Jun 21, 2

Re: Bug?

2020-06-22 Thread John Duncan
ot; -- 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
s 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
wonder 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
; 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
So, my 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