Search found 80 matches

by Kirill
Tue May 14, 2019 8:38 pm
Forum: newLISP newS
Topic: Stable Release newLISP v.10.7.5
Replies: 8
Views: 2482

Re: Stable Release newLISP v.10.7.5

Hi, Lutz

Are there any checksums/signatures to verify downloads?

Kirill
by Kirill
Sat Apr 20, 2019 8:21 pm
Forum: newLISP in the real world
Topic: libtls for TLS in newLISP
Replies: 3
Views: 1331

Re: libtls for TLS in newLISP

rickyboy wrote:
Kirill wrote:Happy Easter!
With a name like Kirill, surely you know that Easter (Pascha) is really next week. ;) Христос воскресе!
Indeed - I'll be celebrating a week later :)
by Kirill
Sat Apr 20, 2019 12:03 pm
Forum: newLISP in the real world
Topic: libtls for TLS in newLISP
Replies: 3
Views: 1331

libtls for TLS in newLISP

Hi, all HTTPS (and other TLS variants) is becoming more and more common. I'm seeing this as a certain pain for myself on client side (as server side is more easily solvable) (not a huge pain, I can easily use other tool in that case, but newLISP would be nice). The LibreSSL projects provides a libra...
by Kirill
Mon Apr 01, 2019 9:28 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 8211

Re: Development release newLISP v.10.7.4

Thank you, both! Good to know that it wasn't someone trying to hijack systems running newLISP. :)
by Kirill
Fri Mar 29, 2019 9:14 pm
Forum: newLISP newS
Topic: Development release newLISP v.10.7.4
Replies: 19
Views: 8211

Re: Development release newLISP v.10.7.4

What is the correct SHA1 checksum for the release? In http://www.newlisp.org/downloads/development/SHA1.txt it says SHA1(newlisp-10.7.4.tgz)= 5a3ce129f43138773abdc479a03512699e8a4256 But I'm getting a different SHA1 when fetching tgz myself: km ~/src $ ftp http://www.newlisp.org/downloads/developmen...
by Kirill
Wed Oct 28, 2015 12:40 pm
Forum: newLISP and the O.S.
Topic: float representation on FreeBSD 10.1-RELEASE-p10
Replies: 6
Views: 4879

Re: float representation on FreeBSD 10.1-RELEASE-p10

Thanks, Lutz! I had a feeling it had to do with (pretty-print) default change, but didn't try to figure out what was the default before the change, so that I could restore it.
by Kirill
Tue Oct 27, 2015 3:22 pm
Forum: newLISP and the O.S.
Topic: float representation on FreeBSD 10.1-RELEASE-p10
Replies: 6
Views: 4879

Re: float representation on FreeBSD 10.1-RELEASE-p10

And here was the "fix" for me for now:

Code: Select all

(define (format-sla sla)
  (trim (trim (format "%f" sla) "0") "."))
by Kirill
Tue Oct 27, 2015 3:14 pm
Forum: newLISP and the O.S.
Topic: float representation on FreeBSD 10.1-RELEASE-p10
Replies: 6
Views: 4879

Re: float representation on FreeBSD 10.1-RELEASE-p10

Well, that didn't happen earlier. I became aware of the issue when my SLA calculator became "broken".

Could the issue be caused by this change in 10.6.0?
The pretty-print default float setting has been changed to "%1.15g"
by Kirill
Tue Oct 27, 2015 11:29 am
Forum: newLISP and the O.S.
Topic: float representation on FreeBSD 10.1-RELEASE-p10
Replies: 6
Views: 4879

float representation on FreeBSD 10.1-RELEASE-p10

newLISP v.10.6.2 on FreeBSD 10.1 (on NearlyFreeSpeech) represents floats in some trange way: uptime:/home/public> newlisp newLISP v.10.6.2 64-bit on BSD IPv4/6 UTF-8 libffi, options: newlisp -h > (float 99.0) 99 > (float [b]99.1[/b]) [b]99.09999999999999[/b] > (float 99.2) 99.2 > (float 99.7) 99.7 >...
by Kirill
Tue Jan 22, 2013 9:16 pm
Forum: newLISP in the real world
Topic: Source code for uptime.is
Replies: 2
Views: 742

Source code for uptime.is

