Search found 429 matches

by itistoday
Sun May 16, 2010 7:15 pm
Forum: newLISP in the real world
Topic: Script for newLISP Function Reference Viewer.
Replies: 5
Views: 2943

Re: Script for newLISP Function Reference Viewer.

Cool, thanks johu! Seems to work nicely. :-)
by itistoday
Sun May 16, 2010 3:57 am
Forum: newLISP in the real world
Topic: Script for newLISP Function Reference Viewer.
Replies: 5
Views: 2943

Re: Script for newLISP Function Reference Viewer.

Very nice!

One request: there doesn't seem to be a way to get out of a search without changing the topic. Can you make it so that deleting the search string brings back the whole list (and maybe bind the escape key to that action)?
by itistoday
Sat May 15, 2010 6:45 pm
Forum: newLISP newS
Topic: Espionage in Macworld
Replies: 1
Views: 2471

Re: Espionage in Macworld

Thanks Michael!

This is news to me as I don't have a subscription, I'll have to run to the store and grab a copy. :-p
by itistoday
Thu May 06, 2010 4:46 am
Forum: newLISP in the real world
Topic: Fast find, between two numbers, in a list
Replies: 15
Views: 4734

Re: Fast find, between two numbers, in a list

Interesting, thanks for pointing that out. For the ones place it appears consistent though, I think (haven't tested all possibilities, obviously).
by itistoday
Thu May 06, 2010 2:53 am
Forum: newLISP in the real world
Topic: Fast find, between two numbers, in a list
Replies: 15
Views: 4734

Re: Fast find, between two numbers, in a list

So I suppose this will always behave the way Kazimir was expecting (for any x)?

Code: Select all

(sub (round (add 1 x)) 1)
by itistoday
Thu May 06, 2010 2:29 am
Forum: newLISP in the real world
Topic: Fast find, between two numbers, in a list
Replies: 15
Views: 4734

Re: Fast find, between two numbers, in a list

What's the function to round 0.5 to 1?
by itistoday
Mon May 03, 2010 6:05 pm
Forum: newLISP in the real world
Topic: Fast find, between two numbers, in a list
Replies: 15
Views: 4734

Re: Fast find, between two numbers, in a list

One of newLISP's weaknesses is that its memory management model (ORO), which makes it difficult to implement advanced, efficient data-structures in the language itself. I would use a tree-like structure to solve this problem, but newLISP doesn't have one. What you can do is write one, or use an exis...
by itistoday
Wed Apr 07, 2010 4:44 pm
Forum: newLISP in the real world
Topic: URL Encode / decode
Replies: 8
Views: 3076

Re: URL Encode / decode

Lutz wrote:'format' can take the values to format in a list, so you can simplify the first function:
Thanks Lutz, didn't know that. I've commit that change to the Dragonfly repo.
by itistoday
Tue Apr 06, 2010 6:52 pm
Forum: newLISP in the real world
Topic: URL Encode / decode
Replies: 8
Views: 3076

Re: URL Encode / decode

I spent quite a while on the UTF8 urlencoding decoding stuff in Dragonfly, because all of the newLISP code I had seen previously was "doing it wrong." If I recall correctly, they weren't properly converting characters that took 3 or more bytes (or was it 4?) to represent in UTF8, and because of that...
by itistoday
Fri Apr 02, 2010 5:12 am
Forum: Dragonfly
Topic: Example: JavaScript button to run a newLISP def?
Replies: 3
Views: 5124

Re: Example: JavaScript button to run a newLISP def?

With regards to forms Dragonfly is very similar to PHP. Use the $POST or $GET contexts to retrieve values from forms.

These contexts/dictionaries are well documented.
by itistoday
Thu Mar 25, 2010 1:56 am
Forum: Dragonfly
Topic: Dragonfly 0.70 Released!
Replies: 5
Views: 5838

Re: Dragonfly 0.70 Released!

Yes, most likely, as the stack trace suggests, you should search your project for "source-string" to try to find where you're using it.

These declarations were necessary to be compatible with the recent changes in newLISP.
by itistoday
Tue Mar 23, 2010 4:48 pm
Forum: Dragonfly
Topic: Dragonfly 0.70 Released!
Replies: 5
Views: 5838

Re: Dragonfly 0.70 Released!

The new DB stuff can be found here:

http://www.rundragonfly.com/api/db
by itistoday
Tue Mar 23, 2010 2:06 am
Forum: Dragonfly
Topic: Dragonfly 0.70 Released!
Replies: 5
Views: 5838

Dragonfly 0.70 Released!

Finally! Here are the changes: * all code uses new ++,--,extend,write,read functions (still compatible with older newlisps) * added 'extract' and '<-' functions to core utils * Route.Resource has been updated with a 'catch-all' function. * added documentation for MAX_POST_LENGTH in request.lsp * $BI...
by itistoday
Sun Mar 21, 2010 3:23 pm
Forum: newLISP newS
Topic: Initial release of a JSON module
Replies: 2
Views: 2756

Re: Initial release of a JSON module

Cool! Are you planning to update it with an 'expr2json'? That would be quite handy...
by itistoday
Thu Mar 18, 2010 11:39 pm
Forum: newLISP newS
Topic: What the FOOP?
Replies: 11
Views: 7979

Re: What the FOOP?

Great video!
by itistoday
Wed Mar 17, 2010 6:16 am
Forum: newLISP in the real world
Topic: web hosts that support newLISP?
Replies: 2
Views: 1225

Re: web hosts that support newLISP?

I run Tao Effect on a private virtual server with Dreamhost. Unlimited disk and bandwidth. They had some issues a couple months ago but things seem to be much better now that they've moved some servers to a new location. Also, I can vouch for the support, it's excellent. You can run newLISP through ...
by itistoday
Tue Mar 09, 2010 7:22 pm
Forum: newLISP newS
Topic: Update of newlisp.org site modules section
Replies: 3
Views: 3053

Re: Update of newlisp.org site modules section

Thanks, apple+shift+r seemed to fix it.
by itistoday
Tue Mar 09, 2010 7:01 pm
Forum: newLISP newS
Topic: Update of newlisp.org site modules section
Replies: 3
Views: 3053

Re: Update of newlisp.org site modules section

I don't see the indexes for Github and Bitbucket..
by itistoday
Tue Mar 09, 2010 1:40 am
Forum: newLISP and the O.S.
Topic: (+ newLISP Windows RS232)
Replies: 7
Views: 5307

Re: (+ newLISP Windows RS232)

Couldn't you use the "import" function to import the necessary C functions from some windows DLL?
by itistoday
Thu Mar 04, 2010 10:02 pm
Forum: Anything else we might add?
Topic: newLISP tackles global warming
Replies: 3
Views: 3425

Re: newLISP tackles global warming

cormullion wrote:What's HN?
http://news.ycombinator.com/item?id=1167421

Mind if I copy/paste your comments here to there? It looks like most of them didn't read all the way through. :-)
by itistoday
Thu Mar 04, 2010 7:25 pm
Forum: Anything else we might add?
Topic: newLISP tackles global warming
Replies: 3
Views: 3425

newLISP tackles global warming

Nice one cormullion! Top of HN too. :-)

