00:01:43 loggy has joined #openacs 00:01:43 topic is: Welcome to the OpenACS Helpline | http://www.openacs.org/ 00:01:43 Users on #openacs: loggy Psychephylax shagster_ rbm chump AaronSw KarlL abbaJ 00:01:43 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 00:25:23 yesh 00:33:43 davb has joined #OpenACS 01:01:19 davb has quit 01:01:41 davb has joined #OpenACS 01:18:38 Wohoo. WOrk can progress. I finally got sound working again! 01:27:47 http://web.oreilly.com/news/docbooklic_0901.html 01:27:47 E: http://web.oreilly.com/news/docbooklic_0901.html from davb 01:28:11 E:|Docbook the Definitive Guide Released Under GNU License 01:28:11 titled item E 01:39:13 hey 01:39:19 ho 01:39:46 heh 01:39:48 I have a dilemma 01:39:57 I can skip a day of class to go to an XML class from work 01:40:03 or I can just say no 01:40:12 Do you want to go to the XML class?? 01:40:23 I would like to go to learn 01:40:26 Where will you learn more useful information. 01:40:29 lemme see when my tests are 01:40:37 Good idea. 01:43:26 no tests 01:43:31 one comes close 01:43:47 It's on Th but the class is on Tuesday/Wed 01:48:37 hmmm 01:48:43 * Psychephylax reads his online stuff 01:49:15 I am building a page to set categories. I am trying to figure out what the adp will need to process the request. 01:50:40 How about this. Should I have a seperate tcl page for add, remove or just present a list of categories, and you can check/uncheck them, then the next page compares it to the existing categories and sets them? 01:51:33 I have to do the same thing 01:51:39 where it's "problem type" 01:51:47 Like "Car knocked out tree in Freeport" 01:51:54 and "Poor modem signal" 01:52:10 I'm going to have a page for adding and a page for hiding 01:52:17 Keeps it separate 01:52:26 Dang! 01:52:38 I really have to start actively submitting my resume to a bunch of these companies 01:53:13 couldn't hurt. I had two calls today about new work, but I wasn't home :( hopefully I can call them back tomorrow. 01:53:35 Cell phone man! Cell phone! 01:53:37 :/ 01:53:48 It gets you a job...or brain cancer 01:53:57 Anyways 01:53:58 Yeah I have one. turned off at home :) 01:54:12 I must must must start submitting my resumes in the next 2 weeks 01:54:24 most places have resume deadlines by early october 01:54:56 Heh 01:55:07 You know...I wanna smack my boss over the head with a big heavy book 01:55:16 maybe Oracle Complete Reference 01:55:19 or the Bible 01:55:22 Or War and Peace 01:57:18 You know...he's a brilliant man with a cat named spot but he seriously has some problems :/ 01:57:30 I gotta figure out how to deal with it on Wed 01:57:42 well good luck. 01:57:48 You know it's funny 01:58:27 I emailed telling him I need the SNMP script working in some shape or form so I can do my tcl/adp pages and get it to go playing in the database 01:58:38 So he replies to me..."Don't do the SNMP stuff, work on groups" 01:59:08 The group stuff is being done by OACS porters...I will have minimal work to fix it...But I will definetly have to rewrite the SNMP script... 02:01:21 Fun. 02:01:36 heh 02:01:38 Yeah 02:01:48 I will need a master list of all possible categories. Should I stuff that into an array or nsv or something? 02:01:54 I think I'm just gonna tell John that Marc is not a good boss 02:01:58 What's an nsv? 02:01:59 Or mabe cache it. 02:02:18 well 02:02:27 The way I was thinking is make it into a table 02:02:29 special AOLserver variable. It exists in all interpreters and works like an array. 02:02:34 oh 02:02:43 I was thinking of a database table 02:02:45 It is a table already. 02:02:48 oh 02:02:53 So just select from it ? 02:03:17 I probably just should because these are all admin pages, so I can just doa select from cr_keywords 02:03:21 and not worry about it. 02:04:46 Man, stock market is nutty 02:05:08 always has been 02:05:16 no, I mean extra today 02:05:37 what happened? 02:05:49 First day it opened since Tuesday 02:06:01 It went waaaay down but not too bad 02:06:28 things are getting back to normal around here 02:06:38 ok, so I have keyword_id, heading, description. I want to get them all so they can be displayed on the page. 02:06:50 But I don't want to use 3 seperate lists... 02:06:57 maybe a list of lists... 02:07:36 heh...before I contribute any more suggestions to you....You must sign an agreement that you are aware that I do not know anything and my suggestions might not be optimal 02:07:55 no problem. I have been giving you bogus advice all along! 02:08:06 figures :P 02:08:31 3 lists? 02:09:13 I have say 10 categories. I need to retrieve the keyword id, heading, and description of each. 02:09:29 from a database? 02:09:31 So i figure a list with 10 lists of keyowrd id, heading, desc... inside 02:09:39 Yeah. There is db_list_of_lists 02:09:48 why don't you just make a table 02:10:15 where each of those things -> keyword_id, heading, description into a separate column? 02:10:20 yes. 02:10:51 then it's just select heading, description from categories where keyword_id = 'blah'; 02:10:51 what luck, the database API docs in the ACS Kernel documentation and ACS Developers documentation are different! 02:11:03 Docs...pshhh lol 02:11:28 Returns a Tcl list, each element of which is a list of all column values 02:11:28 in a row of the result of SQL query sql. If 02:11:28 sql doesn't return any rows, returns an empty list. 02:11:28 (Analogous to database_to_tcl_list_list.) 02:11:36 db_list_of_lists 02:12:31 hmmm 02:13:05 Explain to me what you're doing 02:13:14 You have categories of keywords? 02:13:36 Table: cr_keywords has 3 columns, keyword_id, heading, description 02:13:52 I want to get all the categories and information to present a list to pick from to the user. 02:15:56 ok 02:16:08 And how do you plan on presenting this to the user? 02:16:31 multiple select list I think, soyou can click on 1 or more and hit submit. 02:16:37 I have a similar problem...I was hoping for a drop down box from html forms 02:17:00 Yeah, like that but a select list allows multiples, but it doesn;t drop down, always open. 02:17:05 oh ok 02:17:09 let's see 02:17:13 * Psychephylax goes to webmonkey 02:18:03 hrm... 02:18:23 I _guess_ you'd have to calculate the number of keywords you have 02:18:54 Then, in a loop create 02:18:57 or something similar 02:19:11 hmmmm... just use foreach 02:19:22 it iterates through a list. 02:19:31 well, either way...a loop to make a new form entry for every new keyword 02:20:38 Wait. templating has a tag. It iterates through a list for you. 02:20:48 there ya go 02:20:52 Use that 02:21:06 I'm sure there's more than one way of doing the list creation 02:21:22 Cooooool 02:21:27 * Psychephylax is going to apply to FBI 02:22:06 good idea. 02:22:29 so I can;t stick an arbitraty .tcl file in www/ and have it work?? 02:22:43 What do you mean? 02:22:59 Actually, you can as far as I understand the system 02:23:15 I created categories.tcl to just spit out a list of categories to see if my query works. 02:23:30 Because the request processor picks the best file with that name 02:23:48 and I think it can actually be either an adp (first choice), tcl (second choice), folder (third choice) 02:24:07 yeah it didn;t work. went to directory listing of acs-subsite/www 02:24:19 Oops. I stuck it in the wrong server 02:25:09 Heh 02:25:28 Thats the problem having 2 different openacs installs. I have the porting version and my development web site version. 02:25:28 I can intern at FBI 02:25:36 :/ 02:25:41 * Psychephylax is happy he does not have that problem 02:25:52 That angers me 02:26:02 My GPA is 2.94...Only .06 away from a 3.0 02:26:11 And most companies want a 3.0 02:26:15 those bastards... 02:26:17 Well there are enough. 02:26:28 There are enough what? 02:26:45 3.0s. I don't have any sort of technology degree at all. 02:27:01 And I have a correspondingly crappy day job. 02:27:23 What's that? 02:27:32 I work for New York State 02:27:36 lol 02:27:37 Nice 02:27:48 What part of NYS? 02:27:50 They pay me to check my email and hack on OpenACS-4 02:28:05 If the pay is good..why not. right? 02:28:08 well they pay me to sit around, I do that stuff so I don't go insane 02:28:27 At least their firewall lets everything through 02:28:45 * Psychephylax pictures dave sitting in the center of a huuuuge room with a computer in the center and a monotonous water dripping sound 02:28:48 I work at PERB (check my reverse DNS during the day sometime) 02:29:11 PERB? 02:29:25 Public Employment Relations Board 02:29:30 That's not like a secret acronym for PERV 02:29:33 oh ok..good 02:29:38 We work with public employers and unions 02:29:43 Cool, so you can get me a job? 02:29:45 ;/ 02:29:56 Get me a union job where I can do nothing ;) 02:30:02 I am a good counter strike player! 02:30:16 I am not union. 02:30:24 You got connections :P 02:30:27 Take a test. 02:30:30 Nope. 02:30:36 heh 02:30:45 You work up in Albany? 02:30:50 Actually if you have 60 credits of CS you can become a Programmer Analust 02:30:56 Woohoo... 02:30:57 s/lust/lyst 02:31:04 I have more than 60 02:31:13 Going to be like 90 or so after this semester 02:31:16 And 2 degrees :) 02:31:17 If you get a bachalors you can get a senior P/A 02:31:20 I can program and add! 02:31:26 Hmmm 02:31:28 Yes I work in Albany 02:31:38 Where are these P/A jobs? 02:31:43 check out www.cs.state.ny.us if you are really interested 02:31:46 Mostly albany. 02:31:54 Hmmm 02:31:56 But some all over. 02:32:06 I'd like one in NYC or on Long Island 02:32:17 you know where LI is right? 02:32:21 NYC is probably the next best bet. 02:32:22 Yes. 02:32:26 ok 02:32:41 You know where Port Jeff is? 02:32:49 no, but I have heard of it. 02:32:52 Port Jefferson/Port Jeff 02:32:56 Hmmm 02:33:11 ok, instead of me sitting here breaking my head...What places do you know on Long Island if any? 02:34:14 None really. I never vistied I have seen it on a map. I know there is Nassau and Suffolk Counties 02:34:21 Right 02:34:24 I live in Suffolk 02:35:04 Good 02:35:10 * Psychephylax was watching the news 02:35:36 Management of some upscale place in NYC wanted the doorman to remove the US Flag from the lobby because it wasn't "autorized" 02:35:45 Everyone got pissed and yelled at the management 02:35:54 Psychephylax: do you know about the tcl/xql file watch feature? 02:35:56 Good 02:36:06 Nope... 02:36:36 If you go to the APM and select a package, go to manage file information. 02:36:42 It shows a list of all the files in your package 02:36:42 right... 02:36:49 yes I am aware of that 02:36:55 If you click on watch it will reload the file every time it changes. 02:37:02 oh 02:37:04 very cool 02:37:10 I'll set that up at work on Wed 02:37:15 * Psychephylax is taking tomorrow off ;) 02:37:17 You have to re-watch stuff when you restart the server 02:37:24 oh 02:37:30 reload does the same..no? 02:37:45 That's not very efficient then :/ 02:37:50 yeah, you have to rewatch. I 02:38:07 Its not perfect, but handy. Eventually I think it will be able to "stick" 02:38:44 heh 02:38:50 Reload does the same thing tho 02:41:27 it's weird 02:42:05 Like I am not American...and before Tuesday I was not as attached to this place as I am now 02:42:11 yeah. 02:42:27 I got my little flag on the back of my car :/ 02:42:28 reload a tcl file? watch reloads it every time it changes.. 02:43:14 well, I don't know, I _just_ started doing ADP/TCL 02:43:25 It was mostly SQL/Oracle stuff before 02:44:31 aha. 02:44:55 ¿ 02:45:01 I have a problem with my TCL file. I hate this. It says a proc doesn't exist, which means I stuck a quote or bracket in the wrong spot somewhere... 02:45:12 oh boy! Fun 02:45:22 Use XEmacs...It shows you brace completion 02:46:00 I have emacs 20. Its really cool! 02:46:36 It even includes an emacs psychiatrist! 02:46:50 or 21 whatever the new version is. 02:47:20 Xemacs or emacs? 02:47:23 I like XEmacs more 02:47:43 emacs. 02:48:00 I learned emacs first and the little things always bugged me in xemacs. 02:49:01 crap. I have two tcl library files with the same name. I thin thats whats wrong! 02:49:21 s/thin/think 02:50:32 nope! 02:50:34 :) 02:53:25 I might have to add them to the .info file... 02:53:39 hrm 02:53:41 I don't get it 02:53:54 I can't view pictures uploaded up to the server 02:54:08 thats not right... 02:54:58 ok 02:55:03 this is even more messed up 02:55:34 hmmm 02:55:42 any file I upload doesn't show up right 02:55:48 thats not good... 02:56:29 weird. I'll have to check tomorrow... later 02:57:04 davb has quit 02:58:09 bye :/ 03:01:19 Psychephylax has quit 04:17:31 wtem has joined #openacs 04:21:28 wtem has quit 04:59:10 wtem has joined #openacs 05:09:15 i've got one last pl-pgsql function to port (i know, i know late in the game) 05:09:33 any one around to help me debug? 05:11:26 guess not... 05:18:36 wtem has quit 06:34:15 andy__ has joined #openacs 06:34:40 something bad happened to my homepage module 06:35:26 andy__ is now known as andyn 06:35:37 anyone able/willing to help me out? 06:40:41 sorry i got it 06:40:46 stupid mistake on my part 06:41:55 andyn has quit 06:47:54 sinaptico has joined #openacs 06:48:04 hello 07:42:45 rbm has quit 07:43:21 rbm has joined #openacs 07:46:58 sinaptico has quit 08:44:55 KarlL has quit 08:45:00 KarlL has joined #openacs 09:06:14 KarlL has quit 09:06:17 KarlL has joined #openacs 10:28:16 ola has joined #openacs 11:35:02 Disconnected from irc.openprojects.net (ERROR :Closing Link: loggy[xcdfddb76.ip.ggn.net] by forward.openprojects.net (Ping timeout for loggy[xcdfddb76.ip.ggn.net])) 11:35:11 loggy has joined #openacs 11:35:11 Users on #openacs: loggy ola KarlL rbm shagster_ chump abbaJ AaronSw 11:35:11 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 11:49:29 ola has quit 12:16:57 markd2 has joined #openacs 12:48:28 markd2 has left #openacs 12:58:04 davb has joined #openacs 13:41:39 OK. I added a tcl file to a package, but it does not seem to be loaded at server startup. 13:42:19 I made sure the tcl file and xql file are in the package.info file. 14:30:23 Weird. FOr some reason the tcl files I created dont have execute permission even for the file owner. The other files I created DO have execute. 14:31:54 didn't help though...