--- Log opened Thu Sep 01 00:00:07 2011 --- Day changed Thu Sep 01 2011 00:00 < mcallan> (i wish we could do that with static files, like .css. but that's again another issue) 00:00 < conseo> ok a/diff/feed then 00:00 < mcallan> yes, sounds good 00:00 < conseo> ok, i'll finish everything up and ping you 00:03 < mcallan> ok, off to lunch 00:29 < conseo> mcallan: einen guten :-) 00:32 < conseo> mcallan: commons-lang doesn't have a txt file and i can't find its dependency 00:32 < conseo> could you have a look? 00:37 < conseo> ok, it is mine :-) 00:39 < conseo> mcallan: how should i write the commit message again? 01:36 < mcallan> conseo: single sentence followed by newline, then any amount of text 01:36 < mcallan> only the first line is shown in summary 01:37 < mcallan> conseo: i deleted commons-lang in latest revision, it is not used 01:56 < conseo> oh, it is used by webharvest i found out on runtime 01:56 < conseo> i have moved it 01:57 < conseo> can you revert? 01:57 < conseo> otherwise i readd it 01:58 < conseo> mcallan: ? 02:07 < conseo> (i'd like to go to bed and i am finished, i'd like you to be able to pull... :-) ) 02:07 < conseo> you can then give me feedback till tomorrow 02:56 < mcallan> sorry c, i was distracted 02:57 < conseo> ok, you can pull now 02:57 < conseo> mcallan: just read the commit message 02:57 < mcallan> how come? i don't understand 02:58 < mcallan> i guess you want me to pull so you can set it up on the server? 02:58 < conseo> yep 02:59 < conseo> should be pretty easy to refill the db quickly 02:59 < conseo> just one shell command after pull and rebuild 02:59 < mcallan> ok, pulling... 03:06 < mcallan> conseo: this takes time, because i have to review the diff first. if you want, you can paste the commit message (i can't see it yet) 03:07 < conseo> hmm, what do you mean? 03:07 < conseo> with review the diff first 03:09 < conseo> doesn't it just update? 03:09 < conseo> do you have to merge sth.? 03:10 < mcallan> i mean i review all the changes, just roughly. 03:10 < mcallan> doing that now... 03:10 < mcallan> i don't pull straight into my repo 03:11 < conseo> ok 03:13 < mcallan> FakeFolder :-) 03:16 < conseo> :-) 03:19 < mcallan> jars, jars, jars ,,, 03:23 < mcallan> building for smoke test... 03:28 < conseo> mcallan: i have just fixed a hickup in the constructor of DiffMessage, so now it really puts the url string in the Message bites 03:28 < conseo> (just to let you know, don't know how difficult it is for you to repull) 03:29 < conseo> http://whiletaker.homeip.net:8080/voff/xf/#c=DDum the result 03:29 < mcallan> repulling... 03:33 < conseo> mcallan: i cannot access the db, can you drop the table for me then? 03:33 < mcallan> i guess this is where i should read the commit message... 03:33 < conseo> yep 03:34 < mcallan> i must do this on my workstation first, it will take a few minutes to do all tests, jars have changed... 03:34 < conseo> ok 03:34 < conseo> just run the commands in the xmls afterwards if you don't mind. it should be pretty easy 03:35 < conseo> at least it was on my server after pushing the changes 03:38 < mcallan> conseo: if i just drop diff_messages, i should be ok on my workstation right? i will not test server side of diff feed myself, but leave that to you 03:38 < conseo> ok 03:38 < conseo> yep 03:43 < mcallan> conseo: Feed request failed: com.google.gwt.jsonp.client.TimeoutException: Timeout while calling http://havoc.zelea.com:8080/vdev/xfDiff?form=json&since=0 03:44 < mcallan> because of empty table, i guess? 03:44 < conseo> you need to run vowebharvester first 03:44 < conseo> yes it is even not there, because you dropped it (?) 03:45 < conseo> just run the irssilog.xml file, it should give you one match quickly 03:45 < conseo> as is stated in the irssilog.xml file 03:46 < mcallan> instead i will file a bug. :-) i think it should just work, and show no diff messages? or better, print a config level warning in the log 03:46 < mcallan> it should not refuse to respond to client, tho 03:46 < conseo> ok 03:47 < mcallan> don't fix now, i will finish building to server for u 03:47 < conseo> maybe spit some error bite :-) 03:47 < conseo> ok 03:48 < mcallan> that would be ok, but warning on server side log is easier 03:49 < conseo> sure 03:49 < mcallan> deleting table from other vote-servers, i have too many of them... 03:53 < mcallan> building to server... 03:54 < mcallan> conseo: to be sure, i will not be restarting voharvester, will i? 03:54 < conseo> how should it exactly respond? with an empty json? 03:55 < conseo> you have to stop it 03:55 < conseo> it might crash otherwise on the next diffmessage, since the table layout has changed 03:56 < mcallan> stopped, and never to start again? no, it *is* to start again 03:56 < mcallan> i thought it didn't work anymore as a deamon? or what? 03:56 < mcallan> i will just leave it for you :-) 03:56 < conseo> the binary doesn't even exist anymore 03:57 < conseo> just have a look at pipermail.xml how to run it 03:57 < conseo> it is really only one command 03:57 < conseo> (shell command) 03:57 < conseo> formatted as you wished (for cron jobs) 03:57 < conseo> i can do it, but i would like to know if you are comfortable with it 03:58 < mcallan> in that case, it must be documented, and i will follow the docs. that's the best course to take, anyway. i need to know how to run it 03:58 < mcallan> i will start the server without it, for now 03:59 < conseo> :-( 03:59 < mcallan> building... 03:59 < mcallan> what do you mean? 04:00 < mcallan> why :-( 04:00 < conseo> i have it documented in the scripts themselve for now, i will add it to the docs later/tomorrow, but it is really only one shell command 04:00 < conseo> do i have access to havoc? 04:00 < conseo> or what is your plan for me now? 04:00 < mcallan> no, i will take care of havoc, she's ok... 04:01 < mcallan> well, i lied about getting you to run it, sorry about that... 04:01 < mcallan> because do you agree, it is best for me to test it the way an admin would run it? 04:02 < mcallan> i mean from the docs, and all? 04:03 < mcallan> maybe i'm wrong... 04:03 < mcallan> momento senior... 04:03 < conseo> i have written that header in the script as a quick in place doc 04:04 < conseo> i can document it, but it is only the parameters, which should be clear to you 04:04 < mcallan> i'm wrong, your right... don't want it broken even for a night 04:04 < mcallan> (that rhymes) 04:04 < conseo> lol 04:05 < mcallan> ok, tomcat running 04:06 < mcallan> reading... 04:07 < mcallan> http://zelea.com/project/votorola/a/diff/feed/pipermail.xml 04:08 < mcallan> launch it, and it will run and then end, right? to be sure, it is *not* a daemon? 04:08 < conseo> yes 04:08 < mcallan> yes it is not? :-) 04:08 < mcallan> :-))) 04:09 < conseo> it is *no* daemon :-D 04:09 < mcallan> okkkk... 04:09 < conseo> should the feed just response with empty json on error or with sth. else? 04:10 < mcallan> oh, i forgot... 04:10 < mcallan> whatever makes sense for client. if there is 1 bite it responds with 1 bite... 04:11 < mcallan> if 0 bites, it responds with 0, i guess 04:11 < conseo> and on error? with 0? 04:12 < conseo> you mean the client feed should never get a problem if the servlet has a problem 04:12 < conseo> right? 04:13 < mcallan> nooo, if truly an error, then respond with error. see here for example: http://zelea.com/project/votorola/_/javadoc/votorola/a/count/CountWAP.html 04:13 < mcallan> conseo: but having no diff bites to report, because there *are* none, that is not an error. it is normal, right? 04:14 < conseo> but not that there is no table. that means the admin hasn't even cared to set the diff feed up 04:14 < conseo> it should offer it then, right? 04:14 < conseo> shouldn't 04:14 < mcallan> offer what, to whom? 04:15 < conseo> the servlet to crossforum? 04:15 < conseo> should the servlet spit an error in the response if no diff_messages table exists or is this a normal situation 04:16 < mcallan> it is normal on a clean install, and not an error 04:16 < conseo> then the json should be empty i guess 04:17 < mcallan> rule is: it should run out of the box, where possible 04:17 < mcallan> otherwise it is more work for you 04:17 < mcallan> they will ask (like i asked) why am i seeing error messages? 04:18 < mcallan> and you will have to answer 04:18 < mcallan> and they will be ticked off, etc. 04:18 < mcallan> (i'm no ticked off, tho :-) 04:20 < mcallan> take time, and think about what's the best. an informative dummy bite is ideal, but informative log message is easier (they will have log set up, because it's part of the install instructions, and they test for that) 04:22 < mcallan> conseo: #diffBridgeUrl=http://u.zelea.com:8080/v/w/D 04:23 < mcallan> should be just zelea.com... i guess 04:23 < conseo> it was u.zelea.com in the past 04:24 < conseo> you/i can add a pattern for both or even several patterns to match to diff-urls 04:24 < mcallan> is that possible currently? 04:25 < conseo> yes 04:25 < mcallan> how? 04:26 < conseo> have a look at MessageParser() 04:26 < conseo> public MessageParser(final String dbuser, final List dps) 04:26 < mcallan> i meant possible for admin... 04:27 < conseo> adjust pipermail.xml :-) 04:27 < conseo> the constructor is directly called in the first script line 04:28 < mcallan> it's not config, it's code, and admin cannot change it... 04:28 < mcallan> because it will get clobbered on re-install 04:28 < mcallan> so this is for later, i guess 04:28 < conseo> you said that i should target the java code, then i'd only have to maintain the javadocs and could point the admin there 04:29 < conseo> but anyhow, it is should be easy to fix 04:29 < mcallan> you are talking now about the api for the diff feed? 04:29 < mcallan> api is only for developers, never admin 04:30 < mcallan> admin cannot code 04:30 < mcallan> api is needed, don't get me wrong 04:30 < mcallan> heavens to betsy, i am typing too much... 04:30 < conseo> sure 04:30 < mcallan> you got skype? 04:30 < conseo> does it work? 04:31 < mcallan> i know it's late... 04:31 < mcallan> should i just do it? 04:31 < conseo> late, hah, it's half past ten in the morning :-D 04:31 < conseo> yep, run it 04:31 < mcallan> ah it's early then ;-) i run this as v? 04:31 < mcallan> ofc 04:32 < mcallan> here goes... 04:32 < mcallan> Exception in thread "main" java.io.FileNotFoundException: pipermail.xml (No such file or directory) 04:32 < mcallan> easy to fix... 04:33 < mcallan> running 04:33 < mcallan> holy christ... 04:33 < conseo> hehe 04:34 < mcallan> my log has a million info messages 04:34 < mcallan> 100 a second 04:34 < conseo> i know, i have to stop that ... 04:34 < conseo> debug output 04:35 < mcallan> it's got about 20 messages... still going... 04:35 < mcallan> oh man c, log that stuff at finest (if at all) :-) 04:36 < conseo> it is not my tool, it is webharvest 04:36 < conseo> i have to configure it i know 04:36 < mcallan> ok 04:37 < mcallan> well, it's a big piece of work. and so far, it pretty much works... done. 04:37 < conseo> good. 04:38 < mcallan> but: Feed request failed: com.google.gwt.jsonp.client.TimeoutException: Timeout while calling http://zelea.com:8080/v/xfDiff?form=json&since=0. Ready to retry. 04:38 < conseo> you have to restart tomcat (the error happened in the init routine of the servlet) 04:38 < conseo> (on my todo) 04:38 < mcallan> restarting... 04:40 < mcallan> conseo: http://zelea.com/y/vw/xf/#c=DV&s=G!p!sandbox 04:40 < mcallan> it's just empty 04:40 < conseo> (yep the timeout for the ticker... wait 10 mins) 04:41 < mcallan> ah yes... 04:41 < mcallan> i forgot 04:41 < conseo> it is a bit pointless now 04:41 < mcallan> coffee break... 04:41 < conseo> still it ensures that everybody looks at the same state of information 04:42 < conseo> wow, the selector looks really nice here 04:42 < conseo> is it supposed to rescope 04:42 < conseo> (firefox 6 here) 04:48 < mcallan> thanks, so much work that. no rescope, uses 'a' tokelet, not 's' 04:48 < mcallan> 'a' for "account", i guess 04:51 < mcallan> conseo: see selector here: http://havoc.zelea.com:8080/vdev/xf/#s=Sys!p!sandbox&c=DV&a=qUS$ 04:52 < mcallan> both our browsers did a 2nd poll of this server, a minute ago 04:52 < mcallan> i mean *the* server 04:53 < mcallan> they may have missed the cut off, meaning another 10 minutes? 04:53 < mcallan> not sure how it works 04:54 < mcallan> we can just do our own request, ofc: http://zelea.com:8080/v/xfDiff?form=json&since=1314866504852&pretty=y 04:54 < mcallan> it's empty 04:56 < mcallan> table is not empty, however 04:56 < mcallan> this is not empty: http://zelea.com:8080/v/xfDiff?form=json&since=0&pretty=y 04:58 < conseo> it is scoping on sandbox, right? 04:58 < conseo> DDum works 04:59 < mcallan> yes, it does... 05:00 < mcallan> oh well, i needed a coffee anyway... 05:00 < mcallan> conseo: it used to have 2 messages on that sandbox poll 05:00 < mcallan> i mean 2 bites 05:01 < mcallan> remember? 05:02 < conseo> yep 05:02 < conseo> hmm 05:02 < conseo> no idea 05:02 < mcallan> u.zelea.com vs. zelea.com ? 05:02 < conseo> i'll get some rest. at least it is in some workable state now 05:02 < conseo> zelea.com 05:03 < mcallan> yes, that's true. i meant that could be the reason 05:03 < conseo> ah, well, yes 05:03 < conseo> possible 05:03 < conseo> though the url was quoted before too 05:03 < mcallan> they *were* recent messages, thomas did them, as a test 05:04 < mcallan> here it fine: http://zelea.com/y/vw/xf/#c=DV&s=G!p!owdo 05:04 < conseo> no was configured the same 05:04 < mcallan> so a minor problem... 05:04 < mcallan> i say, it works! 05:05 < conseo> cool 05:05 < conseo> finally 05:05 < conseo> no i can something visible 05:05 < conseo> can hack 05:05 < conseo> now i can hack something visible 05:06 < conseo> the signs are obvious, i need to get some rest 05:06 < mcallan> good work too, because this is much more flexible than before 05:06 < conseo> definetly 05:06 < mcallan> yes, get some rest. well deserved! 05:06 < conseo> next i will have to think about proper feed controls 05:07 < mcallan> in xf? 05:07 < conseo> the link has to move up there and we might want to talk about that tomorrow 05:07 < conseo> yep 05:07 < mcallan> cool, i will show you how to add controls to toolbar 05:07 < conseo> great 05:07 < conseo> n8 :-) 05:08 < mcallan> n8 c, cu 2morrow :-) 05:12 < mcallan> conseo: foolish me, thomas posted those diff urls in irc! probably #metagov, maybe #votorola 05:13 < mcallan> so no problem... rest well 05:14 < mcallan> and goodnight to you too, xfbot 06:22 < mcallan> conseo: dummy feed now has example of how to add feed controls to toolbar: http://zelea.com/y/vw/xf/#c=DumV&s=G!p!sandbox 06:29 < mcallan> the left "caption" of toolbar will also be available for the feed at some point, but it will be shared with other components (such as resource tracks). it will also result in history change, so it's only for recording selections and stuff that are important enough to be navigable, but not so important they can't be clobbered other selections (if you understand what i mean). i have to document this properly in the code, ofc 06:53 < mcallan> (i doubt diff feed needs to use caption) 06:54 < mcallan> i'm off myself, cu 2morrow 13:19 < conseo> ok, good that it was on irc 13:20 < conseo> we can harvest that as well, if you have log, yet it has little value as nearly no discussions happened on irc 13:20 < conseo> mcallan: xfbot is no removed as well, i have to code still lying around, but we don't have a bot atm. 13:20 < conseo> there should be plenty of ready to run bots outthere though, which we likely can hook in a irclog trigger 20:22 < conseo> mcallan: have you had a look into gwt-ext : http://gwt-ext.com/docs/2.0.4/com/gwtext/client/widgets/form/ComboBox.html 20:22 < conseo> ? 20:24 < conseo> see also here: http://google.wikia.com/wiki/Google_Web_Toolkit#Widgets 21:34 < conseo> mcallan: where can i find a way to access the menu ui? 22:13 < conseo> why don't you have a link to the pollwiki on votorola's site btw.? 22:26 < mcallan> conseo: hey c, re pollwiki on home page, there are too many pieces to link to, and most of them are meant to be shared with other projects. so see "Architecture (with links to running code)" 22:27 < mcallan> what menu do you need ui for? 22:32 < conseo> you said that i should access the feeds combobox to open the links 22:33 < mcallan> i did? 22:33 < mcallan> we do not have a feeds combo box (?) 22:35 < mcallan> links to diff messages... 22:35 < mcallan> we thought they should go in feed part of toolbar 22:35 < conseo> ok, so what ui should they have. shouldn't it be a menu for the feed, too? 22:36 < mcallan> i don't understand. but first, did you see my instructions about toolbar above? 22:38 < conseo> it just shows the text: [Dummy feed controls] 22:38 < mcallan> that's a widget, a tool, though it doesn't do anything 22:39 < mcallan> you can add tools that do do things 22:39 < mcallan> so you can add a link, for example 22:40 < mcallan> or a drop box, of there is a need. anything 22:40 < mcallan> _if_ 22:41 < conseo> ok, where is this code located? 22:41 < mcallan> ahem, see dummy feed 22:42 < mcallan> i coded that for you last night, to serve as example 22:42 < conseo> ah ok, so i have to pull first 22:49 < conseo> no i have it :-D 23:00 < conseo> i meant now i have it 23:11 < mcallan> conseo: there's a design error in my example. see this diff: http://zelea.com/var/db/repo/votorola/rev/bf377214d75f 23:12 < mcallan> we should keep views (like toolbar stuff) separate from model 23:22 < conseo> mmh, my firefox is too new 23:22 < conseo> i still don't get warm with their new release strategy 23:22 < conseo> it breaks a lot of addons --- Log closed Fri Sep 02 00:00:34 2011