Recent posts

#91
newLISP in the real world / new module for SMTPS (secure S...
Last post by itistoday - February 05, 2023, 08:12:07 PM
Hi folks, I've released a new module for the Dragonfly framework to handle sending email using the wonderful `msmtp` command, allowing Dragonfly to send SMTPS emails, and it uses the exact same API as the existing smtpx.lsp API:



https://github.com/taoeffect/dragonfly-newlisp/blob/master/example-site/dragonfly-framework/plugins-inactive/msmtp.lsp">https://github.com/taoeffect/dragonfly- ... /msmtp.lsp">https://github.com/taoeffect/dragonfly-newlisp/blob/master/example-site/dragonfly-framework/plugins-inactive/msmtp.lsp



Enjoy!



Also - I'm offering to host newlisp forums if you guys (and Lutz) would like me to. Here's an example of the forums I already host: https://www.taoeffect.com/forum/">https://www.taoeffect.com/forum/



Advantages: no spam (*cross-fingers*) and HTTPS!

Disadvantages: might not contain the history of these forums, as it doesn't make sense to import a polluted forum.
#92
Whither newLISP? / Searching on array
Last post by cameyo - February 01, 2023, 07:06:15 AM
How to search a value in array ?

Use array-list and then find, ref, etc ?
#93
So, what can you actually DO with newLISP? / chatGPT
Last post by cameyo - January 21, 2023, 12:24:36 AM
chatGPT is able to write code in newlisp!!!

Some errors, but it is fun.

Try: "write code in newlisp to solve quadratic equation"
#94
Thanks Ralph
#95
maybe check out

https://web.archive.org/web/20230000000000*/http://www.newlisp.org/downloads/manual_frame.html">https://web.archive.org/web/20230000000 ... frame.html">https://web.archive.org/web/20230000000000*/http://www.newlisp.org/downloads/manual_frame.html
#96
So, what can you actually DO with newLISP? / newLISP manual (old version)
Last post by cameyo - January 10, 2023, 08:50:46 AM
I'm looking for old versions of newLISP manual (historic reasons).

Any version is appreciated.

Thank you

cameyo
#97
newLISP newS / Read-Eval-Print Loop with newL...
Last post by Wolf-Dieter Busch - January 08, 2023, 12:58:21 AM
Tcl/Tk provides easy GUI creation. Connection between newLISP and Tcl/Tk is done via pipe. See my souped-down Script tk.lsp:



http://wolf-dieter-busch.de/html/Software/newlisp/doc-2023-01-06-14-56-24.htm">//http://wolf-dieter-busch.de/html/Software/newlisp/doc-2023-01-06-14-56-24.htm



Because standard I/O is connected to the pipe, no read-eval-print loop via keyboard possible. So I have done an emulation via Tcl/Tk. Newlisp script rep.lsp calls Tcl script rep.tcl:



http://wolf-dieter-busch.de/html/Software/newlisp/doc-2023-01-06-14-46-03.htm">//http://wolf-dieter-busch.de/html/Software/newlisp/doc-2023-01-06-14-46-03.htm

http://wolf-dieter-busch.de/html/Software/newlisp/doc-2023-01-06-14-48-16.htm">//http://wolf-dieter-busch.de/html/Software/newlisp/doc-2023-01-06-14-48-16.htm



Plaintext description in German:



http://wolf-dieter-busch.de/html/Software/doc-2023-01-06-14-28-41.htm">//http://wolf-dieter-busch.de/html/Software/doc-2023-01-06-14-28-41.htm



Feel free to try it out. Bug report welcome!



Update -- wrong target corrected for rep.tcl; from now on errneous lisp statements trigger a Tcl/Tk message.
#98
Anything else we might add? / Creating a database for a basi...
Last post by Mobo01 - January 04, 2023, 11:05:22 PM
I'm creating a database for a basic web game.

To isolate my issue, assume there are two tables that reference each other as seen below.
Player ( p_id, p_name, inventory(multiple i_id) )
Item ( i_id, i_name )

The issue is with the inventory column, which is used to store numerous ids from the Item database. First and foremost, I'm not sure if holding several id values in a single column is a smart design approach. Alternately, split into three tables as follows:
Player ( p_id, p_name )
Item ( i_id, i_name )
Inventory ( i_id )

Now that Inventory is no longer a column, it may have numerous ids, but how do I associate this collection of inventory data with a certain player? This https://www.scaler.com/topics/dbms/normalization-in-dbms/">website that if I want to have numerous 'daggers' in my inventory, I need to add a field to the inventory table. Is that right?

Each player, as in other RPG games, has their own inventory where they may keep their things and conduct the following actions.
#99
Anything else we might add? / Auguri
Last post by cameyo - December 25, 2022, 09:51:22 AM
Best wishes to all
(println "Happy " (add 1 (div 2 (div 3 (add 4 5 (mul 6 7 8 9))))))
#100
Anything else we might add? / Re: -nan is not number
Last post by services - December 21, 2022, 06:46:14 PM
However, there are a great number of issues that arise in the minds of customers while they are in the process of hiring escorts.https://www.thailandescortshub.com/pattayabeachescorts">Pattaya Beach escort sites Regarding these questions, we have provided further information.