IRC log of openacs on 2001-10-08

Timestamps are in UTC.

00:04:59 [loggy]
loggy has joined #openacs
00:04:59 [asimov.openprojects.net]
topic is: Welcome to the OpenACS Helpline | http://www.openacs.org/
00:04:59 [asimov.openprojects.net]
Users on #openacs: loggy AaronSw chump rzolf jabba_ shagster strainmaker
00:05:16 [ChanServ]
This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
00:05:16 [rbm]
rbm has joined #openacs
00:28:27 [davb]
davb has joined #OpenACS
00:36:50 [Psychephylax]
Psychephylax has joined #openacs
00:37:32 [davb]
Hey Psychephylax!
00:39:45 [Psychephylax]
hey dave
00:39:52 [Psychephylax]
Gotta love it
00:40:05 [Psychephylax]
redoing the db now with the latest CVS from home
00:40:12 [Psychephylax]
getting 1 hour out of this for whatching TV
00:58:38 [Psychephylax]
dave, you awake?
00:59:42 [Psychephylax]
I think there are some bugs in this CVS
01:02:20 [rbm]
rbm has quit
01:03:17 [davb]
COuld be.
01:03:19 [davb]
What kind?
01:03:30 [rbm]
rbm has joined #openacs
01:04:09 [Psychephylax]
I was getting PL/SQL errors in acs-content management I think
01:04:33 [Psychephylax]
acs-content-repository-create.sql...
01:04:45 [Psychephylax]
Warning: Trigger created with compilation errors.
01:04:47 [Psychephylax]
Errors for TRIGGER CR_CLEANUP_CR_FILES_DEL_TRG:
01:04:56 [Psychephylax]
LINE/COL ERROR
01:04:56 [Psychephylax]
-------- -----------------------------------------------------------------
01:04:56 [Psychephylax]
2/9 PL/SQL: SQL Statement ignored
01:04:56 [Psychephylax]
3/16 PLS-00517: Type mismatch between a select list element
01:04:56 [Psychephylax]
'<expression>' and corresponding table column in INSERT statement
01:05:15 [Psychephylax]
with a subquery
01:05:17 [Psychephylax]
Errors for PACKAGE IMAGE:
01:05:18 [Psychephylax]
LINE/COL ERROR
01:05:20 [Psychephylax]
...
01:05:24 [Psychephylax]
Not going to paste them all
01:05:26 [davb]
Aha.
01:05:50 [davb]
Looks like Dan applied some patches someone made to the CR. And they look like they broke it.
01:05:52 [davb]
hang on.
01:07:02 [davb]
updating CVS. I'll tell you what happens.
01:07:02 [Psychephylax]
well, just so you guys know
01:10:28 [davb]
ok
01:11:56 [Psychephylax]
ahhh crud
01:11:59 [Psychephylax]
my SNMP create sql script is broken
01:12:00 [Psychephylax]
Oh well
01:12:04 [Psychephylax]
I'll fix it tomorrow
01:12:08 [davb]
ick
01:12:10 [davb]
Yeah.
01:12:25 [davb]
CR loaded fine for me.
01:12:32 [Psychephylax]
hmmm
01:12:37 [Psychephylax]
It finished
01:12:43 [Psychephylax]
it just had a warning there
01:12:51 [davb]
In the log or the browser?
01:12:54 [Psychephylax]
browser
01:13:01 [Psychephylax]
I just got the CVS too
01:14:26 [davb]
me too.
01:15:07 [davb]
Unless someone realized it and committed the fix right after you tried. weird.
01:15:38 [davb]
Was it a checkout or update?
01:16:00 [Psychephylax]
i did a checkout
01:16:17 [Psychephylax]
i move the old thing just in case and do a checkout
01:17:01 [jabba_]
jabba_ is now known as abbaJ
01:17:17 [davb]
Interesting. I just did an update on my regular directory.
01:26:47 [Psychephylax]
heh
01:26:50 [Psychephylax]
well, just so you know
01:26:59 [Psychephylax]
now I have to go build some stupid circuits for my ESE class
01:28:38 [davb]
Sounds like fun.
01:31:25 [Psychephylax]
it's not
01:31:37 [Psychephylax]
i think I'm going to reincarnate my love for Hockey
01:31:47 [Psychephylax]
anything to procrastinate!
01:34:26 [davb]
heh!
01:38:34 [Psychephylax]
:-/
01:40:15 [rbm]
rbm has quit
01:42:59 [rbm]
rbm has joined #openacs
02:00:15 [rbm]
rbm has quit
02:08:23 [rbm]
rbm has joined #openacs
02:38:14 [lilo]
[GlobalNotice] Hi all. Services will be back up in a moment, after the usual splits. Thanks for your patience.
02:38:35 [rbm]
rbm has quit
02:38:35 [chump]
chump has quit
02:38:35 [AaronSw]
AaronSw has quit
02:38:59 [chump]
chump has joined #openacs
02:38:59 [AaronSw]
AaronSw has joined #openacs
02:38:59 [rbm]
rbm has joined #openacs
02:39:05 [ChanServ]
This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
03:07:27 [davb]
davb has quit
05:03:28 [rzolf]
rzolf has quit
07:42:51 [rzolf]
rzolf has joined #openacs
09:07:04 [rzolf]
rzolf has quit
09:49:58 [alekhine]
alekhine has joined #openacs
09:59:27 [rbm]
rbm has quit
10:01:12 [ola]
ola has joined #openacs
10:03:07 [rbm]
rbm has joined #openacs
10:06:37 [ola]
hey rbm!
10:07:54 [ola]
doh!
10:16:24 [alekhine]
later ola et all
10:16:25 [alekhine]
alekhine has left #openacs
10:24:49 [ola]
ola has quit
10:48:46 [davb]
davb has joined #OpenACS
10:52:14 [mamtom]
mamtom has joined #openacs
10:52:21 [mamtom]
mamtom is now known as alekhine
10:57:17 [irc.openprojects.net]
Disconnected from irc.openprojects.net (ERROR :Closing Link: loggy[xcdfddb76.ip.ggn.net] by asimov.openprojects.net (Ping timeout for loggy[xcdfddb76.ip.ggn.net]))
10:58:59 [loggy]
loggy has joined #openacs
10:58:59 [benford.openprojects.net]
topic is: Welcome to the OpenACS Helpline | http://www.openacs.org/
10:58:59 [benford.openprojects.net]
Users on #openacs: loggy alekhine davb chump AaronSw Psychephylax abbaJ shagster strainmaker rbm
11:14:56 [lilo]
[GlobalNotice] Hi, all. Services will be back up in a moment, after the usual splits. Please bear with us. Thanks.
11:15:28 [alekhine]
alekhine has quit
11:15:28 [davb]
davb has quit
11:15:28 [abbaJ]
abbaJ has quit
11:15:28 [Psychephylax]
Psychephylax has quit
11:15:28 [strainmaker]
strainmaker has quit
11:15:28 [shagster]
shagster has quit
11:15:30 [ChanServ]
ChanServ has changed the topic to: Welcome to the OpenACS Helpline | http://www.openacs.org/
11:15:37 [ChanServ]
This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
11:16:14 [strainmaker]
strainmaker has joined #openacs
11:16:14 [shagster]
shagster has joined #openacs
11:16:14 [abbaJ]
abbaJ has joined #openacs
11:16:14 [Psychephylax]
Psychephylax has joined #openacs
11:16:14 [davb]
davb has joined #openacs
11:16:14 [alekhine]
alekhine has joined #openacs
12:55:42 [davb]
Interesting. The text attribute of the BODY tag is broken in Opera for Linux
13:11:50 [AaronSw]
davb, still around?
13:15:10 [AaronSw]
http://blogspace.com/openacs/rss-procs.tcl
13:15:10 [chump]
A: http://blogspace.com/openacs/rss-procs.tcl from AaronSw
13:15:16 [AaronSw]
A:|rss-procs.tcl
13:15:16 [chump]
titled item A
13:15:22 [AaronSw]
A:Utilities useful in building RSS files
13:15:22 [chump]
commented item A
13:15:39 [AaronSw]
A:Contains the core code for [blogify|http://logicerror.com/blogifyyourpage]
13:15:39 [chump]
commented item A
13:15:54 [AaronSw]
A:for davb
13:15:54 [chump]
commented item A
13:18:14 [davb]
Thanks
13:18:23 [davb]
(I am always around somewhere.)
13:19:44 [AaronSw]
Heh.
13:20:16 [davb]
Now I can automate my blog instead of using your site. I have some work to do, so I can avoid it by doing that instead.
13:21:08 [AaronSw]
Aha! :-)
13:26:32 [davb]
I have to fix my weblog though. It has eash day as a seperate item, instead of each entry. I was lazy when I programmed it.
13:32:20 [AaronSw]
Is your weblog in the database? It might be easier just to write an RSS template for it.
13:33:55 [davb]
Yeah. what do you mean by RSS template?
13:34:26 [AaronSw]
You know, like an HTML template except it outputs RSS.
13:35:36 [davb]
I also have to get the chump's output into RSS. I have the XSL stylesheet but I haven;t hooked it up yet.
13:37:56 [davb]
Well I don't have ANY templates for my site right now. I have to switch over to 4.
13:38:25 [AaronSw]
Oh.
13:39:10 [davb]
Yeah. Like I said I am lazy. I am waiting to see if musea comes up with a weblog content type for Editthispage.
13:39:36 [davb]
Looks like someone else is patching OpenACS 4 for domain based subsites though.
13:59:30 [davb]
Cool! It works. The chump is now available via RSS
14:04:20 [davb]
http://www.thedesignexperience.org/openacs/ircblog/rss.xml
14:04:20 [chump]
B: http://www.thedesignexperience.org/openacs/ircblog/rss.xml from davb
14:04:41 [davb]
B:|#openacs Chump-bot output in RSS
14:04:41 [chump]
titled item B
14:21:04 [Psychephylax]
heh
14:22:04 [Psychephylax]
Morning everyone
14:25:34 [davb]
Hi
14:25:54 [Psychephylax]
* Psychephylax wishes he wasn't at work
14:26:06 [Psychephylax]
Now I have to figure out what's wrong with my SQL
14:27:59 [Psychephylax]
oooooooh!
14:28:10 [Psychephylax]
* Psychephylax looks for Mark
14:28:34 [Psychephylax]
* Psychephylax lays out cookies in an oddly shaped pentagram....
14:30:38 [davb]
* davb gets out the garlic
14:31:30 [Psychephylax]
I think my problem is that I try to reference a table before it's created :)
14:31:48 [davb]
That is not recommened last time I checked.
14:32:36 [Psychephylax]
I suppose it's not
14:32:46 [Psychephylax]
hmmm..better...less errors now
14:34:03 [Psychephylax]
aha
14:34:12 [Psychephylax]
and this error is because the row is not unique
14:34:17 [Psychephylax]
column rather
14:41:41 [Psychephylax]
now if I only remember the syntax
14:51:38 [davb]
Is is a primary key?
14:52:06 [davb]
something like this? emailvarchar(100) not null unique
14:52:34 [Psychephylax]
it's not a primary key it's a candidate key
14:52:53 [Psychephylax]
See, my confusion was stemmed from the fact that I already have a named constraint
14:53:01 [Psychephylax]
cm_ping_id number (10)
14:53:02 [Psychephylax]
constraint snmp_incidents_cm_ping_id_nn
14:53:03 [Psychephylax]
not null
14:53:14 [Psychephylax]
how do you add a second named constraint to that...
14:53:31 [Psychephylax]
But I put the second constraint in the end of the table
14:53:59 [davb]
Aha, I never tried that before.
14:54:06 [Psychephylax]
yeah
14:54:11 [Psychephylax]
That was my confusion :)
14:54:21 [Psychephylax]
so I put the second constraint at the end of the table
14:54:31 [Psychephylax]
btw...Not sure if this is my fault or ACS:
14:54:33 [Psychephylax]
ERROR at line 1:
14:54:33 [Psychephylax]
ORA-04098: trigger 'MYOPENACS.CR_CLEANUP_CR_FILES_DEL_TRG' is invalid and
14:54:33 [Psychephylax]
failed re-validation
14:55:13 [Psychephylax]
yikes!
14:55:15 [davb]
hmmmm.
14:55:51 [Psychephylax]
major problemo
14:55:53 [Psychephylax]
:(
14:56:31 [davb]
that is?
14:57:00 [Psychephylax]
no idea yet
14:57:16 [Psychephylax]
but I did find this (how to use 2 named constraints for one column): incident_id integer
14:57:16 [Psychephylax]
constraint snmp_incidents_incident_id_fk
14:57:16 [Psychephylax]
references acs_objects(object_id)
14:57:16 [Psychephylax]
constraint incidents_incident_id_pk
14:57:17 [Psychephylax]
primary key,
14:59:45 [davb]
You need to name them?
15:00:16 [Psychephylax]
well, technically, no :P
15:00:26 [Psychephylax]
but hey, might as well do what all the smart people do
15:00:59 [davb]
Right check this out: Note that when declaring a foreign key constraint at the end of a table
15:00:59 [davb]
declaration it is always necessary to put the list of referencing attributes in parentheses:
15:00:59 [davb]
  create table foo (...
15:00:59 [davb]
         foreign key (<attr_list>) references (<attr_list>));
15:01:18 [davb]
from : http://www-db.stanford.edu/~ullman/fcdb/oracle/or-nonstandard.html
15:01:20 [davb]
http://www-db.stanford.edu/~ullman/fcdb/oracle/or-nonstandard.html
15:01:21 [chump]
C: http://www-db.stanford.edu/~ullman/fcdb/oracle/or-nonstandard.html from davb
15:01:29 [davb]
C:|Non-standard SQL for Oracle 8i
15:01:29 [chump]
titled item C
15:05:42 [Psychephylax]
hmmm
15:05:46 [Psychephylax]
that wasn't my problem
15:05:57 [Psychephylax]
Being stupid and just sticking stuff out of order was
15:07:58 [Psychephylax]
a spelling lesson is also in order
15:08:21 [davb]
heh
15:08:34 [Psychephylax]
refrences
15:08:35 [Psychephylax]
bah!
15:10:11 [davb]
don't you have SQL mode?
15:18:31 [Psychephylax]
eh?
15:19:20 [davb]
In SQL mode for emacs it colorizes the SQL keywords. So if it doesn;t change color, you spelled it wrong.
15:21:40 [Psychephylax]
heh
15:21:47 [Psychephylax]
check this out: http://www.iqtest.com/view/iqtest/sale/000812/966139449906
15:21:57 [Psychephylax]
scale:
15:21:58 [Psychephylax]
Average: 85 - 115
15:21:59 [Psychephylax]
Above average: 116 - 125
15:21:59 [Psychephylax]
Gifted Borderline Genius: 126 - 135
15:21:59 [Psychephylax]
Highly gifted and appearing to be a Genius to most others: 136 - 145
15:21:59 [Psychephylax]
Genius: 146 - 165
15:22:01 [Psychephylax]
High genius: 166 - 180
15:22:03 [Psychephylax]
Highest genius: 181 - 200
15:22:05 [Psychephylax]
Beyond being measurable genius: Over 200
15:23:42 [davb]
no bad.
15:23:52 [davb]
not bad.
15:24:09 [Psychephylax]
:-/
15:24:17 [Psychephylax]
maybe this is why I don't want to do this hehehe
15:24:20 [Psychephylax]
not challenging enough
15:25:10 [davb]
could be.
15:26:24 [Psychephylax]
:)
15:26:43 [shagster]
shagster has quit
15:27:34 [Psychephylax]
woohooo
15:27:37 [Psychephylax]
create works
15:27:56 [shagster]
shagster has joined #openacs
15:28:11 [Psychephylax]
ORA-04098: trigger 'MYOPENACS.CR_CLEANUP_CR_FILES_DEL_TRG' is invalid and
15:28:14 [Psychephylax]
i don't like that
15:37:51 [Psychephylax]
i think it's time for Dr. Pepper
15:37:51 [Psychephylax]
mmmm....coooold
15:37:52 [irc.openprojects.net]
Disconnected from irc.openprojects.net (ERROR :Closing Link: loggy[xcdfddb76.ip.ggn.net] by benford.openprojects.net (Ping timeout for loggy[xcdfddb76.ip.ggn.net]))
15:38:00 [loggy]
loggy has joined #openacs
15:38:00 [asimov.openprojects.net]
topic is: Welcome to the OpenACS Helpline | http://www.openacs.org/
15:38:00 [asimov.openprojects.net]
Users on #openacs: loggy shagster chump AaronSw rbm alekhine davb Psychephylax abbaJ strainmaker
15:38:00 [ChanServ]
This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
17:54:12 [loggy]
loggy has joined #openacs
17:54:12 [niven.openprojects.net]
topic is: Welcome to the OpenACS Helpline | http://www.openacs.org/
17:54:12 [niven.openprojects.net]
Users on #openacs: loggy talli shagster chump AaronSw rbm alekhine davb Psychephylax abbaJ strainmaker
17:54:12 [ChanServ]
This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
17:56:37 [Psychephylax]
Dave?
18:00:55 [davb]
hi (went to mow the lawn for a bit)
18:00:59 [Psychephylax]
lol
18:01:09 [Psychephylax]
that's a rather short lawn mowing time
18:01:16 [Psychephylax]
30 minutes
18:01:20 [Psychephylax]
You must have a small lawn
18:01:24 [davb]
I just did the front. THe back is the hard part.
18:01:30 [Psychephylax]
hehe
18:01:39 [Psychephylax]
Did you try running the package manager?
18:01:54 [Psychephylax]
i'm getting moved ;(
18:01:57 [davb]
not yet.
18:02:34 [Psychephylax]
what about deleting a package thing
18:02:37 [davb]
this is it
18:02:40 [davb]
OPENACS4.CR_CLEANUP_CR_FILES_DEL_TRG
18:02:46 [davb]
blah blah blah
18:02:51 [Psychephylax]
where are you getting that?
18:03:07 [davb]
ora8.c:3908:ora_tcl_command: error in `OCIStmtExecute ()': ORA-04098: trigger 'OPENACS4.CR_CLEANUP_CR_FILES_DEL_TRG' is invalid and failed re-validation
18:03:07 [davb]
ORA-06512: at "OPENACS4.ACS_OBJECT", line 98
18:03:07 [davb]
ORA-06512: at "OPENACS4.SITE_NODE", line 55
18:03:08 [davb]
ORA-06512: at line 4
18:03:14 [davb]
when I delete the folder.
18:03:26 [davb]
That trigger is broken for Oracle.
18:03:43 [davb]
Post it in the testing bboard. THe error from install and when you delete the folder.
18:04:16 [Psychephylax]
ok
18:05:18 [Psychephylax]
try the apm
18:05:31 [davb]
oh what is wrong with that?
18:05:42 [Psychephylax]
You'll see
18:05:43 [Psychephylax]
lol
18:05:48 [davb]
OK.
18:05:55 [davb]
DId you check openacs-4 or acs-core?
18:06:01 [Psychephylax]
Check for what?
18:06:03 [davb]
I just did that core.
18:06:08 [Psychephylax]
oh
18:06:09 [davb]
checkout
18:06:11 [Psychephylax]
I checked out openacs-4
18:06:22 [davb]
YOu get all the packages in CVS. I don't think you need em.
18:06:30 [davb]
Just checkout the core and then add the packages you need.
18:06:49 [davb]
I think you encountered a broken optional package.
18:07:07 [Psychephylax]
I s'pose
18:07:18 [Psychephylax]
I can try that: but this isn't a way to solve problems :)
18:07:24 [Psychephylax]
I'd rather see it fixed
18:07:54 [davb]
I think the APM works fine. It found a bad XQL file in some package that you probably don't need.
18:08:27 [davb]
Are you using any of the non-core packages?
18:08:35 [davb]
like bbord or general comments?
18:08:50 [Psychephylax]
I don't think so
18:09:53 [davb]
rbm: you around?
18:10:40 [davb]
Psychephylax: so if you install acs-core and don't get the XQL error, you know its in an optional package. The testers will get it.
18:11:31 [Psychephylax]
we'll see
18:11:38 [Psychephylax]
* Psychephylax is getting core now
18:11:54 [Psychephylax]
i'm getting moved
18:11:58 [Psychephylax]
to a diff desk
18:12:04 [Psychephylax]
I don't like that, I like this desk ;(
18:12:21 [davb]
sorry to hear that.
18:13:13 [Psychephylax]
yeah
18:13:21 [Psychephylax]
now I can't take excessive short breaks while I do my work
18:13:25 [davb]
Well its a job.
18:13:41 [Psychephylax]
:-/
18:13:53 [Psychephylax]
i'm more productive when I can bug you guys for syntax help =D
18:14:09 [davb]
you can't do that from the new desk?
18:16:35 [Psychephylax]
i can but I have more "neighbors"
18:16:52 [Psychephylax]
and I don't know if they're one of them "tell your boss every step you take" type of people
18:17:19 [alekhine]
alekhine has quit
18:17:26 [Psychephylax]
ugh
18:17:30 [Psychephylax]
I just lost my package
18:18:00 [davb]
um thats bad.
18:19:19 [Psychephylax]
no
18:19:23 [Psychephylax]
It's here
18:19:31 [Psychephylax]
i just don't know which oacs_ file it's in
18:19:31 [davb]
ok thats good.
18:19:42 [Psychephylax]
hehehehehe
18:19:52 [Psychephylax]
but it contains potassium sorbate
18:20:14 [Psychephylax]
* Psychephylax points out it's dave's turn to say "that's bad"
18:20:46 [rbm]
hey dav
18:21:19 [Psychephylax]
¿oom
18:24:11 [davb]
rbm: I have a copy of AOLserver 3.3+ad13. It looks like its the one you added the script to, but I can't find the script. The one that makes a distribution suitable for OpenACS 4 installation.
18:24:21 [davb]
And I never can remember the URL for your web site.
18:28:55 [Psychephylax]
time to do this all from scratch
18:30:38 [Psychephylax]
It's openacs4-core?
18:30:42 [davb]
acs-core
18:30:49 [Psychephylax]
mind reader?
18:30:50 [Psychephylax]
:)
18:30:57 [Psychephylax]
you answered that waaay too fast
18:31:21 [davb]
no. just good timing.
18:32:04 [Psychephylax]
:)
18:34:16 [Psychephylax]
heh
18:34:20 [Psychephylax]
my desk is the one with a printer
18:34:23 [Psychephylax]
THat sucks!
18:34:33 [davb]
yes
18:38:21 [Psychephylax]
ugh
18:39:31 [ola]
ola has joined #openacs
18:39:58 [ola]
hi
18:40:02 [rbm]
davb: http://www.brasileiro.net/openacs I think
18:40:02 [Psychephylax]
hola ola!
18:40:19 [ola]
hola psyche!
18:40:22 [rbm]
davb: You can just look my webpage up at http://openacs.org/directory/
18:40:27 [rbm]
(when you forget it)
18:40:40 [rbm]
* rbm needs a domain north-americans can spell :-)
18:41:01 [Psychephylax]
like neverhere.com?
18:41:03 [rbm]
Unfortunately, mello.com/org/net is taken by some webmail thingyp.
18:41:03 [Psychephylax]
:))
18:41:08 [rbm]
HEY!
18:41:12 [rbm]
I'm usually here.
18:41:15 [Psychephylax]
ok
18:41:20 [Psychephylax]
you can get alwayshere.net
18:41:47 [jerryasher]
jerryasher has joined #openacs
18:41:59 [ola]
hi jerry!
18:42:03 [jerryasher]
Hi Roberto?
18:42:18 [jerryasher]
Or Dave? Or anyone who has an OpenACS 4 implementation around?
18:42:25 [Psychephylax]
<---
18:42:37 [Psychephylax]
well, in the process of fixing it
18:42:47 [davb]
rbm: duh I never thought of that.
18:43:07 [davb]
Well I am here.
18:43:13 [jerryasher]
Classic ACS 4 has a function in packages/acs-templating/tcl/acs-integration-procs.tcl
18:43:19 [davb]
I really don't have a site going though.
18:43:23 [jerryasher]
called adp_parse_ad_conn_file
18:43:41 [jerryasher]
That function calls ns_return
18:43:58 [jerryasher]
And Petru tells me that if that ns_return is turned into a call to
18:44:04 [Psychephylax]
nope, don't know that
18:44:32 [jerryasher]
Jim Wilcoxson's rl_returnz module, that everything that templating
18:44:38 [jerryasher]
spits out will be suitable compressed.
18:44:54 [jerryasher]
Does OpenACS 4 templating have a similar function?
18:46:39 [rbm]
hey jerry
18:46:42 [davb]
adp_parse_ad_conn_file is in there.
18:47:03 [davb]
it ns_returns a parsed template.
18:47:22 [davb]
Thats a neat idea.
18:47:29 [rbm]
jerryasher: I'm not familiar with rl_returnz. Why would you want to do that?
18:48:10 [jerryasher]
Hi Roberto, because since IE 3 and N 3, browsers have been able to accept gzipped
18:48:20 [docwolf]
docwolf has joined #openacs
18:48:28 [jerryasher]
html and automatically decode it. If you're a modem user, or if you pay for your bandwidth
18:48:32 [ola]
how do I install mp3info perl module? anyone?
18:48:54 [jerryasher]
or if you have more CPU than network, than you'd prefer gzipped content
18:48:59 [jerryasher]
whenever possible.
18:49:03 [rbm]
jerryasher: Ah, I see. But you pay a price for that on the server.
18:49:20 [rbm]
IE accepts gzip?
18:49:22 [ola]
I installed an RPM but it still doesn't work.
18:49:32 [jerryasher]
yes, you need to have more server cpu than server network
18:49:47 [rbm]
I'm surprised it accepts gzip, as opposed to some proprietary, non-standard, buggy zip program.
18:49:50 [jerryasher]
or a preference to pay for less bandwidth or help out your modem users
18:50:03 [jerryasher]
well it accepts that too.
18:50:18 [jerryasher]
but it also accepts gzip, although jonathan ellis suggests that it does THAT
18:50:23 [jerryasher]
buggily, so your buggily is in there.
18:50:40 [jerryasher]
(And jonathan submitted a patch to work around the i.e. bugs)
18:50:58 [jerryasher]
Petru says that on mydomain, the compression ration is typically 4:1.
18:51:03 [rbm]
I think the best way to provide that feature in OACS 4 would be to create a package that would give that functionality.
18:51:44 [jerryasher]
It either needs to be built into AOLserver (as a patch perhaps to ns_return),
18:52:01 [jerryasher]
or placed in any location where ns_return is called.
18:52:29 [jerryasher]
Can an OACS package overwrite the contents of a core OACS package?
18:53:10 [jerryasher]
I would think the "easiest" method to implement this would be to use an ACS kernel
18:53:36 [rbm]
jerryasher: I dunno. My guess is that you could replace something in the kernel.
18:53:49 [jerryasher]
param to dictate the behavior and use then to use [info] to determine at runtime
18:54:00 [jerryasher]
if the rl_returnz proc is present or not.
18:54:16 [jerryasher]
Who would know more? Who is handling acs-templating?
18:54:58 [rbm]
If it's in the kernel, it's Don and Dan.
18:55:07 [jerryasher]
(And please, let me apologize for bursting in and interrupting the prior conversation.)
18:55:15 [davb]
ola: check this out
18:55:20 [davb]
oops http://perl.about.com/library/weekly/aa030500c.htm
18:56:41 [Psychephylax]
Dave, does the core acs cvs come with sub-site?
18:56:59 [davb]
it should.
18:57:03 [Psychephylax]
k
19:02:26 [rbm]
jerryasher: That's no problem. You can bump in anytime :)
19:03:00 [rbm]
If anyone is interesting in looking at SQLwork, I made a tarball available at http://www.brasileiro.net/roberto/bin/
19:06:46 [rbm]
* rbm heads to class with his mega-lame professor
19:07:16 [ola]
thanks dave! it works.
19:07:28 [davb]
cool. I knew there was an easy way.
19:28:10 [Psychephylax]
oh
19:28:15 [Psychephylax]
i think there's a bug in the APM too
19:28:18 [ola]
* ola wonders if oracle can deal with "current_timestamp" in place of sysdate()?
19:28:39 [Psychephylax]
Has anyone tried pointing the APM to a diff directory and then back to where other packages are?
19:43:53 [Psychephylax]
ugh
19:43:56 [Psychephylax]
errros
19:47:46 [ola]
ugh
19:48:30 [davb]
probably not.
19:48:39 [davb]
(the oracle timestamp thing)
19:48:59 [davb]
Psychephylax: yeah that was on the bboard I think.
19:49:50 [Psychephylax]
yeah it's broken afaik
19:50:12 [davb]
If you change the directory. Did you point it to where your pacakge lives?
19:50:58 [davb]
I think that is actuallly by design. But it is broken.
19:54:25 [Psychephylax]
well my problem (a while ago):
19:54:38 [Psychephylax]
I had vinods packages in my home directory
19:54:55 [Psychephylax]
and APM has a link to look in a directory for packages
19:55:18 [Psychephylax]
so I pointed it to my home dir but afterwards I could not figure out a way to point it back to /web/oacs/packages
19:55:30 [Psychephylax]
and they aren't packages but folders
19:55:33 [Psychephylax]
So that was a 2nd problem
19:56:48 [davb]
well they are pacakges that are already untarred.
19:56:59 [davb]
Right. That is broken.
19:59:22 [Psychephylax]
bah!
19:59:24 [Psychephylax]
I broke something
19:59:31 [ola]
ugh. I've got a dynamic "db_dml" with non-sql92 compliant sql. in a transaction.
19:59:44 [davb]
ick.
19:59:48 [ola]
sigh
20:00:05 [davb]
There is a way to port those. Check vinod's FAQ
20:00:48 [markd2]
markd2 has joined #openacs
20:00:51 [ola]
* ola is reading Don's Wimpy Point doc.
20:01:41 [davb]
Hi markd2
20:02:10 [Psychephylax]
hey Mark
20:05:35 [Psychephylax]
* Psychephylax hits his head agains the desk
20:05:39 [Psychephylax]
how can this be broken?
20:05:41 [markd2]
hiya
20:05:49 [markd2]
The Trrrricoder must be brrooken
20:05:58 [Psychephylax]
invalid command name "Supervisor"
20:05:59 [Psychephylax]
while executing
20:05:59 [Psychephylax]
"$user_type == 'Manager'"
20:05:59 [Psychephylax]
("uplevel" body line 2)
20:05:59 [Psychephylax]
(procedure "code::tcl::/web/oacs/packages/snmp/www/user-add-2" line 2)
20:05:59 [Psychephylax]
invoked from within
20:06:01 [Psychephylax]
"code::tcl::$__adp_stub"
20:06:02 [markd2]
markd2 is now known as mark2d2
20:06:03 [Psychephylax]
invoked from within
20:06:05 [Psychephylax]
"if { [file exists $__adp_stub.tcl] } {
20:06:11 [Psychephylax]
it worked fine before!!!!
20:06:11 [mark2d2]
* mark2d2 beeps and whistles
20:06:12 [mark2d2]
mark2d2 is now known as markd2
20:07:09 [markd2]
paste in the code that is doing the $user_type = 'Manager'
20:07:23 [markd2]
I bet you're doing if { [$user_type == 'Manager'] } {
20:07:25 [markd2]
which is wrong
20:07:36 [markd2]
(plus, use double-quotes in tcl)
20:09:14 [Psychephylax]
if {([ad_permission_p $package_id manager] || [ad_permission_p $package_id admin]) &&
20:09:14 [Psychephylax]
([$user_type == 'Manager'] || [$user_type == 'Supervisor'])} {
20:09:36 [Psychephylax]
but it worked fine friday!
20:09:37 [markd2]
we've been through this before. don't use square brackets around equality operations
20:09:59 [markd2]
[ad_permission_p ...] is a function call. [$user_type == 'Manager'] isn't
20:11:01 [Psychephylax]
syntax error in expression "([ad_permission_p $package_id manager] || [ad_permission_p $"
20:11:01 [Psychephylax]
while executing
20:11:01 [Psychephylax]
"if {([ad_permission_p $package_id manager] || [ad_permission_p $package_id admin]) &&
20:11:02 [Psychephylax]
($user_type == 'Manager' || $user_type == 'Supervisor')} {
20:11:38 [Psychephylax]
it worked fine Friday
20:11:40 [Psychephylax]
I was able to add users
20:11:52 [markd2]
the previous code is obviously wrong, so you must have never hit that case
20:12:01 [markd2]
there is no way it could have worked
20:12:06 [Psychephylax]
it workeddd!!!!
20:12:08 [markd2]
add parens (not square brakets) around the two == comparisons
20:12:15 [markd2]
then it only worked in a fantasy land
20:12:23 [Psychephylax]
*sigh*
20:12:32 [Psychephylax]
once I Fix this I will prove you otherwise :)
20:12:37 [Psychephylax]
I save all the old runs
20:13:47 [Psychephylax]
same error
20:15:10 [Psychephylax]
old code -->
20:15:12 [Psychephylax]
if {([ad_permission_p $package_id manager] || [ad_permission_p $package_id admin]) &&
20:15:12 [Psychephylax]
([$user_type == 'Manager'] || [$user_type == 'Supervisor'])} {
20:15:43 [markd2]
*sigh*
20:15:53 [markd2]
please read what I suggest
20:15:53 [markd2]
add parens (not square brakets) around the two == comparisons
20:16:07 [Psychephylax]
that's my old code that worked before
20:16:14 [Psychephylax]
I added the () and it still gets the error
20:16:24 [markd2]
like this:
20:16:24 [markd2]
&& (($user_type == 'Manager') || ($user_type == 'Supervisor'))} {
20:16:30 [markd2]
not in the code you pasted in
20:17:07 [Psychephylax]
this is the code I have:
20:17:46 [Psychephylax]
if {([ad_permission_p $package_id manager] || [ad_permission_p $package_id admin]) &&
20:17:47 [Psychephylax]
(($user_type == 'Manager') || ($user_type == 'Supervisor'))} {
20:17:56 [markd2]
why are you using *single quotes*?
20:18:01 [markd2]
use double-quotes in tcl
20:18:03 [markd2]
like I mentioned above too
20:18:03 [Psychephylax]
ok
20:18:18 [markd2]
single-quotes are sql-land, double-quotes are tcl land
20:18:55 [Psychephylax]
ok
20:18:57 [Psychephylax]
it seems to work
20:19:09 [markd2]
and I promise there is *no* way it could have ever worked before like that
20:19:25 [Psychephylax]
lol
20:19:29 [Psychephylax]
are you sure?
20:19:55 [markd2]
very
20:20:04 [Psychephylax]
like a batch of cookies sure or just a cookie sure?
20:20:14 [markd2]
like cash sure
20:20:18 [Psychephylax]
Oh ok
20:20:29 [Psychephylax]
* Psychephylax gives mark a dollar shaped cookie
20:20:34 [markd2]
LOL
20:21:03 [Psychephylax]
ok
20:21:06 [Psychephylax]
I need some help
20:21:20 [Psychephylax]
this is getting very hard to keep track of what version does what and so forth
20:21:35 [Psychephylax]
Is there a way to redefine some utility things
20:21:40 [Psychephylax]
bah
20:21:45 [markd2]
tcl has a rename function
20:22:00 [markd2]
and you've got the source, so you can do whatever you want
20:25:48 [Psychephylax]
well, you know how some things look in a specific spot first to see if things were redefined and then go to some other "global" place?
20:26:00 [Psychephylax]
ACS doesn't have that does it?
20:26:13 [markd2]
I don't grok the question
20:26:43 [Psychephylax]
grok?
20:26:48 [markd2]
understand
20:26:54 [markd2]
* markd2 suggests reading "stranger in a strange land"
20:28:39 [Psychephylax]
heh
20:28:42 [Psychephylax]
* Psychephylax feels like ^^
20:28:54 [markd2]
nee nee nee noo nee nee nee noo
20:29:12 [Psychephylax]
* Psychephylax ponders if all that oracle knowldege finally drove Mark insane
20:29:52 [markd2]
* markd2 sits in a corner going biddle biddle biddle
20:30:52 [Psychephylax]
rofl
20:34:36 [Psychephylax]
* Psychephylax wanders over to the other corner and starts mumbling elddib elddib elddib
20:35:39 [markd2]
only when I'm running in little-endian mode
20:36:57 [Psychephylax]
* Psychephylax prefers the big-endian mode
20:37:19 [markd2]
one little two little three little endians
20:41:17 [Psychephylax]
And then there were none - by Agatha Christie
20:44:38 [Psychephylax]
good book and movie
20:50:13 [Psychephylax]
* Psychephylax is moving up in ranks
20:50:21 [Psychephylax]
Now I'm getting paid to go to class
21:00:59 [Psychephylax]
hmm
21:01:03 [Psychephylax]
how long have I been here...
21:01:17 [Psychephylax]
10:15...11:15...12:155...damn I can't count that high
21:05:29 [markd2]
markd2 has quit
21:17:13 [Psychephylax]
arg
21:39:49 [Psychephylax]
ok that's messedu p
21:39:57 [Psychephylax]
* Psychephylax nudges dave :-D
21:40:16 [rbm]
rbm has quit
21:41:37 [rbm]
rbm has joined #openacs
21:42:08 [davb]
what's up?
21:43:40 [ola]
ola has quit
21:44:41 [Psychephylax]
Why isn't it linking all my object files into a single dealie?
21:45:04 [davb]
Um. which ones?
21:45:22 [Psychephylax]
the ones I'm trying to link? :P
21:47:00 [davb]
No idea. I am the anti-C
21:47:33 [Psychephylax]
why?
21:47:37 [Psychephylax]
C/C++ rock
21:48:13 [Psychephylax]
oh well
21:48:18 [Psychephylax]
time to move my crap to the other desk
21:48:23 [Psychephylax]
I'll be back later briefly
21:50:09 [davb]
Never needed to learn (et...)
21:50:12 [davb]
s/et/yet
21:59:52 [rbm]
mooo
22:42:22 [rbm]
rbm has quit
22:46:13 [lilo]
[GlobalNotice] Hi all. Services will be coming back momentarily, with some splits. Thanks for your patience.
22:46:39 [jerryasher]
jerryasher has quit
22:46:39 [docwolf]
docwolf has quit
22:46:39 [chump]
chump has quit
22:46:39 [shagster]
shagster has quit
22:46:39 [AaronSw]
AaronSw has quit
22:47:01 [chump]
chump has joined #openacs
22:47:01 [AaronSw]
AaronSw has joined #openacs
22:47:01 [shagster]
shagster has joined #openacs
22:47:01 [jerryasher]
jerryasher has joined #openacs
22:47:01 [docwolf]
docwolf has joined #openacs
22:47:11 [ChanServ]
This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog
23:17:05 [Psychephylax]
:)
23:17:34 [Psychephylax]
you guys really don't say much when I'm not here do you
23:37:08 [davb]
heh
23:37:31 [davb]
Some of us step away from the computer, or have actual work to do.
23:41:42 [Psychephylax]
Are you implying i have no work to do?
23:57:03 [rbm]
rbm has joined #openacs
23:57:13 [rbm]
* rbm heads home