Search found 607 matches

by rickyboy
Mon Jul 25, 2016 4:55 pm
Forum: newLISP in the real world
Topic: search not changing seek position
Replies: 5
Views: 5759

Re: search not changing seek position

Thanks, Lutz!
(Now, check out my on-line poker site. ;-)
by rickyboy
Sat Jul 23, 2016 7:44 pm
Forum: So, what can you actually DO with newLISP?
Topic: concurrent design for check
Replies: 5
Views: 6872

Re: concurrent design for check

What do you mean by "functional". Goroutines? channels? slots? shared memory? As in functional programming -- procedures that act like mathematical functions in that they only operate on their arguments and don't side-effect. Wow, Ted, as long as I've been talking about FP in this forum, I'm surpri...
by rickyboy
Sat Jul 23, 2016 6:38 pm
Forum: Anything else we might add?
Topic: primitive function empty? could not accept array
Replies: 13
Views: 13353

Re: primitive function empty? could not accept array

Hello Ted! The array-list function sets up a correspondance in the mind. This creates the expectation that arrays are just another type or format of list; so all the list functions should apply to it. The subject of the action is incorrect here IMO. It's not the `array-list` function that "sets up a...
by rickyboy
Sat Jul 23, 2016 6:31 pm
Forum: Anything else we might add?
Topic: primitive function empty? could not accept array
Replies: 13
Views: 13353

Re: primitive function empty? could not accept array

ssqq wrote:I think array should have empty array, Just like other language.

I think "Not empty array" is a design error.
I disagree. Why? Do you have a good use case?
by rickyboy
Sat Jul 23, 2016 6:17 pm
Forum: Anything else we might add?
Topic: primitive function empty? could not accept array
Replies: 13
Views: 13353

Re: primitive function empty? could not accept array

Hi ssqq, Let's take this one by one. I need make array, hash, list use newLISP. SO i do like follows: (define (is-blank-array x) (= x '())) The name `is-blank-array` belies what the procedure is actually doing which is checking that its input is an empty list. In other words, it has nothing to do wi...
by rickyboy
Sat Jul 23, 2016 5:36 pm
Forum: So, what can you actually DO with newLISP?
Topic: concurrent design for check
Replies: 5
Views: 6872

Re: concurrent design for check

Can you give details about what you're trying to do? What you are describing could be almost anything. The basic idea is that, if you can't avoid the `do-some-thing` procedure being non-functional, then you hope that, at least, it frobs a variable that you can see in your caller; then, you can just ...
by rickyboy
Thu Jul 21, 2016 12:38 pm
Forum: Anything else we might add?
Topic: primitive function empty? could not accept array
Replies: 13
Views: 13353

Re: primitive function empty? could not accept array

Lutz wrote:There are no empty arrays ;-)
+1 for pithy, direct answer. :)

