Search found 1377 matches

by HPW
Sun May 31, 2020 6:22 am
Forum: newLISP newS
Topic: Forum is back again
Replies: 2
Views: 1330

Forum is back again

Hello Forum-admin,

Just noticed that the forum is back to full power.
Many thanks to you for your ongoing support and providing this great resource of the newlisp community.

Regards
Hans-Peter
by HPW
Fri Nov 15, 2019 3:39 pm
Forum: newLISP newS
Topic: newLISP in a browser - new version
Replies: 6
Views: 3858

Re: newLISP in a browser - new version

Lutz original Version always on the link he posted here in the thread:

http://www.newlisp.org/newlisp-js/

For the package click on the info button. It links to:

http://www.newlisp.org/newlisp-js/README.html
by HPW
Thu Aug 01, 2019 5:31 am
Forum: newLISP and the O.S.
Topic: hpwNLAutoItDll released
Replies: 7
Views: 4145

Re: hpwNLAutoItDll released

Hello,
Just tried it again:
newLISP v.10.7.4 32-bit on Windows IPv4/6 libffi, options: newlisp -h

> (load "hpwAutoIt.lsp")
AUTOIT_WinMinimizeAllUndo@1000161F
>
Do you have a 32bit newlisp installed?
(The thread and the dll is from 2004)

Regards
by HPW
Mon Jun 10, 2019 7:12 am
Forum: newLISP in the real world
Topic: format json-parse data into html
Replies: 7
Views: 1658

Re: format json-parse data into html

Hello, From my first thoughts (untested): (setq alie '(("result" (("totalResults" 19) ("products" ((("productTitle" "GILDAN EMACS GNU XEMACS LISP programmers wildebeest short-sleeved T-shirt") ("imageUrl" "https://ae01.alicdn.com/kf/HTB1HMtjKuuSBuNjSsziq6zq8pXaz/GILDAN-EMACS-GNU-XEMACS-font-b-LISP-b...
by HPW
Mon May 13, 2019 5:01 pm
Forum: newLISP newS
Topic: Stable Release newLISP v.10.7.5
Replies: 8
Views: 2719

Re: Stable Release newLISP v.10.7.5

Hello Lutz, Thanks for the ongoing development and the great interpreter! A minor problem with viewing one link from the download-page on IE11 on Win7: http://www.newlisp.org/downloads/newlisp-10.7.5/doc/INSTALL Looks not good on IE11 because the browser seems not to show any CRLF. Shows fine with C...
by HPW
Mon May 13, 2019 12:42 pm
Forum: Whither newLISP?
Topic: problem with floats
Replies: 1
Views: 962

Re: problem with floats

Hello,

Take a look at your locale with (set-locale).

This sets the locale to german with , as decimal seperator:
(set-locale "de_DE")

And note that + is for integer-math. Use (add ... ...) for floats.

And the doc has good explanations for that. ;-)

Regards
by HPW
Mon May 13, 2019 11:29 am
Forum: newLISP and the O.S.
Topic: Compile script to .exe with attached files
Replies: 8
Views: 3742

Re: Compile script to .exe with attached files

Hello,

Just one question: Can't you combine your 3 lsp files into one?
That would be the easiest way.

Regards
by HPW
Sun May 12, 2019 4:54 pm
Forum: newLISP and the O.S.
Topic: Compile script to .exe with attached files
Replies: 8
Views: 3742

Re: Compile script to .exe with attached files

Hello,

I assume that you do want to load your Lisp files from the same Directory (any) as your new exe.
Then you may use (main-args 0) to get the path+name of your running exe.
Extract the path and build full path of your files to load.

Regards
by HPW
Sun May 05, 2019 2:11 pm
Forum: newLISP newS
Topic: newLISP in a browser - new version
Replies: 6
Views: 3858

Re: newLISP in a browser - new version

Hello Lutz,

Thanks for the info. So it is a WA-only version! So any chance to get a JS version?
When I remember prior tests the JS-version was a bit more compatible across different Browsers.

Regards
Hans-Peter
by HPW
Sun May 05, 2019 1:40 pm
Forum: newLISP newS
Topic: newLISP in a browser - new version
Replies: 6
Views: 3858

Re: newLISP in a browser - new version

Hello Lutz, Thank you very much for the ongoing support of this target platform. Great News! Can you provide a download link for the complete package? Any special info from the Change-log besides newlisp 10.7.5 ? About the emscripten version? Edit: Any Chance to also build a WebAssembly Version? Reg...
by HPW
Sat Apr 06, 2019 4:55 am
Forum: newLISP and the O.S.
Topic: How to stop newlisp in daemon mode
Replies: 2
Views: 1914

Re: How to stop newlisp in daemon mode

Hello,

I do not know if there is a special way for -d mode, but in the former TclTk newlisp-Gui in -p mode, there was a tcl comand "exec kill" on the newlisp process id to end the session.

Regards
Hans-Peter
by HPW
Wed Mar 20, 2019 4:37 pm
Forum: newLISP in the real world
Topic: Unexpected result in round
Replies: 3
Views: 1342

Re: Unexpected result in round

Hello,

Thanks for the advices.
I am generating nc-code for a nc-drilling mashine.
Format will do the Job.

