Search found 140 matches

by hilti
Fri Sep 02, 2011 5:42 am
Forum: So, what can you actually DO with newLISP?
Topic: Multi-threaded newLISP webserver with net-eval
Replies: 3
Views: 5903

Re: Multi-threaded newLISP webserver with net-eval

Hi Lutz! Thanks for Your suggestions. I tried the inetd approach. Here are some results with a very simple CGI output under "siege" stress test. CGI "index.cgi" #!/usr/bin/newlisp (print "Content-type: text/html\r\n\r\n") (println "<h2>Hello World</h2>") (exit) I started with "100 concurrenting user...
by hilti
Thu Sep 01, 2011 4:02 pm
Forum: So, what can you actually DO with newLISP?
Topic: Multi-threaded newLISP webserver with net-eval
Replies: 3
Views: 5903

Multi-threaded newLISP webserver with net-eval

Hi Guys! Is it possible to setup a multi-threaded webserver with net-eval? I've studied the "mapreduce example" where a worker node splits up a task to several worker nodes by using net-eval. But I can't figure out the starting point in splitting up http requests. Your help is needed, please. All th...
by hilti
Wed Aug 17, 2011 6:44 pm
Forum: newLISP newS
Topic: Artful Code
Replies: 12
Views: 10192

Re: Artful Code

joejoe wrote:Im all for dragonfly and its modern continuance.

Both projects mentioned are exceptional and thanks to all for keeping them alive!
Thanks joejoe.

Maybe Greg and I should start a pledge to buy some time for making Dragonfly one of the best available newLISP web frameworks ;-)
by hilti
Wed Aug 17, 2011 6:39 pm
Forum: newLISP newS
Topic: Artful Code
Replies: 12
Views: 10192

Re: Artful Code

The one problem I had with Dragonfly is that any updates would overwrite your customisations. There should probably be a way of keeping your plugins and config files separate from the system plugins, so that you easily update one without affecting the other. I think we should develop an extensible ...
by hilti
Wed Jul 06, 2011 2:53 pm
Forum: newLISP in the real world
Topic: Using a graphics library - GD Library or ImageMagick
Replies: 7
Views: 4016

Re: Using a graphics library - GD Library or ImageMagick

TedWalther wrote:To answer your original question, so far I've used imagemagic using (exec) to use the commandline utilities.
That's the way I do it right now, too. Feels a bit unreliable to me.

How Do I start in writing C-Bindings for imagemagick - I didn't find any docs about it?!
by hilti
Wed Jul 06, 2011 2:49 pm
Forum: newLISP in the real world
Topic: Using a graphics library - GD Library or ImageMagick
Replies: 7
Views: 4016

Re: Using a graphics library - GD Library or ImageMagick

Dragonfly was inspired by different frameworks we've (Greg and I) came across in the last years. Here's my short bio from http://www.rundragonfly.com/about ;-) Marc Hildmann is a web developer since 1998, started writing apps in pure PHP, tried a little bit Ruby on Rails, experimented with some PHP ...
by hilti
Tue Jul 05, 2011 6:48 pm
Forum: newLISP in the real world
Topic: Using a graphics library - GD Library or ImageMagick
Replies: 7
Views: 4016

Re: Using a graphics library - GD Library or ImageMagick

Hi Ted!

Dragonfly is a web framework for newLISP, although not as "magical" as Ruby on Rails. Template markup languages like HAML aren't currently supported.

The templating system is pretty basic, e.g.

Code: Select all

<html><title><% (print "This is my title") %></title> ...
by hilti
Tue Jul 05, 2011 5:10 am
Forum: newLISP in the real world
Topic: Using a graphics library - GD Library or ImageMagick
Replies: 7
Views: 4016

Using a graphics library - GD Library or ImageMagick

Hi Guys!

I'm currently working part-time on a visual search project written in newLISP. Now it's time to scale some images.

Does anyone have experiences in accessing GDLib or ImageMagick?
A full example including picture upload, scaling and saving to disk would be great. :-)

Thanks so much!
Hilti
by hilti
Tue May 03, 2011 12:36 pm
Forum: newLISP in the real world
Topic: Autoincrement keys for hash tree
Replies: 2
Views: 1701

Re: Autoincrement keys for hash tree

Thanks Lutz! Your solution works great. I think this is a cool snippet for the Code Patterns documentation.
by hilti
Tue May 03, 2011 5:58 am
Forum: newLISP in the real world
Topic: Autoincrement keys for hash tree
Replies: 2
Views: 1701

Autoincrement keys for hash tree

Hi! I'm stucked in generating auto increment keys for a hash tree. Here's my approach: (new Tree 'products) (define (highest-key tree) (if-not (empty? (tree)) (begin (println "Tree is not empty.") (string (inc (integer (first (last (sort (tree)) <))))) ) (begin (println "Tree is empty.") (string (in...
by hilti
Tue Feb 15, 2011 2:43 pm
Forum: Anything else we might add?
Topic: unbalanced parenthesis offline?
Replies: 2
Views: 2960

Re: unbalanced parenthesis offline?

Thanks!

That's very sad, because this was one of the best newLISP blogs out there. I'll hope he writes again one day.
by hilti
Tue Feb 15, 2011 2:14 pm
Forum: Anything else we might add?
Topic: unbalanced parenthesis offline?
Replies: 2
Views: 2960

unbalanced parenthesis offline?

What happened to cormullion's blog? It's offline and gone from the google index.
Does anyone have a clue?

Cheers
Hilti
by hilti
Fri Feb 04, 2011 1:40 pm
Forum: newLISP in the real world
Topic: newLISP Tutors?
Replies: 4
Views: 2712

Re: newLISP Tutors?

Hi JoeJoe!

I'm located in Germany / Hannover. Costs? Bring in some beer and we'll have a great party ;)

