Davide BERTOLOTTO
wrote:
> Hi all,
>
> I compiled pil21 with llvm on termux and then I ran some simple fibonacci
> benchmark. Here the results
>
> *** recursive
> n 37 fib 24157817
> -- picolisp 3.013 sec
> -- pil21 5.332 sec
> -- python 21.247 sec
>
> **
Hi all,
I compiled pil21 with llvm on termux and then I ran some simple fibonacci
benchmark. Here the results
*** recursive
n 37 fib 24157817
-- picolisp 3.013 sec
-- pil21 5.332 sec
-- python 21.247 sec
*** iterative
n 8 fib 4589178984+
-- picolisp 0.518 sec
-- pil21 0.409 sec
-- python
I suppose so, you can start it from the command line and have it listen to
a port.
I am not sure that it will work with the configuration file tough, since I
understood that it takes care of stopping and starting the picolisp
processes.
Someone more expert can confirm or deny that ;-)
D.
On Thu,
Thanks a lot Alex, with the "wait" is working fine!
Cheers,
Davide
On Tue, Aug 4, 2020, 16:42 Alexander Burger wrote:
> Hi Davide,
>
> > I have encountered a strange behavior while running some pipes (the
> number
> > of "do" iterations may require some adjustment to trigger the effect):
> >
Hi all,
I have encountered a strange behavior while running some pipes (the number
of "do" iterations may require some adjustment to trigger the effect):
(do 1 (pipe (prin "A string") (make (while (rd 1) (link @)
The execution stops with an error like this (the actual number may vary)
?
Wonderful idea
On Wed, Jun 3, 2020, 13:27 O.Hamann wrote:
> ++
>
> On 03.06.20 07:54, Alexander Burger wrote:
> > I would propose informal Jitsi meetings every second Friday or so. The
> time
> > could be alternating 8:00 and 16:00 UTC, to allow attendance from most
> time
> > zones. No big
Hi all,
For those familiar with Land of Lisp (http://landoflisp.com/), I have
rewritten the wizard's game in Picolisp here:
https://github.com/dbertolotto/pil-land-of-lisp
In my opinion the wizard's game is the most iconic (and educational) game
of the book: it shows the code-as-data, the macros
Hi everyone,
I had recently an issue with both pil64 and pil21. I was trying to create a
large circular list and got a segmentation fault with a size of >200'000
elements. Is that expected?
(apply circ (range 1 20))
Regards,
Davide
Just found out that it is an issue with apply. Probably the number of
arguments is too large.
(eval (cons 'circ (range 1 20)))
Works fine.
Could someone confirm please?
Regards
Davide
On Wed, Dec 23, 2020, 13:16 Davide BERTOLOTTO
wrote:
> Hi everyone,
>
> I had recently
Thanks for the clarification Alex! The ulimit command did the trick.
Cheers,
Davide
On Wed, Dec 23, 2020, 14:16 Alexander Burger wrote:
> On Wed, Dec 23, 2020 at 01:57:10PM +0100, Alexander Burger wrote:
> > The result is a little different though:
> >
> >: (let L NIL (for I 7 (fifo 'L I))
Hi all,
For anyone who is interested, I am participating to the advent of code 2020
(https://adventofcode.com/) using Picolisp.
Here is the repository https://github.com/dbertolotto/advent-of-code-2020
Cheers,
Davide
I am using the one from the package manager of ubuntu 18, so it's probably
pil 64. I am waiting for the new package on thermux ;)
On Wed, Dec 16, 2020, 17:36 Mike wrote:
> December 16, 2020 6:09 PM, "Davide BERTOLOTTO" <
> davide.bertolo...@gmail.com> wrote:
>
> >
Thanks Alex,
I did manage to compile pil21 some time ago on termux, but it was not the
latest version. Waiting for the package is for satisfying my laziness by
having automatic updates ;)
Sad to hear about termux, I hope that there will be a solution for that. It
is a great tool!
Cheers,
Davide
Saturdays with the usual schedule sounds good for me
On Sat, Nov 7, 2020, 09:49 Alexander Burger wrote:
> Hi Kashyap, Wilhelm,
>
> thanks a lot Wilhelm! I think you protocolled all topics.
>
> And no worries Kashyap, we were all aware that we will repeat some topics
> anyway, whatever comes up.
Great! :)
On Sun, Nov 22, 2020, 15:17 Alexander Burger wrote:
> On Sun, Nov 22, 2020 at 02:49:58PM +0100, Davide BERTOLOTTO wrote:
> > Well, outside of the "flame wars", I think that this it is a genuine
> > problem that has to be solved by Alex.
>
> Yes, OK, an
>From the wiki page they you shared, quoting the FSF
Where's the line between two separate programs, and one program with two
parts? This is a legal question, which ultimately judges will decide. We
believe that a proper criterion depends both on the mechanism of
communication (exec, pipes, rpc,
According to the GPL FAQ *technically* a dynamically linked object still
falls under GPL
https://www.gnu.org/licenses/gpl-faq.en.html#GPLStaticVsDynamic
However it seems that not everyone agrees on that fundamentalist view:
https://www.linuxjournal.com/article/6366
As far as I know, there has
Well, outside of the "flame wars", I think that this it is a genuine
problem that has to be solved by Alex.
Using readline for pil21 in the current form requires him to use GPL for
Picolisp. I know it's nasty and almost nobody likes that, but it is the way
the GPL license works, at least on
For me later in the evening after 17-18 CET would be Better.
On Thu, Nov 5, 2020, 19:41 Alexander Burger wrote:
> On Thu, Nov 05, 2020 at 01:23:13PM -0500, r cs wrote:
> > Raw video would be welcomed. The timing of the PilCon can be challenging
> > in some time zones.
>
> Independent of the
I am not sure if I'll be able to join, but would be good to hear about best
practices in error handling (how to catch and throw errors properly)
Regards,
Davide
On Wed, Nov 4, 2020, 12:03 Alexander Burger wrote:
> Hi all,
>
> next Friday (Nov 6th) is PilCon again!
>
>
I should be able to join.
On Thu, Dec 31, 2020, 09:00 Alexander Burger wrote:
> On Thu, Dec 31, 2020 at 08:36:48AM +0100, Alexander Burger wrote:
> > in two days, Saturday the second of January, we have the next PilCon.
>
> Sorry, forgot to refresh the details:
>
> As ever on a first Saturday,
Oooops... I forgot to join this Saturday :-P
Anyway, in general any day is fine for me, even if I may not be able to
attend every time.
What about making shorter seminars with a specific topic? It seems that
this is the favored way by many people and could be recorded for the
benefit of
In a more functional way:
(de proc-char (C)
(case C
("B" 1)
("R" 1)
("F" 0)
("L" 0)))
(de proc-str (S)
(pack (mapcar 'proc-char S)))
(de proc-file (F)
(let Inp (filter 'and (split (in F (till)) "\n"))
(mapcar 'proc-str
After all these years I am still wondering how people like complicated
sintaxes full of special forms more than the simplicity of lisp. After all,
the parentheses and the prefix notation do not look so terrible to me,
especially considering that you gain a lot in clarity and simplicity of the
you can do
(put 'f 'docstr "docstring")
On Tue, Apr 20, 2021, 07:30 Davide BERTOLOTTO
wrote:
> I don't know of any *Function global, but hey, it's lisp ;) you can do
> your own 'de' like this, with a docstring clojure-style (after args)
>
> (de de+ Rest
> (
I don't know of any *Function global, but hey, it's lisp ;) you can do your
own 'de' like this, with a docstring clojure-style (after args)
(de de+ Rest
(let ((@Name @Args Doc . @Body) Rest) (macro (de @Name
@Args ~'@Body)) (put @Name 'Doc Doc)
As others already said, it's enough to tag/sort/redirect the incoming mails
according to the sender, no need for keywords in the title :)
On Wed, Dec 29, 2021, 19:25 Karl-Heinz Kreis
wrote:
>
> Hi all,
>
> I let my Mailprog simply sort the incomming into previously created
> subfolders by the
It is again that time of the year :)
https://adventofcode.com/2021
https://github.com/dbertolotto/advent-of-code-2021
Cheers,
Davide
29 matches
Mail list logo