Re: 17.6 back in a Tinycore container

2017-07-31 Thread Tamas Herman
Hello David,

There is an upcoming feature in Docker which allows building containers the
way you described.
It's called multi-stage builds:
https://docs.docker.com/engine/userguide/eng-image/multistage-build/

It's available in beta versions only for now.

Btw, I'm using https://www.notion.so/ for taking notes while I'm
researching or developing something.
It's like a wiki but real-time collaborative and allows publicly sharing
your results.

I highly recommend you copy paste your commands into such a tool OR
at least into a text file as you are developing something, then it's a lot
easier later
to turn it into an actual article / blog post / wikipage.

As a middle ground between Notion and a plain text file is creating a
markdown file
which you can store on Dropbox, Google Drive, GitLab, GitHub for later
sharing.

The secret to create a Markdown file effortlessly is to use the
cross-platform
https://typora.io/ editor, because it is NOT a dual-pane editor.

It actually shows you the content you typed in a nicely rendered format,
EXCEPT around your cursor, where it reveals the underlying markdown
characters
and allows direct, plain text interaction with them.

I know these sound nuances, but such details can really affect our psyche
and
make the difference between creating and liberating knowledge or
indefinitely
procrastinating over it.

-- 
  tom


17.6 back in a Tinycore container

2017-07-31 Thread David Bloom
Hello PicoLispers,

