00:04:48 davb has quit ("Client Exiting") 00:52:41 markd2 is now known as shameer_abi_khan 00:53:06 shameer_abi_khan is now known as markd2 03:01:18 talli (~talli@lti-4.dialup.access.net) has joined #openacs 03:01:38 hello fellow martians 03:04:31 * markd2 beeps 03:14:12 markd2 has quit ("wheeeee") 05:19:25 talli has quit (Read error: 104 (Connection reset by peer)) 05:35:57 jim has quit (Remote closed the connection) 07:11:45 jim (~jim@12-233-225-152.client.attbi.com) has joined #openacs 11:20:23 barstool has quit (Read error: 110 (Connection timed out)) 11:31:10 morning everybody 12:21:18 hiya 12:29:07 hey jim 12:30:22 have you seen lars pinds oracle tips? basically the same as your script (pinds.com) 12:31:18 ms (~chatzilla@steigman.ne.client2.attbi.com) has joined #openacs 12:39:36 ahh :) cool :) 12:41:13 yeah, looks like he had the same concept as I did... I just got it from one of the acs install chapters 12:41:29 davb (~dave@rrcs-nys-24-97-22-204.biz.rr.com) has joined #openacs 12:41:37 hello 12:41:37 hello, davb 12:41:49 re davb 12:43:20 til: didn't you suggest to drop the table space with the user (since I created the user and the table space in one shot)? 12:44:38 i think markd said something like: better first do this and then that, but i can't remember exactly 12:46:13 the latest version of your script that you sent me did it the recommended way 12:46:35 til: ok... 12:46:50 how is your sig drill coming along? 12:47:04 hmm... I'm still having trouble... 12:48:28 before going there, I'll probably alter my script to produce files or something like that, or stream the pieces (creating, destroying the user/tblspace) so they can be streamed into svrmgrl 12:49:33 but, some good news (I hope it stays that way too), I think I found my hardware instability (bad ram) and fixed that 12:49:59 the computer is behaving well now 12:52:24 before I can say what the key sig drill problems are, let me get ready 12:54:37 markd2 (~markd2@h166-102-041-067.ip.alltel.net) has joined #openacs 13:00:31 talli (~talli@talli.dialup.access.net) has joined #openacs 13:00:31 davb has quit (Read error: 104 (Connection reset by peer)) 13:11:55 davb (~dave@rrcs-nys-24-97-22-204.biz.rr.com) has joined #openacs 13:12:19 ok... 13:13:05 first, if I have a form with several submit buttons (for diff purposes, oc), how can I set their action url separately? 13:13:57 -action doesn't seem to work... would I do -html { action url }? 13:15:37 you need to generate seperate
s for that 13:15:40 can that be done in html? have buttons in the same form do different actions? 13:15:43 jim, you actually have seperate forms 13:15:48 heh 13:16:21 dunno about the form manager, you can also have the forms go to one action, and the ndiscriminate there what button was pushed 13:18:24 well... what I was originally envisioning... was one of those two-box ("here's a buncha stuff in this one box, click and say "add to other list" to move it over there" 13:19:58 but stuff can move in more than one direction? so you need to specify which way? 13:20:33 also the two-box thing would do the ordering for the user, which you want to avoid i thought 13:21:12 til: well, they would only add one at a time, they would do so in order 13:21:32 if they didn't, it would append in a different order... 13:21:37 ok 13:21:53 also, I remember the multi dropdown idea 13:23:05 ok, i still hate VBA 13:23:08 :) 13:23:31 MBAs make more money :) 13:24:10 yeah. all that money for playing basketball 13:24:31 nono, those are MVPs :) 13:25:47 sheeeeesh.... those acs guys didn't document some of their calls... 13:26:54 however... major kudos to the fixer of the api browser :) 13:32:58 * rbm rubs his eyes 13:33:30 jim: you can give different names and values to the submit buttons and then discriminate what to check for according to the values you receive 13:40:29 brb 13:40:31 davb has quit () 13:44:06 davb (~dave@rrcs-nys-24-97-22-204.biz.rr.com) has joined #openacs 13:51:38 what args can you give to form create, other than the name of the form? 13:52:31 the docs say it accepts the (mandatory) name along with optional arguments, but doesn't say anything about them 13:53:09 I looked at the source... no clue 13:55:37 dunno. never used the form manager 14:05:14 rbm: hmm... I think I need a (re)primer on how information flows with forms... 14:05:39 wow. it's *really* raining here 14:06:19 jim: I thought you were using the auto form generation foo from openacs 14:06:50 * markd2 likes the robin-egg blue used for the forms 14:07:21 yeah, but I'm running into lots of problems, and it's likely cause I'm forgetting a bunch of stuff I used to know :) 14:10:00 yeah! i figured out where to put the parentheses in VB! 14:11:59 what's difficult about it? 14:13:08 the have to be unbalanced 14:13:37 heh 14:30:21 so I'm scrambling to find something that matches what I thought I used to know (like: form variables come into pages via ad_page_contract, and can go out to templates via the same call 14:36:00 markd2 has quit ("Bork") 14:49:25 markd2 (~Snak@h166-102-041-067.ip.alltel.net) has joined #openacs 15:00:26 if I get a submit, how can I get the label of the submitter? 15:00:55 don't know off the top of my head 15:01:06 one handy tool is to do an ns_set print [ns_getform] in the page somewhere 15:01:16 that'll spew all the form data to the server log 15:01:28 useful for reverse-engineering form behavior 15:01:52 ok 15:10:20 there's some utils in template::util that might convert that set to a onerow 15:17:45 hey all 15:23:10 markdfoo (~Snak@h166-102-041-067.ip.alltel.net) has joined #openacs 15:23:24 markd2 has quit (Killed (NickServ (Ghost: markdfoo!~Snak@h166-102-041-067.ip.alltel.net))) 15:23:34 markdfoo is now known as markd2 15:23:44 paje, alltel? 15:23:44 alltel are a bunch of wankers 15:28:03 hi Psychephylax 15:28:10 * davb conquers VBA 15:28:17 woo hoo 15:30:04 woo hoo foo too? 15:30:28 ok, so it's past my bedtime :) 15:30:35 heh 15:30:39 I still wanna get this thing going... 15:31:10 markd2: your idea was great... I made a quick extension... 15:31:27 set display [template::util::set_to_list [ns_getform]] 15:31:58 ad_page_contract {} -properties { display:onevalue} 15:32:08 awesome 15:32:09 then in the adp... 15:32:27 @display@ 15:39:35 it's freeeeeezing in the headend lab 15:39:38 brrrrrrrrrrrrr 15:41:28 talli has quit (Read error: 113 (No route to host)) 16:01:09 talli (~talli@xd84b5c59.ip.ggn.net) has joined #openacs 16:09:38 any idea why tcl upvar needs a # char before the level? 16:09:38 * davb misses the ns_db api 16:09:48 jim it doesn't necessarily 16:10:04 without the # means move up this many levels 16:10:11 or something like that :) 16:10:17 ohh 16:10:24 so it's an absoluter 16:10:26 yeah 16:10:31 gotcha 16:10:43 do I need a \#? 16:10:51 so it's not a comment? 16:13:40 markd2 has quit ("wheeeee") 16:17:45 you need a # is you want to set the absolute level to go to. 16:18:04 probably not a good idea though. i think you probably want to go up a certain number of levels 16:18:25 davb: ok... 16:18:45 there is this command, template::parse_level.... 16:18:59 it gives either the absolute or relative level 16:19:16 the usage examples use # 16:19:36 ah. if you can safely get the level, i guess its ok to use it :) 16:19:47 (but template::parse_level is actually a stack) 16:20:19 I just know how the command works, I don't understand the code that uses it :) 16:20:38 maybe there's another that grabs the top or something 16:21:16 they're saying the variables are in invocations of template::parse_adp (I know I'm getting the name wrong) 16:21:50 so template::parse_level is a stack of level numbers of stack frames where template::parse_adp is running 16:24:40 argh 16:24:49 jim, that hurts my head 16:25:01 VBA does not seem to have a way to check if a query returned any rows 16:25:14 when you check, it throws a runtime error because there aren't any 16:25:29 markd2 (~Snak@h166-102-041-067.ip.alltel.net) has joined #openacs 16:29:37 if you have stack frames like this 16:29:42 a b c 16:29:44 - 16:29:46 d e 16:29:51 - 16:29:53 f g h 16:30:19 and the stack frames are numbered from 1 at the top, and stack grows down, 16:31:14 say the parse invocations are at 1 and 3, then that variable should contain {3 1} 16:31:35 ah. 16:31:43 (and before stack frame 3 is created for that parser, would contain {1}) 16:32:48 so our stack just tells us which frames the parsers are running in (because that's what we're interested in (because the variables we want are there)) 16:37:40 (why do I need all this tho?!?) 16:51:24 * jim looks at acs-templating/tcl/form-procs.tcl, where he finds "upvar #$level $id:submission submission"... 16:54:26 jim: i would think the template api should hide all that from you. 16:54:41 * jim is waiting to not see it :) 16:54:44 heh 16:55:16 form handling is another area that don wants to see improved across the toolkit 16:55:16 tbh, I'm doing some WeirdStuff here... 16:56:04 temper that with "document what's there" tho :) 16:57:00 there's a template::adp_level and a template::parse_level 16:58:12 are those used by the other template procs though? 16:58:22 yeah, some of them 16:58:39 but the standard template procs are not doing it for you huh? 16:58:40 see, I gotta get values into those stack frames 16:58:48 oh, that seems icky :) 16:59:32 well, I'm using this werid validatation block that reaches down and puts a value in a var where my tcl is executing (I hope, anyway) 16:59:33 denshi (~chatzilla@adsl-216-62-223-193.dsl.rcsntx.swbell.net) has joined #openacs 16:59:43 so I started out doing uplevel 4 16:59:54 ok. its getting beyond my skill level :) 16:59:56 err upvar 4 ... ... 16:59:57 hi denshi 17:00:09 hello 17:00:09 bonjour, denshi 17:00:13 I found 4 randomly :) 17:00:17 ah. 17:00:24 oh god, paje has achieved sentience. 17:00:35 and that is so far in your skill level, it's near the center :) 17:00:37 paje, botsnack, and please don't take over the net. 17:00:38 thanks denshi :) 17:00:54 jim: i will admit that, i figure most things out randomly :) 17:00:58 and that? 17:00:58 i think that is not true 17:01:28 paje: you said the wrong one :P 17:01:29 jim: huh? 17:01:33 that? 17:01:34 that is not true 17:01:36 that? 17:01:36 that is not true 17:01:36 mmhmm :) 17:01:55 yeah! my duplicate entry detection code works! 17:04:22 # set the stack frame at which the template is being parsed so that 17:04:22 # other procedures can reference variables cleanly 17:04:36 yay! 17:04:37 variable parse_level 17:04:39 lappend parse_level [info level] 17:08:38 now, I'm getting the value in a var... 17:08:52 I'm getting -really- close now 17:14:27 davb: where can i find the calls to the comments api for static pages? 17:17:20 ms: it might be just one call 17:20:43 ms ? 17:20:59 the part that adds the comment link to the pages 17:21:05 yes 17:21:05 its in tcl/static-pages-procs.tcl 17:21:18 sp_serve_html_page I think is the proc 17:22:01 what's the proof that paje is smarter than my tuchus? 17:23:42 i thought that was one of the things that was so obvious it was accepted without proof 17:24:53 axiomatic 17:25:13 wow. and i have a pretty smart tuchus 17:25:49 thanks markd2! 17:32:41 thanks. i believe i have general comments working in a subsite aware manner now. 17:36:48 wow, thats great! 17:39:12 it was pretty simple. of course there may be some unforeseen complications. 17:44:24 sure. I would like to see what you did, but I am really short of time. 17:47:41 ms has quit (Killed (NickServ (Nickname Enforcement))) 17:48:31 ms__ (~chatzilla@steigman.ne.client2.attbi.com) has joined #openacs 17:49:26 i'll submit a patch to the sdm after i give it a thorough read through. 18:01:26 * davb loves the "trial by fire" method of learning, it is so efficient 18:02:02 yeah, but it burns alot if you have to do it for long 18:09:02 anlater has quit ("[x]chat") 18:10:47 jim: i am pretty much flame proof at this point... 18:31:14 Hmmm 18:31:22 * Psychephylax wonders if markd2 is awake 18:31:28 * Psychephylax waves a cookie in front of his nose 18:31:47 * markd2 wakes up 18:31:52 and smells the cookies! 18:31:58 And eats the cookies! 18:31:58 talilee (~talli@xd84b5c59.ip.ggn.net) has joined #openacs 18:32:05 Where can I get Oracle client? 18:32:11 talilee has left #openacs 18:32:30 you can get the CD and install the oracle client-side stuff 18:32:41 They don't have the standalone one? 18:32:45 I need a specific client too 18:33:08 8.1.7 18:36:54 tontsa has quit ("to die for") 19:03:55 say I have a link that looks like this... C# 19:04:21 should I html-escapize the #s? 19:04:24 i will not say such a nasty thing! 19:04:45 -man-, are you ever missing out! 19:04:52 I think you'd need to, otherwise the browser might interpret them as the go-to-an-anchor thing 19:05:01 you can always try it without. if it works in IE, it 19:05:05 'll work everywhere 19:05:46 where is the complete list of character encodings? 19:08:36 ns_urlencode will do it. It'll just whack it to the %XX format 19:09:07 ooh, cool 19:10:24 btw... 19:11:00 aolserver.com broke openacs aolserver api search... 19:11:15 ? 19:11:26 go to acs api browser, 19:11:36 put ns_urlencode 19:11:45 in the bottom one 19:12:00 oh yeah, the aolserver guys are really sloppy about maintaining links whever they redesign the site 19:12:15 jim: there is ad_urlencode or something also. 19:12:55 even better 19:15:47 unfortunately it's not taking care of the # 19:18:50 oog. it's thinking # is OK since it's the anchor character. drat 19:19:42 yeah 19:20:22 %xx is hexidecimal? 19:22:28 hmm, yea, looks that way 19:23:13 yep 19:24:51 ok, so I encode it so it looks like a , separated list all the time... 19:28:42 jim: do you really need the #'s in there? 19:31:58 it's probablably music related, and needs to be # 19:35:11 yeah, it's a drill on # key signatures :) 19:35:35 jim: are you passing # and regular notes in the URL variables? or are they all sharp? 19:35:57 right now, they're all sharped 19:36:04 http://www.shrapnelgames.com/gilligames/Space_HoRSE/index.htm 19:36:04 A: http://www.shrapnelgames.com/gilligames/Space_HoRSE/index.htm from davb 19:36:16 A:| New version of M.U.L.E. 19:36:16 titled item A 19:36:26 jim: ah, so they might NOT be... 19:36:28 whoa 19:36:50 * markd2 knew Dan(i) Bunten 19:37:12 neat 19:37:25 Ozark Softscape was active in the Little Rock apple user's group 19:38:28 A: inspired by MULE, no official affiliation 19:38:28 added comment A1 19:39:29 but check this out... I viewed the doc source, and the source shows it is encocding it; I was looking at the url at the bottom of the netscape window 19:40:09 oh, so netscape was unencoding it for you? 19:40:41 so I'd see the link "correctly", yes 19:41:22 markd2: so I take all that back, the # was getting encoded :) 19:42:27 what I'm wondering now, is (how |when |)will I get it decoded 19:42:51 the , separator is getting decoded too 19:43:06 err, encoded 19:47:49 jim: aren't you supposed to use ; 19:48:00 ;? 19:48:05 I remember ; 19:48:08 but where? 19:48:14 hm 19:48:15 nm 19:48:22 i was mistaken :) 19:48:27 anyways, it just started -working- :) 19:48:41 ad_page_contract should unencode it for you i think... 19:48:43 I took all that form crap out :) 19:48:55 yeah, it seems to be working now 19:49:13 don't need no stack frame internal thingy no moe 19:49:43 jim: so you are just createing links with the stuff in there? 19:50:44 yep 19:51:41 but I'm gonna encode the answer in a form that doesn't need 5000 submit buttons :) 19:52:31 anyone did an lremove or lconcat? 19:53:14 not since they've been outlawed in western PA 19:54:02 they been apparently outlawd in western TCL too 19:54:31 oh, oops :) 19:54:40 lreplace does what I want :) 19:57:51 markd2: i thought you were an outlaw. 19:57:58 since when do you listen to the Man? 19:59:22 now jes you wait a cottin pikin minnit... if marriage were outlawed, only outlaws would have inlaws... 20:12:54 if do something like this... set my_list [split something "delim"], then I say set my_copy $my_list and last I say lappend my_copy "something", do I also append something to my_list? 20:14:21 no 20:14:44 a list is just a text string like this : { item 1} {item 2} etc... 20:15:09 gotcha... and that's a list containing two lists, yes? 20:18:51 something like that :) 20:19:07 yeah it is, becuase item is an item and 1 is an item :) 20:19:44 oic 20:21:19 hah! I got the other part to work too! 20:22:08 click once on a sharp, it adds it to the list... then you can add other sharps in any order you want, but if you click again on any sharp, it goes byebye 20:22:38 so if I click on A# B# C# A# 20:22:50 my list will end up being B# C# 20:23:33 http://www.alistapart.com/stories/doctype/ 20:23:34 B: http://www.alistapart.com/stories/doctype/ from davb 20:23:46 B:|Fixing Your Site With the Right DOCTYPE 20:23:46 titled item B 20:24:05 jim: cool! 20:24:44 I wanted to get that in the forms way, but that was too weird... I could deal with all the stack frame stuff, if I could trust it all the time 20:27:03 solid as a rock this way 20:27:23 it should be pretty fast. that is how the new-portal rearranging code works. 20:27:57 * davb thought of a neat idea 20:28:23 BLURB: Asking interesting well-informed questions is a way of contributing to open source software 20:28:23 C: Asking interesting well-informed questions is a way of contributing to open source software from davb 20:28:47 davb: that's ridiculous! 20:28:56 ? 20:29:07 i find the best way to contribute is with flamebait 20:29:12 ah 20:29:39 like, "i heard that oacs developers smell better than zope's. is this true?" 20:30:14 it's true. 20:31:53 and who are you? 20:32:20 markd2 has quit ("wheeeee") 20:33:22 bye now 20:33:26 davb has quit () 20:34:49 talli is now known as bartool 20:34:54 bartool is now known as barstool 20:47:15 markd2 (~markd2@h166-102-041-189.ip.alltel.net) has joined #openacs 20:51:46 there :) I should be ready for rbm in a day or so :) 21:16:34 hmmm? 21:16:48 * rbm tries to make sense of jim's comment 21:17:57 I'm making animations with Cinema 4D for my multimedia class... 21:18:08 I just made a drop morph into a puttle 21:18:29 However, I don't know how to save the animation :-) 21:18:34 paje: seen jim? 21:18:35 jim was last seen on #openacs 26 minutes and 48 seconds ago, saying: there :) I should be ready for rbm in a day or so :) [Mon Apr 15 14:52:26 2002] 21:19:35 * markd2 scrolls back looking for goat references 21:23:45 Yay 21:23:49 time to jet home 21:23:55 Psychephylax is now known as Homiephylax 21:23:59 Yo 21:24:01 :-D 21:24:05 gitdown! 21:24:07 gitfunky 21:24:08 * Homiephylax runs away 21:24:21 * Homiephylax gitsdownfunky all the way to his car with a big grin 21:38:21 are there folks here that use 'screen'? 21:39:33 several, but not myself 21:39:52 just wondering if it'll auto-suspend if the net connection goes down 21:40:04 and if I could re-attach afterwards 21:41:16 I use screen 21:41:24 yay 21:41:34 I saw a demo of it at a linux meeting on saturday 21:42:00 just wondering if it's possible to reattach to a running screen session that wasn't detached from cleanly 21:42:03 If I lose my connectivity to the machine where screen is running (and that is connected to IRC) I just have to reconnect and reattach 21:42:08 sweet, 21:42:12 markd2: Yes, it is 21:42:39 That's how I never leave the channel (unless I lose connectivity to opn) 21:42:47 any security issues leaving a session sitting around? 21:43:03 more from an external attack kind of thing 21:43:14 if someone logs in as me, there's more things to be worried about =:-O 21:43:18 None that I know of. 21:43:20 I keep meaning to learn to use screen for multiple sessions. but instead I just keep buying larger monitors. 21:43:44 Yes, of course. I never leave screen sessions with me su'd to root for example 21:43:49 I have about 20 xterms open on 5 virtual screens. 21:44:06 wow 21:44:08 I tend to stuff shells into one emacs 21:44:14 but that's not too useful when the link goes dead 21:44:15 maybe I could find some kind of unix sysadmin/psychotherapist to help me with this problem. 21:45:38 I tried to learn to love emacs-as-a-desktop, but I just can't treat emacs buffers spatially. 21:50:09 I treat them by name rather than position 21:50:35 with short easy-to-type shortcuts for stuff I really frequently use 21:51:47 even so, I haven't figured out how to scope my emacs buffers by project. 21:52:21 I can work concurrently on several things provided they all have their own desktop. 22:08:09 markdfoo (~Snak@h166-102-041-189.ip.alltel.net) has joined #openacs 22:08:25 markd2 has quit (Killed (NickServ (Ghost: markdfoo!~Snak@h166-102-041-189.ip.alltel.net))) 22:08:35 markdfoo is now known as markd2 22:54:53 til has quit (Read error: 60 (Operation timed out))