... that unfortunately seemed to be ignored for a bit. :(
by rickyboy
Sun Jul 10, 2016 8:04 pm
Forum: newLISP Graphics & Sound
Topic: Macros and guiserver?
Replies: 4
Views: 6239

Re: Macros and guiserver?

rickyboy wrote: This is untested; so please test.

Also, I don't know anything about gs, so I can't comment on the rest.
I unknowingly busted a rhyme. Good Lord. :D
by rickyboy
Sun Jul 10, 2016 8:01 pm
Forum: newLISP Graphics & Sound
Topic: Macros and guiserver?
Replies: 4
Views: 6239

Re: Macros and guiserver?

Hey oofoe, Try with a function (instead of macro); see if it works too. Here: (define (button3-fn _parent _name _buttons) (let (panel (sym (string _parent "-" _name)) slots '("west" "center" "east")) (gs:panel panel) (gs:set-border-layout panel) (dolist (b _buttons) (let (bname (sym (string panel "-...
by rickyboy
Fri Jun 24, 2016 6:02 pm
Forum: newLISP newS
Topic: Crashing stable and development version on 64bit platform
Replies: 10
Views: 18680

Re: Crashing stable and development version on 64bit platfor

Thanks for the info แจ้งฝากเงิน sbobet Thanks for hawking your douche-bag website. Yeah, that's what we are *really* all here for -- and you figured it out. We have been here for years pretending to be interested in newlisp, just hoping and praying that some douche-nozzle would come here and sell u...
by rickyboy
Fri Jun 24, 2016 5:55 pm
Forum: Whither newLISP?
Topic: Why dynamic scope?
Replies: 9
Views: 15042

Re: Why dynamic scope?

abaddon1234 wrote:the fact that the reason for using dynamic scope requires a deeper understanding of Lisp is of course a good thing.
Nice plagarism. All you did was copy exactly what arquebus wrote two posts above yours.
abaddon1234 wrote: gclub online
Again, you should be banned from this forum.
by rickyboy
Fri Jun 24, 2016 5:51 pm
Forum: newLISP in the real world
Topic: [fr] more symmetry between push and pop -> [fr] cancelled
Replies: 7
Views: 7893

Re: [fr] more symmetry between push and pop -> [fr] cancelle

Maybe you can try the Benchmark and tell us the result. WTF? Did you even read this thread? (The last question is rhetorical of course.) gclub บาคาร่า The admin of this forum needs to ban this user (abaddon1234). All this user ever does is blindly respond to posts -- usually with a mere "Thanks" --...
by rickyboy
Wed Apr 06, 2016 3:22 pm
Forum: newLISP and the O.S.
Topic: newlisp builds with libffi on OpenBSD 5.9
Replies: 1
Views: 4537

newlisp builds with libffi on OpenBSD 5.9

Well, the title says it all. This is in response to a question Ted had here . I just happen to have an OpenBSD 5.9 system with libffi installed $ uname -srm OpenBSD 5.9 amd64 $ pkg_info -Q libffi libffi-3.2.1p0 (installed) I successfully built newlisp-10.7.0 with libffi, just now ~/builds/newlisp-10...
by rickyboy
Tue Oct 27, 2015 4:51 pm
Forum: newLISP and the O.S.
Topic: float representation on FreeBSD 10.1-RELEASE-p10
Replies: 6
Views: 9524

Re: float representation on FreeBSD 10.1-RELEASE-p10

Behavior change happened between 10.6.1 and 10.6.2. $ ./newlisp newLISP v.10.6.1 64-bit on BSD IPv4/6, options: newlisp -h > (float 99.1) 99.1 > (float 99.9) 99.9 > $ ./newlisp newLISP v.10.6.2 64-bit on BSD IPv4/6, options: newlisp -h > (float 99.1) 99.09999999999999 > (float 99.9) 99.9000000000000...
by rickyboy
Tue Oct 27, 2015 2:52 pm
Forum: newLISP and the O.S.
Topic: float representation on FreeBSD 10.1-RELEASE-p10
Replies: 6
Views: 9524

Re: float representation on FreeBSD 10.1-RELEASE-p10

Hey Kirill, It's the same story on my employer's Windoze machine. It looks like the usual FP "noise" I see when sometimes I do FP arithmetic, regardless of language or OS; so, I'm almost sure it's an "FP thing" (but I don't know why we are seeing this in the newLISP float call). BTW, +1 for OpenBSD ...
by rickyboy
Tue Sep 29, 2015 3:13 pm
Forum: newLISP newS
Topic: Manual erratum: example in `index`
Replies: 0
Views: 7872

Manual erratum: example in `index`

As reported by github user fuxoft in https://github.com/kosh04/newlisp/issues/3 . In the documentation of the "index" function, the last example line says: (select '(1 10 3 6 4 5 11) '(1 3 6)) → (1 3 6) This is wrong. The returned value is not (1 3 6) but (10 6 11). The culprit can currently be spot...
by rickyboy
Wed Aug 05, 2015 2:48 pm
Forum: newLISP in the real world
Topic: date-value parameters
Replies: 3
Views: 4718

Re: date-value parameters

I just confirmed this for pre-10.6.3.

Code: Select all

$ newlisp -C
newLISP v.10.6.2 32-bit on Win32 IPv4/6 libffi, options: newlisp -h

> (date-value 2015 1 1)
1420070400
> (date-value (int "2015") 1 1)
1420070400
> (date-value '2015 1 1)
1420070400
Good catch, Ralph!
by rickyboy
Wed Jul 08, 2015 7:16 pm
Forum: newLISP newS
Topic: newLISP Development Release v.10.6.3
Replies: 30
Views: 36190

Re: newLISP Development Release v.10.6.3

Lutz wrote:This development release adds new functionality to existing functions and fixes bugs. [...] Special thanks to Kosh, who did most of the work for the Windows 64-bit release.
Thanks, Lutz! Thanks, kosh[04]!
by rickyboy
Wed Jun 24, 2015 8:11 pm
Forum: Whither newLISP?
Topic: purpose of the STREAM api in newlisp?
Replies: 2
Views: 5455

Re: purpose of the STREAM api in newlisp?

Many low-level I/O functions in Windows are not stream based or stream based functions are very slow. Ah, Windoze! What a surprise. Now, I'd like to take this opportunity to say thank you, Lutz, for keeping a Windoze version of newLISP going, as many of us are unwillingly forced to use this piece o...
by rickyboy
Sun Jun 14, 2015 6:08 pm
Forum: newLISP in the real world
Topic: Pascal code - newLisp
Replies: 1
Views: 3089

Re: Pascal code - newLisp

Conceptually, yes, you can do this in newLISP. There is, though, the question of how much of the current functionality you want to remain in a newLISP version. For instance, I don't know what ShellExecut e (or open , for that matter) does (in Windoze(?)), but if you need that functionality, and assu...
by rickyboy
Sat May 02, 2015 6:50 pm
Forum: newLISP in the real world
Topic: stack trace in newlisp for debugging?
Replies: 8
Views: 5876

Re: stack trace in newlisp for debugging?

Just being a lurker from afar: thank you all -- Ralph, Ted and Lutz -- for your attention to this issue. Please know it's much appreciated by the rest of newlisperdom.
by rickyboy
Wed Mar 04, 2015 9:17 pm
Forum: newLISP in the real world
Topic: newlisp-apache-win7
Replies: 26
Views: 14493

Re: newlisp-apache-win7

Also, have you remembered to do things in the httpd.conf, like add "AllowOverride Options" and "AllowOverride FileInfo", so that your .htaccess directives have any effect? Do you have access to httpd.conf to change this, if not? https://httpd.apache.org/docs/2.2/howto/htaccess.html#cgi https://httpd...
by rickyboy
Wed Mar 04, 2015 8:46 pm
Forum: newLISP in the real world
Topic: newlisp-apache-win7
Replies: 26
Views: 14493

Re: newlisp-apache-win7

I too don't have Windoze, but this sounds more like an Apache question than a newLISP question.

You might want to try other web servers that do CGI, to narrow down the issue as Apache-related or not. Maybe try the Nginx stack here: https://bitnami.com/stacks/infrastructure

Good luck.
by rickyboy
Fri Feb 27, 2015 2:48 pm
Forum: Whither newLISP?
Topic: Request: dolist to work on arrays as well as lists
Replies: 4
Views: 6219

Re: Request: dolist to work on arrays as well as lists

. . . rather than iterating over the array directly?
You can use `for` to iterate over an array directly. But I assume you know that already. Sorry. I don't know what you are trying to do, but I am curious. Good to see you, Ted.