Search found 296 matches

by xytroxon
Sat Feb 21, 2015 11:43 pm
Forum: newLISP in the real world
Topic: newlisp-apache-win7
Replies: 26
Views: 13463

Re: newlisp-apache-win7

I don't think it is your script's fault dukester! newLISP Windows versions 10.5.7, 10.5.8, 10.6.0, 10.6.1, and 10.6.2 crash on Apache web server. Versions 10.5.6, 10.5.5, and earlier work fine!!! Last year my newlisp scripts on Uniform Server stopped working for no reason. I thought my server was bo...
by xytroxon
Fri Feb 20, 2015 9:45 pm
Forum: newLISP and the O.S.
Topic: Windows 8.1 short file names fail on import
Replies: 12
Views: 10801

Re: Windows 8.1 short file names fail on import

There is a perl script at the bottpm of this post showing how to test for dll versions, it should be simple to make a newlisp version ;o)

http://stackoverflow.com/questions/4952 ... t-or-64bit

--xytroxon
by xytroxon
Fri Feb 20, 2015 9:32 pm
Forum: newLISP and the O.S.
Topic: Windows 8.1 short file names fail on import
Replies: 12
Views: 10801

Re: Windows 8.1 short file names fail on import

The current newLISP Windows installer is only compatible wiith 32bit dlls...

I use Depedency Walker to check out the internals of dlls. Depedency Walker has both gui and command line modes.

http://www.dependencywalker.com/

http://en.wikipedia.org/wiki/Dependency_Walker

-- xytroxon
by xytroxon
Thu Feb 19, 2015 7:29 am
Forum: newLISP and the O.S.
Topic: screenshot in Win7
Replies: 4
Views: 6808

Re: screenshot in Win7

Two programs I have used are: 1: ConEmu: Press Win + H keys to save its console display to a jpg file. http://code.google.com/p/conemu-maximus5/ ConEmu-Maximus5 is a Windows console emulator with tabs, which presents multiple consoles and simple GUI applications as one customizable GUI window with v...
by xytroxon
Mon Jan 26, 2015 7:48 am
Forum: newLISP in the real world
Topic: bug of newLISP v.10.6.0
Replies: 6
Views: 4112

Re: bug of newLISP v.10.6.0

Please add a few of those examples to the parse section of the newLISP manual.

We humans are not well-versed in these advanced logic designs of the Krell*...

-- xytroxon

*http://en.wikipedia.org/wiki/Krell
by xytroxon
Sat Jan 24, 2015 8:24 am
Forum: newLISP in the real world
Topic: bug of newLISP v.10.6.0
Replies: 6
Views: 4112

Re: bug of newLISP v.10.6.0

That is not always a good "feature"... > (setq abc 123OX 456) 456 > abc 123 ; abc should be 1230 > X nil ; X should be 456 In the dyslexic process of anticipating to shift to type the "X" key, I hit the "O" (oh) key instead of the "0" (zero) key. (aka "toushie" typing ;o) Parser missed an error it m...
by xytroxon
Thu Nov 27, 2014 4:08 pm
Forum: newLISP in the real world
Topic: newlisp main-args not to execute
Replies: 4
Views: 4450

Re: newlisp main-args not to execute

Just add the (exit) command to the end of your test1.lsp file to prevent the further loading of files as code...

