Search found 21 matches

by nallen05
Mon Apr 30, 2012 8:21 pm
Forum: newLISP in the real world
Topic: approximate string matching using trigrams
Replies: 0
Views: 2459

approximate string matching using trigrams

My friend Ric Szopa wrote a "similarity" function in clojure to compare how similar two strings are using the trigrams approach (find all the sequential 3-letter combos in both words and measure the overlap): # trigrams in clojure (author: Ric Szopa) (defn- trigrams [str] (let [n 3 padding (repeat (...
by nallen05
Mon Sep 26, 2011 6:00 pm
Forum: Anything else we might add?
Topic: newlisp reference in blog post
Replies: 2
Views: 2906

Re: newlisp reference in blog post

thanks! :-)

maybe some day
by nallen05
Mon Sep 26, 2011 2:16 am
Forum: Anything else we might add?
Topic: newlisp reference in blog post
Replies: 2
Views: 2906

newlisp reference in blog post

it has been relatively quiet around here these days so here's a link to a blog post I wrote to make some noise (one of the 3 blog posts I have ever written in my life ;-) I wrote it a while ago and forgot about it. I just remembered that it exists and that it references newLisp: http://ginzametrics....
by nallen05
Mon May 30, 2011 5:44 pm
Forum: newLISP and the O.S.
Topic: newLISP 'really' on the iPhone...?
Replies: 16
Views: 12446

Re: newLISP 'really' on the iPhone...?

There is also a sheme for the ipad: http://web.mac.com/Jay_Reynolds_Freeman/My/Pixie_Scheme_III.html http://itunes.apple.com/us/app/pixie-scheme-iii/id401023057?mt=8 FWIW Jay Reynolds Freeman (the author of Pixie Scheme III for the iPad, referenced above, as well as Wraith Scheme, a Scheme implemen...
by nallen05
Sun May 22, 2011 11:31 pm
Forum: newLISP in the real world
Topic: Lisp + observation... (unless)
Replies: 2
Views: 2131

Re: Lisp + observation... (unless)