Cheers
Marc
by hilti
Wed Dec 15, 2010 7:04 pm
Forum: Dragonfly
Topic: The Dragonfly showcase
Replies: 1
Views: 4345

The Dragonfly showcase

Hi! It's always interesting for me how people use software for their needs. It would be cool, if we put together a list of web projects where Dragonfly or newLISP is used. This is my list of projects: Short SEO onpage analysis (Dragonfly 0.51) http://profiler.nfshost.com/ My personal playground (App...
by hilti
Wed Dec 15, 2010 6:54 pm
Forum: Dragonfly
Topic: Google said "Thank You" to RunDragonfly.com
Replies: 0
Views: 4045

Google said "Thank You" to RunDragonfly.com

http://www.youtube.com/adwords10?x=f948 ... 8198d85d25

I got this recently for a campaign running in AdWords for promoting the Dragonfly framework ;-)

Cheers
Hilti
by hilti
Fri Dec 03, 2010 5:33 pm
Forum: newLISP Graphics & Sound
Topic: SuperCollider - for newdep :)
Replies: 6
Views: 10321

Re: SuperCollider - for newdep :)

Sooo crazy cormullion ;-)
I'm loving Your "brain exercices".
by hilti
Mon Nov 01, 2010 6:28 am
Forum: Dragonfly
Topic: Dragonfly - a web framework for newLISP
Replies: 74
Views: 51250

Re: Dragonfly - a web framework for newLISP

Changed! :-)

Thanks JoeJoe!
Hilti
by hilti
Sun Oct 03, 2010 12:22 pm
Forum: So, what can you actually DO with newLISP?
Topic: AMQP support
Replies: 5
Views: 5487

Re: AMQP support

Hi Phillip I've never heard of AMQP before. A minute ago I've read about it on wikipedia but as cormullion already said: you're a pioneer on this. Maybe it's a good way to start using http://www.openamq.org/ , because there are already C-bindings which You may use within newLISP. Would You give me a...
by hilti
Sat Sep 25, 2010 12:17 pm
Forum: newLISP and the O.S.
Topic: Benchmarking newLISP
Replies: 28
Views: 26867

Re: Benchmarking newLISP

Nokia N900 at 950 MHz - that's my "numbercruncher" ;-)

Code: Select all

8540.2 ms >>>>> Performance ratio: 3.40
Nokia N900 at 700 MHz results in

Code: Select all

12999.1 ms >>>>> Performance ratio: 5.15
by hilti
Sat Sep 25, 2010 12:08 pm
Forum: newLISP and the O.S.
Topic: Benchmarking newLISP
Replies: 28
Views: 26867

Re: Benchmarking newLISP

Now it works - thanks a lot.

This is my MacBook Pro 2.4 GHz Intel Core 2 Duo running 32-bit newLISP

Code: Select all

Benchmarking all non I/O primitives
    1788.7 ms
>>>>> Performance ratio: 0.75 (1.0 on Mac OS X, 1.83 GHz Intel Core 2 Duo)
by hilti
Sat Sep 25, 2010 7:27 am
Forum: newLISP and the O.S.
Topic: Benchmarking newLISP
Replies: 28
Views: 26867

Re: Benchmarking newLISP

Hmm...I'm always getting this message when running the qa-bench script.

Code: Select all

 newlisp ./newlisp-10.2.8/qa-specific-tests/qa-bench

Benchmarking all non I/O primitives
    1608,4 ms

ERR: value expected in function mul : .5
by hilti
Mon Sep 20, 2010 4:02 pm
Forum: newLISP and the O.S.
Topic: Benchmarking newLISP
Replies: 28
Views: 26867

Re: Benchmarking newLISP

What kind of benchmark was run? I'd like to contribute my numbers just for fun and doing some tests on my "numbercruncher" (a Nokia N900) ;-)

Cheers
Hilti
by hilti
Sat Sep 04, 2010 10:29 am
Forum: newLISP in the real world
Topic: A big tree / hash problem, maybe a bug
Replies: 4
Views: 2066

Re: A big tree / hash problem, maybe a bug

Thank You Lutz! That works like a charm.

I didn't thought about the fact, that random is in this case not unique enough, because the way elements were missing was reproducible and regular.
by hilti
Fri Sep 03, 2010 4:22 pm
Forum: newLISP in the real world
Topic: A big tree / hash problem, maybe a bug
Replies: 4
Views: 2066

A big tree / hash problem, maybe a bug

I'm expecting some problems in creating big hashes, when running the following code. (define Bigtree:Bigtree) (new Tree 'Bigtree) (define (fill-tree) (for (x 1 20000) (Bigtree (string (random 10 5)) (string (random 5 5))) ) ) (define (show-size name) (length name) ) (define (show-tree name) name ) (...
by hilti
Thu Sep 02, 2010 6:12 am
Forum: Anything else we might add?
Topic: new to newLISP
Replies: 20
Views: 11007

Re: new to newLISP

BTW, I would be very happy to learn more about your generator, and Appigale... and even to give it a try. Here comes the code for generating valid HTML headlines. If ID is nil, then it'll be auto generated. This way Appigale generates valid HTML. (define-macro (h) (local (type id class text) (bind ...