This feature is so that any modules (that don't have the exit command) can be loaded ahead of your final code file...

-- xytroxon
by xytroxon
Thu Dec 19, 2013 11:35 pm
Forum: newLISP Graphics & Sound
Topic: HTML Tag functions?
Replies: 10
Views: 11695

Re: HTML Tag functions?

The only thing I can think of, is to try and change the two places \026 is used to a different number. I remember that I had a strange problem on Windows when using \000 so I changed it tp \026 \026 is the ascii code for end of file Try \001 or any number less than the value for space (Avoid the dec...
by xytroxon
Sun Dec 15, 2013 8:49 pm
Forum: newLISP Graphics & Sound
Topic: HTML Tag functions?
Replies: 10
Views: 11695

Re: HTML Tag functions?

Any improvements are welcome! I am unable to spend much time on it (or the internet) right now. I like how the recursiveness collapses into a single string, and being able to use newLISP comments too. Of course, the method of sticking the attributes into <tag></tag> isn't too elegant, but it works a...
by xytroxon
Fri Dec 13, 2013 9:54 pm
Forum: newLISP Graphics & Sound
Topic: HTML Tag functions?
Replies: 10
Views: 11695

Re: HTML Tag functions?

I did, here is some experimental code.

Put into file named sxmlhtml.lsp

out put = test.htm

--xytoxon
sxmlhtml.tar
sxmlhtml.tar
(6 KiB) Downloaded 530 times
by xytroxon
Mon Dec 02, 2013 7:50 am
Forum: Anything else we might add?
Topic: [proposal] unification: using '() as list identity deref arg
Replies: 5
Views: 4551

Re: [proposal] unification: using '() as list identity deref

Case in point, from this weekends inprogress newlisp-10.5.6.tgz I was just thinking about how integer numbers could be used as hashkeys, and I find this addition in CHANGES-10.5.6.txt Integers are accepted as hash keys. This allows creating sparse vectors: (new Tree 'V) (V 123 "hello") (V 123) => "h...
by xytroxon
Fri Nov 29, 2013 4:02 pm
Forum: Anything else we might add?
Topic: [proposal] unification: using '() as list identity deref arg
Replies: 5
Views: 4551

Re: [proposal] unification: using '() as list identity deref

No...

He usually adds the functionality before you have fully described (or understood), what functionality it is that you want added...

Then to add insult to injury, his solution works better and is more elegant... (Although it may take you a day or two to fully realize it ;o)

-- xytroxon
by xytroxon
Thu Nov 21, 2013 9:40 am
Forum: Whither newLISP?
Topic: JSON encoder?
Replies: 1
Views: 5048

Re: JSON encoder?

Jeff Ober did some JSON code some years ago.

Module: Json
JSON parser and encoder; requires util.lsp (updated for newlisp 10)
lisp->json json->lisp

http://static.artfulcode.net/newlisp/

-- xytroxon
by xytroxon
Wed Nov 20, 2013 12:23 am
Forum: newLISP in the real world
Topic: typo in manual?
Replies: 5
Views: 2756

Re: typo in manual?

There is a difference:

"when" - as soon as

"while" - a period of indeterminate length

With newLISP you would use "when".

With Python, Ruby, or Clojure you would use "while" or "sometime in the not too distant future"...

-- xytroxon
by xytroxon
Tue Nov 19, 2013 4:50 pm
Forum: newLISP in the real world
Topic: typo in manual?
Replies: 5
Views: 2756

Re: typo in manual?

And 'while" we are talking about typos ;o) newlisp manual: append append is also suitable for processing binary strings containing zeroes. The string function would cut of strings at zero bytes. append is also suitable for processing binary strings containing zeroes. The string function would cut of...
by xytroxon
Tue Nov 19, 2013 4:42 pm
Forum: newLISP in the real world
Topic: typo in manual?
Replies: 5
Views: 2756

Re: typo in manual?

BBC Learning English: What are the differences in use between when and while and when can we use meanwhile? http://www.bbc.co.uk/worldservice/learningenglish/grammar/learnit/learnitv257.shtml when not while We use when, not while, to talk about something that occurs at the same time as a longer acti...
by xytroxon
Wed Nov 06, 2013 11:26 pm
Forum: newLISP newS
Topic: newLISP Stable Release v.10.5.4
Replies: 21
Views: 25476

Re: newLISP Stable Release v.10.5.4

Tracked down some more spelling errors in the in-progress newlisp-10.5.5.tgz 06-Nov-2013 =================== newlisp_manual.html ----------------- Arithmetik -> Arithmetic The following operators, functions and predicates work on big integers: Arithmetik operators: + - * / ++ -- %. -----------------...
by xytroxon
Tue Oct 15, 2013 2:51 pm
Forum: newLISP newS
Topic: newLISP Stable Release v.10.5.4
Replies: 21
Views: 25476

Re: newLISP Stable Release v.10.5.4

Sorry, I didn't have time to verify them all.

I just found my old Win 98 script* that I "lost" when I moved to Win 7 in 2010. The "jargon" word exclusion list may need adjustment.

-- xytroxon

* Written in some obscure futuristic language called "newLISP" ;o)
by xytroxon
Mon Oct 14, 2013 5:25 pm
Forum: newLISP newS
Topic: newLISP Stable Release v.10.5.4
Replies: 21
Views: 25476

Re: newLISP Stable Release v.10.5.4

Sanning the the inprogress - newlisp-10.5.5.tgz 14-Oct-2013 11:17 the following 48 suspect spelling errors were detected... --------------- newlisp manual artifial bject bufffer clusteranalysis comforming controllling cript decription defininitions divisable dsitribution effectiviely everage floatio...
by xytroxon
Wed Sep 11, 2013 6:12 pm
Forum: newLISP in the real world
Topic: What happened to "if-not"?
Replies: 15
Views: 7999

Re: What happened to "if-not"?

"To if-not or not to if-not..."

KING CLAUDIUS er. Lutz

It shall be so:
Madness in great ones must if-not unwatch'd go.

The Tragedy of Hamlet Cormullion, Prince of newLISP Act 3 Scene 1


-- xytroxon ;o)
by xytroxon
Tue Sep 10, 2013 8:33 am
Forum: newLISP in the real world
Topic: Iterator pattern like python?
Replies: 2
Views: 2144

Re: Iterator pattern like python?

You can fake it with pop ;o) To remove a items from the head of the list: (setq s '(3 2 1)) (pop s) ;-> 3 (pop s) ;-> 2 (pop s) ;-> 1 (pop s) ;-> nil To remove a items from the end of the list: (setq s '(3 2 1)) (pop s -1) ;-> 1 (pop s -1) ;-> 2 (pop s -1) ;-> 3 (pop s -1) ;-> nil -- xytroxon
by xytroxon
Sat Sep 07, 2013 9:20 pm
Forum: Anything else we might add?
Topic: Welch's t-test
Replies: 9
Views: 8079