hello kanen! so your question is how to implement a varient of the UNTIL macro in Common Lisp that saves: 1. the return value of the test expression to a variable, and 2. the iteration count to a variable note that in your example: (until (= (set 'x (rand 10)) 0) (println $idx ":" x " not 0")) you a...
by nallen05
Tue May 10, 2011 3:39 am
Forum: Anything else we might add?
Topic: More newLISP beer!
Replies: 1
Views: 2556

More newLISP beer!

if anyone wants to grab a newlisp beer in Germany, Poland, Austria, or Croatia in June/July let me know!

otherwise it will have to be when you come to berkeley ;-)

take care

nick
by nallen05
Sun Apr 24, 2011 9:57 am
Forum: newLISP newS
Topic: What the FOOP?
Replies: 11
Views: 8035

Re: What the FOOP?

Great video m i c h a e l !

Just watched it

Thanks!
by nallen05
Wed Oct 06, 2010 5:43 pm
Forum: Anything else we might add?
Topic: newLISP beer: ILC2010 in Reno, NV / NYC
Replies: 4
Views: 3782

Re: newLISP beer: ILC2010 in Reno, NV / NYC

I confess I started thinking about a crowded bar of Common Lispers, and the arrival of a Stranger (played by Clint Eastwood, possibly) who orders a beer and stands at the other end of the bar, wearing a worn newLISP T-shirt under his poncho. "Hey, Stranger," says one of the drinkers, " if yer looki...
by nallen05
Tue Oct 05, 2010 9:23 am
Forum: Anything else we might add?
Topic: newLISP beer: ILC2010 in Reno, NV / NYC
Replies: 4
Views: 3782

newLISP beer: ILC2010 in Reno, NV / NYC

Any newLISPers going to be at ILC2010 in Reno, NV this month? If so do you want to plan a newLISP beer one night at the conference?

Also, any newLISPers in NYC? If so how about a newLISP beer somewhere around Manhattan the last weekend of October 2010?

Take care

Nick
by nallen05
Fri Jan 15, 2010 7:18 pm
Forum: newLISP in the real world
Topic: interacting with a "busy" newlisp server with another prgrm
Replies: 5
Views: 3018

Re: interacting with a "busy" newlisp server with another prgrm

Thanks for your reply Lutz The posts above give me good ideas on how to approach the problem. It looks like: If I want to "stop the world" and critically debug the server I can telnet in (since it seems to block other programs from accessing). But if I just want to get some data from the server here...
by nallen05
Fri Jan 15, 2010 8:17 am
Forum: newLISP in the real world
Topic: interacting with a "busy" newlisp server with another prgrm
Replies: 5
Views: 3018

interacting with a "busy" newlisp server with another prgrm

So if I start a newlisp server newlisp -c -d 4711 and I connect to it with client program #1 and it does stuff (like responding to a request for information) echo "(begin (sleep 10000) 'return-stuff)" | nc 127.0.0.1 4711 and then I suspect something is wrong inside the newlisp server because the out...
by nallen05
Tue Jan 12, 2010 7:37 am
Forum: newLISP in the real world
Topic: Binding a value to multiple values
Replies: 8
Views: 2612

Re: Binding a value to multiple values

an easier hack in this case might be to just to use the symbol itself as a container and evaluate it upon access (set 'outer1 '() 'outer2 '()) () > (set 'inner '()) () > (push 'inner outer1) ; quoted inner (inner) > (push 'inner outer2) ; quoted inner (inner) > (push 1 inner) (1) > (map eval outer1)...
by nallen05
Wed Jul 15, 2009 10:17 pm
Forum: Anything else we might add?
Topic: Nominate newLISP in Sourceforge
Replies: 10
Views: 6681

dang too late

polls closed :-(
by nallen05
Sat Jun 27, 2009 6:33 pm
Forum: newLISP newS
Topic: Documentation for release 10.1.0
Replies: 36
Views: 17719

Still going to support newLISP Manual?

Lutz

Are you still going to support the "Manual and Reference" document distributed with newLISP? In its current format (strict HTML with or without index frame) it is probably the nicest lisp manuals I have ever seen...

Nick
by nallen05
Thu Jun 25, 2009 4:47 pm
Forum: newLISP newS
Topic: Documentation for release 10.1.0
Replies: 36
Views: 17719

we still don't have a good way of doing this distributed proof-reading. I think more people would contribute if the mechanics were easier. Something like WikiBooks might be something to consider one day... Is the manual /code patterns HTML generated from another text format? My humble suggestion is...
by nallen05
Thu Jun 25, 2009 4:08 pm
Forum: newLISP and the O.S.
Topic: (process "telnet")
Replies: 4
Views: 3660

"STD I/O pipes" or "scripts as pipes"? STD I/O pipes don't seem to work with any telnet application I can find for Windows.

FWIW I moved on to NET-CONNECT/NET-PEEK/NET-RECEIVE/NET-SEND and am having good results directly reading and writing bytes to the telnet server from newlisp...
by nallen05
Sun Jun 21, 2009 10:36 pm
Forum: newLISP and the O.S.
Topic: (process "telnet")
Replies: 4
Views: 3660

peek / netcat

hey cormullion thanks for the quick response :-) unfortuanatly there is no peek on windows! my guess is an oddity in the behavior of telnet.exe itself, since people seem to be having trouble scripting it with other languages/tools: http://www.pcreview.co.uk/forums/thread-1904438.php I downloaded net...
by nallen05
Sun Jun 21, 2009 5:00 pm
Forum: newLISP and the O.S.
Topic: (process "telnet")
Replies: 4
Views: 3660

(process "telnet")

hi I am trying to script some tests for a network card with newLISP on Windows XP When I execute (process "telnet") the telnet application hijacks my cmd prompt (so I can't interact with newlisp until I close telnet) and no input/output from newlisp makes it to/from the telnet process. Is there a wa...
by nallen05
Thu Apr 23, 2009 12:08 am
Forum: Whither newLISP?
Topic: The WITH- Macro
Replies: 4
Views: 4231

One important thing is - use eval , don't avoid it. Unlike in other Lisp dialects, eval in Newlisp is generally not related with performance penalties and it can access to all variables. Interesting. I look forward to learning to stop worrying and love the EVALl ;-) http://ecx.images-amazon.com/ima...
by nallen05
Wed Apr 22, 2009 1:17 am
Forum: Whither newLISP?
Topic: The WITH- Macro
Replies: 4
Views: 4231

The WITH- Macro

Hello I'm playing with newLISP lately. I think it's great. I *get* it (I think ;-) But the one thing I can't seem to wrap my head around (coming from a CL/elisp/scheme background) is how to survive without DEFMACRO/quasiquote/&body etc.. What code pattern would a newLISP hacker use where a CL hacker...
by nallen05
Sun Apr 19, 2009 10:52 pm
Forum: Anything else we might add?
Topic: May 10, 2009 Stacks Menlo Park Lisp and Scheme Brunch
Replies: 3
Views: 3648

May 10, 2009 Stacks Menlo Park Lisp and Scheme Brunch

Hello There is a Lisp and Scheme bunch at Stacks at 10:45am on 2009.04.11 in Menlo Park: http://www.stacksrestaurant.com/ It would be super cool if some newLISP hackers came and can tell us old lispers (and schemers) how cool NET-EVAL is or what exactly it is that you mean by CONS ;-) It was decided...