--- Log opened Wed Mar 09 00:00:48 2011 00:43 -!- MichaelMaranda [~Michael@adsl-69-209-56-223.dsl.chcgil.ameritech.net] has quit [Ping timeout: 264 seconds] 00:45 -!- MichaelMaranda [~Michael@adsl-69-209-49-231.dsl.chcgil.ameritech.net] has joined #metagov 01:29 < conseo> mcallan: re 01:43 < mcallan> conseo: re? 01:50 < conseo> mcallan: resume 01:53 < mcallan> i haven't run it yet, i've been tied up with file permissions. making it so you can help admin the feed. 01:55 < conseo> ok cool 01:55 < conseo> i'd be interested in user attributes. how and where can i get them? 01:56 < mcallan> which attributes? 01:57 < conseo> e.g. irc name 01:58 < conseo> i don't need it now, but i would like to get the idea and then come back to you if i need sth. from you 01:59 < mcallan> ok - from semantic properties in the user's page of the pollwiki, i can set up an example whenever you need it 01:59 < mcallan> (at least i assume that's the best place) 02:00 < conseo> sounds reasonable, are some settings already pulled that way? 02:00 < conseo> some code i could stare at... 02:03 < mcallan> (moment) 02:04 < conseo> sure, i am just talking, nothing urgent 02:06 < mcallan> s'ok - two examples, first is config script that pulls config from wiki: http://u.zelea.com/system/host/u/home/v/votorola/poll.js 02:10 < mcallan> i thought i could get you a java example too, but it looks like i don't have one. But here's the Java part of it (and this is what the config script calls into too): http://zelea.com/project/votorola/_/javadoc/votorola/a/Pollserver.html#wikiCache() 02:10 < conseo> ok, thx 02:15 < conseo> btw. last time it got lost: makes it sense that one can edit drafts anonymously? i know that is how mediawiki works.... have you already thoughts on this? 02:16 < mcallan> yes I agree, anon is OK 02:19 < conseo> well i am not sure if this is good choice if everybody has her/his own drafts anyway. do you plan to use sighted versions or some other solution for mediawiki? 02:20 < conseo> i understand that for the discussions it is pointless as long as the revision pointers are fixed anyway, but for browsing positions this is an invitation for trolling 02:21 < mcallan> anon edit is *not* OK, you are saying? 02:22 < conseo> ehm, i am pro anon, i am just wondering about trolling 02:22 < mcallan> troll? or spam? 02:23 < conseo> trolling to take the more serious to deal with problem. 02:24 < mcallan> how does anon edit help the troll? 02:24 < conseo> well i can simply go to a person i don't like or even a random person and post some funny stuff in their position 02:24 < mcallan> it will be deleted 02:24 < conseo> by whom? 02:25 < mcallan> voters and author 02:25 < conseo> anon :-D 02:25 < mcallan> (or anon) 02:25 * conseo obeys to the anon master 02:26 < conseo> but it will still be visible for some time, right? so if you do it regularly you will be able to attack positions 02:26 < mcallan> no, then it's vandalism - equiv to spam 02:26 < conseo> sighted versions might help here though, so we can postpone possible problems for now 02:27 < conseo> at least there is a clear judge (in contrast to wikipedia) 02:28 < conseo> ok, i think it is not a serious problem for now, which impresses me to be honest 02:28 < mcallan> ok 02:33 -!- The_User [~jonathan@ip-109-90-5-182.unitymediagroup.de] has joined #metagov 03:34 -!- The_User [~jonathan@ip-109-90-5-182.unitymediagroup.de] has quit [Remote host closed the connection] 03:48 < conseo> mcallan: have you moved to gwt-2.2 yet? 03:54 < mcallan> conseo: no, looks like i'm still on 2.1.1. but i can move if u need it. 03:54 < conseo> no i don't need to, i just wanted to know if it is save to upgrade 03:54 < conseo> but it might make sense to do it early 03:55 < mcallan> ;-) my own rule is never upgrade till there's a need: http://zelea.com/system/ 03:56 < mcallan> (but i don't mind, if it's u doin the smoke testing) 03:59 < conseo> ok 04:05 < mcallan> conseo: c is now in the votorola group, so pollserver files are open to u 04:05 < conseo> ok cool 04:06 < conseo> btw. has the hosts.allow mask for kabel-badenwürttemberg.de worked? 04:06 < mcallan> (yes) also check ur bash history for sudo lines, you have ls and less access to pollserver mail 04:07 < mcallan> (gotta use sudo till i figure how to loosen mail dir permissions) 04:07 -!- The_User [~jonathan@87-166.eduroam.RWTH-Aachen.DE] has joined #metagov 04:08 < mcallan> conseo: hey c, let me know if u see any security holes on the server, so i can tighten 'em 04:09 < conseo> ok, i have no experience in that, but i'm interested in it, so i might give it a try 04:09 < mcallan> thx 04:09 < conseo> the same in the for you ;-) 04:10 < conseo> i really have to step my monitoring up 04:10 < mcallan> ok, it's a deal :-) 04:12 < conseo> deal :-) 04:14 -!- tawhuac [5960bef4@gateway/web/freenode/ip.89.96.190.244] has joined #metagov 04:22 < mcallan> conseo: i'm going to grab lunch, then i'll get the feed running 04:22 < conseo> ok, bon appetite 04:24 < mcallan> merci 05:11 -!- The_User [~jonathan@87-166.eduroam.RWTH-Aachen.DE] has quit [Read error: Connection reset by peer] 05:11 -!- The_User_ [~jonathan@87-166.eduroam.RWTH-Aachen.DE] has joined #metagov 05:53 < mcallan> conseo: i have to modify your logger fields a little, so they obey logging.properties 05:54 < conseo> ok, what is wrong? 05:56 < mcallan> a couple minor things, the abstract base classes are constructing loggers that never get used 05:57 < mcallan> no problem that, just confusing 05:57 < mcallan> but this: logger = LoggerX.i("MailHarvester.class") 05:57 < mcallan> should b: logger = LoggerX.i(MailHarvester.class) 05:58 < mcallan> else this logging.properties rule will not work: votorola.a.diff.feed = FINEST 05:58 < mcallan> (no problem, i'll fix them) 05:58 < conseo> ok, thx! 06:03 < conseo> where does valueFromRDF in poll.js:60 come from? 06:04 < conseo> and what is __hvvww_wiki btw. i can't grep-find it 06:04 < conseo> and of course google didn't find it either 06:05 < mcallan> you shelled in? 06:06 < mcallan> grep in /home/v/votorola 06:10 < conseo> ok it is simply a null checker 06:12 < conseo> brb 06:43 < mcallan> conseo: voharvester is catching exceptions and doing: e.printStackTrace() 06:45 < conseo> what is wrong with that? 06:45 < conseo> i have done that for debugging 06:45 < mcallan> it 06:46 < mcallan> (sry) 06:46 < mcallan> it's a daemon, so it should log errors - it has no console 06:47 < conseo> ok, sure it is just for now until i am sure the code roughly behaves as it should. i know that the stack traces are temporary 06:47 < mcallan> like this logger.log( Level.WARNING, "i'm having trouble doing this", e ) 06:48 < conseo> i have done that mostly, can you paste the stacktrace in the pad? 06:48 < mcallan> ok, but we won't see the exceptions, that's the problem - it fails and we don't know why 06:49 < mcallan> the errors are my fault, i'm using havoc's wiki, instead of u's, so all the rev #'s are wrong 06:49 < mcallan> but it appears to be working 06:49 < mcallan> i'll install on u, and see what happens 06:53 < conseo> ok 06:54 < conseo> if there are stack traces without logging then this is indeed my fault, i must have missed them 06:54 < conseo> i'll check 06:56 < mcallan> (i pasted it to the pad) it was no trouble, because i did have console. but no console on u, it will run as daemon (unless you want to 'screen' it later for debug) 06:59 < conseo> ok 07:30 < conseo> mcallan: but you get a log message there as well, not only the stack trace 07:32 < mcallan> true there was short log message 07:34 < mcallan> i got this 'WARNING: Could not get draftPair: No such page revision(s): 4047 4044', but it was buried in 1000 lines of other output 07:36 < mcallan> if in doubt, you must *always* print the full trace. And if you are daemon, never print it to console. If admin wants output on console, he will configure logging.properties for console output. 07:43 < conseo> what do you mean with "the full trace" ? is e.printStackTrace() not all you can get? 07:43 < conseo> i am organizing my lunch, brb 07:44 < mcallan> yes, but it has to go to the log, cause there is no console 07:44 < mcallan> (bon appetite) 07:45 < mcallan> conseo: so like i said, do something like this: logger.log( Level.WARNING, "unable to parse diff URL", e ) 07:46 < mcallan> and don't use 'print 07:46 < mcallan> (sorry) and don't use 'print' at all, except for temp debugging 08:05 < mcallan> it's running, let's give it some messages 08:17 < mcallan> conseo: i fed it a few weeks of metagov messages, and got 2 NPR exceptions (in pad) 08:18 < conseo> ok, stupid me 08:18 < conseo> happens if more than one diff string is found per message 08:20 < mcallan> the logs BTW are under /home/v/.java/, so u can shell in and see 08:22 < mcallan> it's still running tho, let's see if it harvested anything 08:22 < conseo> you can pull, is fixed now 08:24 < conseo> ehm, it keeps running, and repolls the maildir every INTERVAL seconds, as set in harvester.js 08:26 < conseo> huh your machine is under heavy load :-/ 08:27 < mcallan> it's counting votes 08:27 < conseo> oh ok 08:31 < mcallan> should i try again? shouldn't it have harvested at least something, the first time? 08:31 < conseo> it should 08:31 < conseo> i can't access the db 08:31 < mcallan> nothing in there 08:32 < conseo> what is the table layout? 08:33 < mcallan> id | title | author | addressee | url | poll | pos_url | summary | diff_url | sent_ts | parsed_ts 08:33 < conseo> ok, looks good. weird. 08:33 * conseo is studying the logs 08:33 < mcallan> i committed, please pull when u can 08:37 < mcallan> i'll feed it the same msgs 08:39 < mcallan> no exceptions on console this time 08:39 < mcallan> http://u.zelea.com:8080/v/xfDiff?form=json&pretty=y 08:40 < conseo> ok pulled 08:41 < conseo> when there is nothing in the db, then the array is empty 08:41 < mcallan> there is now (see above url) - only 2 messages, i bet if u grep there's a third or fourth in there (but not sure) 08:41 < mcallan> ur fix worked 08:42 < mcallan> oh, u can 08:42 < mcallan> (sry) 08:42 < mcallan> u can't grep, i forgot 08:53 < conseo> i got a hit at 9-Mar-2011 8:38:49 08:53 < mcallan> conseo: i want to figure out how postfix can deliver mail w/ looser permissions, so u can access the files. Have to be tomorrow. 08:54 < mcallan> u got two hits apparently, 2 rows in DB, and 2 bites from feed service 08:56 < conseo> that is really cool. but crossforum seems to be broken atm. on u.zelea.com 09:00 < mcallan> this is working: http://u.zelea.com/var/deploy/crossforum/#c=DumDum 09:00 < mcallan> what's broken? 09:01 < conseo> ok got an old link (which still showed the frame) 09:01 < mcallan> whoah, i actually am getting exceptions... 09:02 < conseo> ? 09:03 < mcallan> not sure yet 09:03 < conseo> i'll fix the logging next 09:05 < mcallan> ok, BTW u can tail tomcat in /var/log/tomcat-6/catalina.out 09:05 < mcallan> (that's where i see x's... ) 09:05 < mcallan> (anyway, that's for me - sorry for all the noise) 09:07 < conseo> well as long as nobody else starts talking i don't think it is a problem (maybe i am wrong here) 09:07 < conseo> we can also chat privately over irc 09:15 < mcallan> well, never mind - it looks like a glitch in the dummy feed - i'll look into it more tomorrow 09:16 < mcallan> conseo: but this is sort of working: http://u.zelea.com/var/deploy/crossforum/#c=DDum 09:17 < mcallan> it repeats though, in a loop 09:17 < conseo> i know 09:18 < mcallan> ok 09:18 < conseo> this is next (after logging fixes) 09:18 < conseo> very cool! thx for setting me up! i'll get sth. to eat now 09:18 < conseo> cu later/tomorrow 09:18 < mcallan> it's past my bedtime, but i'm going post another test message, see what happens 09:19 < conseo> ok 09:19 < mcallan> ah, ok - cu 09:20 < conseo> is your time set correctly? 09:20 < mcallan> on u? give or take a minute 09:20 < conseo> it is (sry) 09:20 < mcallan> s'ok 09:29 < mcallan> conseo: ha, it worked! 09:34 < mcallan> conseo: i stuck another log trace in the pad, possibly a minor bug. 09:35 < mcallan> but it's so cool to see it working! 09:36 < mcallan> ok, i'm away too 12:14 -!- tawhuac [5960bef4@gateway/web/freenode/ip.89.96.190.244] has quit [Ping timeout: 245 seconds] 12:27 -!- MarkDilley [~MarkDille@173-8-216-57-Oregon.hfc.comcastbusiness.net] has joined #metagov 14:39 -!- The_User_ [~jonathan@87-166.eduroam.RWTH-Aachen.DE] has quit [Remote host closed the connection] 15:13 -!- The_User [~jonathan@ip-109-90-5-182.unitymediagroup.de] has joined #metagov 18:15 -!- tropology [~Tropology@adsl-69-209-49-231.dsl.chcgil.ameritech.net] has joined #metagov 18:29 -!- MarkDilley [~MarkDille@173-8-216-57-Oregon.hfc.comcastbusiness.net] has quit [Read error: Connection reset by peer] 18:31 -!- MarkDilley [~MarkDille@173-8-216-57-Oregon.hfc.comcastbusiness.net] has joined #metagov 20:56 -!- MarkDilley [~MarkDille@173-8-216-57-Oregon.hfc.comcastbusiness.net] has quit [Quit: MarkDilley] 21:18 -!- The_User [~jonathan@ip-109-90-5-182.unitymediagroup.de] has quit [Read error: Connection reset by peer] 21:28 < conseo> mcallan: double scraping and logging is fixed now. u can pull 21:47 < conseo> mcallan: crazy what is possible nowadays in a browser: http://svg-edit.googlecode.com/svn/trunk/editor/svg-editor.html 21:59 < mcallan> conseo: hmm, maybe it crashes less often than inkscape. OK, pulling. 22:28 < mcallan> conseo: it's running now. I committed a change to logging levels because the "polling" message was filling logs. Hope it's OK. 23:36 -!- MarkDilley [~MarkDille@c-76-27-236-154.hsd1.or.comcast.net] has joined #metagov --- Log closed Thu Mar 10 00:00:21 2011