Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - hsmyers

#31
Anything else we might add? /
May 22, 2008, 10:12:13 AM
I've never had any problem with car and cdr— in fact given their origins I rather liked the names. Why does every one think they are broken?



–hsm
#32
Anything else we might add? /
May 19, 2008, 07:42:54 AM
Seems from their postings that the real problem that Paul is guilty of is not doing what other people want them to. This un-slave like performance is of course met with name calling in truly adult fashion.



--hsm
#33
Anything else we might add? /
May 02, 2008, 09:49:45 AM
Thanks for the link! Turns out(I think it does) that if you use the 'numeric' version of the ce you want, everything works fine...



—hsm
#34
What &whatever; are allowed in a post (of course with HTML on)?



—hsm
#35
newLISP newS /
May 01, 2008, 09:35:23 PM
Great! Then soon I can bring the Awesome Beauty of Fractals(tm) to newLISP!



--hsm
#36
How about a piece on copymem and its use for in-line assembler?



--hsm
#37
newLISP in the real world /
April 30, 2008, 12:32:09 PM
Please explain why this or a modification won't work in windows?



--hsm

p.s. I'm not saying it should, just curious...
#38
newLISP Graphics & Sound /
April 29, 2008, 08:27:11 AM
Excellent! Not only looks better(at least to my compulsively neat-freak eyes) but works as well!!



--hsm
#39
newLISP newS /
April 28, 2008, 10:30:27 PM
Why so you did! Silly me. Do we need an index yet?



--hsm
#40
newLISP newS /
April 28, 2008, 07:41:39 PM
And Tuesday's child could be about making non-destructive functions destructive?



--hsm
#41
newLISP Graphics & Sound /
April 28, 2008, 01:12:53 PM
Improvement on several fronts; save state seems fixed and the save statement shows up with a semi-colon. That said, some problems remain. Edited buffer work flow:

newLISP v.9.3.11 on Win32 IPv4, execute 'newlisp -h' for more info.

> (lambda () (set 'ps-template '(("prolog" ("%!PS-Adobe-2.0") ("%%Creator: newBoard.lsp")
    ("%%Title: .ps")
    ("%%CreationDate: ")
    ("%%Pages: 1")
    ("%%DocumentFonts: Zurich ZurichFigurine-Bold ZurichDiagram Helvetica-BoldOblique")
    ("%%PageOrder: Ascend")
    ("%%BoundingBox: 0 0 612 792")
    ("%%DocumentPaperSizes: Letter")
    ("%%EndComments")
    (" ")
    ("/gamenumber 1 def")
    ("/pagenumber 1 def")
    ("/leading 12 def")
    ("/pagetop 720 def")
    ("/nextline 720 def")
    ("/left-margin 72 def")
    ("/column-width 216 def")
    ("/right-margin left-margin column-width add def")
    (" ")
    ("/hrule {")

422 lines left out for clairity...

(lambda (n) (zero? (% n 2)))
(lambda (n) (not (even? n)))
(lambda (n) (+ (/ n 2) (% n 2)))
true
>

Then:



1. make a change (bogus change state seems fixed...) and save

> ;--- 15855 bytes saved to C:/Documents and Settings/hsmyers/My Documents/newLISP-Dev/newBoard/ps.lsp ---


2. ALT-2

3. return



Results in:

nil
nil
nil
nil
nil
nil
nil
newlisp
nil
for
nil
nil
> > > <40CF0C>

ERR: missing parenthesis : "...obe-2.0") ("%%Creator: newBoard.lsp")8199""
>
ERR: invalid function : ("%%Title: .ps")
>
ERR: invalid function : ("%%CreationDate: ")
>
ERR: invalid function : ("%%Pages: 1")
>
ERR: invalid function : ("%%DocumentFonts: Zurich ZurichFigurine-Bold ZurichDiagram Helvetica-BoldOblique")
>
ERR: invalid function : ("%%PageOrder: Ascend")
>
ERR: invalid function : ("%%BoundingBox: 0 0 612 792")
>
ERR: invalid function : ("%%DocumentPaperSizes: Letter")
>
ERR: invalid function : ("%%EndComments")
>
ERR: invalid function : (" ")
>
ERR: invalid function : ("/gamenumber 1 def")
>
ERR: invalid function : ("/pagenumber 1 def")
>
ERR: invalid function : ("/leading 12 def")
>
ERR: invalid function : ("/pagetop 720 def")
>
ERR: invalid function : ("/nextline 720 def")
>


955 lines left out for clairity...



> nil
"nil "

ERR: missing parenthesis : "...  (println line)))n                  "
> (lambda (n) (zero? (% n 2)))
> (lambda (n) (not (even? n)))
> (lambda (n) (+ (/ n 2) (% n 2)))
> true
> > <40CF0C>
> >


So un-authorized buffer eval-ing seems to remain.



--hsm
#42
newLISP Graphics & Sound /
April 28, 2008, 11:29:11 AM
This can also happen after executing code that uses println...



Any ideas about the change after clicking in the editor (dirty bit flip)?



--hsm

p.s. I'd wondered what the keystroke(s) for clear screen were, thanks!
#43
newLISP Graphics & Sound / 2 problems noted
April 28, 2008, 10:41:55 AM
I don't know how easy this will be to duplicate, but I've had to deal with two problems in the editor.



1. use ALT-2 to place cursor in REPL window, then

2. a simple click back in editor window flips the changed status.

3. next, after a save and a switch to the REPL window, hitting return results in:

newLISP v.9.3.11 on Win32 IPv4, execute 'newlisp -h' for more info.

>
> --- 9841 bytes saved to C:/Documents and Settings/hsmyers/My Documents/newLISP-Dev/newBoard/ps.lsp ---

nil
nil
nil
nil
nil
nil
nil
newlisp
nil
for
nil
nil
> > > <40CF0C>
> > <40CF0C>
nil
9841
nil
nil
nil
nil
and <4097A1>
nil
nil
nil
> >

I don't think that is correct? Perhaps the save message is being evaluated?



--hsm
#44
newLISP newS /
April 28, 2008, 09:31:49 AM
The link to prompt-event under Reflection and customization doesn't seem to work. This would be the link in the manual proper, not the sidebar.



--hsm
#45
newLISP newS /
April 24, 2008, 02:58:26 PM
Don't quite seem to be there yet:
> (setq g '(("tags" ("Event" "Northern Idaho Open")) ("moves" "d4" "f5") ("fen")))
(("tags" ("Event" "Northern Idaho Open")) ("moves" "d4" "f5") ("fen"))
> (push "x" g 2 -1)
"x"
> g
(("tags" ("Event" "Northern Idaho Open")) ("moves" "d4" "f5") ("x" "fen"))
> (push "xx" g 2 -1)
"xx"
> g
(("tags" ("Event" "Northern Idaho Open")) ("moves" "d4" "f5") ("x" "fen" "xx"))
> (push "xxx" g 2 -1)
"xxx"
> g
(("tags" ("Event" "Northern Idaho Open")) ("moves" "d4" "f5") ("x" "fen" "xx" "xxx"))


The at end nature of -1 seems lost the first time, working there after. Color me confused...



--hsm

p.s. it may not be clear, but each list in g is meant to be an associative list...