2007/01/13
IRC [01:29] <tekbasse> yes, see; http://www.aolserver.com/docs/devel/tcl/api/adp.html#ns_adp_include
IRC [09:40] <jeremy_c> So the only way is to pass each variable one by one to the ns_adp_include function?
IRC [12:05] <tekbasse> that I don't know. you could try assigning a list or list pairs to a variable, and pass the variable... see if it works. I don't see why it wouldn't.
IRC [13:02] <Dossy> You could be evil, and use Tcl global variables.
IRC [13:02] * Dossy shudders.
IRC [13:02] <Dossy> Of course, I don't need to go into why using global variables as general practice is a bad idea.
IRC [13:02] <Dossy> jeremy_c: How well do you know Tcl?
IRC [13:04] <jeremy_c> Dossy: I'm no expert but I have used it quiet a few time for some database and file utils
IRC [13:04] <Dossy> What's the issue with passing the values as parameters to ns_adp_include /
IRC [13:04] <jeremy_c> I wrote a TclTk app to manage my churches sundayschool program
IRC [13:05] <jeremy_c> I was just thinking that vars already defined in the parent adp would be available automatically
IRC [13:06] <Dossy> Nope, each ADP gets its own local scope.
IRC [13:06] <Dossy> (For good reason.)
IRC [13:06] <Dossy> Think of ADPs just like Tcl procs.
IRC [13:06] <Dossy> You can pass them arguments, etc.
IRC [13:07] <jeremy_c> Yeah, thats what I did, passed only the needed vars
IRC [13:08] <jeremy_c> Dossy: I am exploring openacs now. was thinking of using openacs or starting from scratch w/aolserver
IRC [13:08] <Dossy> Depends on what you need.
IRC [13:08] <Dossy> ... and how much you're willing to write.
IRC [13:08] <Dossy> I'm wondering--is it worth trying to create an AOLserver University in 2007/
IRC [13:09] <Dossy> Would there be enough folks interested in "attending" ... and more importantly, in teaching?
IRC [13:10] <jeremy_c> http://lifewithchrist.org is the website I would be replacing. A community.
IRC [13:10] <Dossy> Ah, then yeah, OpenACS may make a lot of sense--unless you want to commit to writing a lot of your own code.
IRC [13:11] <Dossy> >> © 2004,2005 by Jeremy Cowgar
IRC [13:11] <Dossy> Hmm, why does the name Jeremy Cowgar sound familiar ...
IRC [13:12] <jeremy_c> The problem is I have a lot of my own ideas, therefore I'd have to change my ideas to fit into openacs or write my own. I want to write as little as possible.
IRC [13:12] <Dossy> If you want to write as little as possible, then definitely start with OpenACS.
IRC [13:12] <jeremy_c> Maybe I'm popular :-)
IRC [13:13] <Dossy> Where are you geographically located?
IRC [13:14] <jeremy_c> I was working on a wiki in aolserver a few years back. It's stall on the wiki.tcl.tk page. Maybe that?
IRC [13:14] <Dossy> Ah!
IRC [13:14] <jeremy_c> Akron, Ohio
IRC [13:14] <Dossy> Yeah, I recall you doing some AOLserver-related something or other.
IRC [13:14] <Dossy> yeah, wayback machine says it was sometime 2003.
IRC [13:14] <jeremy_c> I got that wiki up and running again today.
IRC [13:15] <Dossy> Akron, OH--cool.
IRC [13:15] <jeremy_c> You?
IRC [13:15] <Dossy> one of my business partners is up in North Canton, OH
IRC [13:15] <Dossy> I'm in Butler, NJ.
IRC [13:16] <Dossy> Looks like North Canton is quite close to Akron.
IRC [13:16] <jeremy_c> ah, I am actually 1/2 way between canton and akron.
IRC [13:16] <Dossy> According to Google Maps, about 18 miles south on Rt 8?
IRC [13:16] <jeremy_c> North Canton is 10 minutes away
IRC [13:16] <jeremy_c> from me that is.
IRC [13:17] <Dossy> Neat. Of course, from Butler, NJ to North Canton, OH .. is 431 miles or 7h.
IRC [13:17] <jeremy_c> I'm in a small town called Norton
IRC [13:17] <Dossy> Which church is your lifewithchrist.org site for?
IRC [13:17] <jeremy_c> Nobody knows of it so I tell people Akron
IRC [13:17] <Dossy> *nod* Good idea.
IRC [13:18] <jeremy_c> It's not for any church. It's for all Christians
IRC [13:18] <Dossy> But, I'm assuming most of the users are from your church?
IRC [13:18] <jeremy_c> About 1,500 members now, 1,000 blogs
IRC [13:19] <jeremy_c> no. In fact, none are
IRC [13:19] <jeremy_c> It's fully an Internet community
IRC [13:20] <Dossy> That's cool.
IRC [13:20] <jeremy_c> Members all across the world
IRC [13:21] <Dossy> Very nice.
IRC [13:23] <jeremy_c> This past 6 months it has grown quiet a bit. It's currently in PHP using Xoops, with the addition of much custom coding and on peak times the server really works itself. The site was not designed with caching in mind, nor is Xoops very good at a heavy load
IRC [13:33] * Dossy nods.
IRC [14:14] <jeremy_c> How do I debug an error like: Fatal: modload: failed to load module '/home/jeremy/projects/openacs/aolserver/bin/nssha1.so'
IRC [14:15] <jeremy_c> ls /home/jeremy/projects/openacs/aolserver/bin/nssha1.so shows the file as 1488 bytes
IRC [14:25] <jeremy_c> And this: [13/Jan/2007:14:25:20][35809.134557696][-main-] Warning: modload: could not find Ns_DbDriverInit in /home/jeremy/projects/openacs/aolserver/bin/nspostgres.so
IRC [14:30] <jeremy_c> I had this problem on MacOSX but am now on freebsd and figured this would go away
IRC [16:22] *** holycow joined the chat.
IRC [16:27] <Dossy> um, smells like your build env is broken.
IRC [16:36] <jeremy_c> I am a developer by trade and compile many things. This same error happened on both MacOSX and FreeBSD
IRC [16:36] <Dossy> It means you're consistent. :)
IRC [16:37] <Dossy> It probably means you're building AOLserver 4.5 and still using the "configure" script directly, instead of the new build process outlined in the README.
IRC [16:37] <Dossy> Or rather, the RELEASE file.
IRC [16:38] <jeremy_c> Actually, the mac box was just reinstalled yesterday, only thing on it was the 900mb devel tools download, nothing else
IRC [16:38] <Dossy> Actually, I was right: it's step (3c) in the README.
IRC [16:38] <jeremy_c> um, yeah, that's what I did :-)
IRC [16:39] <jeremy_c> 4.5, ./configure
IRC [16:42] <Dossy> Check the README file in the source distribution. Look for section (3c).
IRC [16:42] <jeremy_c> will do
IRC [16:42] <jeremy_c> thanks
IRC [16:42] <Dossy> You'll want to re-extract a fresh copy of the source--or, at least, do a "make clean"
IRC [16:43] <Dossy> yeah, we need to re-rationalize the build machinery.
IRC [16:43] <Dossy> the idea was to make 4.5 build on Win32 and Unix with the same build scripts--so that they won't get out of sync again.
IRC [16:43] <Dossy> But, I think it's more trouble than its worth.
IRC [16:43] <Dossy> I still think a DSL in Tcl for building (ala Ruby's "rake") needs to happen.
IRC [16:43] <Dossy> maybe we can call it "take" :P!
IRC [16:43] <jeremy_c> If I see a configure, I'm guilty of using it and not reading docs :-/
IRC [16:43] * Dossy nods
IRC [16:44] <Dossy> jeremy: I don't blame you--it's what I'd do too--which is the problem.
IRC [16:44] <Dossy> Check this paragraph in the RELEASE notes:
IRC [16:44] <Dossy> * The build environment in general is annoying. As described, there
IRC [16:44] <Dossy> was an effort in this release to support Unix and Win32 from the
IRC [16:44] <Dossy> same makefiles which, while a bit clever, likely irritated more
IRC [16:44] <Dossy> Unix developers than excited Win32 developers.
IRC [16:44] * Dossy nods ... and sighs ...
IRC [16:45] <jeremy_c> hehe
IRC [16:45] <Dossy> It was a good idea. In principle.
IRC [16:45] <Dossy> I really want to get the Win32 build to the point where anyone can grab the source and with the right prerequisite tools installed, produce a Microsoft Installer .msi from it.
IRC [16:48] <Dossy> okay, bbl -- dinner.
IRC [16:51] *** holycow parted the chat.
IRC [20:20] *** jeremy_c parted the chat.