Regards
Hans-Peter
by HPW
Wed Mar 20, 2019 10:34 am
Forum: newLISP in the real world
Topic: Unexpected result in round
Replies: 3
Views: 1342

Unexpected result in round

Hello,

I get this unexpected result in round:

Code: Select all

> (round 8.3 -1)
8.300000000000001
> (round 8.30 -1)
8.300000000000001
> (round 8.430 -1)
8.4
> (round 8.4 -1)
8.4
> (round 8.2 -1)
8.199999999999999
>
The doc contains not this behaviour.

Regards
Hans-Peter
by HPW
Wed Feb 20, 2019 5:08 am
Forum: newLISP and the O.S.
Topic: Build newLISP for win10 64bit
Replies: 9
Views: 1710

Re: Build newLISP for win10 64bit

For testing and Benchmark:

Code: Select all

(module "qa-bench")
Regards
by HPW
Sat Feb 16, 2019 2:39 pm
Forum: newLISP and the O.S.
Topic: Build newLISP for win10 64bit
Replies: 9
Views: 1710

Re: Build newLISP for win10 64bit

Hello,

Maybe this helps:

viewtopic.php?f=2&t=4958

Regards
by HPW
Mon Feb 04, 2019 5:51 pm
Forum: newLISP newS
Topic: newLISP in a browser
Replies: 115
Views: 81278

Re: newLISP in a browser

Hello,

Oops, nothing special with Chrome and newlisp in the browser.
The "Not secure" Display is for every Non-https site.

Regards
by HPW
Sun Feb 03, 2019 5:31 am
Forum: newLISP newS
Topic: newLISP in a browser
Replies: 115
Views: 81278

Re: newLISP in a browser

Hello,

Latest obserations with chrome 72:

http://www.ferrydb.nl/newlisp/
http://www.ferrydb.nl/newlisp-wa/

For both url's chrome 72 shows a warning sign in front of the url "Nicht sicher" (german for not secure)
Performance seems slower on both than older versions.
Not nice.

Regards
by HPW
Mon Jan 28, 2019 5:31 pm
Forum: newLISP in the real world
Topic: csv to assoc-list
Replies: 9
Views: 2253

Re: csv to assoc-list

Hello rickyboy,

Yes, crazy but also cool. With this powerfull functions from newlisp I found the code harder to read and understand, but thats the power and beauty of newlisp. Thanks for sharing your ideas.

Regards
by HPW
Sun Jan 27, 2019 9:03 am
Forum: newLISP in the real world
Topic: csv to assoc-list
Replies: 9
Views: 2253

Re: csv to assoc-list

Hello,

And finally when I need the assoc list into symbols:

Code: Select all

(map (fn (x) (set(sym(first x))(last x)))assoclst)
Regards
by HPW
Sat Jan 26, 2019 12:21 pm
Forum: newLISP in the real world
Topic: csv to assoc-list
Replies: 9
Views: 2253

Re: csv to assoc-list

Hello rickyboy,

Thanks for the hint. Works like a charm.

Regards
by HPW
Sat Jan 26, 2019 5:29 am
Forum: newLISP in the real world
Topic: csv to assoc-list
Replies: 9
Views: 2253

Re: csv to assoc-list

Thanks for the code-sample.
But instead of your result:

Code: Select all

(("a" 1) ("b" 2) ("a" 3) ("b" 4) ("a" 5) ("b" 6))
I want:

Code: Select all

((("a" 1) ("b" 2)) (("a" 3) ("b" 4)) (("a" 5) ("b" 6)))
Regards
by HPW
Fri Jan 25, 2019 7:38 am
Forum: newLISP in the real world
Topic: csv to assoc-list
Replies: 9
Views: 2253

Re: csv to assoc-list

Hello, My first approach: (load "C:/Programme/newlisp/artful-newlisp-master/csv.lsp") (setq csvlst(CSV:parse-file "C:/Programme/newlisp/csv_file.csv" ",")) (setq colnames (first csvlst)) (setq csvlst (rest csvlst)) (setq alst (list )) (dolist (sublst csvlst) (setq alst(append alst (list(map list col...
by HPW
Fri Jan 25, 2019 7:13 am
Forum: newLISP in the real world
Topic: csv to assoc-list
Replies: 9
Views: 2253

Re: csv to assoc-list

Oops,

To early this morning. I think this will do the job.

Code: Select all

> (map list '(1 2 3) '(4 5 6))
((1 4) (2 5) (3 6))
Regards
by HPW
Fri Jan 25, 2019 7:06 am
Forum: newLISP in the real world
Topic: csv to assoc-list
Replies: 9
Views: 2253

csv to assoc-list

Hello, Inspired by this thread: http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=16&t=4918&p=24159&hilit=csv#p24159 Using the artful-newlisp-master/csv.lsp I get a proper list. The first sublist contains the column header names. Now I want to transform the list to a assoc-list where the colum...
by HPW
Thu Jan 03, 2019 4:30 pm
Forum: newLISP newS
Topic: Ask info about newLISP
Replies: 6
Views: 2978

Re: Ask info about newLISP

Hello,

newlisp has gone a long journey/history.
It is now stable and proven. Well tested.
As far I know no bugs open on the Todo list.
So why do you ask?
You can post new wishes or ideas of improvement.

So only Lutz can tell more.

Regards
Hans-Peter