IRC log of openacs on 2002-01-04

Timestamps are in UTC.

00:00:29 [lilo]
[Global Notice] Europe seems to be resolved, Australia is next
00:01:46 [Spork]
Spork has quit (forward.openprojects.net irc.openprojects.net)
00:01:46 [hazmat]
hazmat has quit (forward.openprojects.net irc.openprojects.net)
00:01:46 [vinod]
vinod has quit (forward.openprojects.net irc.openprojects.net)
00:01:46 [rzolf]
rzolf has quit (forward.openprojects.net irc.openprojects.net)
00:01:46 [chump]
chump has quit (forward.openprojects.net irc.openprojects.net)
00:01:46 [jim]
jim has quit (forward.openprojects.net irc.openprojects.net)
00:01:46 [beattiek]
beattiek has quit (forward.openprojects.net irc.openprojects.net)
00:01:46 [markd2]
markd2 has quit (forward.openprojects.net irc.openprojects.net)
00:02:11 [hazmat]
hazmat (~ender@adsl-66-123-57-58.dsl.lsan03.pacbell.net) has joined #OpenACS
00:02:11 [Spork]
Spork (~syslogd@ool-18baa98f.dyn.optonline.net) has joined #OpenACS
00:02:11 [markd2]
markd2 (~Snak@r-41.111.alltel.net) has joined #OpenACS
00:02:11 [vinod]
vinod (~vinod@209-122-236-81.s1954.apx1.sbo.ma.dialup.rcn.com) has joined #OpenACS
00:02:11 [rzolf]
rzolf (~rolf@above.badgertronics.com) has joined #OpenACS
00:02:11 [jim]
jim (~jim@12-233-187-5.client.attbi.com) has joined #OpenACS
00:02:11 [beattiek]
beattiek (~beattiek@bmhd25b1y14ha.bc.hsia.telus.net) has joined #OpenACS
00:02:11 [chump]
chump (~chump@alb-24-58-160-41.nycap.rr.com) has joined #OpenACS
00:02:16 [ChanServ]
[#OpenACS] This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
00:02:20 [irc.openprojects.net]
Disconnected from irc.openprojects.net (ERROR :Closing Link: loggy[~openacs-l@205.253.219.118] (Killed (saberhagen.openprojects.net (Ghosted, forward.openprojects.net doesn't exist))))
00:02:37 [loggy]
loggy (~openacs-l@xcdfddb76.ip.ggn.net) has joined #openacs
00:02:37 [adams.openprojects.net]
topic is: Happy New Year from OpenACS | http://openacs.org
00:02:37 [adams.openprojects.net]
Users on #OpenACS: loggy chump beattiek jim rzolf vinod markd2 hazmat Spork
00:02:38 [ChanServ]
[#OpenACS] This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
00:16:39 [vinod]
vinod has quit ("changing universes")
00:17:00 [lilo]
[Global Notice] Hi all. Looks like the exercise was successful. The server config generator seems to have had a nice little bug removed. Thanks for your patience.
00:21:14 [markd2]
markd2 has quit ("Bork")
00:23:36 [davb]
davb (dave@alb-24-58-162-46.nycap.rr.com) has joined #openacs
00:24:39 [denshi]
denshi (~chatzilla@adsl-216-62-223-193.dsl.rcsntx.swbell.net) has joined #openacs
00:26:37 [davb]
* davb tests icewm, not bad....
00:26:55 [davb]
* davb knows how to disable gnome and change the default window manager...
00:43:22 [denshi]
anyone awake besides davb?
01:13:52 [davb]
apparently not :)
01:16:55 [Spork]
no
01:17:46 [denshi]
haha! great round of kidders tonight...
01:18:10 [Spork]
bbiab
01:18:22 [Spork]
* Spork has to boot windows to get his resume
01:18:24 [Spork]
Spork has quit ("Client Exiting")
01:19:22 [davb]
nooooo! anything but that!
01:22:56 [denshi]
have you been following the renaming discussions?
01:23:15 [davb]
quite a bit. I am trying to build on the pluribus suggestion :)
01:23:46 [denshi]
I am just a pathetic sheep, following the herd, so I'm not adding to the discussion.
01:24:10 [denshi]
But I'm finding it interesting how rapidly an idle suggestion has become a serious consideration.
01:24:22 [davb]
It is very hard to come up with a description, catchy name that is one word and the url is available :)
01:24:33 [davb]
It has been on the back burner for awhile.
01:25:53 [denshi]
really my only concern is that the url be available. I can't think that anyone has been exposed to oacs because of its catchy name.
01:26:10 [denshi]
This community grows by word of mouth and philip's book, and that's about it.
01:26:17 [davb]
good point. Most people read "the book" found arsdigita, then OpenACS.
01:29:18 [davb]
brb
01:29:20 [davb]
davb has quit ("Client Exiting")
01:30:01 [davb]
davb (dave@alb-24-58-162-46.nycap.rr.com) has joined #openacs
01:30:12 [davb]
switched window managers :)
01:30:43 [denshi]
can't you run two window managers in Xfree4 with multiheading?
01:30:56 [davb]
probably :)
01:31:15 [davb]
that would make sense. I am still used to the old ways.
01:32:09 [denshi]
don't even come near me with 'the old ways'. Half the time I don't even startx.
01:32:31 [davb]
I like mozilla and xchat. otherwise I use emacs.
01:34:58 [denshi]
I just can't connect you with a name to search oacs/bboards with.
01:35:12 [denshi]
can you help a brutha out?
01:35:33 [davb]
Sure.
01:35:35 [davb]
Dave Bauer
01:36:31 [denshi]
one of our fine stealth members, I see. I'm Todd Gillespie.
01:37:02 [davb]
Nice to meet you.
01:37:40 [davb]
Actually I have asked quite a few questions back in OpenACS 3 days. Lately I have been just working with the toolkit.
01:39:38 [denshi]
lately I have just fallen off the face of the earth.
01:39:59 [davb]
ah
01:40:16 [jim]
* jim is on the nose of the earth
01:41:08 [denshi]
I'm still *in* the oacs3 days, but when more people were there I kicked out a few side projects and wrote some docs. Even found some jobs from oacs.
01:41:58 [davb]
thats cool. I haven't gotten a job from oacs quite yet.
01:42:10 [denshi]
* denshi sez: jim, I was on the overextended metaphor of the earth face too, but up near the temple I fell off. It's steep.
01:44:37 [denshi]
i was lucky to find some people who had already done the cost analysis for acs vs. LAMP vs. junkware. After that just the exp. was useful.
01:45:36 [jim]
denshi: what did they find? junkware? what's that?
01:46:34 [denshi]
junkware, i.e., a stack of java middleware up to here and an army of support staff.
01:47:12 [jim]
and when you say acs, which flavor?
01:47:57 [jim]
3.x? photo.net type stuff?
01:48:10 [denshi]
uhhh....... I think we were on classic 3.3.[2|4], but don't quote me on that. But I remember backporting the SDM from 3.4 to 3.3.
01:49:28 [jim]
general question... I keep seeing general comments package for acs 4 (and prev vers too oc), it's for static pages? how can you add it to a static page under acs (or oacs) 4?
01:50:45 [jim]
would you do something like: make an instance of an object, write html at the bottom to pull in the comments functionality?
01:50:51 [denshi]
can't help ya. Beyond ripping up the db_ functions to bring LAMP proggers to the light, I haven't really even touched OACS4.
01:51:02 [davb]
jim: luckily I ported static-pages :)
01:51:15 [davb]
you need to mount general comments under the Main-Site
01:51:25 [jim]
I think I did that...
01:51:27 [davb]
also mount Static-Pages under the Main-Site
01:51:33 [davb]
thats it :)
01:51:46 [davb]
There are not alot of features.
01:52:02 [denshi]
brb
01:52:06 [jim]
it's just add comment, see comments?
01:52:09 [davb]
If you go to static-pages/admin you can turn on/off the commentability of pages and the children
01:52:15 [davb]
yes.
01:52:27 [davb]
I think you can set it to show the comments inline.
01:52:41 [jim]
ok, is "page" instances static pages?
01:52:51 [jim]
are, even
01:53:42 [jim]
ok
01:54:14 [davb]
no
01:54:42 [davb]
static-pages scans all html files under openacs-4/www
01:55:07 [davb]
I need to reinstall. I recently reinstalled my operating system :)
01:57:05 [denshi]
well, the digibeta has stopped spinning, which is my cue to go. Have a nice night.
01:57:21 [davb]
good night
01:58:17 [markd2]
markd2 (~Snak@166.102.30.128) has joined #openacs
01:59:18 [denshi]
denshi has quit ("ChatZilla 0.8.5 [Mozilla rv:0.9.7/20011221]")
02:02:15 [jim]
scan? so when any plain html page is served, it is autocommented?
02:02:21 [rbm]
rbm (rmello@fslc.ser.usu.edu) has joined #openacs
02:02:31 [jim]
rbm: re
02:03:30 [rbm]
hello
02:03:31 [rbm]
hey jim.
02:04:15 [davb]
hi rbm
02:04:35 [davb]
jim. you need to go to the static-pages admin page and manually hit the scan-the-fs link.
02:04:45 [davb]
I didn't write it, I just ported it :)
02:04:52 [jim]
gotcha
02:05:10 [davb]
Next release I think we can do one of two things, set a scan interval or make it watch the directories like the APM does.
02:05:36 [jim]
the scan memoizes all static page urls, for the benefit of the request processor?
02:05:37 [docwolf]
docwolf (~docwolf@adsl-21-223-168.mia.bellsouth.net) has joined #openacs
02:06:11 [davb]
jim: I am not sure exactly how it works. It registers a handler to all the file types it covers.
02:06:44 [davb]
So all html pages go through the static-pages checker, if it is commentable it adds the links. otherwise it serves a plain page.
02:06:59 [davb]
You can also add a template to the plain pages now thanks to ola.
02:07:26 [jim]
so it actually edits the page files?
02:07:34 [rzolf]
rzolf has quit ("rzolf has no reason")
02:07:36 [davb]
also it adds all the pages to the search index if you have openfts installed.
02:07:57 [davb]
jim: no. it processes it through the template each time it is served.
02:08:27 [rzolf]
rzolf (~rolf@above.badgertronics.com) has joined #openacs
02:08:32 [davb]
I think I will have to go back through this log and write up the changes and docs for it :)
02:08:58 [davb]
uhoh, rbm was here when I said that.
02:09:13 [rbm]
davb: for what?
02:09:28 [davb]
I mentioned writing documentation :)
02:09:32 [davb]
static-pages
02:10:06 [rbm]
* rbm signs up davb on the docs status page
02:10:41 [davb]
I can just update the current stuff, hopefully :)
02:11:03 [davb]
* davb reads rbm's documentation docs
02:56:30 [hazmat]
ping
02:57:14 [markd2]
bork
03:02:31 [davb]
davb has quit ("Client Exiting")
03:14:33 [docwolf]
docwolf has quit (Read error: 110 (Connection timed out))
03:34:36 [rzolf]
rzolf has quit ("rzolf has no reason")
03:41:01 [docwolf]
docwolf (~docwolf@adsl-21-223-168.mia.bellsouth.net) has joined #openacs
03:48:53 [hazmat]
hazmat has left #openacs
03:57:24 [docwolf]
docwolf has quit (Read error: 60 (Operation timed out))
04:10:25 [Psychephylax]
Psychephylax (proxy@ool-18baa98f.dyn.optonline.net) has joined #openacs
04:10:31 [Psychephylax]
bah!
04:18:51 [rbm]
bah yourself~
04:43:27 [Psychephylax]
* Psychephylax wanders around bah'ing himself
04:43:41 [markd2]
* markd2 humbugs quietly in the corner
04:43:41 [rbm]
* rbm bash psyche
04:43:58 [rbm]
s/bash/bah/
04:48:45 [Psychephylax]
bash: shell not found
04:49:42 [markd2]
* markd2 bashes folks with a C shell
04:49:50 [Psychephylax]
ouch ouch ouch!
04:49:52 [rbm]
Oh the horror
04:50:05 [Psychephylax]
* Psychephylax looks for his korn shell to make some popkorn
04:50:21 [markd2]
or to make hardcore music
04:50:28 [Psychephylax]
lol
04:53:31 [Psychephylax]
* Psychephylax happily clicks on Check out and spends 450$ without blinking an eye
04:54:04 [markd2]
cool
04:54:07 [markd2]
that's a lot of porn
04:54:27 [Psychephylax]
porn?
04:54:32 [Psychephylax]
no, just means of obtaining more
04:54:57 [rbm]
$450?!?
04:55:34 [rbm]
Is this on for that Twilight Zone collection?
04:55:55 [Psychephylax]
Nope
04:56:06 [Psychephylax]
For a new motherboard, processor and 2 sticks of memory
05:12:18 [Psychephylax]
* Psychephylax goes to sleep
05:50:20 [jim]
sci fi channel is playing the oldie oldie TZ episodes
05:54:37 [markd2]
awesome
06:00:25 [jim]
then it played an old outer limits
06:03:41 [markd2]
drool
06:14:10 [markd2]
markd2 has quit ("Bork")
07:46:38 [dlk]
dlk (dlk@garrison.ita.chalmers.se) has joined #openacs
08:43:16 [dlk]
dlk has quit (Read error: 54 (Connection reset by peer))
08:43:16 [dlk]
dlk (dlk@garrison.ita.chalmers.se) has joined #openacs
08:43:16 [rbm]
rbm has quit (adams.openprojects.net irc.openprojects.net)
08:43:16 [chump]
chump has quit (adams.openprojects.net irc.openprojects.net)
08:43:16 [jim]
jim has quit (adams.openprojects.net irc.openprojects.net)
08:43:16 [beattiek]
beattiek has quit (adams.openprojects.net irc.openprojects.net)
08:43:16 [Psychephylax]
Psychephylax has quit (adams.openprojects.net irc.openprojects.net)
08:47:25 [Psychephylax]
Psychephylax (proxy@ool-18baa98f.dyn.optonline.net) has joined #OpenACS
08:47:25 [rbm]
rbm (rmello@fslc.ser.usu.edu) has joined #OpenACS
08:47:25 [chump]
chump (~chump@alb-24-58-160-41.nycap.rr.com) has joined #OpenACS
08:47:25 [beattiek]
beattiek (~beattiek@bmhd25b1y14ha.bc.hsia.telus.net) has joined #OpenACS
08:47:25 [jim]
jim (~jim@12-233-187-5.client.attbi.com) has joined #OpenACS
08:47:27 [ChanServ]
[#OpenACS] This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
12:44:21 [ola]
ola (~ola@as3-1-3.mal.s.bonet.se) has joined #openacs
13:01:24 [ola]
ola has quit ("changing universes")
13:01:30 [rbm]
rbm has quit (Read error: 110 (Connection timed out))
13:24:00 [dlk]
dlk is now known as acid_rain
13:24:50 [acid_rain]
acid_rain is now known as dlk
13:30:35 [ola]
ola (~ola@as3-1-3.mal.s.bonet.se) has joined #openacs
13:34:36 [ola]
ola has quit (Client Quit)
13:37:37 [ola]
ola (~ola@as3-1-3.mal.s.bonet.se) has joined #openacs
13:44:23 [ola]
argh! the mouse pointer is constantly drawn to the upper right corner of my screen. :-)
13:45:00 [ola]
it's all debians fault.
14:01:16 [davb]
davb (~dave@208.136.23.203) has joined #openacs
14:01:21 [davb]
Hello!
14:03:54 [ola]
Hi Dave!
14:04:27 [ola]
I got X working!
14:04:45 [davb]
yippee!
14:04:52 [davb]
very excellent.
14:05:24 [ola]
I had to answer no to "kernel frame buffer interface".
14:05:37 [davb]
Aha. yes that was it :)
14:05:42 [ola]
cool
14:06:11 [davb]
I have been testing out different window managers without gnome.
14:06:13 [ola]
but now my microsoft mouse acts weird...
14:06:23 [davb]
Ah, what is it doing?
14:06:31 [ola]
ok. which one is best?
14:06:43 [davb]
so far I like Xfce. Icewm is also nice.
14:06:58 [ola]
it's drawn to the upper right corner all the time.
14:07:00 [davb]
Icewm is super configurable. Xfce is nice and simple. Both are fast.
14:07:09 [davb]
ola: you are in luck. I also had that problem :)
14:07:14 [ola]
fast is good:-)
14:07:24 [davb]
You need to change something in the gpm config.
14:07:43 [ola]
run gpmconfig you mean?
14:07:56 [davb]
Sure. I edited the file.
14:08:10 [davb]
For repeat it has a valye of ms3, it should be blank.
14:08:31 [ola]
aha!
14:08:41 [ola]
lemme try...
14:09:08 [davb]
repeat_type
14:14:31 [davb]
* davb imports OpenACS-4 into his local repository
14:18:15 [ola]
hehe. you can't wait for beta, right? or are you practicing? ;-)
14:18:33 [davb]
Can't wait. :) I am starting to convert my site over.
14:18:35 [ola]
that worked just fine, thanks davb!
14:18:49 [davb]
np. Good thing I had all the same problems as you one day before :)
14:19:08 [davb]
packages you might want: daemontools-installer
14:19:16 [ola]
who did you ask? :-)
14:19:40 [davb]
google
14:19:46 [davb]
and on #debian
14:21:13 [ola]
I looked at daemontools-installer, but, is 0.70 really the latest version?
14:21:38 [ola]
I think I want 0.76...
14:21:44 [davb]
hmmm
14:21:52 [davb]
oh. I didn't know that.
14:22:23 [ola]
not sure what the big difference is, though.
14:22:48 [davb]
you are correct though. I didn't notice. I wonder why it hasn't been updated.
14:24:00 [davb]
I have been using it np :) but its so small its no big deal to install it from source.
14:24:11 [ola]
if I want to update all packages from woody to sid, it's just a matter of changing sources.list and do a "apt-get update", right?
14:25:38 [davb]
apt-get update apt-get upgrade or dist upgarde (not sure of the difference)
14:25:55 [ola]
aha.
14:28:07 [davb]
hmmm I now have like 20 nsds running...
14:28:14 [davb]
that seems to many, its usually 5 or so.
14:28:40 [ola]
me and my bro started working on our OACS4 site awhile back but I think we'll wait til upgrade scripts are provided...
14:29:13 [ola]
yes. that seems too many.
14:30:08 [ola]
are you running 3.3 ad13?
14:31:35 [davb]
yes
14:33:02 [ola]
kill them all and see how many restart
14:36:37 [davb]
all of them :)
14:37:31 [davb]
the pgdriver won't load.
14:37:40 [davb]
what environment do I need for that?
14:44:11 [davb]
yay!
14:44:14 [davb]
I fixed it.
14:44:24 [davb]
but still have a WHOLE bunch of nsds
14:44:30 [davb]
I am using the same config file as before.
14:44:36 [davb]
I think I'll blame it on vinod.
14:45:07 [ola]
I think so too.
14:46:38 [davb]
ok.
14:46:48 [davb]
aha. if nsfts is missing it wacks out.
14:46:53 [davb]
I commented it out for now.
14:47:14 [davb]
oops, forgot to create a database :)
14:49:20 [davb]
anothe cool debianism: update-rc.d manages you /etc/init.d startup files for you. no more symlinking etc...
14:49:43 [ola]
very qool.
14:51:26 [ola]
hmm. installing OACS is getting harder by each day.
14:52:17 [ola]
Then we ought to be able to charge clients more...
14:53:15 [davb]
well you probably should not specify modules that are not installed :)
14:53:27 [ola]
heh
14:55:11 [davb]
argh... I have the same error as before.. can't connect to the database :)
14:55:27 [davb]
but psql design works
14:55:30 [davb]
hmmmm.....
14:55:46 [davb]
I must have some environment variable set wrong.
14:55:57 [ola]
hmm..
14:56:10 [ola]
can u create users?
14:56:21 [davb]
yes
14:56:24 [davb]
wait, no
14:56:26 [davb]
:)
14:56:28 [ola]
and dbs?
14:57:05 [davb]
bbiab
14:58:57 [markd2]
markd2 (~Snak@r-41.182.alltel.net) has joined #openacs
14:59:00 [ola]
I'll move the chat to an xterm instead. bbiab
14:59:07 [ola]
hi mark!
14:59:20 [markd2]
hi!
14:59:27 [ola]
bye mark :-)
14:59:29 [ola]
ola has quit ("changing universes")
15:01:50 [ola]
ola (~ola@as3-1-3.mal.s.bonet.se) has joined #openacs
15:15:20 [ola]
what's that software called that enables you to run linux or another OS from Windows (or was it the other way around..)
15:16:23 [ola]
vmlinux..something like that..
15:17:16 [markd2]
vmware?
15:18:38 [ola]
ah. exactly! have you tried it?
15:20:47 [markd2]
nope
15:23:31 [ola]
ok. I wonder if it is any good. perhaps something for my future laptop.
15:29:48 [dlk]
dlk has quit (Read error: 54 (Connection reset by peer))
15:45:57 [ola]
ola has quit ("changing universes")
15:55:06 [davb]
ok, I learned my lesson. The OpenACS install dir, Aolserver dirs and database all need to be owned by the same user.
15:55:17 [davb]
(I am sure its in the docs, I was just trying to be clever)
16:09:19 [ola]
ola (~ola@as3-1-3.mal.s.bonet.se) has joined #openacs
16:10:09 [ola]
grr. the mouse isn't working anymore
16:22:53 [ola]
the gpm doesn't seem to restart although gpmconfig says it does that. anyone know what the name of that process is?
16:30:00 [ChanServ]
[#OpenACS] This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
16:37:36 [davb]
gpm :)
16:40:30 [ola]
right. (it had died so I didn't think that was it...)
16:43:28 [ola]
strange. the mouse works in the ttys but NOT in X. (it worked for an hour though...pretty good considering my admin skills:-)
16:44:19 [davb]
that is weird. Mine hasn't stopped working yet.
16:44:43 [ola]
teaser;-)
16:47:58 [davb]
argh... something is missing from my tcl install for OpenFTS...
16:48:58 [ola]
what error message do you get?
16:49:05 [davb]
./configure: test: =: unary operator expected
16:49:05 [davb]
configure: error: directory: doesn't exist!
16:49:43 [ola]
what did the command line look like?
16:49:54 [davb]
I have --with-aolserver-src and --with-tcl set
16:49:57 [markd2]
it's got a little dollar sign, and a blinking cursor
16:50:03 [davb]
I don't know it doesn't say.
16:50:19 [davb]
mine?
16:50:30 [davb]
./configure --with-aolserver-src=/usr/local/src/aolserver3.3+ad13/root/aolserver/ --with-tcl=/usr/lib/tcl8.3/
16:50:30 [ola]
hehe
16:53:52 [davb]
ok, I had to set --with-pgsql=/usr/local/pgsql which is supposed to be the default.
16:54:05 [ola]
I think the --with-tcl path is wrong. there's a tread somewher on the forum where Noephytos and I spoke about search...
16:54:30 [ola]
sorry
16:54:51 [davb]
agh. I can't built it. it says tcl.h is missing.
16:55:03 [ola]
doh!
16:55:17 [davb]
its in /usr/include/tcl8.3
16:56:34 [davb]
cool.
16:56:48 [davb]
I have to symlink the file sin usr/include/tcl8.3 to /usr/include
16:57:42 [davb]
oops, I built the wrong one :)
16:57:50 [davb]
I build the regular Tcl one, not the aolserver one.
16:58:55 [davb]
nope I need both actually (wow reading the docs _does_ work!)
17:00:43 [ola]
reading docs take WAY too much time...
17:01:22 [denshi]
denshi (~chatzilla@adsl-216-62-223-193.dsl.rcsntx.swbell.net) has joined #openacs
17:01:50 [davb]
ola: i can't find relkov. Do you know where it lives?
17:02:45 [ola]
no sorry. try locate relkov...
17:03:01 [davb]
I did... argh
17:03:15 [davb]
the docs mention it, but its not in the posgresql source distribution
17:03:57 [ola]
I ran into the same stuff...but I dont remember the details, sorry:-(
17:04:09 [davb]
aha
17:04:14 [davb]
its in the OpenFTS disto
17:04:27 [davb]
that is not clear in the docs. it just says make the relkov library
17:04:53 [davb]
oh actually its already made :) I just need ot install it. stupid me.
17:05:27 [davb]
that would help wouldn't it.
17:05:29 [davb]
hi denshi
17:05:34 [ola]
come to think of it. I don't think I got search to work at my latest attempt....
17:05:44 [davb]
well I am hot ont he trail.
17:05:52 [davb]
I will keep notes :)
17:06:00 [ola]
(partly because of relkov)
17:06:05 [denshi]
yo
17:06:24 [ola]
hi denshi
17:06:45 [denshi]
'relkov' is unfamiliar to me. Sounds russian -- it is that full-text search system that came up a few months ago?
17:06:56 [davb]
yes
17:07:21 [davb]
ah. you need to make-install it seperately.
17:07:37 [davb]
now I need to reload the openacs datamodel
17:08:03 [davb]
denshi: it works incredibly open you get it installed.
17:08:45 [ola]
hmm... when I kill X using "ctrl-alt backspace" it seems to kill gpm (or at least my mouse) ...
17:09:04 [davb]
we need an aolserver/openacs specific install for openfts
17:09:10 [ola]
in the ttys, that is...
17:09:10 [davb]
ola: weird.
17:09:18 [davb]
I just logout :)
17:09:56 [davb]
ARGH!!!!
17:09:58 [davb]
"
17:09:58 [davb]
Answering Michael's question, I intend to work on improving the search package
17:09:58 [davb]
tonight. I'm probably going to change the datamodel and service contracts in
17:09:58 [davb]
order to accomodate new features like package-specific search, etc.
17:10:07 [davb]
Neophytos on the bboard :)
17:10:24 [davb]
well I guess I will hold off on actually installing the search package.
17:11:31 [denshi]
ola: I've never made gpm & X play well together. Perhaps that is the way of things.
17:11:54 [davb]
Is gpm for mouse in the console?
17:12:16 [ola]
yes davb, I think so
17:13:03 [ola]
denshi: I can do without the ttys if I just could get it to work in X...
17:13:44 [denshi]
mark: your blog links have been extra sweet lately.
17:13:57 [denshi]
(if he's even here)
17:14:47 [denshi]
whoa! ola, gpm shouldn't need to work in X. You don't want it. The XFree4 mouse drivers are the bomb. What are you trying again?
17:15:46 [ola]
I want a mouse that doesn't stear to the margin all the time I try to move it.
17:16:06 [davb]
ola: strange. that fixed mine ok. what did you set repeat_type to?
17:16:21 [ola]
""
17:16:32 [davb]
mine is just repeat_type=
17:16:35 [davb]
no "s
17:16:45 [ola]
ok. mine too:-)
17:16:52 [ola]
no ""s
17:16:56 [davb]
ah. well you have run into a problem I have not :)
17:17:15 [davb]
although I never tried to alt-ctrl-bs out of X
17:18:06 [davb]
denshi: my XFree86-4 mouse drivers don't load correctly.. ola: maybe thats why I don't have a problem :)
17:18:13 [ola]
I just did that as to be able to restart X. Since I couldn't move the moiuse
17:18:22 [davb]
ah.
17:18:44 [davb]
ola: if you move it _really_ slow and are persistent you can get it to move a little some of the time :)
17:19:10 [denshi]
funky.. XFree4 was the first release *ever* where config wasn't a pain in the ass. What are you using?
17:19:28 [ola]
davb: hehe
17:19:52 [davb]
denshi: referring to? I am running Debian unstable.
17:20:06 [ola]
XFree86 4.01 (I think)
17:20:20 [davb]
I have 4.1.0 (unstable)
17:21:15 [denshi]
i meant hardware-wise. Anything unusual?
17:21:44 [davb]
no not at all. Nvidia Riva TNT,plain old logitech PS/2 mouse. It worked before, I just reinstalled the OS.
17:22:18 [denshi]
*grunt*
17:22:22 [davb]
I get this in the XFree86 log: (EE) Generic Mouse: cannot open input device
17:22:22 [davb]
(EE) PreInit failed for input device "Generic Mouse" (II) UnloadModule: "mouse"
17:22:39 [davb]
davb has changed the topic to: Topic? What topic? http://openacs.org
17:22:42 [davb]
:)
17:23:03 [ola]
denshi: I have a Matrox Mystique and run XFree86 4.1.0-9 (debian Woody with a MS ps/2)
17:23:52 [davb]
nm. I have TWO mice in my config. PS/2 and serial'
17:26:18 [ola]
Section "InputDevice"
17:26:18 [ola]
Identifier "Generic Keyboard"
17:26:18 [ola]
Driver "keyboard"
17:26:18 [ola]
Option "CoreKeyboard"
17:26:18 [ola]
Option "XkbRules" "xfree86"
17:26:18 [ola]
Option "XkbModel" "pc105"
17:26:20 [ola]
Option "XkbLayout" "us"
17:26:22 [ola]
EndSection
17:26:35 [davb]
I guess I will wait to work on coverting my site to OpenACS-4 is search and Edit-This-Page are changing.
17:27:17 [ola]
good decision;-)
17:28:05 [ola]
hmm.. wrong section :-/
17:28:20 [ola]
Section "InputDevice"
17:28:20 [ola]
Identifier "Configured Mouse"
17:28:20 [ola]
Driver "mouse"
17:28:20 [ola]
Option "CorePointer"
17:28:20 [ola]
Option "Device" "/dev/psaux"
17:28:21 [ola]
Option "Protocol" "PS/2"
17:28:23 [ola]
Option "Emulate3Buttons" "true"
17:28:25 [ola]
Option "ZAxisMapping" "4 5"
17:28:27 [ola]
EndSection
17:28:29 [ola]
sorry :-)
17:29:37 [ola]
I should get some coffee, you know...
17:29:50 [davb]
ola: looks just like mine.
17:29:54 [denshi]
why, what time zone are you in?
17:30:37 [denshi]
ola, I think you should change the "Protocol" "PS/2" line from PS/2 to Bus (or whatever the designation is, I'm not on an X box ATM).
17:30:38 [ola]
time zone?
17:30:45 [ola]
GMT +1
17:31:04 [denshi]
so it's 9 pm over there?
17:31:30 [ola]
no, 6.30 pm
17:31:45 [davb]
ola: someone on debian mentioned the protocol might be set wrong when I asked.
17:32:11 [denshi]
as for the mouse, the ps/2 connector is still used, as you can see, but I think the actual software on the bus is no longer ps/2.
17:32:29 [ola]
ok. so the protocol should be "Bus"?
17:32:37 [denshi]
This is at least the case for my keyboard and mouse, and is the default on all the new machines.
17:33:09 [ola]
ok. what distro are you running?
17:33:35 [denshi]
I don't know what the protocol designator is. Try running xfree86config again and select the default mouse option. (it says something like 'plain old mouse').
17:33:42 [denshi]
distro....
17:34:09 [denshi]
I think I knew my time as a sysadmin was near an end when I could no longer give a straight answer to that question.
17:36:18 [ola]
heh. you are running linux, right?
17:36:44 [denshi]
Right now I'm on a system that started out as debian-potato, which was unstable, but now that rev has moved all the way down to stable. Now my box is a crufty blend of debs from all three branches.
17:37:15 [denshi]
and some home-build apps that I munged into the debconf db.
17:37:35 [ola]
the sucky part is that I can't even use vi because of a crappy character set...
17:38:37 [ola]
(sorry, nothing wrong with us char sets)
17:39:05 [denshi]
this is, of course, cleaner than what I was on in early 2000, which was a box that started life as redhat4.2 in 1997 (pre-RPM), and kept growing and mutating until there was nothing recognizable about the original except for the SVR boot system.
17:39:20 [denshi]
I seem to have a penchant for perverting the term 'distro'.
17:40:39 [denshi]
http://www.craigslist.org/best/2471353.html
17:40:39 [chump]
A: http://www.craigslist.org/best/2471353.html from denshi
17:41:06 [denshi]
I think I might have worked with this guy..
17:41:13 [ola]
denshi: heheh. very impressive history you've got;-)
17:42:13 [davb]
lunchtime
17:43:16 [denshi]
aye. lunchtime.
17:43:29 [ola]
I've been using RedHat for about two years and feel like a complete fool since I moved to Debian a couple of days ago.
17:47:14 [davb]
http://www.debian.org/doc/manuals/apt-howto/index.en.html
17:47:14 [chump]
B: http://www.debian.org/doc/manuals/apt-howto/index.en.html from davb
17:47:18 [davb]
B:|Apt HOWTO
17:47:18 [chump]
titled item B
17:47:49 [ola]
heh. what happened to the lunch, dave?
17:48:14 [davb]
its cooking :)
17:48:16 [davb]
http://qref.sourceforge.net/quick/index.html#contents
17:48:16 [chump]
C: http://qref.sourceforge.net/quick/index.html#contents from davb
17:48:26 [davb]
C:|Quick Referece for Debian
17:48:26 [chump]
titled item C
17:48:43 [til]
til (~tils@62.116.25.202) has joined #openacs
17:48:56 [davb]
http://www.linuxjournal.com/article.php?sid=4352
17:48:57 [chump]
D: http://www.linuxjournal.com/article.php?sid=4352 from davb
17:49:07 [ola]
ahh :-).
17:49:11 [davb]
D:|Debian Package Management: A User's Guide
17:49:11 [chump]
titled item D
17:49:34 [davb]
http://wwwcmc.pharm.uu.nl/gillies/debian/
17:49:35 [chump]
E: http://wwwcmc.pharm.uu.nl/gillies/debian/ from davb
17:49:38 [davb]
E:|Debian Hints
17:49:38 [chump]
titled item E
17:50:02 [ola]
those are some pretty darn useful links. thanks davb...
18:03:49 [rzolf]
rzolf (~rolf@adsl-21-223-168.mia.bellsouth.net) has joined #openacs
18:05:33 [denshi]
hey rolf
18:06:23 [rzolf]
hello denshi.
18:07:25 [rzolf]
rzolf has quit (Remote closed the connection)
18:07:27 [rzolf]
rzolf (~rolf@adsl-21-223-168.mia.bellsouth.net) has joined #openacs
18:08:44 [rzolf]
rzolf has quit (Remote closed the connection)
18:08:46 [rzolf_]
rzolf_ (~rolf@adsl-21-223-168.mia.bellsouth.net) has joined #openacs
18:08:47 [davb]
ola: np. I plan on reading them myself :)
18:10:57 [rzolf_]
rzolf_ has quit (Client Quit)
18:12:43 [denshi]
you put one rolf in,
18:12:48 [denshi]
you take one rolf out,
18:12:52 [denshi]
you put one rolf in,
18:12:57 [denshi]
and you shake him all about...
18:14:28 [markd2]
you do the "hokey pokey", and turn yourself about
18:14:34 [markd2]
that's what it's all about
18:17:23 [denshi]
I knew that most of the internet was run by five year olds, I just didn't have the evidence until now.
18:18:17 [ola]
aha. if I select "ImPS/2" and not "PS/2" things work better:-).
18:19:24 [denshi]
....and there was much rejoicing.
18:21:01 [ola]
heh
18:21:45 [ola]
woohoo! a working mouse.
18:22:12 [denshi]
okay...this time, lunch for real.
18:22:21 [ola]
thanks denshi and dave for your help and patience!
18:22:31 [markd2]
markd2 has quit ("Bork")
18:24:16 [davb]
np
18:36:25 [denshi]
denshi has quit ()
18:36:26 [ola]
ola has quit (Read error: 104 (Connection reset by peer))
19:35:58 [davb]
davb has quit (Read error: 104 (Connection reset by peer))
19:39:36 [davb]
davb (~dave@208.136.23.203) has joined #openacs
19:40:12 [rbm]
rbm (rmello@fslc.ser.usu.edu) has joined #openacs
19:40:25 [rbm]
Grrrr.
19:46:03 [davb]
meow
19:47:02 [markd2]
markd2 (~Snak@r-41.108.alltel.net) has joined #openacs
19:47:59 [davb]
hi mardk2
19:48:29 [markd2]
hello
19:48:30 [markd2]
http://www.craigslist.org/best/1657295.html
19:48:30 [chump]
F: http://www.craigslist.org/best/1657295.html from markd2
19:50:11 [davb]
ore files that match the following
19:50:11 [davb]
regular expression:
19:50:13 [davb]
oops
19:50:18 [davb]
http://www.tux.org/~tbr/sound-debian/
19:50:18 [chump]
G: http://www.tux.org/~tbr/sound-debian/ from davb
19:50:28 [davb]
G:|Configuring Sound in Debian
19:50:28 [chump]
titled item G
19:55:10 [denshi]
denshi (~chatzilla@adsl-216-62-223-193.dsl.rcsntx.swbell.net) has joined #openacs
19:55:19 [davb]
rbm: did you use the alsa packages? They seem to not work with kernel 2.4.17
19:55:47 [davb]
I stupidly did not save me /etc/ directory before reinstalling the OS :)
19:56:53 [markd2]
oopsie
19:58:19 [davb]
small loss. the only thing I need to do is configure the sound card.
20:02:06 [ola]
ola (~ola@as3-1-3.mal.s.bonet.se) has joined #openacs
20:04:14 [davb]
wb ola
20:06:55 [ola]
thanks
20:07:18 [davb]
hmmmm I wonder where I get the alsa-oss compatability modules...
20:08:00 [ola]
alsa-oss?
20:08:04 [davb]
wait...
20:08:19 [davb]
nm. I was using the wrong names :)
20:08:42 [davb]
snd-pcm-oss and snd-mixer-oss allows software that only supports OSS to work with ALSA drivers.
20:09:09 [ola]
cool
20:09:25 [rbm]
davb: Yes, I use ALSA with my 2.4.17. ALSA rocks!
20:09:56 [rbm]
davb: I usually only load the snd-pcm-oss module. alsamixer is much better than any OSS mixer.,
20:10:02 [davb]
The debiam packages?
20:10:09 [davb]
rbm: cool.
20:10:25 [rbm]
davb: I install the alsa-utils package and then compile my own drivers.
20:10:43 [rbm]
(because I compile my own kernels)
20:11:25 [davb]
rbm: ok. that is what I did. I just need to configure modules.conf
20:11:35 [davb]
* davb wishes he had saved the working one :(
20:12:00 [davb]
also it is difficult to configure sound remotely.
20:14:53 [rbm]
heh
20:17:47 [ola]
what emacs package do I want? "emacs21"?
20:18:00 [markd2]
vmlinux.el
20:18:15 [ola]
?
20:18:34 [ola]
seriously...
20:18:37 [davb]
ola: yes
20:18:58 [davb]
and get mmm-mode although I did not find a debian package.
20:19:28 [ola]
and that is?
20:20:50 [rbm]
there is an mmm-mode package for emacs
20:21:01 [davb]
Darn, I missed it.
20:21:24 [davb]
it is for multiple modes I think. I copied from rbm's .emacs :)
20:21:28 [rbm]
ola: mmm is a multi-mode package, so you can have more than on major mode in one same document (e.g. HTML + Tcl for ADPs)
20:22:54 [rbm]
roberto@brasileiro:~$ dpkg -l | grep mmm
20:22:55 [rbm]
ii mmm-mode 0.4.7-2 Multiple Major Mode for Emacs
20:23:22 [davb]
I wonder why I could not find it. must have been too late :)
20:23:57 [rbm]
This is on sid btw
20:24:36 [ola]
I could not find it via debian package search... thanks rbm
20:24:48 [davb]
me either :(
20:25:14 [rbm]
are you both on sid?
20:25:40 [ola]
rbm> I am on woody but want to upgrade to sid
20:25:46 [davb]
yes. I searched at www.debian.org in all distributions.
20:25:51 [ola]
is it easy?
20:26:03 [denshi]
no
20:26:12 [rbm]
roberto@brasileiro:~$ apt-cache search mmm
20:26:12 [rbm]
mmm-mode - Multiple Major Mode for Emacs
20:26:49 [ola]
denshi, no as in hard?
20:26:49 [davb]
nm
20:27:03 [davb]
apt-get install mmm-mode works, but a search at debian.org does not find it.
20:27:33 [ola]
ok
20:27:45 [denshi]
ola, my one complaint about the deb system is that the 3 branches aren't really branches, they are seperate distros.
20:28:45 [denshi]
So there's no simple way to say the dpkg equivalent of "cvs up -r sid .".
20:28:47 [rbm]
Debian never said they were branches. Debian always had them as 3 separate distributions.
20:28:48 [davb]
somewhere I have a link on how to mix them
20:29:09 [rbm]
denshi: apt-get dist-upgrade
20:29:21 [denshi]
uhhh....
20:29:22 [rbm]
There is your version of cvs up for debian
20:29:32 [denshi]
what year did that come out?
20:29:42 [rbm]
I've used it for the past 2 years
20:30:01 [denshi]
well hot shit, case. What we have here is a failure to communicate.
20:30:03 [denshi]
Thanks.
20:30:24 [rbm]
denshi: Of course, to dist-upgrade, first you have to add the lines for sid in your /etc/apt/sources.list, then apt-get update
20:30:37 [denshi]
muhahahaha.......
20:30:46 [rbm]
denshi: try running "apt-get" without arguments
20:31:45 [denshi]
that is certainly better than my current approach -- which is to hand upgrade key packages and then redir the sources.
20:36:14 [ola]
rbm: so the steps involved are: 1. edit sources.list. 2. apt-get update. 3. apt-get dist/upgrade.
20:36:15 [ola]
?
20:36:53 [ola]
s/dist/upgrade/dist-upgrade
20:41:22 [denshi]
yup, you've got it.
20:41:54 [ola]
qool
20:42:25 [denshi]
To refine my complaint, now that I have this new information, it would be nice if the deb system acted even more like a source tree and could work with more refined branches.
20:42:58 [denshi]
Meaning that you could run a group of packages from unstable, another group from testing, and the rest of the distro on stable.
20:43:36 [davb]
I don't think there is an 'official' way to tdo that, but I have a link (somewhere) on how to do it.
20:43:41 [denshi]
Most everyone I know bitches about having to run unstable to use anything released in the last 12 months.
20:44:13 [denshi]
davb: I've already hand-hacked my own systems to do that, but an official way would rule.
20:45:23 [denshi]
Something like: you run your system on stable for security reasons, but you identify the 'OACS block' as more bleeding edge and use the unstable packages for those (nsd, pgsql, etc).
20:46:04 [denshi]
I suppose the single largest problem is that stupid glibc2.1 <=> 2.2 incompat.
20:46:28 [denshi]
I don't know why IRC thinks that < = > means happy face.
20:47:48 [denshi]
brb
20:48:27 [davb]
I found it!!
20:48:53 [markd2]
must be something client specific
20:48:53 [markd2]
< = > came out ok for me
20:49:07 [davb]
http://openacs.org/bboard/q-and-a-fetch-msg.tcl?msg_id=0002iC&topic_id=14&topic=OpenACS%204%2e0%20Testing
20:49:07 [chump]
H: http://openacs.org/bboard/q-and-a-fetch-msg.tcl?msg_id=0002iC&topic_id=14&topic=OpenACS%204%2e0%20Testing from davb
20:49:19 [davb]
H:|Managing Multiple Releases in Debian
20:49:20 [chump]
titled item H
20:49:57 [davb]
H: short version: read man apt-preferences
20:49:58 [chump]
commented item H
20:50:04 [davb]
H: only works with latest version of APT
20:50:04 [chump]
commented item H
20:50:54 [davb]
hmmmm
20:52:44 [davb]
H: make that apt_preferences
20:52:44 [chump]
commented item H
20:52:51 [rbm]
So many interesting open source projects to work on, so little time...
20:53:00 [davb]
which ones?
20:53:00 [denshi]
yea, I have strayed from the OACS fold... and see what manner of misinformation I bear. There shall be a great reckoning on my debian machines this weekend.
20:53:13 [davb]
heh
20:53:32 [davb]
I was going to start working on an OpenACS 4 site, but now the serach package looks like it will be updated.
20:54:03 [rbm]
davb: OpenACS, PostgreSQL, Debian, AOLserver
20:54:07 [davb]
Ah.
20:54:11 [davb]
all closely related.
20:54:21 [davb]
I would love to learn enough C to hack AOLserver.
20:54:24 [rbm]
I would like to translate the PostgreSQL documentation to portuguese, and make an easier install for windows.
20:54:34 [denshi]
those are some large projects. Chop it down into some specifics.
20:54:45 [rbm]
The AOLserver source code is so pretty it looks like a poem
20:55:30 [davb]
yeah, but I don;t know C so it's like a nice poem in a foreign language :)
20:55:50 [denshi]
no one knows C.
20:56:51 [rbm]
denshi: "no one"?
20:57:20 [denshi]
nope. It's all a big scam. My years of C hacking has driven this home to me.
20:57:44 [markd2]
heh
20:57:44 [rbm]
davb: grab "The C Programming Language" (the white bible). It's short and to the point.
20:58:08 [markd2]
I seem to be spending all my C time explaining to folks how char* work (and don't work)
20:58:17 [davb]
rbm: its on my Amazon wish list with about $2000 of other books :)
20:58:19 [denshi]
...and it's one of the chief decievers.
20:59:37 [davb]
the book?
20:59:39 [rbm]
davb: Have you looked on half.com of ebay? I'm sure you could find a used one
20:59:40 [davb]
or char*?
20:59:59 [davb]
rbm: I am sure. Just havn't the $$$ just yet. soon :)
21:00:51 [rbm]
davb: http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=1401904678 (currently at $25)
21:01:39 [davb]
cool
21:02:16 [rbm]
Is there a way to do additions on an .adp template?
21:02:29 [davb]
you mean math? or more templates?
21:03:12 [denshi]
There are many freely available C resources on the web: http://www.lysator.liu.se/c/c-www.html
21:03:23 [rbm]
davb: math
21:03:53 [davb]
<% expre %>
21:03:59 [davb]
s/expre/expr
21:04:01 [davb]
?
21:04:09 [rbm]
Can you do that in a template?
21:04:27 [davb]
you can, but its is against the "rules"
21:04:32 [rbm]
(OACS 4)
21:04:35 [davb]
you are not supposed to put code in them.
21:04:37 [denshi]
davb: if you're actually going to try to learn to use C, "Practice of Programming" is a good book to see inside the warped mind of someone that close to the machine.
21:05:39 [davb]
This brings me back to my internel debate. Should I actually learn what I am doing? Or just wing it and learn as I go along. My plan is to learn most of the contents of a computer science degree.
21:05:50 [davb]
http://www.lysator.liu.se/c/c-www.html
21:05:51 [chump]
I: http://www.lysator.liu.se/c/c-www.html from davb
21:05:59 [davb]
I:|C Resources
21:06:00 [chump]
titled item I
21:06:11 [rbm]
davb: What does "wing it" mean?
21:06:27 [rbm]
* rbm is hungry
21:07:06 [davb]
rbm: do what I am doing now. pretending to be a programmer without actually understanding why or how it works.
21:07:28 [markd2]
markd2 has quit ("Bork")
21:07:43 [denshi]
well, none of these books can take you far beyond the essential flow of C programming, to wit: 1. pick up a piece of data, 2. run it through an algorithm described in the most brutally simple manner imaginable, 3. put the result in manually allocated storage, 4. forget where you put it, 5. crash program.
21:08:38 [ola]
davb: I bought "C by example" for $3 in Sri Lanka :-)
21:08:48 [davb]
can't be bad :)
21:09:05 [denshi]
which is why no one actually programs in C. Sort of like how no one actually lives in Belgium -- same kind of deal.
21:09:30 [ola]
haha
21:09:47 [denshi]
http://www.xploiter.com/mirrors/cprogram/
21:09:47 [chump]
J: http://www.xploiter.com/mirrors/cprogram/ from denshi
21:09:59 [davb]
I don't specifically want to learn C. I want to learn to program.
21:10:08 [rbm]
davb: Weren't you reading SICP?
21:10:33 [davb]
rbm: yeah, still on the first chapter. I decided I should relearn calculus etc.. first.
21:10:38 [davb]
kinda slowed me down.
21:10:45 [rbm]
davb: I remember I saw something online called "How to think like a computer scientist". Search on google.Computer Science is much more than programming.
21:10:56 [davb]
I have that to. its programming :)
21:11:09 [davb]
Hopefully the aduni lectures will be available on DVD.
21:11:10 [denshi]
heh. I hear that. I need to reopen my diffy Q books before I go back.
21:13:02 [denshi]
Has anyone here chewed through SICP alone?
21:13:40 [rbm]
If I have a block of code in a db_multirow in my .tcl, can I also walk through the returned rows in my .adp?
21:13:54 [rbm]
denshi: I'm chewing through it now.
21:14:32 [davb]
rbm: BTW I did mail those CDs :)
21:14:46 [denshi]
I've found that the web version is more readable than the book, b/c the hard page distinction on the web set useful breakpoints.
21:15:10 [denshi]
but SICP is still totally a group-oriented text.
21:15:24 [rbm]
davb: YES! Thank you!
21:15:28 [davb]
np really.
21:15:39 [davb]
slow yes, problem no :)
21:16:39 [rbm]
davb: How many CDs?
21:16:50 [davb]
10 I think.
21:16:53 [rbm]
Excellente
21:17:01 [rbm]
s/Excellente/Excellent/
21:18:34 [davb]
anyway. about db_multirow... If you export it as a multirow datasource it should be able to work in the ADP
21:19:12 [talli]
talli (talli@lti-4.dialup.access.net) has joined #openacs
21:19:21 [rbm]
How can you save the execution plan with the ACS 4 API?
21:19:21 [talli]
hey guys
21:19:25 [talli]
whoa. packed house
21:19:39 [davb]
* davb is not sure what an execution plan is :)
21:19:51 [rbm]
I meant the DB api.
21:20:27 [rbm]
davb: When you submit a query to a RDBMS, it generates an execution plan. If you're going to run that query again very soon, it's a good idea to save the execution plan, otherwise the RDBMS has to genreate a new one.
21:20:36 [davb]
Aha.
21:20:49 [davb]
I wasn't aware that ACS or AOLserver addressed that.
21:21:08 [rbm]
I'm not sure ACS does
21:22:40 [davb]
rbm: I think you would have to take the output of the db_multirow and put it into the format ad_page_contract is looking for.
21:22:49 [davb]
specifically multiple is a list
21:23:16 [denshi]
hey talli
21:23:46 [talli]
hey denshi
21:25:03 [rbm]
* rbm posts to the bboards
21:25:15 [davb]
rbm: I also stand corrected. Embeeded tcl is OK in templates, outputting directly to the connection is not
21:25:25 [rbm]
davb: Oh.
21:26:20 [davb]
rbm: to answer the db_multirow question. I think the easiest way is to combine temple:multirow with it.
21:27:39 [davb]
rbm: or template::query ... apparently thats what the template db api does for you :)
21:28:02 [davb]
suddenly now the templating examples make some sort of sense to me.
21:28:03 [rbm]
davb: But what I wanted to do is to sum the results of certain columns being given to the .adp via a db_multirow
21:28:26 [davb]
aha. still can't you do that in the tcl?
21:28:43 [rbm]
What variable name should I use?
21:29:03 [rbm]
The db_multirow is named "drug_counts".
21:29:26 [davb]
I only know how to use the <multiple> tag with template::multirow which builds a custom datastructure (probably nested lists) which <multiple> takes apart.
21:29:50 [davb]
you could use a template::query multirow and then add a row on the end with the totals.
21:30:07 [rbm]
davb: db_multirow does the same of template::multirow
21:30:17 [rbm]
In fact, in OpenACS 4 you can't use the template DB api
21:30:22 [rbm]
(or shouldn't)
21:30:31 [davb]
ah... someone will have to fix ETP
21:30:51 [davb]
aha. I found something: http://24.58.162.46/doc/acs-templating/demo/show.tcl?file=reference.tcl
21:31:02 [denshi]
denshi is now known as toddg
21:31:08 [rbm]
the Query Dispatcher only notices db_* calls
21:31:12 [davb]
but it does not show how you would add on the totals.
21:31:41 [rbm]
davb: Whose is that server? It's asking me to register
21:31:44 [davb]
ah. ETP uses template::multirow to build a multirow data structure from the regular query api
21:31:51 [davb]
argh. its mine. sorry :)
21:32:34 [rbm]
davb: I found it on my own server
21:32:51 [davb]
aha
21:33:10 [davb]
We need those up on OpenACS.org soon.
21:33:27 [rbm]
Hmmm. the doc for db_multirow says "Performs the SQL query $sql, saving results in variables of the form var_name:1, var_name:2, "
21:33:38 [rbm]
davb: indeed
21:37:28 [ola]
ola has quit ("Hey! Where'd my controlling terminal go?")
21:39:10 [markd2]
markd2 (~Snak@r-41.110.alltel.net) has joined #openacs
21:40:14 [davb]
rbm: it looks like it does create a varname:1 varname:2 etc...
21:41:30 [davb]
it looks like each varname:x is an array...
21:42:56 [rbm]
davb: Oh really?
21:44:14 [davb]
maybe, I am looking at the db_multirow source. I do know that it creates also a varname:rowcount with the number of rows. So you should be able to create varname:rowcount+1 and put the values in there, then increase varname:rowcount
21:44:44 [markd2]
markd2 has quit ("kroB")
21:44:45 [davb]
kinda messy though. I wonder if doing a template::multirow command would work on that varname also.
21:44:48 [rbm]
but if I can't output it to the connection...
21:44:54 [davb]
this is all in Tcl
21:45:30 [davb]
try this for fun
21:45:59 [davb]
do a template::multirow append varname "column1" "column2" etc,, after the db_multirow
21:46:23 [rbm]
??
21:46:37 [davb]
that will add a row to a multirow datasource.
21:46:59 [davb]
so if you call template::multirow append after db_multirow it _should_ add the row.
21:47:32 [hazmat]
hazmat (~ender@adsl-66-123-57-58.dsl.lsan03.pacbell.net) has joined #openacs
21:51:40 [davb]
time to go see LOTR.
21:51:53 [rbm]
ohhhhh
21:52:43 [davb]
davb has quit ()
21:57:24 [rbm]
AHA! I think I got it
22:06:10 [ola]
ola (~ola@194.236.255.222) has joined #openacs
22:06:40 [rzolf]
rzolf (~rolf@above.badgertronics.com) has joined #openacs
22:06:42 [toddg]
rbm: you know, for someone who doesn't claim knowledge of programming, davb certainly has a large number of answers.
22:09:34 [toddg]
rolf: what's up with the twisted matrix thing?
22:10:14 [rzolf]
toddg yo.
22:10:22 [rzolf]
twistd is ok.
22:10:36 [toddg]
what's up with you these days?
22:15:36 [rbm]
toddg: indeed. I think he gives himself way too little credit
22:15:58 [rzolf]
toddg: i am doing some programming stuff.
22:17:37 [ola]
ola has quit ("ircII EPIC4-1.0.1 -- Are we there yet?")
22:20:17 [toddg]
rzolf: there's a description of a stealth project if I've ever heard one.... Are you back on our side of the pond?
22:27:44 [rzolf]
toddg yes i am in the USA again.
22:28:23 [davb]
davb (dave@alb-24-58-162-46.nycap.rr.com) has joined #openacs
22:32:59 [rbm]
davb: I think you give yourself himself way too little credit
22:33:14 [rbm]
and toddg seems to agree
22:33:21 [rbm]
<toddg> rbm: you know, for someone who doesn't claim knowledge of programming, davb certainly has a large number of answers.
22:37:51 [toddg]
toddg is now known as denshi
22:38:13 [denshi]
* denshi sez: blue wizard needs food badly.
22:41:39 [rbm]
GRRRR. The templating system is messing with me
22:41:57 [davb]
:)
22:42:02 [davb]
I am just lucky.
22:42:34 [davb]
I can read programs, writing is harder.
22:44:25 [rbm]
YES YES YES YES YES!
22:44:47 [rbm]
The templating system ROCKS!
22:46:38 [davb]
I like it.
22:47:08 [davb]
I am having a hard time configuring exim to forward my mail to my ISPs smtp server. is this the correct way to do it?
22:47:28 [rbm]
All of your mail?
22:47:34 [rbm]
You could use a .forward file
22:47:48 [davb]
outgoing mail.
22:47:49 [rbm]
(on your home dir)
22:48:05 [davb]
when I send a mail it need to be released into the wild on the internet :)
22:48:16 [rbm]
Why not let exim deliver it?
22:48:25 [davb]
I used postfix before, but exim was installed so I tried to use it.
22:48:29 [davb]
Perhaps I am :)
22:48:59 [davb]
I think it is, but i have confused it,
22:49:15 [rbm]
You should let exim deliver it. You can set the "from" line in your client.
22:49:35 [denshi]
gentlemen, I have cast 'summon weekend'. bye now.
22:49:40 [davb]
bye
22:49:47 [davb]
I forgot to restart it after I changed the config.
22:49:47 [rbm]
bye
22:50:02 [denshi]
denshi has quit ()
23:14:37 [davb]
davb has quit ("changing universes")
23:23:35 [rbm]
* rbm heads home