[07:52:31] morning [08:20:36] o/ joakino [08:21:53] \o [08:22:43] so many emailzzz [09:33:40] https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Article_talk_page_editing_in_mobile_view_in_partially_broken [09:45:59] hey phuedx [09:46:02] hey joakino [09:46:18] UK hours today :) [09:47:33] hi jdlrobson [09:47:54] require / modules.export got merged! [09:48:01] o/ [09:48:19] jdlrobson: are there any docs [09:48:23] i couldnt find any [09:48:28] heh nope [09:48:33] what do you need help with i can write them [09:48:44] https://gerrit.wikimedia.org/r/#/c/260167/ < but in mean time this explains the benefits [09:48:46] jdlrobson: can you join tracy and show me how it works? [09:48:48] sure [11:50:02] joakino: with regards to the current mw.loaded.require implementation - if the ResourceLoader module is a folder of files with the same name surely then it is compatible with nodes require? [11:51:04] jdlrobson: example? [11:51:27] so if I have a folder resources/mobile.overlay [11:51:54] and that has multiple files inside the folder e.g. ContentOverlay.js Overlay.js [11:52:44] If I define a module in package.json e.g. { "name" : "mobile.overlays", "main" : "resources/mobile.overlays/index.js" } [11:53:05] then wouldn't require( 'mobile.overlays' ) in node do the same as it would in ResourceLoader ? [11:54:36] jdlrobson: in that case yes, if resources/ was node_modules/ or resources/ was added to NODE_PATH, no need to have package.json with main either [11:55:23] so that seems fully within our control no? [11:55:33] jdlrobson: if you name your resourceloader modules like a folder path or file path then yes, they could be made compatible with node [11:55:41] *node's require [11:56:02] jdlrobson: yeah, a convention [11:56:34] and in theory, in future you could make mw.loader.require able to load files if we really wanted to by treating ./ differently - although not sure of the practicalities or use cases just yet [11:56:49] in theory we could stop ResourceLoader modules from being able to start with './' [11:56:58] *names of ResourceLoader modules [11:57:13] why would you? [11:57:48] the thing is I've seen comments about resource loader modules not being a parallel with node modules (which are files), see https://gerrit.wikimedia.org/r/#/c/281908/ for example in the comments of the review [11:58:12] this needs more thought i think [11:58:55] given those comments, I'm not sure if autogenerating ResourceModules entries is really a good idea [11:59:06] Yeh I need to read that patch from adrian [11:59:08] jbut it sure as hell is painful to manage [12:00:20] allrights gonna go walk the dog [12:00:20] i'll come back later [16:34:31] y'know [16:34:39] i really thought we were going to clear the board this week [16:40:19] phuedx: you've always been a dreamer [16:42:43] a cautious optometrist [16:45:20] hanging out in tracy [16:45:25] (as always) [16:46:21] 65daysofstatic's "wild light", released in 2013, is easily my album of 2016 [16:50:31] mdholloway: ^^ (maybe) [16:51:02] phuedx: ooh, i'll check it out! [16:52:19] maxbinder: you went there! [16:52:36] phuedx: merg? [16:52:46] your bold suggestion [16:53:01] it was so bolded! :) [16:53:32] phuedx: (increasingly I'm hearing shock and awe from you and wonder if I should scale back my invasion) [16:53:52] nope [16:53:59] don't [16:54:04] i'm in favour of the strategy [17:00:59] joakino: standerp [17:01:30] nzr are you joining for web standup today? Unclear [17:03:48] maxbinder: have the iOS est [17:03:51] maxbinder: :( [17:04:06] nzr: word, figured. Any idea when you'll start phasing out? [17:04:26] maxbinder: lets talk about it [17:04:35] i have been having a lot of conflicts [17:04:49] nzr: ok [17:14:11] out for 20 minutes [17:24:05] cya guys im off for the day [17:24:19] phuedx: i will be around in morning to wrap up lazy load references 10am-midday if that works for you [17:33:54] bearND: hi there [17:34:07] matanya: hello [17:34:38] first of all - awesome work on the mcs work with the app [17:34:51] i really really like the definition feature [17:35:05] bearND: can it be brought to more languages ? [17:36:11] matanya: it can but it'll require some effort since there doesn't seem to be a consistent structure of the content in the various wiktionary sites. [17:36:36] I'm going to cc mdholloway since he's the main guy who has worked on that [17:36:56] can voluenteers help with it ? [17:37:26] matanya: i think so [17:38:51] matanya: hi there! yes, bearND is correct about why it's difficult to expand to other languages. volunteer help welcome! [17:39:25] hi mdholloway, can you describe the work needed ? [17:39:51] and also: can mobile web/desktop use those goodies too ? [17:40:46] matanya: there's virtually no consistency in the content presentation across the different language Wiktionariae. That's why we focused only on English, and when we see encouraging engagement numbers, we can decide to pursue further work on integrating with other languages. [17:40:51] matanya: The way that volunteers can help is by encouraging editors to follow a common template across the different languages. [17:41:15] what is that template ? [17:41:27] matanya: i don't think there is one :( [17:41:48] matanya: we'd have to decide on it :) but the English version seems fine enough [17:42:40] I See, this is all great, and any help i can provide or make others help will be given, just let me know :) [17:42:51] matanya: to go to your second question, anyone who wants can use the definition endpoint, although i'm not aware the web team has any plans to use it right now [17:43:26] ok, good to know [17:43:46] matanya: thanks, and i'm glad you're enjoying the feature! [17:45:05] jdlrobson: sure [17:46:16] :) [17:52:12] dbrant: o/ i had a question on ReadingListImageFetcher and the page image database. Maybe we talked about this before but I can't remember what was concluded? I don't really understand why we even need the page image database since our networking layer provides caching. Subsequently, I don't understand why ReadingListImageFetcher is needed over jus [17:52:13] t plugging the URLs into Fresco's equivalent of a NetworkImageView [17:53:06] dbrant: any reason not to zap this class and just use the thumbnail URLs from the Reading List page table directly? [17:53:27] niedzielski: i was about to ask if you're up for a quick batcave? [17:53:41] dbrant: sure, omw [18:01:39] heading out [18:01:47] have a nice day [18:04:32] later [18:05:36] niedzielski: how do I get the DiskStatus of a ReadingListPageDiskRow? [18:05:59] niedzielski: ReadingListPageDiskRow.dat() gives me a ReadingListPageRow, but that doesn't have a diskStatus() method [18:06:12] niedzielski: only ReadingListPage does [18:18:13] mdholloway: does status() not work? [18:19:11] niedzielski: aha, that's it, thanks [18:19:31] 👍 [18:35:15] bearND: can this be resolved? https://phabricator.wikimedia.org/T126934 [18:35:48] dbrant: yes, will do so shortly [19:17:15] dbrant: better safe than sorry, are the three reading list ui patches ready for merge? [19:17:42] niedzielski: the first two are. I'm just about to upload the third. [19:17:58] dbrant: okey dokey [19:26:57] niedzielski: patch 3 ready now [19:27:20] dbrant: cool. one question so far, does Log.e not print the stack? [19:28:00] niedzielski: i don't believe so.. [19:29:13] dbrant: so when you go to dev settings and tap the crash button, that doesn't give you a trace in a master build? [19:30:15] dbrant: i actually get two traces: one for the crash taking down the app and another for the app restarting and the crash reporter sending it in [19:32:16] niedzielski: oh, hang on: in the third patch, I actually modified HockeyAppExceptionHandler to explicitly print the stack trace, precisely because I wasn't seeing the trace in logcat. [19:32:33] niedzielski: ...but now I am seeing the trace twice, the second time when HockeyApp sends it [19:32:43] niedzielski: let me take that bit out [19:38:30] niedzielski: r4r [19:38:47] 👍