http://unbalanced-parentheses.nfshost.c ... balwarming

Very well written actually. Are you going to eventually post what the intentional mistakes were?
by itistoday
Fri Feb 26, 2010 6:01 am
Forum: Dragonfly
Topic: Dragonfly 0.60 Released!
Replies: 15
Views: 11320

Re: Dragonfly 0.60 Released!

Nothing :). Dragonfly only. Dragonfly isn't a server though. Dragonfly is a web framework. It runs on top of a server. For example, it could run on top of the newLISP server, which may be what you're referring to, however the newLISP web server should never be used to host a real live site, it's ju...
by itistoday
Fri Feb 26, 2010 5:39 am
Forum: Dragonfly
Topic: Dragonfly 0.60 Released!
Replies: 15
Views: 11320

Re: Dragonfly 0.60 Released!

Hexs wrote:If I don't use Apache, how I can make .lsp (or other) files unreadable from stangers?
You'll have to consult the documentation for whatever server you're using.
by itistoday
Thu Feb 25, 2010 7:52 pm
Forum: So, what can you actually DO with newLISP?
Topic: New en newLISP, blogpost
Replies: 1
Views: 2770

Re: New en newLISP, blogpost

Yeah I saw that the other day too, noticed he copied part of my blog post without citing it... Not sure how I feel about that. :-p
by itistoday
Thu Feb 25, 2010 7:24 pm
Forum: Dragonfly
Topic: Dragonfly 0.60 Released!
Replies: 15
Views: 11320

Re: Dragonfly 0.60 Released!

That's odd, that should protect it. Is it possible that your .htaccess file isn't being read in at all by Apache?

Try adding some obviously broken stuff and see if that causes 500 Internal Server errors.