Thank you for making the time to port this info to the new forum.
Very much appreciated!
Search found 173 matches
- Fri May 19, 2023 1:11 pm
- Forum: newLISP newS
- Topic: I'd like to offer to take over these forums
- Replies: 25
- Views: 3626
- Tue Feb 28, 2023 2:10 pm
- Forum: newLISP newS
- Topic: I'd like to offer to take over these forums
- Replies: 25
- Views: 3626
Re: I'd like to offer to take over these forums
Thanks itistoday!
This would be a great contribution to nL!!
This would be a great contribution to nL!!
- Sat Oct 17, 2020 7:51 am
- Forum: newLISP in the real world
- Topic: ×tamp formatting
- Replies: 2
- Views: 3103
Re: ×tamp formatting
Thank you Kirill,
made
Thanks for the magic direction!
Code: Select all
&timestamp=
Code: Select all
×tamp=
- Sat Oct 17, 2020 5:33 am
- Forum: newLISP in the real world
- Topic: ×tamp formatting
- Replies: 2
- Views: 3103
×tamp formatting
Hi, When I do this from the nL command line interpreter: > (println "×tamp") ×tamp "×tamp" All good as expected. When I am running it on a web server cgi script looking at it from my browser, I end up with this result: ×tamp How do I preserve ×tamp if I am making a string, say to...
- Sat Sep 26, 2020 6:47 pm
- Forum: newLISP newS
- Topic: Forum is back again
- Replies: 2
- Views: 5423
Re: Forum is back again
Super big thanks to the forum admin!
The forum really propels the adoption of newLISP.
Would there be chance to re-add the Forum link to the nL home page?
It is such a resource, it seems more than worthy. Thanks again admin! :D
The forum really propels the adoption of newLISP.
Would there be chance to re-add the Forum link to the nL home page?
It is such a resource, it seems more than worthy. Thanks again admin! :D
- Sun Sep 13, 2020 9:38 pm
- Forum: newLISP in the real world
- Topic: get-url works on some sites
- Replies: 4
- Views: 5216
Re: get-url works on some sites
Ok thanks Lutz and TedWalther!
I got json-parse to work just great w Lutz's suggestion to use exec and curl:
Much appreciated to both! :o)
I got json-parse to work just great w Lutz's suggestion to use exec and curl:
Code: Select all
(json-parse (join (exec "curl 'https://www.mysite.com/my.json'")))
- Fri Sep 11, 2020 6:12 am
- Forum: newLISP in the real world
- Topic: get-url works on some sites
- Replies: 4
- Views: 5216
get-url works on some sites
Hi, I love get-url and what it makes available for coding! It seems to work on some sites and others not so much. I have never had any issue before with using get-url for http calls. For example, on both nearlyfreespeech.net and my laptop, it hangs on some sites. (get-url "http://newlisp.org") -- wo...
- Fri Sep 11, 2020 5:30 am
- Forum: newLISP in the real world
- Topic: using ref data
- Replies: 5
- Views: 5249
Re: using ref data
Thanks very much for all the exemplars!
ref and map seem to carry things out quite well!
Much appreciated!
ref and map seem to carry things out quite well!
Much appreciated!
- Sun Aug 30, 2020 10:07 am
- Forum: newLISP in the real world
- Topic: using ref data
- Replies: 5
- Views: 5249
using ref data
The ref and ref-all functions bring back an address or list of addresses. As cormullion wrote in the nL wikibook: (ref-all "Brian Eno" itunes-data) ;-> ((0 2 14 528 6 1) (0 2 16 3186 6 1) (0 2 16 3226 6 1)) What would be the best way to get that data instead of the numerical addresses? Essentially, ...
- Thu Aug 27, 2020 4:18 am
- Forum: newLISP in the real world
- Topic: running a nL on nearlyfreespeech
- Replies: 9
- Views: 7197
Re: running a nL on nearlyfreespeech
Thank you Lutz!
I replaced the old with the new binary
http://www.newlisp.org/cgi-bin/newlisp
I also am using your
Everything worked immediately, and will keep note of your recompile without readline in mind too!
Much appreciated, Lutz!
I replaced the old with the new binary
http://www.newlisp.org/cgi-bin/newlisp
I also am using your
Code: Select all
#!/home/public/cgi-bin/newlisp
Much appreciated, Lutz!
- Wed Aug 26, 2020 4:22 am
- Forum: newLISP in the real world
- Topic: running a nL on nearlyfreespeech
- Replies: 9
- Views: 7197
Re: running a nL on nearlyfreespeech
Thank you Lutz! I ran these and got pretty much there if it helps anyone. Will figure the rest. mkdir cgi-bin cd cgi-bin wget http://www.newlisp.org/cgi-bin/newlisp chmod 755 newlisp ./newlisp Shared object "libreadline.so.7" not found, required by "newlisp" wget ftp://ftp.gnu.org/gnu/readline/readl...
- Tue Aug 25, 2020 2:32 pm
- Forum: newLISP in the real world
- Topic: running a nL on nearlyfreespeech
- Replies: 9
- Views: 7197
Re: running a nL on nearlyfreespeech
Any known hosts out of box nL friendly?
Thanks and for all!
Thanks and for all!
- Tue Aug 25, 2020 2:22 pm
- Forum: newLISP in the real world
- Topic: running a nL on nearlyfreespeech
- Replies: 9
- Views: 7197
Re: running a nL on nearlyfreespeech
Think they may have lost support? $ newlisp -bash: newlisp: command not found Just submitted a request w NFS to know if it is still supported. Found that as its been dropped from the bs d port, so no go, only compile from source. https://members.nearlyfreespeech.net/forums/viewtopic.php?t=10566&high...
- Tue Aug 25, 2020 2:03 pm
- Forum: newLISP in the real world
- Topic: running a nL on nearlyfreespeech
- Replies: 9
- Views: 7197
Re: running a nL on nearlyfreespeech
No doubt,
I have tried a few -
#/usr/local/env/bin newlisp
!#/usr/local/bin/env newlisp
#!/usr/local/bin/env newlisp
#!/usr/bin/env newlisp
#!/usr/local/bin/newlisp
If whereis doesnt work, how best to find the right path?
I have tried a few -
#/usr/local/env/bin newlisp
!#/usr/local/bin/env newlisp
#!/usr/local/bin/env newlisp
#!/usr/bin/env newlisp
#!/usr/local/bin/newlisp
If whereis doesnt work, how best to find the right path?
Code: Select all
whereis newlisp
newlisp:
- Tue Aug 25, 2020 10:06 am
- Forum: newLISP in the real world
- Topic: running a nL on nearlyfreespeech
- Replies: 9
- Views: 7197
running a nL on nearlyfreespeech
I am using #/usr/local/env/bin newlisp (println "hihi") (exit) saved as an index.cgi w 755 chmod. w only a 500 error on nearlyfreespeech. When I type whereis newlisp, it shows: $ whereis newlisp newlisp: I have done this before easily. Now get: $ newlisp -bash: newlisp: command not found Any tip on ...
- Mon Oct 28, 2019 11:33 am
- Forum: newLISP in the real world
- Topic: nL cron script
- Replies: 6
- Views: 5434
Re: nL cron script
Working!
Moving the txt file and script to the home directory made cron all go!
You always share the best secrets ralph, thanks very much again for this!
Moving the txt file and script to the home directory made cron all go!
You always share the best secrets ralph, thanks very much again for this!
- Mon Oct 28, 2019 3:06 am
- Forum: newLISP in the real world
- Topic: nL cron script
- Replies: 6
- Views: 5434
Re: nL cron script
ralph,
thanks for the help!
my nL script file has this already at top:
I can run it from the command line fine and it does it all.
I am almost ready to leave a nL process hanging just to make it done.?
thanks for the help!
my nL script file has this already at top:
Code: Select all
#!/usr/bin/env newlisp
I am almost ready to leave a nL process hanging just to make it done.?
- Sun Oct 27, 2019 11:38 pm
- Forum: newLISP in the real world
- Topic: nL cron script
- Replies: 6
- Views: 5434
Re: nL cron script
Hi and thanks ralph,
I had tried that as well but it still doesn't append the file.
Any way to check for why it might not be working? Thanks!
I had tried that as well but it still doesn't append the file.
Any way to check for why it might not be working? Thanks!
- Sat Oct 26, 2019 7:59 am
- Forum: newLISP in the real world
- Topic: newLISP at the University of Utah
- Replies: 2
- Views: 3731
Re: newLISP at the University of Utah
Thanks for link!
- Sat Oct 26, 2019 7:56 am
- Forum: newLISP in the real world
- Topic: nL cron script
- Replies: 6
- Views: 5434
nL cron script
Hi, I have a script I am trying to run from cron on Debian/Ubuntu. * * * * * joe /home/joe/winny/winny.lsp The permissions of winny.lsp are 755. Syslog looks like it is executing: Oct 26 01:49:01 jsfccfow CRON[6574]: (joe) CMD (joe /home/joe/winny/winny.lsp) The winny.lsp script contains: (append-fi...
- Sun Oct 13, 2019 5:35 am
- Forum: newLISP in the real world
- Topic: translating big numbers
- Replies: 2
- Views: 3341
Re: translating big numbers
Ok super, thanks Ralph! format always seals the deal. I see it now. Out of curiousity, where are all the numbers coming from after the 0's in the following? > (format "%0.100f" -2.000000000000049e-07) "-0.00000020000000000000488785884867910108697586224479891825467348098754882812500000000000000000000...
- Sun Oct 13, 2019 1:22 am
- Forum: newLISP in the real world
- Topic: translating big numbers
- Replies: 2
- Views: 3341
translating big numbers
Hi, I often get this sort of number: -2.000000000000049e-07 I would like number to just display itself, without the "e-" exponent thing. I don't mind zeros and I have a big screen and it would love to see the real number. Would there be an easy way to convert the e number back into normal digits? Th...
- Fri Oct 11, 2019 11:46 pm
- Forum: newLISP in the real world
- Topic: values into mul
- Replies: 2
- Views: 3488
Re: values into mul
rickyboy,
You're the man, thanks big!
I hadn't gotten so far as the read-expr, much appreciated! =)
You're the man, thanks big!
I hadn't gotten so far as the read-expr, much appreciated! =)
- Fri Oct 11, 2019 11:08 pm
- Forum: newLISP in the real world
- Topic: values into mul
- Replies: 2
- Views: 3488
values into mul
Hi,
I am trying this:
and getting this:
What would be the way to get values into the mul function?
Thanks!
I am trying this:
Code: Select all
(set 'abc "8888")
(println abc)
(println (mul 2 abc))
Code: Select all
8888
ERR: value expected in function mul : abc
Thanks!
- Fri Oct 11, 2019 12:46 am
- Forum: Anything else we might add?
- Topic: dragonfly artwork
- Replies: 0
- Views: 5321
dragonfly artwork
Cool dragonfly art.
Came from the back cover of a magazine Birdy.
Came from the back cover of a magazine Birdy.