Search found 39 matches
- Thu May 29, 2008 5:35 pm
- Forum: Anything else we might add?
- Topic: How did you find newLISP?
- Replies: 35
- Views: 37447
interesting, how to popularize NewLisp
Thanks, that was interesting to read. I found newLisp very recently, but cannot remember where. I was going through a number of implementations, and when found newLisp, was really struck by how well thought-out the package was, that I could do scripting immediately, that documentation is informal, m...
- Tue May 20, 2008 7:30 pm
- Forum: newLISP newS
- Topic: Translation help needed
- Replies: 6
- Views: 4906
- Tue May 20, 2008 3:26 pm
- Forum: newLISP newS
- Topic: Translation help needed
- Replies: 6
- Views: 4906
- Tue May 20, 2008 3:23 pm
- Forum: newLISP newS
- Topic: Translation help needed
- Replies: 6
- Views: 4906
Re: Translation help needed
Strings to translate: "Widgets Demo" демо ГУИ-элементов "buttons" кнопки "button" кнопка "radio button" выбрать "check box" отметить "press" нажать "combox-box and list-box" комбо и списки "one" один "two" два "three" три "first entry" первое "second entry" второе "third entry" третье "fourth entry...
- Sat May 17, 2008 7:26 pm
- Forum: Anything else we might add?
- Topic: Why Arc is bad for exploratory programming...
- Replies: 29
- Views: 28874
Hmm..
.. and I think (sorry for being abrupt in such a non-american way) that Paul Graham is parasiting on his popularity while keeping on explaining how great Arc will be the moment it is. Instead of adding their efforts to an existing open project he and his hot-air brigade just blabber endlessly over t...
- Thu Apr 24, 2008 6:10 pm
- Forum: newLISP newS
- Topic: newLISP built-in documentation ?
- Replies: 10
- Views: 9839
Get the short in-line help.lsp from here:
Get the short in-line help.lsp from here: http://www.newlisp-on-noodles.org/wiki/index.php/NewLISP_Ideas#Included_Help I (as I explained earlier) (1) re-wrote some, not yet all, of the brief definitions to BE LIKE VERB PHRASES of a HUMAN LANGUAGE, and (2) added help on the categories So now the prov...
- Thu Apr 24, 2008 2:11 pm
- Forum: newLISP newS
- Topic: newLISP built-in documentation ?
- Replies: 10
- Views: 9839
Yes, there is. On good help and bad help
Yes, there are 2 ways to use help from inside the interpreter that I use. [1] One is offered by Lutz M., the creator of the language, in his default init.lsp file: (define-macro (help func) (if (primitive? (eval func)) (let (func-name (name func)) (if (ends-with func-name "?") (replace "?" func-name...
- Wed Apr 16, 2008 5:51 am
- Forum: Anything else we might add?
- Topic: Semaphores/shared memory
- Replies: 8
- Views: 7914
.. one thing I always do is peek into Perl documentation. Sometimes snippets and more or less appropriate explanations can be dug out in the Camel, sometimes in the Perl Cookbook. Scripts quality may vary, as well as that of the commentaries, but I found something coherent about pre-forking servers,...
- Wed Apr 16, 2008 5:46 am
- Forum: newLISP newS
- Topic: development release newLISP v.9.3.8
- Replies: 13
- Views: 8912
read from /proc
... how does newLISP - or even me - know how many cpus there are? ... The place with LOTS of system information (all of it, or almost) is the "/proc" filesystem. I'm not sure of its implementation on BSD/Mac, and I remember that on Solaris it's not ASCII, so some utilities must be used from command...
- Thu Apr 03, 2008 12:37 pm
- Forum: newLISP newS
- Topic: Syllable 0.6.5 and newLisp
- Replies: 2
- Views: 2511
newLisp in mini-distros and on rescue disks
heh.. newLisp is very appropriate in many interesting places. For example, there are quite a few "tiny linux" distributions, some fit on 1 diskette, others take, say, 8 MB and require something like 4 MB minimum memory. Many of them are built with the "busybox" tool, an excellent bundle of all major...
- Wed Apr 02, 2008 11:41 pm
- Forum: newLISP newS
- Topic: Input from Parameter
- Replies: 10
- Views: 8744
"format" function
the standard way to do variable interpolation inside a given string, as far as I understand, is by using the "format" function.
Code: Select all
(write-line (format "blablabla %s blabla %d" string_var decimal_num_var))
- Tue Apr 01, 2008 9:23 pm
- Forum: newLISP newS
- Topic: development release newLISP v. 9.3.6
- Replies: 6
- Views: 5324
- Mon Mar 31, 2008 6:13 pm
- Forum: newLISP newS
- Topic: nL 9.3.5-development can crash your machine
- Replies: 7
- Views: 5580
I'd just remember it's development releases
Lutz - yes, thank you.' cormullion - well, it just boils down to remembering what "development" version is. Changes in any sufficiently complex system can cause non-obvious consequences. On the other hand, the whole point of open software development is that even if users do not contribute directly,...
- Mon Mar 31, 2008 10:54 am
- Forum: newLISP newS
- Topic: nL 9.3.5-development can crash your machine
- Replies: 7
- Views: 5580
reply from get-your-rant-round-the-clock volunteer service
although it is not seen as a bug... Ouuuffff... [start of rant] If an application crashes - for example, when you use the interface for talking to libraries in C and use incorrect variable type - it is a security hole, it is something one should guard against in his code, but it is _marginally_ acc...
- Mon Mar 31, 2008 6:25 am
- Forum: newLISP newS
- Topic: nL 9.3.5-development can crash your machine
- Replies: 7
- Views: 5580
nL 9.3.5-development can crash your machine
[1] accidentally came across a sequence that immediately, explosively eats up all memory and CPU and creates effectively a DoS condition, killing the OS. > (symbols Aa) (Aa:Aa) > (Aa p (d)) () > (Aa "p" (d)) invalid function : (d) //CRASH!!// Terminated -> In fact, this incorrect attempt at putting ...
- Sun Mar 23, 2008 11:34 am
- Forum: newLISP newS
- Topic: a newbie question
- Replies: 8
- Views: 6513
Ok, thank you, that answers the question
OK, the answer lies in the difference between .....(1 1 list) = sublist .. (which is like a "slice") and .....(list 1) = element I see, thank you. That makes sense. ..of course, I read those tutorial texts, but newbie questions are inevitable in any case, unfortunately. .. and it might be the distin...
- Sun Mar 23, 2008 3:22 am
- Forum: newLISP newS
- Topic: a newbie question
- Replies: 8
- Views: 6513
no, flat list - srch for a calculated unknown literally item
(a) no search for subsequence - ok, I could live with that. (b) .. I am trying to match something that I do not know to be able to use literally, something that my program will calculate -- against a flat list of the same type items. I.e. I cannot say (ref 'd L) - because I have no idea if it's like...
- Sun Mar 23, 2008 2:11 am
- Forum: newLISP newS
- Topic: a newbie question
- Replies: 8
- Views: 6513
yes, that is exactly what the problem is
...but returns an empty list because is (3 1 L) which is (d) is not an Element of L. Only 'd' would be an element of L. But this would find (d): (set 'L '(a b c d (1 (d) 2) 3)) > (ref (L (3 1 L))) (4 1) > (d) is the sublist made from the first d in L, which is found at offset (4 1) That is exactly ...
- Sat Mar 22, 2008 10:09 pm
- Forum: newLISP newS
- Topic: a newbie question
- Replies: 8
- Views: 6513
a newbie question
Reference for functions like those from the "ref" family, "find", "match" etc. - operators for work with lists - supposedly can take (list) as search arguments inside a bigger list (L): (ref (list) L) It works OK as examples from the docs show if (list) is a known set of symbols: (set 'L '(a b c d 1...
- Sat Mar 15, 2008 8:36 pm
- Forum: Anything else we might add?
- Topic: Another newLISP-like language :)
- Replies: 49
- Views: 53770
I do not quite understand
My expectations were quite high, but there are some good things to look at ;-) I believe that for example Clojure innovates more: http://clojure.sourceforge.net/ Fanda Some Clojure/NewLISP comparisons : I do not quite understand, though: how can one compare a dialect of lisp, written on top of JVM,...
- Fri Mar 14, 2008 5:07 pm
- Forum: Anything else we might add?
- Topic: Serving HTTP quickly
- Replies: 18
- Views: 13643
Yep, this one looks interesting ;))
Yep, this one looks interesting! ;))) Even on my machine it produced (from the "ab" which tries to "hog" the connection) almost 800/sec on the same very file Document Path: /index.html Document Length: 9444 bytes Concurrency Level: 300 Time taken for tests: 12.573616 seconds Complete requests: 10000...
- Fri Mar 14, 2008 2:28 pm
- Forum: Anything else we might add?
- Topic: Serving HTTP quickly
- Replies: 18
- Views: 13643
shouting versus keeping mum
There's one more serious problem though. If you look at what 's happening on your system when a well-written network software is waiting for connections, you won't see much activity. This is how apache server instance (httpd) looks like: .root. strace -f -p 22969 Process 22969 attached - interrupt t...
- Fri Mar 14, 2008 5:03 am
- Forum: newLISP newS
- Topic: newLISP and an SCM?
- Replies: 8
- Views: 5428
- Fri Mar 14, 2008 3:10 am
- Forum: Anything else we might add?
- Topic: Serving HTTP quickly
- Replies: 18
- Views: 13643
Seems to begin working properly if the responder is changed to: ; -----responder--------- (define (responder socket) (let ((conn (net-accept socket)) request) ; ;while ; --- eliminate while, it causes the problem --- ; of waiting for more when conversation is over. (if (not (net-error)) (begin (net-...
- Fri Mar 14, 2008 12:40 am
- Forum: Anything else we might add?
- Topic: Serving HTTP quickly
- Replies: 18
- Views: 13643
I don't quite believe your numbers. Are you sure you are not measuring the speed of a very short system error message? ;))))))))) This would be one of the first rakes to step on, in my experience. That's why I try to set test pages at longer lengths and check the number in the output. In my attempt ...