You can subscribe to this list here.
2005 |
Jan
|
Feb
(53) |
Mar
(62) |
Apr
(88) |
May
(55) |
Jun
(204) |
Jul
(52) |
Aug
|
Sep
(1) |
Oct
(94) |
Nov
(15) |
Dec
(68) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(130) |
Feb
(105) |
Mar
(34) |
Apr
(61) |
May
(41) |
Jun
(92) |
Jul
(176) |
Aug
(102) |
Sep
(247) |
Oct
(69) |
Nov
(32) |
Dec
(140) |
2007 |
Jan
(58) |
Feb
(51) |
Mar
(11) |
Apr
(20) |
May
(34) |
Jun
(37) |
Jul
(18) |
Aug
(60) |
Sep
(41) |
Oct
(105) |
Nov
(19) |
Dec
(14) |
2008 |
Jan
(3) |
Feb
|
Mar
(7) |
Apr
(5) |
May
(123) |
Jun
(5) |
Jul
(1) |
Aug
(29) |
Sep
(15) |
Oct
(21) |
Nov
(51) |
Dec
(3) |
2009 |
Jan
|
Feb
(36) |
Mar
(29) |
Apr
|
May
|
Jun
(7) |
Jul
(4) |
Aug
|
Sep
(4) |
Oct
|
Nov
(13) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
(9) |
Apr
(11) |
May
(16) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(92) |
Nov
(28) |
Dec
(16) |
2013 |
Jan
(9) |
Feb
(2) |
Mar
|
Apr
(4) |
May
(4) |
Jun
(6) |
Jul
(14) |
Aug
(12) |
Sep
(4) |
Oct
(13) |
Nov
(1) |
Dec
(6) |
2014 |
Jan
(23) |
Feb
(19) |
Mar
(10) |
Apr
(14) |
May
(11) |
Jun
(6) |
Jul
(11) |
Aug
(15) |
Sep
(41) |
Oct
(95) |
Nov
(23) |
Dec
(11) |
2015 |
Jan
(3) |
Feb
(9) |
Mar
(19) |
Apr
(3) |
May
(1) |
Jun
(3) |
Jul
(11) |
Aug
(1) |
Sep
(15) |
Oct
(5) |
Nov
(2) |
Dec
|
2016 |
Jan
(7) |
Feb
(11) |
Mar
(8) |
Apr
(1) |
May
(3) |
Jun
(17) |
Jul
(12) |
Aug
(3) |
Sep
(5) |
Oct
(19) |
Nov
(12) |
Dec
(6) |
2017 |
Jan
(30) |
Feb
(23) |
Mar
(12) |
Apr
(32) |
May
(27) |
Jun
(7) |
Jul
(13) |
Aug
(16) |
Sep
(6) |
Oct
(11) |
Nov
|
Dec
(12) |
2018 |
Jan
(1) |
Feb
(5) |
Mar
(6) |
Apr
(7) |
May
(23) |
Jun
(3) |
Jul
(2) |
Aug
(1) |
Sep
(6) |
Oct
(6) |
Nov
(10) |
Dec
(3) |
2019 |
Jan
(26) |
Feb
(15) |
Mar
(9) |
Apr
|
May
(8) |
Jun
(14) |
Jul
(10) |
Aug
(10) |
Sep
(4) |
Oct
(2) |
Nov
(20) |
Dec
(10) |
2020 |
Jan
(10) |
Feb
(14) |
Mar
(29) |
Apr
(11) |
May
(25) |
Jun
(21) |
Jul
(23) |
Aug
(12) |
Sep
(19) |
Oct
(6) |
Nov
(8) |
Dec
(12) |
2021 |
Jan
(29) |
Feb
(9) |
Mar
(8) |
Apr
(8) |
May
(2) |
Jun
(2) |
Jul
(9) |
Aug
(9) |
Sep
(3) |
Oct
(4) |
Nov
(12) |
Dec
(13) |
2022 |
Jan
(4) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(15) |
Jun
(7) |
Jul
(10) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(8) |
Dec
|
2023 |
Jan
(15) |
Feb
|
Mar
(23) |
Apr
(1) |
May
(2) |
Jun
(10) |
Jul
|
Aug
(22) |
Sep
(19) |
Oct
(2) |
Nov
(20) |
Dec
|
2024 |
Jan
(1) |
Feb
|
Mar
(16) |
Apr
(15) |
May
(6) |
Jun
(4) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(13) |
Nov
(18) |
Dec
(6) |
2025 |
Jan
(12) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(11) |
Jun
(5) |
Jul
(4) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Vlad S. <vl...@cr...> - 2009-03-05 17:10:49
|
oops, we put it into closing list which calls release in the driver. please ignore Vlad Seryakov wrote: > Is this intentionally that NsSlsCleanup is called only in SockRelease but not in SockClose. For normal connection which > call NsConnClose, SockRelease is not called and therefore SLS is never cleanup? > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Vlad S. <vl...@cr...> - 2009-03-05 17:08:07
|
Is this intentionally that NsSlsCleanup is called only in SockRelease but not in SockClose. For normal connection which call NsConnClose, SockRelease is not called and therefore SLS is never cleanup? |
From: Vlad S. <vl...@cr...> - 2009-03-03 00:21:25
|
I did not do anything yet, just running the idea by. Persistent conns are available right now, our driver supports it, just need to set keep alive timeout to be long enough and you have TCP connection for free. The callbacks for cleanup i think should be running on NsConnClose in the same thread, in queue.c. Currently i can live without cleanup, i just do not do any cleanups but having it would be very useful. Stephen Deasey wrote: > On Mon, Mar 2, 2009 at 6:31 PM, Vlad Seryakov <vl...@cr...> wrote: >> I am working with persistent connections right now and want to track when the socket is closed to cleanup some memory in >> Tcl but it looks like there is no way to call cleanup Tcl proc on socket close. I am thinking to extend ns_sls to attach >> Tcl proc to be called at cleanup stage. >> Is this right thing to do? > > > What else have you had to modify to create persistent connections -- a > new driver? You could run cleanup callbacks from your > Ns_DriverCloseProc. > > Also, in what thread do you expect callbacks to run? In which thread > are the sockets being held open? > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Stephen D. <sd...@gm...> - 2009-03-02 19:51:49
|
On Mon, Mar 2, 2009 at 6:31 PM, Vlad Seryakov <vl...@cr...> wrote: > I am working with persistent connections right now and want to track when the socket is closed to cleanup some memory in > Tcl but it looks like there is no way to call cleanup Tcl proc on socket close. I am thinking to extend ns_sls to attach > Tcl proc to be called at cleanup stage. > Is this right thing to do? What else have you had to modify to create persistent connections -- a new driver? You could run cleanup callbacks from your Ns_DriverCloseProc. Also, in what thread do you expect callbacks to run? In which thread are the sockets being held open? |
From: Vlad S. <vl...@cr...> - 2009-03-02 18:27:24
|
I am working with persistent connections right now and want to track when the socket is closed to cleanup some memory in Tcl but it looks like there is no way to call cleanup Tcl proc on socket close. I am thinking to extend ns_sls to attach Tcl proc to be called at cleanup stage. Is this right thing to do? |
From: Stephen D. <sd...@gm...> - 2009-02-24 01:29:23
|
On Mon, Feb 23, 2009 at 10:12 PM, Ian Harding <har...@gm...> wrote: > Here are a couple things I've found during my migration from AOLServer > to Naviserver. > > 1. The order of arguments to ns_register_filter is reversed. I found > a discussion in the archives talking about this, but no conclusion. > It looks like the procedure args and the filter reason got switched, > which is fine. I just didn't know. It's like I'm psychic: http://wiki.tcl.tk/22567 :-) > 2. dbipg does something strange when used with a template, and a > column the same name as the table. This works as expected: > > default:nscp 1> dbi_rows {SELECT classification FROM classification} > UNCLASSIFIED > > This does not: > > default:nscp 2> dbi_rows {select classificationid, classification from > classification} { > default:nscp 2>>> $classificationid -> $classification > default:nscp 2>>> } > > 1 -> 1 This works for me, if I'm reading your example right. I've added a test; can you try it out on your machine? http://bitbucket.org/naviserver/nsdbipg/changeset/0fae5f9a2fb9/ > 3. ns_cp is broken. I read in the archives that this command was to > be deprecated. So I quit using it. What it did was fail with a > permission error which is funny because [exec cp ...] did not fail. > Maybe those commands should just be removed. Can you add a test which fails to tests/compat.test? http://bitbucket.org/naviserver/naviserver/changeset/43cbf8f4f8ae/ Here are some tips for testing naviserver: http://wiki.tcl.tk/21659 > There is going to be some pain migrating anyway... Hope not. If you run into anything, remember to add it to the wiki. |
From: Ian H. <har...@gm...> - 2009-02-23 22:32:49
|
Here are a couple things I've found during my migration from AOLServer to Naviserver. 1. The order of arguments to ns_register_filter is reversed. I found a discussion in the archives talking about this, but no conclusion. It looks like the procedure args and the filter reason got switched, which is fine. I just didn't know. 2. dbipg does something strange when used with a template, and a column the same name as the table. This works as expected: default:nscp 1> dbi_rows {SELECT classification FROM classification} UNCLASSIFIED This does not: default:nscp 2> dbi_rows {select classificationid, classification from classification} { default:nscp 2>>> $classificationid -> $classification default:nscp 2>>> } 1 -> 1 3. ns_cp is broken. I read in the archives that this command was to be deprecated. So I quit using it. What it did was fail with a permission error which is funny because [exec cp ...] did not fail. Maybe those commands should just be removed. There is going to be some pain migrating anyway... So far so good. Thanks for all your work on this project! - Ian |
From: Vlad S. <vl...@cr...> - 2009-02-20 17:29:17
|
I know, i asked just in case:-)) But if you combine seqid with currenttime in milliseconds for example and produce md5 hash including IP address, it will be much more difficult to hijack just base don sequential number Ian Harding wrote: > Vlad Seryakov wrote: >> Why not to use nsv_incr to generate sequential session id? >> >> Or sequential ids is a bad idea? >> >> > It makes it super easy to hijack sessions. They are supposed to be > difficult to brute force. >> Ian Harding wrote: >> >>> Stephen Deasey wrote: >>> >>>> On Sun, Feb 15, 2009 at 6:55 PM, Ian Harding <har...@gm...> wrote: >>>> >>>> >>>>> Hello, >>>>> >>>>> I am migrating to Naviserver from AOLServer mostly because of the >>>>> excellent nsdbi module. >>>>> >>>>> My existing code is depended on the nssession module >>>>> http://bas.scheffers.net/aolserver/ . It doesn't compile and run >>>>> unmodified under Naviserver, but before I start hacking on it, is >>>>> there an existing session module or a tcl solution that someone else >>>>> has already written? >>>>> >>>>> >>>>> >>>> I'm not sure that it's worth porting that module. The cache locking is >>>> broken, the file handling looks dodgy, and in general it has some odd >>>> ideas about configuration and string handling. >>>> >>>> If all you need to do is replicate some ns_session Tcl commands so >>>> your existing code works then the easiest way would be to create a >>>> work-alike using the existing naviserver Tcl commands: >>>> >>>> * cookie handling: naviserver has this built in: >>>> http://naviserver.sourceforge.net/n/naviserver/files/ns_cookie.html >>>> >>>> * caching: also now built in: >>>> http://naviserver.sourceforge.net/n/naviserver/files/ns_cache.html >>>> >>>> * persisting the session: just use nsdbi, if you're already using >>>> it. If you really want >>>> to use the file system, use ns_hashpath in nsd/pathname.c to >>>> prevent enormous >>>> directories from bogging down the server. >>>> >>>> * ns_rand: already exposed. >>>> >>>> >>>> It will be more robust than than the C nssession module, and almost >>>> certainly faster too. >>>> >>>> >>>> If you want to create something fancier as a C module, I'd be >>>> interested in helping. >>>> >>>> >>> Here is my lame hack at a tcl module. It has some problems and is not >>> done, but it does seem to work for certain small values of "work". >>> >>> http://code.google.com/p/grop/source/browse/trunk/nssession.tcl >>> >>> I want to "hide" the internal methods (id, load, etc) in a separate >>> namespace, and will use a proper session id generator. I'd like to get >>> rid of the upvar session_id. I wanted to use the connid as a key in a >>> cache to lookup the session_id for those cases where there is not a >>> cookie set yet. I couldn't figure out how to get it. I was hoping >>> there was a "ns_conn id" I could use. >>> >>> Anyway, I would appreciate all input on things I am doing wrong or could >>> do better. >>> >>> - Ian >>> >>> ------------------------------------------------------------------------------ >>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >>> -Strategies to boost innovation and cut costs with open source participation >>> -Receive a $600 discount off the registration fee with the source code: SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> _______________________________________________ >>> naviserver-devel mailing list >>> nav...@li... >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >>> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Ian H. <har...@gm...> - 2009-02-20 17:25:02
|
Vlad Seryakov wrote: > Why not to use nsv_incr to generate sequential session id? > > Or sequential ids is a bad idea? > > It makes it super easy to hijack sessions. They are supposed to be difficult to brute force. > Ian Harding wrote: > >> Stephen Deasey wrote: >> >>> On Sun, Feb 15, 2009 at 6:55 PM, Ian Harding <har...@gm...> wrote: >>> >>> >>>> Hello, >>>> >>>> I am migrating to Naviserver from AOLServer mostly because of the >>>> excellent nsdbi module. >>>> >>>> My existing code is depended on the nssession module >>>> http://bas.scheffers.net/aolserver/ . It doesn't compile and run >>>> unmodified under Naviserver, but before I start hacking on it, is >>>> there an existing session module or a tcl solution that someone else >>>> has already written? >>>> >>>> >>>> >>> I'm not sure that it's worth porting that module. The cache locking is >>> broken, the file handling looks dodgy, and in general it has some odd >>> ideas about configuration and string handling. >>> >>> If all you need to do is replicate some ns_session Tcl commands so >>> your existing code works then the easiest way would be to create a >>> work-alike using the existing naviserver Tcl commands: >>> >>> * cookie handling: naviserver has this built in: >>> http://naviserver.sourceforge.net/n/naviserver/files/ns_cookie.html >>> >>> * caching: also now built in: >>> http://naviserver.sourceforge.net/n/naviserver/files/ns_cache.html >>> >>> * persisting the session: just use nsdbi, if you're already using >>> it. If you really want >>> to use the file system, use ns_hashpath in nsd/pathname.c to >>> prevent enormous >>> directories from bogging down the server. >>> >>> * ns_rand: already exposed. >>> >>> >>> It will be more robust than than the C nssession module, and almost >>> certainly faster too. >>> >>> >>> If you want to create something fancier as a C module, I'd be >>> interested in helping. >>> >>> >> Here is my lame hack at a tcl module. It has some problems and is not >> done, but it does seem to work for certain small values of "work". >> >> http://code.google.com/p/grop/source/browse/trunk/nssession.tcl >> >> I want to "hide" the internal methods (id, load, etc) in a separate >> namespace, and will use a proper session id generator. I'd like to get >> rid of the upvar session_id. I wanted to use the connid as a key in a >> cache to lookup the session_id for those cases where there is not a >> cookie set yet. I couldn't figure out how to get it. I was hoping >> there was a "ns_conn id" I could use. >> >> Anyway, I would appreciate all input on things I am doing wrong or could >> do better. >> >> - Ian >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> >> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Vlad S. <vl...@cr...> - 2009-02-20 17:23:00
|
Why not to use nsv_incr to generate sequential session id? Or sequential ids is a bad idea? Ian Harding wrote: > Stephen Deasey wrote: >> On Sun, Feb 15, 2009 at 6:55 PM, Ian Harding <har...@gm...> wrote: >> >>> Hello, >>> >>> I am migrating to Naviserver from AOLServer mostly because of the >>> excellent nsdbi module. >>> >>> My existing code is depended on the nssession module >>> http://bas.scheffers.net/aolserver/ . It doesn't compile and run >>> unmodified under Naviserver, but before I start hacking on it, is >>> there an existing session module or a tcl solution that someone else >>> has already written? >>> >>> >> >> I'm not sure that it's worth porting that module. The cache locking is >> broken, the file handling looks dodgy, and in general it has some odd >> ideas about configuration and string handling. >> >> If all you need to do is replicate some ns_session Tcl commands so >> your existing code works then the easiest way would be to create a >> work-alike using the existing naviserver Tcl commands: >> >> * cookie handling: naviserver has this built in: >> http://naviserver.sourceforge.net/n/naviserver/files/ns_cookie.html >> >> * caching: also now built in: >> http://naviserver.sourceforge.net/n/naviserver/files/ns_cache.html >> >> * persisting the session: just use nsdbi, if you're already using >> it. If you really want >> to use the file system, use ns_hashpath in nsd/pathname.c to >> prevent enormous >> directories from bogging down the server. >> >> * ns_rand: already exposed. >> >> >> It will be more robust than than the C nssession module, and almost >> certainly faster too. >> >> >> If you want to create something fancier as a C module, I'd be >> interested in helping. >> > Here is my lame hack at a tcl module. It has some problems and is not > done, but it does seem to work for certain small values of "work". > > http://code.google.com/p/grop/source/browse/trunk/nssession.tcl > > I want to "hide" the internal methods (id, load, etc) in a separate > namespace, and will use a proper session id generator. I'd like to get > rid of the upvar session_id. I wanted to use the connid as a key in a > cache to lookup the session_id for those cases where there is not a > cookie set yet. I couldn't figure out how to get it. I was hoping > there was a "ns_conn id" I could use. > > Anyway, I would appreciate all input on things I am doing wrong or could > do better. > > - Ian > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Ian H. <har...@gm...> - 2009-02-20 17:18:47
|
Stephen Deasey wrote: > On Sun, Feb 15, 2009 at 6:55 PM, Ian Harding <har...@gm...> wrote: > >> Hello, >> >> I am migrating to Naviserver from AOLServer mostly because of the >> excellent nsdbi module. >> >> My existing code is depended on the nssession module >> http://bas.scheffers.net/aolserver/ . It doesn't compile and run >> unmodified under Naviserver, but before I start hacking on it, is >> there an existing session module or a tcl solution that someone else >> has already written? >> >> > > > I'm not sure that it's worth porting that module. The cache locking is > broken, the file handling looks dodgy, and in general it has some odd > ideas about configuration and string handling. > > If all you need to do is replicate some ns_session Tcl commands so > your existing code works then the easiest way would be to create a > work-alike using the existing naviserver Tcl commands: > > * cookie handling: naviserver has this built in: > http://naviserver.sourceforge.net/n/naviserver/files/ns_cookie.html > > * caching: also now built in: > http://naviserver.sourceforge.net/n/naviserver/files/ns_cache.html > > * persisting the session: just use nsdbi, if you're already using > it. If you really want > to use the file system, use ns_hashpath in nsd/pathname.c to > prevent enormous > directories from bogging down the server. > > * ns_rand: already exposed. > > > It will be more robust than than the C nssession module, and almost > certainly faster too. > > > If you want to create something fancier as a C module, I'd be > interested in helping. > Here is my lame hack at a tcl module. It has some problems and is not done, but it does seem to work for certain small values of "work". http://code.google.com/p/grop/source/browse/trunk/nssession.tcl I want to "hide" the internal methods (id, load, etc) in a separate namespace, and will use a proper session id generator. I'd like to get rid of the upvar session_id. I wanted to use the connid as a key in a cache to lookup the session_id for those cases where there is not a cookie set yet. I couldn't figure out how to get it. I was hoping there was a "ns_conn id" I could use. Anyway, I would appreciate all input on things I am doing wrong or could do better. - Ian |
From: Ian H. <har...@gm...> - 2009-02-20 16:57:54
|
Stephen Deasey wrote: > On Sun, Feb 15, 2009 at 6:55 PM, Ian Harding <har...@gm...> wrote: > >> Hello, >> >> I am migrating to Naviserver from AOLServer mostly because of the >> excellent nsdbi module. >> >> My existing code is depended on the nssession module >> http://bas.scheffers.net/aolserver/ . It doesn't compile and run >> unmodified under Naviserver, but before I start hacking on it, is >> there an existing session module or a tcl solution that someone else >> has already written? >> >> > > > I'm not sure that it's worth porting that module. The cache locking is > broken, the file handling looks dodgy, and in general it has some odd > ideas about configuration and string handling. > > If all you need to do is replicate some ns_session Tcl commands so > your existing code works then the easiest way would be to create a > work-alike using the existing naviserver Tcl commands: > > * cookie handling: naviserver has this built in: > http://naviserver.sourceforge.net/n/naviserver/files/ns_cookie.html > > * caching: also now built in: > http://naviserver.sourceforge.net/n/naviserver/files/ns_cache.html > > * persisting the session: just use nsdbi, if you're already using > it. If you really want > to use the file system, use ns_hashpath in nsd/pathname.c to > prevent enormous > directories from bogging down the server. > > * ns_rand: already exposed. > > > It will be more robust than than the C nssession module, and almost > certainly faster too. > > > If you want to create something fancier as a C module, I'd be > interested in helping. > I cobbled together one using the built-in cookie and cache stuff. I'm sure I did it wrong. I'll send a link to the code as soon as I get the changes posted. I am not doing the filesystem persistence. If I even bother with it I'll do it in the database. Thanks! - Ian |
From: Vlad S. <vl...@cr...> - 2009-02-20 15:27:12
|
Well, in PmWiki we use TinyMCE for editing but using Tcl wiki has one advantage that other solutions do not: it is already running, it is free and it does not require special server or maintenance except the Wiki content itself. Still we need to host somewhere our generated documentation which will be hosted somewhere else. Writing this i thought, will it be possible even to convert existing docs into some kind of wiki and use it with simple wikit or something. When writing docs the biggest problem is rendering multiple times to clean it up or make it nicer, with Wiki it will be much easier. I even have somewhere one of the first Tcl wiki version by Jean-Claude Wippler, the file is only 5k but produces pretty nice Wiki output Gustaf Neumann wrote: > > Bernd Eidenschink schrieb: >>> Very nice idea! >>> I am for this. >>> >> good idea! >> (i wonder, though, when will wikis eventually add some kind of TinyMCE et. >> al.) >> > well, see e.g. > http://alice.wu-wien.ac.at:8000/xowiki-doc/ > > -gustaf neumann >> Gave it a try with the "watchdog" article: >> http://wiki.tcl.tk/22570 >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Gustaf N. <ne...@wu...> - 2009-02-20 10:10:22
|
Bernd Eidenschink schrieb: >> Very nice idea! >> I am for this. >> > > good idea! > (i wonder, though, when will wikis eventually add some kind of TinyMCE et. > al.) > well, see e.g. http://alice.wu-wien.ac.at:8000/xowiki-doc/ -gustaf neumann > Gave it a try with the "watchdog" article: > http://wiki.tcl.tk/22570 > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Bernd E. <eid...@we...> - 2009-02-20 09:32:45
|
>Very nice idea! >I am for this. good idea! (i wonder, though, when will wikis eventually add some kind of TinyMCE et. al.) Gave it a try with the "watchdog" article: http://wiki.tcl.tk/22570 |
From: Vlad S. <vl...@cr...> - 2009-02-20 03:10:22
|
Very nice idea! I am for this. Stephen Deasey wrote: > On Thu, Feb 19, 2009 at 4:10 PM, Vlad Seryakov <vl...@cr...> wrote: >> Ian Harding wrote: >>> Hi, >>> >>> Can I have an account on the wiki? >>> >>> Thanks! >> It was long time ago i used but now i always get this error even if i logged in. In my opinion, this Wiki is no-use >> >> Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try >> logging out and logging back in. >> >> We've been using pmwiki for a long time under Naviservr with nsphp, this is very simple and fast and powerful wiki, no >> need for database, just one dir with .php files. I'd vote for it, mediawiki is too complex for occasional edits and the >> syntax i forget completely if do not use it for some time. pmwiki syntax is much more simpler. > > > How about using the Tcl wiki? > > http://wiki.tcl.tk/naviserver > > One advantage is that it has a critical mass of users, so that even > without requiring sign-up before editing there does not seem to be a > spam problem. That's going to be tough to achieve in a stand-alone > wiki. (I think the spam on ours tired every one out). > > Here's a list of all the pages on the current wiki: > > http://naviserver.sourceforge.net/w/Special:Allpages > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Stephen D. <sd...@gm...> - 2009-02-20 00:16:28
|
On Thu, Feb 19, 2009 at 4:10 PM, Vlad Seryakov <vl...@cr...> wrote: > Ian Harding wrote: >> Hi, >> >> Can I have an account on the wiki? >> >> Thanks! > > It was long time ago i used but now i always get this error even if i logged in. In my opinion, this Wiki is no-use > > Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try > logging out and logging back in. > > We've been using pmwiki for a long time under Naviservr with nsphp, this is very simple and fast and powerful wiki, no > need for database, just one dir with .php files. I'd vote for it, mediawiki is too complex for occasional edits and the > syntax i forget completely if do not use it for some time. pmwiki syntax is much more simpler. How about using the Tcl wiki? http://wiki.tcl.tk/naviserver One advantage is that it has a critical mass of users, so that even without requiring sign-up before editing there does not seem to be a spam problem. That's going to be tough to achieve in a stand-alone wiki. (I think the spam on ours tired every one out). Here's a list of all the pages on the current wiki: http://naviserver.sourceforge.net/w/Special:Allpages |
From: Vlad S. <vl...@cr...> - 2009-02-19 16:07:01
|
It was long time ago i used but now i always get this error even if i logged in. In my opinion, this Wiki is no-use Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. We've been using pmwiki for a long time under Naviservr with nsphp, this is very simple and fast and powerful wiki, no need for database, just one dir with .php files. I'd vote for it, mediawiki is too complex for occasional edits and the syntax i forget completely if do not use it for some time. pmwiki syntax is much more simpler. Ian Harding wrote: > Hi, > > Can I have an account on the wiki? > > Thanks! > > - Ian > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Ian H. <har...@gm...> - 2009-02-19 15:35:10
|
Hi, Can I have an account on the wiki? Thanks! - Ian |
From: Stephen D. <sd...@gm...> - 2009-02-16 19:47:10
|
On Sun, Feb 15, 2009 at 6:55 PM, Ian Harding <har...@gm...> wrote: > Hello, > > I am migrating to Naviserver from AOLServer mostly because of the > excellent nsdbi module. > > My existing code is depended on the nssession module > http://bas.scheffers.net/aolserver/ . It doesn't compile and run > unmodified under Naviserver, but before I start hacking on it, is > there an existing session module or a tcl solution that someone else > has already written? > I'm not sure that it's worth porting that module. The cache locking is broken, the file handling looks dodgy, and in general it has some odd ideas about configuration and string handling. If all you need to do is replicate some ns_session Tcl commands so your existing code works then the easiest way would be to create a work-alike using the existing naviserver Tcl commands: * cookie handling: naviserver has this built in: http://naviserver.sourceforge.net/n/naviserver/files/ns_cookie.html * caching: also now built in: http://naviserver.sourceforge.net/n/naviserver/files/ns_cache.html * persisting the session: just use nsdbi, if you're already using it. If you really want to use the file system, use ns_hashpath in nsd/pathname.c to prevent enormous directories from bogging down the server. * ns_rand: already exposed. It will be more robust than than the C nssession module, and almost certainly faster too. If you want to create something fancier as a C module, I'd be interested in helping. |
From: Vlad S. <vl...@cr...> - 2009-02-15 23:16:07
|
No such module exists. You can port your module, the only thing to implement is Ns_CacheFind, because naviserver does not keep track of new caches, this is up to developer to decide Ian Harding wrote: > Hello, > > I am migrating to Naviserver from AOLServer mostly because of the > excellent nsdbi module. > > My existing code is depended on the nssession module > http://bas.scheffers.net/aolserver/ . It doesn't compile and run > unmodified under Naviserver, but before I start hacking on it, is > there an existing session module or a tcl solution that someone else > has already written? > > Thanks! > > - Ian > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Ian H. <har...@gm...> - 2009-02-15 18:55:51
|
Hello, I am migrating to Naviserver from AOLServer mostly because of the excellent nsdbi module. My existing code is depended on the nssession module http://bas.scheffers.net/aolserver/ . It doesn't compile and run unmodified under Naviserver, but before I start hacking on it, is there an existing session module or a tcl solution that someone else has already written? Thanks! - Ian |
From: Vlad S. <vl...@cr...> - 2009-02-12 05:39:40
|
Are you sure you have the latest version in /usr/local/ns? init.c line 236 complains about Ns_ShutdownProc which is in last versions of Naviserver only. Ian Harding wrote: > Hi, > > OK, I read the README carefully this time... > >> pwd > /home/user/naviserver/nsdbi >> make NAVISERVER=/usr/local/ns > gcc -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC > -I/usr/local/ns/include -I"/usr/include/tcl8.4/tcl-private/generic" > -DHAVE_CONFIG_H -c -o init.o init.c > init.c:236: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'AtShutdown' > init.c: In function 'Dbi_LibInit': > init.c:276: warning: implicit declaration of function 'Nsd_LibInit' > init.c: In function 'Dbi_RegisterDriver': > init.c:427: error: 'AtShutdown' undeclared (first use in this function) > init.c:427: error: (Each undeclared identifier is reported only once > init.c:427: error: for each function it appears in.) > make: *** [init.o] Error 1 > > I downloaded a tarball and source from bitbucket, both gave the same > result. What did I miss? > > Thanks, > > - Ian > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Ian H. <har...@gm...> - 2009-02-12 05:13:32
|
Hi, OK, I read the README carefully this time... > pwd /home/user/naviserver/nsdbi > make NAVISERVER=/usr/local/ns gcc -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -I/usr/local/ns/include -I"/usr/include/tcl8.4/tcl-private/generic" -DHAVE_CONFIG_H -c -o init.o init.c init.c:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AtShutdown' init.c: In function 'Dbi_LibInit': init.c:276: warning: implicit declaration of function 'Nsd_LibInit' init.c: In function 'Dbi_RegisterDriver': init.c:427: error: 'AtShutdown' undeclared (first use in this function) init.c:427: error: (Each undeclared identifier is reported only once init.c:427: error: for each function it appears in.) make: *** [init.o] Error 1 I downloaded a tarball and source from bitbucket, both gave the same result. What did I miss? Thanks, - Ian |
From: Stephen D. <sd...@gm...> - 2009-02-10 03:41:41
|
On Tue, Feb 10, 2009 at 1:04 AM, Ian Harding <har...@gm...> wrote: > Ah, I think I found it. Never mind my question. Hoping you found autogen.sh... (Only needed when checking out from the repository to bootstrap the automake stuff). |