[16:47:57] bearND: ping? [17:18:32] niedzielski: mdholloway: o/ mind a quick hangout? [17:18:50] sure, i'll be there shortly [17:20:49] sure [17:21:18] mobrovac: Hi [17:31:39] bearND: regarding the deployment, what's the list of changes that you'd need to deploy? [17:32:37] I was hoping to deploy https://gerrit.wikimedia.org/r/#/c/332423 but that still needs a +2 first [17:32:41] mobrovac: ^ [17:33:44] mobrovac: that one is to fix an issue visible in the Android app introduced by a Parsoid change [17:39:36] looking [17:41:41] bearND: lgtm, would you be free to do the deploy soon-ish (in the next hour or so) ? [17:42:14] mobrovac: yes, I can do it as soon as it's merged [17:43:02] cool [17:43:12] mobrovac: as long as it's done withing the next 45 minutes [17:43:15] within [17:43:15] mdholloway|afk: mind give another look at https://gerrit.wikimedia.org/r/#/c/332423/ ? [17:43:18] k [17:55:21] bearND: mobrovac: looking quickly now [17:55:35] thnx [17:56:52] mdholloway|afk: thanks. I just pushed a small update to address niedzielski 's comments [18:10:47] bearND: it doesn't seem to be working on today's enwiki featured article, 'Hope_(painting)' [18:11:00] bearND: it works on Barack_Obama, thouhg [18:11:02] though [18:24:32] mdholloway|afk: Ok, I found the culprit. I need to replace all spaces with _ for the CSS selector. [18:25:51] mobrovac: Pchelolo : It's too late to fix this, add tests, get it reviewed and push through Gerrit several times to get it deployed before my next meeting in 5 minutes. So, I'll let you do the node 6 update first. [20:30:45] niedzielski: re: https://gerrit.wikimedia.org/r/#/c/317286/4/app/src/main/java/org/wikipedia/language/LangLinksClient.java, were you envisioning the helper methods going right in same Callback class with success() and failure() ? [20:31:05] niedzielski: that wasn't making sense to me yesterday but it's starting to today :) [20:31:57] 👍 [20:32:15] niedzielski: cool, update incoming shortly [20:32:19] niedzielski: thanks! [20:32:53] sounds good! [21:53:13] niedzielski: good catch about the possible null-unmarshalling list items in the page coordinates! (https://gerrit.wikimedia.org/r/#/c/317292/7/app/src/main/java/org/wikipedia/server/mwapi/MwApiResponsePage.java) [21:53:34] niedzielski: i'd assumed they'd just not be added to the list but in fact they are added as null objects [21:54:17] geez, good to know. i wasn't really sure and then i later saw you had a client test case for a similar scenario [21:54:19] niedzielski: what i'd intended is for them not to be added but it looks like that'll take some extra logic. does that seem like a sane thing for the type adapter to take care of, or should we leave it to consumers to de-null their lists? [21:55:24] i would de-null at the source unless nulls have meaning. it's a little unusual to pass around lists containing nulls in my opinion [21:56:00] i think one way to de-null the list would be ArrayUtils.removeAllOccurences(list, null) [22:10:35] is anyone else seeing their google results entirely in the form of cards? [22:10:43] i'm... not into it [22:12:38] niedzielski: the trouble is i'm not seeing any way of knowing in the context of the type adapter that the object we're deserializing is going to go into a List [22:13:03] and the List itself doesn't appear to pass through public T read(JsonReader in) [22:13:20] at any point [22:13:21] google on desktop? [22:13:25] niedzielski: yep [22:13:39] hm, no to the cards ui [22:14:06] just a sec on the adapter sturf [22:15:38] https://usercontent.irccloud-cdn.com/file/13Hra578/Screen%20Shot%202017-01-19%20at%205.13.38%20PM.png [22:16:55] ha, yeah i'm still on classic [22:25:18] mdholloway: i think you'd have to subclass ArrayTypeAdapter but i'm looking for a little more detail [22:40:51] niedzielski: given that we only ever use the first set of coordinates afaik, i guess we could dodge the problem by defining a custom type adapter that just grabs and returns the first set of coords as a Coordinates object and not even bothering with a List [22:43:29] mdholloway: yet another option would be an additional collection annotation @RequiredElement but that'd be a little bit of work. hm, maybe you could just de-null in MwApiResponsePage.coordinates() and add a todo [22:45:03] yeah, i can probably live with a todo [22:45:29] i was also looking a little bit into standard List implementations in the JDK that refuse to accept nulls, but not much luck there either [22:51:14] mdholloway: I just added a description to an article, and it took over a minute to propagate :[ [22:51:34] ^ cc Pchelolo [22:52:06] dbrant: (╯°□°)╯︵ ┻━┻ [22:52:15] dbrant: we're doing node 6 upgrade now, and having some problems [22:52:16] so CP is down [22:52:26] will get it back up in a moment [22:52:29] aha! ok then, thanks