[16:37:40] RoanKattouw: know if trevor's gonna be on? [17:32:25] hey TrevorParscal ! [17:32:34] *Fflapjac demands a "hey" [17:32:41] hey Fflapjac :) [17:32:43] hey TrevorParscal, did you say you sent me an icon for LQT quoting? [17:32:51] yay :P [17:32:54] *werdna hasn't been able to dig it out of his inbox [17:32:55] hey! [17:33:05] werdna: I have not [17:33:30] ah :) [17:33:40] *werdna will look through tango and what not soon [17:34:10] so, what do you mean by quote? [17:34:30] like, is it litterally going to copy a bit of their text and format it to appear as a quoted section? [17:35:10] brion: So, the go-through-the-DB-dump code took about 9 hours on my laptop on english wikipedia, writing to my local DB...about 40% of that time was DB writing (and I was doing tons of other stuff at the time)...is there a toolserver machine or somewhere that I could run this stuff on? [17:35:21] wheee [17:35:21] TrevorParscal: yes. [17:35:27] TrevorParscal: the same concept as in email [17:35:34] toolserver would probably be a little loaded :) [17:35:42] nimish_g: I can get you set up on toolserver, but it might be a bit loaded up [17:35:59] TrevorParscal: you guys did some testing of stuff with EC2 VMs before, right? would that be reasonably performing for this sort of thing? [17:36:12] right on, so you could use that quote bubble icon... maybe grab and tweak one, that you like and if it's rough or blurry I will just get you a clean one [17:36:18] ok, is toolserver a cluster of machines or literally a server? [17:36:28] cluster [17:36:37] brion: it was sort of lousy data-transfer wise though [17:36:49] we've got two login servers, four database servers, a /home server, a web server, and a few misc servers [17:36:56] We've got a little spare capacity [17:36:58] how many gigs of data are we crunching? cause I recall that being sort of an issue [17:37:07] but we'd want you to nice your tasks down a bit [17:37:27] *TrevorParscal is talkng about ec2 [17:37:32] ok. yeah I probably wouldn't want to load it up too much, but before I do any of that, brion, I'd need you to review my clicktrack code [17:38:32] i mean ec2 has infinite* space, but the transfer is sort of a cost/time problem iirc (* = nearly infinate) [17:39:08] also, the ec2 stuff is meant for scaling horizontally, so if it's designed to have 10 computers each doing 1/10th the work, ec2 rocks [17:39:38] if it's one computer doing all the work ec2 is about as fast as your laptop (new mbp) running a linux VM [17:55:22] TrevorParscal: I think we should still make those jQuery UI dialogs autoresizing [17:55:49] yeah, I took an initial look at that and it doesnt seem to be very... strightforward [17:58:23] RoanKattouw: i'm intergrating the suggestions plugin to the simple search feature in vector [17:58:35] OK [17:58:52] Did you see the pastebin link to a sample mwsuggest implementation? [17:59:29] no... [18:00:12] *RoanKattouw looks it up [18:01:00] http://dpaste.org/HC8R/ [18:01:05] That still needs caching though [18:01:59] I've also discovered that you don't want to run the last .suggestions(); call until you're sure the textbox is actually visible [18:02:15] k [18:02:24] I forgot that for a textbox in a jQuery UI dialog and it put the suggestions all the way on the bottom of the page [18:02:31] ah [18:02:39] well this textbox is rendered by PHP [18:02:45] so it's for sure there [18:03:03] OK and you're not using JS to reposition it either? [18:03:55] Hm [18:03:57] no [18:04:23] I think I just mentally found an interesting bug in my title suggestions for the link dialog [18:05:07] It probably doesn't move when you drag the dialog [18:06:53] hmm [18:07:09] Making the suggestions a sibling of the textbox should fix that [18:07:10] it should update it's position when it opens [18:07:16] oh [18:07:20] yeah, that could help too [18:07:36] but overlapping issue could take place [18:07:44] depending on the layout of the page and location of the box [18:08:10] how do i get my mediawiki instance to respond to the opensearch api [18:08:16] ? [18:08:30] does it require lucene or something? [18:08:35] $wgEnableMWSuggest = true; [18:09:07] ok [18:09:08] workin [18:09:11] that was easy! [18:09:13] he he he [18:09:40] RoanKattouw: the suggestion box should be as wide as the input box [18:10:06] that's what google does - and yes, their box is wider, but google search terms can often get much longer [18:10:41] hmm [18:10:54] Yeah, right now it limits itself two twice the width of the input box [18:11:01] You can easily configure that though [18:11:33] Set 'maxGrowFactor': 1, in the options object [18:12:06] i see [18:12:08] loving it [18:13:28] why are we not passing the configuration object as the param1 when initializing? [18:13:41] this thing with setting it in the data first is odd [18:14:01] It's the exact same thing that jQuery UI does [18:14:11] k [18:14:23] Although they don't use the separate call, true [18:14:53] But you need the data stuff anyway because of $('#element').suggestions('key', 'value'); [18:15:37] But having the separate call there proved useful for the invisibility issue I mentioned earlier [18:16:15] when do I set it? [18:16:45] Set what, maxGrowFactor? [18:16:54] yeah [18:17:07] Someplace in the config object [18:17:25] Looks a little confusing maybe because two of the three config values are functions [18:18:50] *TrevorParscal is asking stupid questions [18:19:02] sorry, I just figured out what you mean and why I need more sleep [18:19:16] hehe [18:19:39] Dude you're gonna need your sleep when the baby is there [18:20:02] seriously [18:26:25] *RoanKattouw is enjoying himself running ridiculously inefficient queries on the toolserver [18:29:18] SELECT * FROM * WHERE * = * OR * != * GROUP BY *; [18:29:24] *TrevorParscal knows that's not realy sql [18:29:57] SELECT ois_wiki, ois_answer, COUNT( * ) AS count [18:29:59] FROM optin_survey [18:30:00] WHERE ois_question = 'browser' [18:30:02] GROUP BY ois_wiki, ois_answer [18:30:03] ORDER BY ois_wiki, ois_answer [18:30:07] With no index on (ois_wiki, ois_answer) [18:30:18] *RoanKattouw creates one before running that query again [18:30:21] Took 66 sec the first time :O [18:35:59] Hm some strange browser versions in there: http://dpaste.org/ArqW/ [18:40:42] *RoanKattouw shouts at people filling out the browser field like "Both Firefox 3.5 and Google Chrome Beta/Dev." [18:48:02] TrevorParscal: For fun reading, here's some of the browser data from enwiki [18:48:29] Stuff like ff8898074703 is probably a JS fail, most stuff that doesn't look like ff2 is write-ins [18:48:35] ff8898074703 [18:48:37] Oops [18:48:40] http://dpaste.org/8FMc/ [18:49:44] ha [18:49:56] "it sucked" [18:50:04] probably a really good borwser there [18:50:20] anyone know where I can download that browser / what platforms it runs on? [18:50:45] What about 'iFuck' or 'Vista' [18:50:50] Got any download URLs for those? [18:51:20] www.apple.com/iFuck [18:51:27] it's new [18:51:37] it's for "adult sites" only [18:53:24] *brion hands out some sexual harassment pamphlets [18:53:34] ha ha - sorry [18:53:35] who's up for some lunch? [18:53:39] me! [18:53:46] sure [18:53:50] you in the office for reals this time TrevorParscal ? [18:54:15] *RoanKattouw wonders how 11 French Wikipedians use Firefox 0 [18:54:20] i will meet you at stillman in a couple mins [18:54:28] Or Firefox 9 FTM [20:04:01] werdna: can you give me a quick toolserver tour? [20:06:14] nimish_g: what do you need to know? [20:06:57] well, really: 1) how to access it 2) what's on it 3) what other people are doing on it [20:07:26] You access it by ssh'ing into one of the boxes [20:13:18] ok...can you hook me up with an account/URL? [20:24:34] not right now [20:25:22] k, just shoot me an email or whatnot whenever [20:29:33] is the new API for edittoolbar online now? [20:30:40] some form of it [20:30:45] looking what's deployed [20:32:31] unfourtunately the latest version of the API (which you will need to do anything much at all) is not deployed yet [20:32:43] but it will be in the next couple weeks [20:32:45] hmpf.. [20:32:57] you can play with it on prototype.wikimedia.org though [20:33:04] that has the latest [20:33:07] mm [20:34:13] you can see the API here http://prototype.wikimedia.org/en-wp/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js?11 [20:34:48] and how the tests use it here http://prototype.wikimedia.org/en-wp/extensions/UsabilityInitiative/js/tests/wikiEditor.toolbar.js?11 [20:36:11] there's missing a "modifyElement" function in the API... [20:40:34] os_disableSuggestionsOn is not working [20:40:40] RoanKattouw_away: you still around? [21:20:11] TrevorParscal: looking for quote icons now :P [21:21:28] Anything I can do, being the zomg-what-the-hell-is-php guy? [21:24:06] http://commons.wikimedia.org/wiki/File:Quote.png [21:24:13] could just give that different colours [21:31:55] hmm