Re: Welch's t-test

SCAT? LOL! Doc. problem. Spelling of "Prosac" in some places and "Prozac" in others... Calling an antidepressant brand or near brand name "depression medicine" is problematic. "after a treatment with Prosac depression medication:" Maybe use the word "Prosaic" as part of the "depression medication" p...
by xytroxon
Wed Sep 04, 2013 6:51 pm
Forum: newLISP in the real world
Topic: What happened to "if-not"?
Replies: 15
Views: 7999

Re: What happened to "if-not"?

We already have when. I support the loss of if. ;o) Simply reversing the logic of a test is easy with if-not (if test then else) (if-not test then else) Reversing the logic of a test is messy without if-not (if test then else) (if (not test) then else) Typically, I use the then clause for the active...
by xytroxon
Wed Jul 17, 2013 2:04 pm
Forum: Anything else we might add?
Topic: "This test is ridiculous..."
Replies: 2
Views: 3019

Re: "This test is ridiculous..."

Thank you Lutz. While impressive looking with source codes, tables, and graphs, this line gave me pause: Unexpected result: somehow Perl5 managed to finish faster than C. This came as unforeseen surprise which I found difficult to explain. Or to believe... (Unless you are a Perl fanboy writing quest...
by xytroxon
Mon Jul 15, 2013 10:16 pm
Forum: Anything else we might add?
Topic: "This test is ridiculous..."
Replies: 2
Views: 3019

"This test is ridiculous..."

Found this interesting programming language comparison being disgusted er. "discussed" on the Lua newsgroup. Perl, Python, Ruby, PHP, C, C++, Lua, tcl, javascript and Java comparison http://raid6.com.au/~onlyjob/posts/arena/ This comparison consists of three parts: Part 1: Speed. Part 2: Memory usag...