Re: Noobie query

2024-06-02 Thread Alexander Burger
On Sun, Jun 02, 2024 at 02:57:18PM -0400, Lloyd R. prentice wrote:
> Unless it’s inconvenient for any and all. I’ll post here.

Perfect! Please ask.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Noobie query

2024-06-02 Thread Lloyd R. prentice
Thanks all.

I’ve never used IRC.

Unless it’s inconvenient for any and all. I’ll post here. I’m pushing hard to 
launch a book but as soon as it’s out I hope to dive into PicoLisp and will no 
doubt have many questions.

My first step will be to work through all of Mia’s wonderful web programming 
tutorials.

My thought is to attempt development of a markdown to LaTeX and eBook parser 
Think Pandoc with one reader and two writers.

Would welcome ideas and suggestions.

All the best,

LRP

Sent from my iPad

> On Jun 2, 2024, at 2:10 PM, Alexander Burger  wrote:
> 
> Hi Lloyd,
> 
>> I’ve subscribed to the mailing list. Have received posts. But I can’t find 
>> the
>> webpage to post questions. Is posting via email as I’ve done here the only 
>> way?
> 
> Posting here is fine.
> 
> But more discussions currently take place in the "#picolisp" IRC channel on
> libera.chat, or the #picolisp:7fach.de Matrix room.
> 
> ☺/ A!ex
> 
> 
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Noobie query

2024-06-02 Thread Alexander Burger
Hi Lloyd,

> I’ve subscribed to the mailing list. Have received posts. But I can’t find the
> webpage to post questions. Is posting via email as I’ve done here the only 
> way?

Posting here is fine.

But more discussions currently take place in the "#picolisp" IRC channel on
libera.chat, or the #picolisp:7fach.de Matrix room.

☺/ A!ex


-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Noobie query

2024-06-02 Thread Mike Evron
There's also IRC.  There's almost always someone there to answer questions.

On Sun, Jun 2, 2024 at 10:52 AM Lloyd R. prentice 
wrote:

> Hello,
>
> I’ve subscribed to the mailing list. Have received posts. But I can’t find
> the webpage to post questions. Is posting via email as I’ve done here the
> only way?
>
> Thank you,
>
> LRP
>
>
> Sent from my iPad
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe
>


Noobie query

2024-06-02 Thread Lloyd R. prentice
Hello,

I’ve subscribed to the mailing list. Have received posts. But I can’t find the 
webpage to post questions. Is posting via email as I’ve done here the only way? 

Thank you,

LRP


Sent from my iPad

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Coroutine produces segmentation fault

2024-06-02 Thread Alexander Burger
Hi František,

> I wrote a small script to generate and print the values of sine wave, as
> follows:
> ...
> (for N 44100 (printsp (co 'masterOut T)))
> ...
> 
> wave. However, when I increase the number on the next-to-last row tenfold
> (from 44100 to 441000), the script produces a segmentation fault (after
> printing lots of "(" parentheses) on line 13 (the "for" loop). What am I
> doing wrong?

It looks all good so far. Also, it runs fine here with 441000.

What version of Pil are you using?

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Coroutine produces segmentation fault

2024-06-02 Thread František Fuka
Hello, Picolisp beginner here.

I wrote a small script to generate and print the values of sine wave, as
follows:

#!/usr/bin/picolisp /usr/lib/picolisp/lib.l

(load "@lib/math.l")
(def 'pi2 (+ pi pi))

(co 'masterOut
(let (Step 0.001 Position 0)
(loop
(yield (sin (*/ pi2 Position 1.0)))
(inc 'Position Step)
(setq Position (% Position 1.0)

(for N 44100 (printsp (co 'masterOut T)))

(bye)

This script runs correctly and prints the first 44100 values of the sine
wave. However, when I increase the number on the next-to-last row tenfold
(from 44100 to 441000), the script produces a segmentation fault (after
printing lots of "(" parentheses) on line 13 (the "for" loop). What am I
doing wrong?

Thanks.

--
-- František Fuka


Subscribe

2024-06-02 Thread František Fuka
--
-- František Fuka


Subscribe

2024-06-02 Thread František Fuka
--
-- František Fuka