Page 1 of 1

About "Code Patterns in newLISP"

Posted: Sat Apr 09, 2011 8:36 am
by johu
Hello, Lutz.

I have translated "Code Patterns in newLISP" to Japanese and I'm reviewing it.
Now I have some suggestion.

Evaluating remotely
The parameter p is nil when no result was received during the last 100 micro seconds,
The parameter p is nil when no result was received during the last 1000 micro seconds,

maybe.


CGI processing in HTTP mode
extract or set cookies amd other useful routines
extract or set cookies and other useful routines


Unevenly aligned structures
return(&data);
return(&data);

There are two places.

Thanks,

Re: About "Code Patterns in newLISP"

Posted: Sat Apr 09, 2011 2:37 pm
by Lutz
Thanks Johu, corrections are online here:

http://www.newlisp.org/downloads/CodePatterns.html


Ps: 1000 milli seconds

Re: About "Code Patterns in newLISP"

Posted: Mon Apr 11, 2011 9:19 am
by johu
Thank you, Lutz.
And I found some points to be corrected when reviewing.

<li>'push' and 'pop'</li>
<li>Accessing lists</li>

<li>'push' and 'pop'</li>
<li>'extend'</li>
<li>Accessing lists</li>


Using 'net-peek'
'net-peek returns the number of characters pending to read.
(delete a apostrophe ahead of net-peek)
net-peek returns the number of characters pending to read.


Nested associations
See the users manual chapter "17. Object Oriented Programming in newLISP" for details.
See the users manual chapter "18. Functional-object oriented programming" for details.

maybe


Transferring files
The <tt>-read-file</tt> function returns the contents received.
(delete a hyphen ahead of read-file)
The <tt>read-file</tt> function returns the contents received.

Regards,

Re: About "Code Patterns in newLISP"

Posted: Mon Apr 11, 2011 2:07 pm
by Lutz

Re: About "Code Patterns in newLISP"

Posted: Tue Apr 12, 2011 9:25 am
by johu
Thank you, Lutz.

I finished to translate "Code Patterns in newLISP" into Japanese.
http://cid-23a9a25e1aec3626.office.live ... 110411.zip

And I'm sorry,, I forgot to show a point to be corrected.

Pre-processing the request
<pre>newlisp httpd-conf.lsp -http -d 80 -w /home/www &amp;
</pre>
<pre>newlisp httpd-conf.lsp -http -d 80 -w /home/www &
</pre>

Regards,

Re: About "Code Patterns in newLISP"

Posted: Tue Apr 12, 2011 2:20 pm
by Lutz
Thanks Joh, online now here:

http://www.newlisp.org/CodePatterns-jp.html

and also linked from the documentation page.

Re: About "Code Patterns in newLISP"

Posted: Wed Apr 13, 2011 9:41 am
by johu
Thanks Lutz for the online.