Yet another newLISP powered tool (http://uptime.is):

https://github.com/km/uptime
by Kirill
Fri Dec 28, 2012 10:18 pm
Forum: newLISP newS
Topic: YubiKey OTP verification library
Replies: 4
Views: 4971

Re: YubiKey OTP verification library

Lutz:

I've done a couple of fixes in the docs for yubi.lsp here: http://km.krot.org/code/newlisp/

Kirill
by Kirill
Thu Dec 06, 2012 3:51 pm
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

Thank you, Lutz. Two things: (1) I believe the version you diffed against is not the current 3.2 online - may be you have to hit refresh in your browser. See the position of the (set 'post-data "") statement, which has to come after the 'when'. This was the change from 3.11 to 3.2. Yes, the diff was...
by Kirill
Thu Dec 06, 2012 12:44 pm
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

cgi.lsp has been updated again, to version 3.2 : http://www.newlisp.org/code/modules/cgi.lsp.html Thanks, Lutz! The file online does not seem to include the change below, though --- cgi.lsp.orig 2012-12-05 00:48:29.632208151 +0000 +++ cgi.lsp 2012-12-05 00:51:34.799112862 +0000 @@ -132,10 +132,13 @...
by Kirill
Wed Dec 05, 2012 8:56 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

The issue is solved, so I remove the test CGI scripts. Thanks.
by Kirill
Wed Dec 05, 2012 1:17 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

When running on nfshost.com, make sure you do not run with /usr/local/bin/newlisp, which probably is a very old version of newLISP. Instead compile your own version of newLISP on nfshost and put it in e.g: /home/public/bin/newlisp, and of course put #!/home/public/bin/newlisp as the first line in y...
by Kirill
Wed Dec 05, 2012 1:14 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

And here's a patch for web.lsp: http://km.krot.org/code/web.lsp.patch
by Kirill
Wed Dec 05, 2012 12:52 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

Patch for cgi.lsp: http://km.krot.org/code/cgi.lsp.patch

Now http://km.krot.org/cgitest3.cgi works properly as well.
by Kirill
Wed Dec 05, 2012 12:47 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

I have a fix! http://km.krot.org/cgitest4.cgi

Patch will follow shortly...
by Kirill
Wed Dec 05, 2012 12:27 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

This updated version 3.1 of cgi.lsp should fix this: http://www.newlisp.org/code/modules/cgi.lsp.html ps: see also here http://newlisponrockets.com/rockets-item.lsp?p=67 ps: updated to 3.11 cgi.lsp a few minutes later Thanks, but now CGI:get returns nothing at all: http://km.krot.org/cgitest3.cgi
by Kirill
Tue Dec 04, 2012 12:46 pm
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

Re: CGI input data disappearing

I suspect the issue is with newLISP, as perl works just fine:

http://km.krot.org/cgitest2.cgi (source: http://km.krot.org/cgitest2.txt).

All clues welcome!

Kirill
by Kirill
Tue Dec 04, 2012 11:28 am
Forum: newLISP and the O.S.
Topic: CGI input data disappearing
Replies: 16
Views: 4620

CGI input data disappearing

Hi, all, I've had an issue that bothered me for a while now. Several times I've noticed that data, which newLISP receives from CGI, is incomplete. I don't know if it's a newLISP issue or not, but I've experienced it with CGI under both Apache (behind Squid on NearlyFreeSpeech) and mathopd (behind ng...
by Kirill
Mon Dec 03, 2012 8:25 pm
Forum: newLISP in the real world
Topic: newLisp and DynamoDB (Amazon)
Replies: 2
Views: 827

Re: newLisp and DynamoDB (Amazon)

hilti wrote:No. But seems indeed possible to solve.

How did You manage to get CouchDB working? Because I think the interface is only accessible via https.

Cheers
Hilti
Try with "curl" bindings, maybe (https://gist.github.com/1119771)?
by Kirill
Wed Apr 11, 2012 2:26 pm
Forum: newLISP in the real world
Topic: *-url and https
Replies: 3
Views: 809

Re: *-url and https

Yes, amazon.lsp uses crypto.lsp module to calculate hashes, but the HTTP request itself still goes in plain, although some parts are "hashed". HTTPS is HTTP over an encrypted channel.
by Kirill
Wed Apr 11, 2012 12:16 pm
Forum: newLISP in the real world
Topic: *-url and https
Replies: 3
Views: 809

*-url and https

I always assumed that newLISP's get-url and post-url functions did not take https://. But in amazon.lsp I suddenly see this (define AWS-ec2-url "https://ec2.amazonaws.com/") and later (get-url (string AWS-ec2-url .... I thought that it was interesting! My newLISP is definetly not linked with SSL lib...
by Kirill
Sat Apr 07, 2012 11:21 pm
Forum: newLISP Graphics & Sound
Topic: post-url in place of curl with couchdb?
Replies: 10
Views: 5996

Re: post-url in place of curl with couchdb?

There are curl bindings for newLISP you might want to try: https://gist.github.com/1119771