I've updated the Docker container to the latest source.  It turns out that
compiling the source in a Tinycore container, copying back to host, finally
copying precompiled source back into a fresh container is the path to the
smallest image.  Back down to 14MB including vim so that you can (edit
'mycoolvar) right in the image!  Once I get a little time I'll write up an
article for the wiki explaining the process.

More detailed instructions at:

 https://hub.docker.com/r/progit/docker-tinycore-picolisp/

Enjoy.

David


Re: PicoLisp as first language

2017-07-31 Thread Christophe Gragnic
On Mon, Jul 31, 2017 at 4:07 PM, Nehal  wrote:
> Dear PicoLisp programmers,
>
> Hi! I am Nehal, a new PicoLisp learner and programmer from India.

Hi Nehal, hi India !

> I am currently working on making simple, easy to begin with PicoLisp
> Documentation for school students. […]

This is great. In my opinion PicoLisp is a good choice.
As Lindsay said, it could be a nice entry point for PicoLisp beginners,
something that I needed in my first attempts to understand it and
something I dreamt to build myself. I'll try to contribute.

Let me put EmuLisp and MicroAlg to your attention:
http://emulisp.js.org/
http://microalg.info/
Although this last website and the language it demonstrates is French only,
you'll understand why I think it can inspire you.

EmuLisp, initially developed by Jon Kleiser,
is a partial implementation of PicoLisp in JavaScript.
At first it was a toy project for him to understand the internals of
PicoLisp better.
But for me it was a game changer and allowed me to use PicoLisp in the browser.
Beware, it's not PicoLisp compliant, for example it uses floats.

The second is a pedagogical language, a «Lisp for babies» as a friend coined.
It is a embedded in PicoLisp and thus can run on:
* «the real» PicoLisp
* miniPicoLisp
* Ersatz (partial implementation of PicoLisp in Java, from Alex himself)
* JS (browser and node)
* …

If your students are familiar with UNIX they'll be able to use the
full language.
Ersatz can help if stuck on Windows.
The same for EmuLisp running on Node with less features but will have
a faster startup.
EmuLisp will allow you to make online interactive tutorials like I did in static
pages like here:
http://microalg.info/tuto_rapide.html
or with a plugin for Dokuwiki:
https://github.com/Microalg/dokuwiki-plugin-microalg
used here:
http://galerie.microalg.info/
(quite difficult to jump in for students, but very powerful).
In every MicroAlg interactive text field you can type regular PicoLisp code

Re: PicoLisp as first language

2017-07-31 Thread Lindsay John Lawrence
Thanks for writing this. I think it is a great start and will help a lot of
other newcomers as well

/Lindsay


On Mon, Jul 31, 2017 at 7:07 AM, Nehal  wrote:

> Dear PicoLisp programmers,
>
> Hi! I am Nehal, a new PicoLisp learner and programmer from India.
>
> I am currently working on making simple, easy to begin with PicoLisp
> Documentation for school students. Usually children are taught Java, C++
> but my objective is to have them started with PicoLisp so that they learn
> programming as well as other core subjects such as Math, Physics with the
> aid of PicoLisp.  Through this experience they not only will have knack on
> several subjects with practical learning but will also hone skills in
> PicoLisp, a virtual machine and language they can befriend for life.
>
> In this light, I recently published an article on picolisp.com. Kindly
> see: https
> 
> ://
> 
> picolisp.com
> 
> /wiki/?
> 
> picolispforpythonandchickenschemeprogrammers
> 
> .
>
> This document is currently having less examples. I would like to have
> something more appended to it.
>
> I will be grateful if you can visit the link and give me feedback.
> Suggestions, extensions are requested and welcome.
>
> Thank you so much.
>
> Regards,
> Nehal
>
> सा विद्या या विमुक्तये
>


Re: PicoLisp as first language

2017-07-31 Thread David Bloom
Nice start and great idea Nehal!  It would be nice to see the result of
each call.  Later you can use that to demonstrate how and why the languages
return the values that they do.

David


On Jul 31, 2017 10:37 AM, "Joh-Tob Schäg"  wrote:

Hello

I would update
Definitions, assignment and bindings
Let is only used for local assignments. setq compares to best to the
examples of the other languages.

Sincerely,



Am 31. Juli 2017 16:07:38 MESZ schrieb Nehal :

> Dear PicoLisp programmers,
>
> Hi! I am Nehal, a new PicoLisp learner and programmer from India.
>
> I am currently working on making simple, easy to begin with PicoLisp
> Documentation for school students. Usually children are taught Java, C++
> but my objective is to have them started with PicoLisp so that they learn
> programming as well as other core subjects such as Math, Physics with the
> aid of PicoLisp.  Through this experience they not only will have knack on
> several subjects with practical learning but will also hone skills in
> PicoLisp, a virtual machine and language they can befriend for life.
>
> In this light, I recently published an article on picolisp.com. Kindly
> see: https
> 
> ://
> 
> picolisp.com
> 
> /wiki/?
> 
> picolispforpythonandchickenschemeprogrammers
> 
> .
>
> This document is currently having less examples. I would like to have
> something more appended to it.
>
> I will be grateful if you can visit the link and give me feedback.
> Suggestions, extensions are requested and welcome.
>
> Thank you so much.
>
> Regards,
> Nehal
>
> सा विद्या या विमुक्तये
>


Re: PicoLisp as first language

2017-07-31 Thread Joh-Tob Schäg
Hello,

i would update Definitions, assignment and bindings

Let is only used for local

Am 31. Juli 2017 16:07:38 MESZ schrieb Nehal :
>Dear PicoLisp programmers,
>
>Hi! I am Nehal, a new PicoLisp learner and programmer from India.
>
>I am currently working on making simple, easy to begin with PicoLisp
>Documentation for school students. Usually children are taught Java,
>C++
>but my objective is to have them started with PicoLisp so that they
>learn
>programming as well as other core subjects such as Math, Physics with
>the
>aid of PicoLisp.  Through this experience they not only will have knack
>on
>several subjects with practical learning but will also hone skills in
>PicoLisp, a virtual machine and language they can befriend for life.
>
>In this light, I recently published an article on picolisp.com. Kindly
>see:
>https
>://
>
>picolisp.com
>
>/wiki/?
>
>picolispforpythonandchickenschemeprogrammers
>
>.
>
>This document is currently having less examples. I would like to have
>something more appended to it.
>
>I will be grateful if you can visit the link and give me feedback.
>Suggestions, extensions are requested and welcome.
>
>Thank you so much.
>
>Regards,
>Nehal
>
>सा विद्या या विमुक्तये


Re: PicoLisp as first language

2017-07-31 Thread Joh-Tob Schäg
Hello

I would update
Definitions, assignment and bindings
 Let is only used for local assignments. setq compares to best to the examples 
of the other languages.

Sincerely,



Am 31. Juli 2017 16:07:38 MESZ schrieb Nehal :
>Dear PicoLisp programmers,
>
>Hi! I am Nehal, a new PicoLisp learner and programmer from India.
>
>I am currently working on making simple, easy to begin with PicoLisp
>Documentation for school students. Usually children are taught Java,
>C++
>but my objective is to have them started with PicoLisp so that they
>learn
>programming as well as other core subjects such as Math, Physics with
>the
>aid of PicoLisp.  Through this experience they not only will have knack
>on
>several subjects with practical learning but will also hone skills in
>PicoLisp, a virtual machine and language they can befriend for life.
>
>In this light, I recently published an article on picolisp.com. Kindly
>see:
>https
>://
>
>picolisp.com
>
>/wiki/?
>
>picolispforpythonandchickenschemeprogrammers
>
>.
>
>This document is currently having less examples. I would like to have
>something more appended to it.
>
>I will be grateful if you can visit the link and give me feedback.
>Suggestions, extensions are requested and welcome.
>
>Thank you so much.
>
>Regards,
>Nehal
>
>सा विद्या या विमुक्तये