Re: [naviserver-devel] Release

2007-05-21 Thread Mike
On 5/21/07, Bernd Eidenschink [EMAIL PROTECTED] wrote: Just (dist-)compiled on an Ubuntu 7.04, tomorrow I'll give it a try on a SuSE Enterprise Linux (all 32bit). tomorrow never dies... I just dist-compiled on the SuSE Enterprise and it was all smooth jazz. Anyone test on a FreeBSD box

Re: [naviserver-devel] Quest for malloc

2007-01-15 Thread Mike
a) The test program Zoran includes biases Zippy toward standard allocator, which it does not do for VT. The following patch corrects this behavior: +++ memtest.c Sun Jan 14 16:43:23 2007 @@ -211,6 +211,7 @@ } else { size = 0x3FFF; /* Limit to 16K */

Re: [naviserver-devel] Quest for malloc

2007-01-12 Thread Mike
I've been on a search for an allocator that will be fast enough and not so memory hungry as the allocator being built in Tcl. Unfortunately, as it mostly is, it turned out that I had to write my own. Vlad has written an allocator that uses mmap to obtain memory for the system and munmap that

Re: [naviserver-devel] brave new world

2006-09-25 Thread Mike
On 9/25/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote: Unix is not Unix as I see... Please note this (interesting) document: http://developers.sun.com/solaris/articles/event_completion.html Mostly interesting, as there is now a very powerful and scalable notification interface on both

Re: [naviserver-devel] hosting java-script server-side?

2006-09-17 Thread Mike
On 9/17/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote: Following a recent discussion on the sister-project, I just wanted to check what would you think about integrating javascript as an alternate language to Tcl ? I'm long time user of Tcl (over 12 years) and I still preffer it to any other

Re: [naviserver-devel] How can I help?

2006-09-08 Thread Mike
On 9/8/06, Michael A. Cleverly [EMAIL PROTECTED] wrote: I just discovered the existence of NaviServer last night (courtesy of http://wiki.tcl.tk/2090). I don't know where I've been living for the past year... but wow, I'm seriously impressed and extremely excited about the existance of this

Re: [naviserver-devel] How can I help?

2006-09-08 Thread Mike
On 9/8/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote: On 08.09.2006, at 21:39, Michael A. Cleverly wrote: I just discovered the existence of NaviServer last night (courtesy of http://wiki.tcl.tk/2090). I don't know where I've been living for the past year... but wow, I'm seriously impressed

Re: [naviserver-devel] How can I help?

2006-09-08 Thread Mike
On 9/8/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote: On 08.09.2006, at 21:57, Zoran Vasiljevic wrote: How is this different/better than what we have now? FYI... I'm kind of a special server user as we do not use the DB interface, nor ADP (we have developed our own db-intgerace and tdom-based

Re: [naviserver-devel] Explanation of last changes

2006-09-07 Thread Mike
On 9/7/06, Vlad Seryakov [EMAIL PROTECTED] wrote: I am not insisting on doing it the way i did but it seemed to me very logical and not breaking overall NS architecture or model. But of course, suggestions are welcome, this is development version under discussion. My 2c: I like Stephen's

Re: [naviserver-devel] read/write ns_config

2006-08-23 Thread Mike
On 8/23/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote: On 23.08.2006, at 17:20, Andrew Piskorski wrote: That's only necessary to preserve the current ns_config case-insensitivity, right? Wouldn't it be easier to just canonicalize the key values on both write and read? E.g., create a

Re: [naviserver-devel] read/write ns_config

2006-08-23 Thread Mike
On 8/23/06, Zoran Vasiljevic [EMAIL PROTECTED] wrote: On 23.08.2006, at 18:35, Mike wrote: I do have one concern with this change - what happens when the value (where case must be preserved) for some key is actually the name of another section or key? I do not have enough experience

Re: [naviserver-devel] Encoding: default charset

2006-08-14 Thread Mike
OT: anyone else find the signature strange? ;) On 8/14/06, Michael Lex [EMAIL PROTECTED] wrote: Perhaps, it is even better to include a default OutputCharset (utf-8), when reading the configuration. I think the right place would be NsUpdateEncodings, but i can be wrong ;-) Michael

Re: [naviserver-devel] another sample config issue and some database related questions...

2006-07-22 Thread Mike
Right now I am looking at 4 choices: 1) drop nsdb from naviserver and use nstcl after cleaning up any multi-thread issues 2) import ad_proc and 00-database from OACS and hack them up until they work. (unfortunately the combination of the two is not possible - nstcl ad_proc does not

Re: [naviserver-devel] patch for autogen.sh to run under FreeBSD

2006-07-22 Thread Mike
My Fedora box has automake-1.4 automake-1.5 automake-1.6 automake-1.7 automake-1.9, but it also has plain 'automake', which is the 1.9 version. I guess we need something like: $ AUTOMAKE=automake-1.9 ./autogen.sh perhaps autogen.sh could be made to look for automake, then automake-1.9,

Re: [naviserver-devel] another sample config issue and some database related questions...

2006-07-22 Thread Mike
On 7/22/06, Vlad Seryakov [EMAIL PROTECTED] wrote: nstk is quite old and i have not updated in for a long time. Can you describe what was not pleasant and what was terrible, i may work on that to improve it. Vlad, I am familiar with OpenACS database API. I am used to it. nstk is very

Re: [naviserver-devel] another sample config issue and some database related questions...

2006-07-22 Thread Mike
On 7/22/06, Vlad Seryakov [EMAIL PROTECTED] wrote: I agree, actually i have foreach command in OSSWEB and i do not know why it is not included in to nstk, let me add it. Also, tell me if what kind of functionality you would like to see in nstk without make it bloated or big. I know it is very

[naviserver-devel] patch for autogen.sh to run under FreeBSD

2006-07-16 Thread Mike
The following patch is needed to get naviserver CVS to build on FreeBSD... Almost certainly this is not something to commit, but in case someone comes across this post, it'll save them 10 minutes... (or someone will point out to me that there's an easier way :) ) Index: autogen.sh

[naviserver-devel] SSL support

2006-07-12 Thread Mike
All, I am unable to find SSL support in the code. There is a #define NS_DRIVER_SSL , however it does not appear to be providing the TLS/SSL capabilities, just changing the default parameter values for the driver. Am I looking in the wrong place?

[naviserver-devel] Questions about NS details... (scalability, lib changes)

2006-07-12 Thread Mike
Two unrelated questions... The project for which I am considering NS will have a dynamic and very large static part. There will be many very large (650MB) static files that people will download. It is hard for me to judge what the performance of serving these files with NS will be. Of course

Re: [naviserver-devel] Questions about NS details... (scalability, lib changes)

2006-07-12 Thread Mike
Async IO i mean, writer thread does loop and sends as much as possible chunks from the files, same way as driver thread reads multiple chunks of requests from multiple clients. sendfile blocks, so you will need 10 threads for 10 clients at the same time, in case of writer thread, it can alone

Re: [naviserver-devel] Questions about NS details... (scalability, lib changes)

2006-07-12 Thread Mike
On 7/12/06, Vlad Seryakov [EMAIL PROTECTED] wrote: I could be wrong, never used sendfile before. The code you can check is driver.c, WriterThread, and bufsize parameter can be used to define buffer. Excerpt from sendfile(2) on FreeBSD: When using a socket marked for non-blocking I/O,