[00:01:34] tfinc: well, I only know what the API tells me [00:01:56] i'm guessing we'll have to setup an eventID for this [00:02:05] and use additional to store extra stuff [00:02:54] tfinc: have been unable to find docs on it, and DarTar isn't responding on IRC for now. [00:05:35] ZombiePanda: you can store state information right? [00:05:52] ZombiePanda: i'm trying to find an existing filter that uses click tracking [00:05:58] preilly: yes [00:07:05] preilly: i'm thinking of sending in UA [00:08:15] Ohai/0.1 [00:08:33] Ohai/0.1 (Like somethingElse/4.1) [00:09:50] PossiblyChrome/0.5 MaybeSafari/1.6 PartMozilla/10 RelatedToGoogleBot/1.3 [00:13:29] ZombiePanda: were in luck .. i have an iOS 4.2 device :) [00:13:37] s/device/iPhone [00:13:59] tfinc: test! [00:14:29] ZombiePanda: i also did a first major/minor pass through http://etherpad.wikimedia.org/Wikipedia-iOS-3-1-1-issues [00:14:35] now i'm moving to verification on other hardware [00:14:36] then bugs [00:14:45] then an email to the team about where we have to focus [00:14:55] i want to take care of the busy work so that you guys can focus on fixes [00:15:10] tfinc: delay after pressing button - 'which button'? [00:15:18] hmm, i'll just wait for you to finish up i guess [00:15:26] ZombiePanda: in general .. my case was settings [00:15:41] but yes .. give me some time to put this together [00:15:47] i just wanted to give you a preview [00:17:50] ok [00:21:57] ZombiePanda: its super broken on iOS 4.2 [00:22:12] tfinc: saw the etherpad [00:23:26] i wish that i could get a page loaded to know if it has the same scrolling issues [00:24:22] YuviPanda: i'm going to install the 4.3 simulator and do the same tests [00:24:28] wish they had a 4.2 emulator [00:24:28] tfinc: ok [00:25:03] tfinc: they don't. I'm wondering how i could debug this [00:28:46] i could give brion the phone to debug over the weekend :) [00:33:08] YuviPanda: i can't replicate the issues on the 4.3 Simulator [00:33:19] scrolling* [00:33:25] tfinc: yeah, I tried yesterday with the 4.3 one as well. [00:33:28] seemd ok [00:33:39] tfinc: we also have the option of dropping 4.2 support [00:34:20] preilly: how are you Xcode debug chops to see if we can make 4.2 work ? specifically there is something seriously wrong with retrieving and data other then geonames.org [00:34:31] i can do it but i'm sure you'd be faster with it [00:34:50] tfinc: I can look at it Monday [00:35:41] could you do a quick pass right now ? otherwise i'll do it tonight [00:35:57] brion: unless you want to tackle it [00:36:09] we only have one 4.2 device and no simulator support for it [00:36:20] i'm going to start filing bugs [00:37:52] Download xcode_3.2.6_and_ios_sdk_4.3.dmg (note - you need a developer account to access this software. I have instead linked to an open-to-the-public Apple discussion that contains the direct download link [00:37:52] Mount the .dmg file [00:37:53] Inside the disk image there is an invisible "Packages" folder. To open it select "Go to folder..." command from Finder menu bar and digit the path "/Volumes/Xcode and iOS SDK/Packages/" [00:37:55] Now double-click "iPhoneSimulatorSDK4_2.pkg" [00:37:56] Click into the destination disk and a button "Select folder..." will be revealed [00:37:58] Click the above button and select your "Developer" folder [00:37:59] Install and Restart Xcode. [00:38:01] This will install the Simulator 4.2 SDK (both iPad and iPhone) inside the folder "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/" [00:38:02] Now inside XCode 4.2 you can select this simulator from the menu. [00:38:26] i like that the first result for xcode_3.2.6_and_ios_sdk_4.3.dmg is a torrent [00:38:41] tfinc: actually http://www.rawsound.com/archive/index.php?dir=Programming/Install%20Xcode.app/Contents/Resources/Packages/ [00:38:58] sorry, I mean: http://www.rawsound.com/archive/index.php?dir=Programming/Install%20Xcode.app/Contents/Resources/Packages/&file=iPhoneSimulatorSDK4_2.pkg [00:39:01] pulling iPhoneSimulatorSDK4_2.pkg [00:39:11] its a super slow site [00:39:58] found it https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg [00:40:05] 4Gb download [00:40:27] you guys… you can install legacy ios debugging support in the current xcode :p [00:40:31] 9.3 kB/s - 720 kB of 451 MB, 13 hours left [00:40:38] preferences -> downloads -> components [00:40:47] Rolken: not 4.2 [00:40:48] \o/ [00:40:54] Rolken: no simulator for 4.2 [00:40:58] 5.0 and 4.3 simulator... [00:41:02] ooh you're right! darn! [00:41:05] 4.0-4.1 and 3.0-3.2.2 device debugging support [00:41:16] 4.2 may be screwed heh [00:41:16] well that's goofy [00:41:21] exactly [00:41:22] never mind then ^^ [00:41:50] i know i at least tested in the 4.3 simulator at some point [00:57:27] * tfinc returns from filing bugs [01:02:13] Tomasz p0wns bugzilla [01:02:26] :D [01:22:08] so 4.2 startup is really interesting [01:22:16] 1) the app chime loads [01:22:35] 2) in 1-3 second the spinner shows up [01:23:20] 3) spinner disappears and the nav bar completely disappears [01:23:49] ... [01:23:58] 4) nav bar reloads [01:24:22] 5) search box spinner starts up [01:24:32] 6) page not available screen loads [01:24:37] 4/5 are timed really closely [01:24:48] YuviPanda: #3 is the most interesting to me [01:24:51] what would cause that? [01:25:48] tfinc: no idea. Looking around... [01:26:26] i thought it might've been iScroll not initializing but that code seems ok [01:27:26] also note that for #3 *only* the nav bar disappears .. the top search bar *never* goes away [01:27:43] that looks like possibly iScroll 4 just initializing? [01:27:49] how far apart are 3 and 4? [01:29:31] tfinc: ^ [01:30:15] a second at most .. i just made a video of it [01:30:25] s/made/recorded [01:30:59] YuviPanda: should be in your inbox now [01:31:11] its blurry but with my timeline you should be able to see each of the step [01:31:13] s [01:31:16] tfinc:checking [01:34:00] and by checking i meant 'waiting for it to download' :) [01:34:05] 7megs :D [01:34:27] you'll have to tilt your head .. sadly my phone doesn't allow me to rotate movies [01:34:31] tfinc: btw, I landed the click tracking code. No idea if it works though [01:34:32] :D [01:34:38] tfinc: waiting for it to download. 30s left [01:35:42] k [01:36:45] tfinc: ah [01:36:55] that looks like it being slow [01:36:59] tfinc: the first screen you see [01:37:07] is a static image we ship [01:37:27] * tfinc gets back from looking at the three crash reports that have come in [01:37:55] tfinc: so that, in essence, is just the app being slow on 4.2 :( [01:38:04] not it disappearing and re-appearing [01:38:15] when the navbar comes up, it is just coming up for the first time [01:38:37] haha… your right .. because you can't interact with it at all [01:39:19] tfinc: there would be a spinner in the middle of the screen [01:39:26] that's iOS telling you 'this is an image, sir' [01:39:30] excellent .. i got into setting this time [01:39:34] meaning i can load about [01:39:36] and try to scroll [01:39:42] ok [01:39:44] yup, its horrible [01:39:47] very jerky [01:40:23] tfinc: try loading http://cubiq.org/dropbox/iscroll4/examples/simple/ on it? [01:40:31] and check if that is jerky? [01:40:51] k [01:41:43] * tfinc waits for the page to load [01:44:14] if we can't make iOS 4.2 work then I'm debating about having the old app live right next to the new app [01:44:25] both of them can be in the store [01:44:32] if someone wants the old one they can use it [01:45:57] tfinc: not sure how that'd work. [01:45:58] two apps? [01:46:11] yes [01:47:08] hmm [01:48:07] i'm beginning to suspect that this old iPhone3 wifi antenna is pretty screwed up [01:48:11] even safari isn't loading pages now [01:48:44] ah [01:48:57] because if the 'cannot load' page turns up, that actually means no significant errors... [01:49:21] tfinc: did that page load? [01:49:38] safari was not able to load any pages for me. I'm rebooting the phone [01:49:46] ok [01:57:10] YuviPanda: i can't reliably test on this device [01:57:20] tfinc: internet issues? [01:57:26] safari just hangs on loading that page [01:57:42] looks like our scrolling library sucks on 4.2 [01:58:23] :(] [01:58:25] what does iScroll say about 4.2 ? [02:05:45] well that didn't work out very well [02:06:01] no tfinc [02:06:23] trys wifi sharing one more time [02:06:29] tfinc: ah [02:06:30] ok [02:07:40] YuviPanda: i wanted to see if a different access point would help [02:07:43] so I'm tethering on my machine [02:07:55] tfinc: helps? [02:08:02] its still trying to join [02:08:25] i just saw heatherw changes per my suggestions … beta icon looks nice [02:09:04] yes! [02:09:09] but we also need an icon internally [02:09:12] err [02:09:16] in the app top search bar [02:10:44] i finally got the phone to load the demo [02:11:09] the demo runs fine [02:11:25] hmmm [02:11:38] tfinc: you like it? really? [02:11:46] heatherw: the ribbon? [02:11:49] yah [02:11:59] the first scroll is a little jerky but its fine after that [02:12:04] nothing like what i saw in the about screen [02:12:07] heatherw: I like it too, but the ribbon seems to be in the wrong direction [02:12:23] tfinc: hmm, okay. We're possibly using iScroll wrong or this is a webview vs safari thing [02:12:34] tfinc: now that you've working internet (sortof) try the app? [02:12:50] same issue with page load [02:13:02] about screen scrolling is really jerky [02:13:02] tfinc: would you also like the ribbon to curve the other way? [02:13:34] other way? [02:15:26] convex i guess, is what i imagine YuviPanda is saying [02:16:49] YuviPanda: what do you mean by "wrong direction?" [02:16:57] tfinc: concave vs convex [02:17:05] though i could never remember which is which [02:21:55] it is currently convex, so i have no idea what i was saying :P [02:22:15] depends on which way you are looking [02:28:09] devgeeks: tfinc is doing the testing [02:28:16] on an old iPhone he found [02:28:22] hmm ? [02:28:24] hey wesleyhales [02:28:38] ah [02:28:41] better here... [02:28:47] so [02:28:52] YuviPanda: i'm drafting an email to the team now [02:29:00] tfinc: apparently devgeeks uses iScroll and has no issues [02:29:01] tfinc: ok [02:29:13] what device & iOS release ? [02:29:22] I use it mostly as part of the DataZombie's fork of jQTouch [02:29:27] but still [02:29:32] ahh you mean in general [02:29:47] I have tested it mostly under 4.3 and 5.x on iPhone4's and 3GS's [02:29:59] in my apps anyway [02:30:17] So what is it actually doing? [02:31:14] tfinc: hey hey [02:31:48] tfinc: ran through the android and ios apps today [02:32:04] wesleyhales: nice. were seeing some really bizarre issues on iOS 4.2 with it [02:32:13] trying to follow what is going on now [02:32:16] yep [02:32:33] wesleyhales: and were trying to figure out whats causing the scrolling issues that people are seeing [02:32:42] as we can only duplicate them on iOS 4.2 [02:32:55] wesleyhales: what iOS release were you testing them on ? [02:32:57] installing the simulator now [02:33:03] 5.0 sim [02:33:27] 4.2. ow [02:33:32] so old. [02:33:34] :/ [02:33:51] Hard to test. Have you got a device with that old an iOS? [02:34:14] devgeeks: ye [02:34:15] s [02:34:22] i keep lots of old devices for cases like this [02:34:39] nice [02:35:00] tfinc: we could, worst case, drop support. Testing 4.2 is always going to be a pain [02:35:27] tfinc: YuviPanda there were some interesting stats on users upgrading in iOS land [02:35:31] yes. thats one of my suggestion in the email [02:35:36] it seems most move quickly [02:35:37] i was trying to find upgrade stats [02:35:41] to newer versions [02:35:45] but i know iOS upgrades really quickly [02:35:48] 4.2 is a pretty small piece of the pie [02:35:51] wesleyhales: yes, *much* quicker than Android [02:35:55] yeah [02:36:37] http://www.marco.org/2011/11/30/more-ios-device-and-os-version-stats-from-instapaper [02:36:45] an old one as of late last year [02:37:01] 92.9% at least 4.3 [02:37:09] here is one: http://www.readwriteweb.com/mobile/2012/01/more-than-66-of-users-have-upg.php [02:37:13] tfinc: we could check our mobile web stats [02:37:53] yeah. 4.2 is 10% [02:37:58] but that is based on localytics numbers… which is not the interwebs total [02:38:04] yeah [02:38:14] and the other is instapaper [02:38:17] I think our mobile stats would be a bit more accurate for our purposes... [02:38:20] we have the breakdown here but we'd need to know the version numbers http://stats.wikimedia.org/wikimedia/squids/SquidReportClients.htm [02:38:21] rather than app numbers [02:39:12] This is the one I was looking for [02:39:13] http://david-smith.org/blog/2012/03/10/ios-5-dot-1-upgrade-stats/index.html [02:39:29] tfinc: we keep no os stats? [02:40:16] http://stats.wikimedia.org/wikimedia/squids/SquidReportOperatingSystems.htm [02:40:26] 0.41% [02:40:33] 603 M [02:40:56] of our total web traffic [02:41:43] which is actually pretty high [02:42:03] its bigger then almost all blackberrys combined [02:45:34] tfinc: so to test these issues you are using a physical device? correct? [02:45:44] sim only goes to 4.3 [02:46:04] YuviPanda: I'm adding a note to both our description and whats new asking for device/iOS release [02:46:14] ok [02:46:22] wesleyhales: i'm testing on device as Xcode 4.3 only goes back to iOS 4.3 [02:46:31] wesleyhales: yes, that's one of the problems with 4.2. No easy way to test. [02:46:33] wesleyhales: have you been able to replicate any of the scrolling issues that people are seeing ? [02:46:57] tfinc: so far it looks good. got a link to the issue? [02:47:12] but I am on 4.3 + 5.0 sim [02:47:21] I have an old 3.x device somewhere [02:48:45] wesleyhales: don't worry about 3.x .. it requires 4.2 and up [02:48:54] tfinc: gitcha [02:51:16] wesleyhales: https://bugzilla.wikimedia.org/show_bug.cgi?id=35781 [02:51:32] wesleyhales: the big problem for me is that none of us have been able to replicate the scrolling issues with 4.3+ [02:51:53] if your able to replicate it then that would be a *huge* help [02:52:35] tfinc: ok, do you know that this is isolated on 4.3? [02:52:41] I mean 4.2 [02:53:02] or it could be any version? [02:53:22] i don't. the apple app store doesn't give us the os versions for our reviewers [02:53:28] it would help a lot of it did [02:53:43] i've modified our app description so that people will leave it [02:53:54] but we have reports of it happening on the 4GS [02:54:35] tfinc: ok [02:54:57] tfinc: I'm just thinking of a lot of background processes that may be running for those users [02:55:04] causing a bad experience [02:55:23] but that is just a guess [02:55:30] could be. but we have no way of knowing that [02:55:34] right [02:55:37] just being able to reproduce it would be a huge help [02:55:48] without maxing out a test env [02:55:55] gotcha [02:55:56] ok [02:56:20] i'm going to spend tonight trying to make this old 4.2 phone work but chances are we'll just drop support for it [02:56:30] wesleyhales: so here are our big issues [02:56:37] #1 iOS 4.2 is pretty broken [02:56:57] #2 problematic scrolling across all multiple iOS releases [02:57:07] #3 were not iOS enough [02:57:15] wesleyhales: #3 we can punt for now [02:57:21] focus is on #1 and #2 [02:58:14] tfinc: ok, will see if I can come up with anything [02:58:24] wesleyhales: thanks [02:58:44] wesleyhales: our android release continues to kick butt though :D [02:59:01] its already improved our ratings [02:59:04] tfinc: :) yeah I was trolling for easy issue to send a PR on today [02:59:19] wesleyhales: chatting with YuviPanda|afk about what to pick up [03:03:46] tfinc: you pinged? [03:04:04] YuviPanda: wesleyhales is eager to squash phonegap bugs :D [03:04:07] for our app [03:04:14] got any bugs that need tending too ? [03:04:20] ofcourse :D [03:04:23] gimme ea moment [03:04:23] woot! [03:04:43] sweet :) [03:05:03] wesleyhales: YuviPanda is our PhoneGap app ninja [03:05:29] he presented with me at the PhoneGap meet up in feb [03:05:34] * tfinc needs to get a copy of that vid [03:05:42] tfinc: nice, yeah would like to see that [03:06:52] Where was the phonegap meet up? [03:07:09] Amgine: adobe hq [03:07:13] Phone gap hq is a mile or so from my house. [03:07:28] we had roughly 300 people in person+online [03:07:31] it was awesome [03:07:36] Adobe? [03:07:53] Amgine: half the team is in SF now [03:08:02] Amgine: you know Adobe bought Nitobi right? [03:08:11] Heh, no, I didn't. Sad that. [03:08:17] wesleyhales: https://bugzilla.wikimedia.org/show_bug.cgi?id=35778 [03:08:24] I think this is a click vs touchstart issue [03:08:36] wesleyhales: do you want to look into that? [03:08:53] YuviPanda: sure, I will see what I can do [03:09:09] tfinc: also, note that the simulator runs at the speed of your Mac's CPU, not the Phone's. So it is possible that a phone on 4.3 is also having scrolling issues [03:09:38] very true [03:09:46] YuviPanda: can you try it on perfecto ? [03:09:46] YuviPanda: however, tomorrow is a dedicated writing day for me and Sunday is Easter… so will give it a go on Monday probably [03:09:55] wesleyhales: sure [03:10:16] tfinc: Will do. Right now trying to figure out why saved pages broke again in my api redo. [03:10:24] tfinc: will test it out in 20-30 mins [03:10:32] haven't used perfecto so far.. [03:10:38] YuviPanda: do you have the log in info? [03:10:53] i'm going to head out of the office in about 10-15 [03:11:14] tfinc: YuviPanda see you guys later… it's lights out for me [03:11:20] tfinc: forward it again, i'm unable to find it in email. I could swear I saw it before though [03:11:20] then i'm stopping by the apple store to pick up a 4GS to test on [03:11:54] 3GS [03:11:55] ? [03:12:00] or 4S? [03:12:05] 4S [03:12:09] YuviPanda: forwarded [03:12:29] tfinc: thanks [03:13:28] tfinc: got it, thanks [03:13:42] * YuviPanda goes afk for 15-20 mins [03:15:45] tfinc: YuviPanda|AFK I just replicated the issue [03:15:47] I think [03:16:07] I'm using 4.3.1 [03:16:16] on a 4S device [03:16:35] scrolling sucks [03:16:40] incredibly choppy [03:16:59] wesleyhales: did you do anything in particular ? [03:17:11] tfinc: nope, just installed the app [03:17:20] k, the lines up with reviews [03:17:35] wesleyhales: what happens when you load http://cubiq.org/dropbox/iscroll4/examples/simple/ [03:17:40] thats the same exact library we use [03:18:47] scrolling is flawless with that [03:19:06] something is going on within the app [03:19:40] looks serious, because when I touch the screen to scroll the page down, it jumps to the bottom of the page [03:19:53] with a 500ms delay [03:21:01] looks like we're doing something wrong with iScroll 4 [03:21:12] it was / is pretty fine on the sim [03:21:34] YuviPanda: yes, sim looked good for me as well [03:21:51] https://github.com/wikimedia/WikipediaMobile/blob/master/assets/www/ios/platform.js is where the culprit code lives [03:21:55] doScrollHack [03:22:47] YuviPanda: are the us strings reposrting correctly between iOS 4.2 and 4.3? [03:22:56] s/us/ua/ [03:23:10] brion tested them out before putting that in, let me check [03:23:48] yes it does [03:23:52] ok .. i'm heading out. should be back online in about an hour post apple store and food [03:24:38] http://www.myuseragentstring.com/useragents/apple/apple_iphone_ver4_2/ [03:24:53] http://www.myuseragentstring.com/useragents/apple/apple_iphone_ver4_3/ [03:24:55] YuviPanda: need anything before i take off? [03:25:08] tfinc: nope. [03:25:13] see you in an hour [03:25:15] or so [03:25:27] wesleyhales: i put in a bunch of debug statements there and checked. the branch is being taken [03:25:31] on my 4.3 sim [03:25:40] k [03:49:57] YuviPanda: strange thing is that the scrolling looks fine on the about us page, but the home page lags [03:56:04] wesleyhales: that's interesting [03:56:07] let me check how they differ [03:56:31] hmm, the same code gets applied on that too [03:56:45] right [03:56:45] scroller = new iScroll($el[0]); [03:56:46] $el[0].scroller = scroller; [03:58:32] yup [03:58:55] hmmm I wonder if a new scroller is being created for every page/ [03:58:56] ? [03:59:01] * YuviPanda checks [03:59:20] yeah, there has to be something weird happening [03:59:45] nope [03:59:54] it's creating once and reusing it [04:00:03] hmm [04:03:04] wait, is it creating once and reusing everywhere *except* the about us page? [04:07:22] back [04:11:28] flyingclimber: wb [04:12:13] * flyingclimber opens up a new unlocked iPhone 4s to test on [04:14:23] flyingclimber: assuming that's 5.1, it should be mostly swell [04:15:32] have we isolated the issue to a particular iOS release ? [04:16:15] flyingclimber: I'm using 4.3.1 [04:16:37] on a 4S? [04:16:41] cool [04:16:53] oh, I think I forgot iPhone 5 was the one that came out [04:17:46] YuviPanda: the iPhone5 isn't out ;) [04:18:04] ah, right. [04:18:07] it was supposed to be [04:18:10] and the 4S came out [04:18:13] give it a couple more months [04:18:13] so I was actually not wrong [04:18:16] yes [04:20:28] flyingclimber: i see a very mild form of jerkiness in 4.3 sim if I open a longish page and then drag it up down very very fast [04:24:51] its super speedy on this iPhone4S 5.0.1 [04:25:13] i'll note that switching to iScroll-lite, which is a pared down version of iScroll, also has no effect [04:25:20] (this is assuming what i'm seeing is actually the jerk) [04:25:31] (it is not even 1% as serious as the issues being reported) [04:25:37] flyingclimber: good to hear :) [04:26:40] it'd be better if it was slow and jerky ;) [04:26:59] did you find anything while using perfecto ? [04:27:32] flyingclimber: no, i'll try perfecto now [04:27:42] YuviPanda: trust me, it's not a mild issue :) [04:28:05] YuviPanda: simulators... [04:28:13] they kill me [04:28:32] right now they're killing me too :D [04:28:39] lol [04:32:04] perfecto is loading [04:32:07] for quite a while now [04:32:34] power up an original iPhone to see what its running [04:32:44] powers* :D [04:33:29] * wesleyhales trying to build/run the app on my jailbroken 4.x iphone :) [04:33:29] likely 3.x.x [04:41:48] why exactly is archive disabled? [04:41:50] * YuviPanda looks around [04:44:59] confirmed … its 3.1.3 so useless to us [04:45:08] i'm going to heat up some food then move onto 4.2 [04:46:40] flyingclimber: ok [04:46:45] wesleyhales: any luck building it? [04:46:56] xcode for some reason wouldn't let me build an archive, so no ipa :X [04:47:02] YuviPanda: almost [04:47:18] trying crazy shit http://techtalktone.wordpress.com/2011/12/05/testing-your-ios-apps-on-a-jailbroken-device-2/ [04:47:28] hehe [04:50:23] WindMobile (Canada cellular provider) appears to be nearly real-time with Android releases. [04:52:55] YuviPanda: try setting Xcode to output to a device and then look for archive [04:53:05] yes, that's what i did [04:53:06] fixed it [04:53:20] i've had cases where it was set to simulator and it wasn't avaialble [04:53:20] as [04:53:33] soon as i set it to device (regardless if one was plugged in) it came back [04:54:38] * YuviPanda waits for ipa to upload [04:56:49] stil uploading [04:56:49] sigh [04:57:26] still uploading [04:58:22] devgeeks: do you use iScroll4 in your phonegap apps for scrolling just lists or general DOM? [05:00:19] YuviPanda: it's not going to happen tonight… those instructions are old. I was close, but need a provisioning profile [05:00:36] sigh [05:00:50] it would be nice to actually debug the device with the problem [05:01:06] wesleyhales: do yo just need a dev profile for our app ? [05:01:07] i [05:01:13] yep [05:01:23] can you add my apple id in your team? [05:01:57] wesleyhales: yup, whats your app id [05:02:06] flyingclimber: wesleyhales@gmail.com [05:02:49] i'm not even sure if perfecto is working or not [05:03:27] wesleyhales: invitation sent [05:03:39] sweet [05:03:43] ... [05:05:14] I got: Only agents and admins are allowed to add devices to this team. Please have a team admin or agent add this device for you. [05:05:20] flyingclimber: ^ [05:06:00] I just sent a request [05:06:35] k [05:08:22] i'm pretty sure perfecto is just stuck [05:09:00] apple fail "Your team currently does not have any active signing requests" [05:09:13] even though apple mailed me saying that one was awaiting approval [05:11:14] flyingclimber: i think i'll be crashing in a few minutes. [05:11:40] YuviPanda: k [05:12:06] i'm going to be go all of sat so i'll mail with anyprogress [05:12:26] yep I'm out too [05:12:50] wesleyhales: i'll approve your request as soon as apple actually shows it to me [05:13:10] okay [05:13:16] flyingclimber: ok cool, I'll try to get this issue shot down [05:13:19] perfecto seems stuck, i'm out. [05:13:25] night [05:13:34] YuviPanda: cya [05:13:43] cya [05:13:47] nigth YuviPanda get some rest [05:13:47] we [05:13:53] 'll figure this out [05:13:54] flyingclimber: thanks for looking into this :) [05:14:05] thats what i'm here for [05:14:11] :) [05:14:15] nite [05:14:39] later flyingclimber [05:14:48] night wesleyhales [07:15:47] SSL :( [07:28:32] greetings Tpt [07:29:03] tfinc: Hello. [07:30:28] Tpt: will you be joining us a the Berlin hackathon ? [07:31:33] tfinc: No, I can't. :-( [07:31:56] aww sadness. i was hoping we would meet you there [07:32:01] no time? [07:32:11] Yes. [07:32:20] But I'll maybe go to Wikimania. [07:36:28] Tpt: what keeps you from coming to Berlin ? [07:36:36] nice. some of us will be there :) [07:36:51] i'm here late debugging our iOS app :( [07:36:54] two major issues [07:37:15] #1 iOS 4.2 has absurd SSL problems [07:37:20] #2 scrolling snafus [09:16:24] tfinc: I'm going to be in SF in mid-May. [09:53:20] SSL as well? :( [09:53:28] Silly 4.2 [10:26:25] New review: Jdlrobson; "This is certainly a big improvement, however the anchors should be placed in the div with class sect..." [mediawiki/extensions/MobileFrontend] (master) C: 0; - https://gerrit.wikimedia.org/r/4432 [13:34:37] tfinc: any progress in replicating on your side? [13:59:32] wesleyhales: yes [13:59:42] i can repo now [14:00:02] tfinc: sweet, can you debug it? [14:00:08] through xcode? [14:00:10] i also figured out why 4.2 ewas so busted [14:00:28] what was it? [14:00:38] SSL [14:00:48] ah [14:01:00] ? [14:01:18] scrolling was related to SSL? Or a different issue? [14:01:27] 4.2 didn't recognize the CA [14:01:46] even safari blew up [14:02:03] ack [14:02:39] while i could repo the issue last night … i coolant figure out why scroll was busted [14:02:58] so i could use your help there [14:03:14] tfinc: sure, yeah it's weird that it works fine in "About us" [14:03:23] but not on the home [14:03:31] :/ [14:03:44] I did notice however, that it starts getting choppy again after an orientation change :( [14:03:53] on about us [14:04:46] wesleyhales: i accepted your cert [14:05:00] tfinc: ok, will check [14:07:58] * tfinc yawns [14:08:15] :) [14:10:33] tfinc: getting the now: http://stackoverflow.com/questions/7088441/the-identity-used-to-sign-the-executable-is-no-longer-valid [14:10:39] * wesleyhales investigating [14:11:30] I guess I need to certificate gen a cert on the dev portal [14:14:33] wesleyhales: i just added you to the 'Dev' profile [14:14:37] its regenerating now [14:14:44] k [14:15:34] it should should be up in your portal [14:16:45] wesleyhales: ---^ [14:16:55] looking [14:17:26] installing [14:24:15] tfinc: "a valid provisioning profile for this executable was not found" [14:24:22] so I need to do anything else? [14:24:35] did you download and add it to your certs ? [14:24:40] yep [14:24:45] I added the one you regened [14:25:06] skype? I can share my screen [14:25:14] or hangout [14:25:35] wesleyhales: and you added it on your phone through the organizer ? [14:25:49] s/on/to [14:26:00] not to the phone directly [14:26:09] checking [14:27:14] It should auto-provision [14:28:07] wesleyhales: it should but it doesn't always work. so you have to check its work [14:28:13] k [14:28:20] that error almost always means that something didn't get installed on your phone [14:30:49] wesleyhales: organizer->devices->your phone .. do you see the cert ? [14:31:12] also note the status column [14:31:29] organizer->library [14:31:36] tfinc: I see my cert in keychain app [14:31:39] -> provisioning profile [14:31:46] yeah I have 2 [14:31:49] what does the organizer say? [14:31:51] in the parent prov profile [14:31:57] but not for my device [14:32:07] you don't see any cert on your device? [14:33:23] tfinc: http://postimage.org/image/504m7t5o5/ [14:33:39] drag and drop the cert onto the device [14:34:02] your phone doesn't have *any* provisioning profiles setup [14:34:22] trying to dnd the .cer from the portal [14:34:26] it won't let me [14:34:32] I know [14:34:40] been trying everything [14:35:28] i can just mail it to you [14:36:22] sent [14:36:35] checking [14:38:29] tfinc: http://postimage.org/image/h6i6112ob/ [14:38:42] rubbish [14:38:47] yep [14:39:01] its times like this that i want to stab apple and hug android [14:39:07] * tfinc has a lot of times like this [14:39:42] no joke [14:39:52] ok, what did you name my device tfinc [14:39:58] in the device list on portal [14:40:03] I see an "iphone4" [14:40:07] at the bottom [14:40:36] wesleyhales: i didn't add it. as a dev it should add it automatically [14:40:38] check the udid [14:40:52] it ends in '7c1a' [14:42:24] tfinc: should you manually add my identifier? [14:42:51] wesleyhales: is the udid that ends in 7c1a not yours ? [14:42:51] https://developer.apple.com/ios/my/devices/howto.action [14:43:01] I just emailed it to you [14:43:40] hopefully htat's the issue [14:44:52] Dev is regenerating [14:45:19] while i was at it i also added you to the ad-hoc distro cert [14:45:38] ok [14:47:03] have you heard of TestFlight? it makes that iOS provisioning stuff a *lot* less painful if you have to do it often [14:47:17] Rolken: you still have to manage UDIDs back and forth [14:47:26] Rolken: but it makes collecting them easier [14:47:52] tfinc: still regenerating? [14:48:00] wesleyhales: done. sending [14:48:05] thanks [14:48:07] i'm surprised you can't see the cert in your portal [14:48:42] I can [14:48:49] just have no idea if it's the latest [14:48:57] it is [14:48:59] just grab it [14:49:03] i also mailed it to you [14:49:37] Rolken: i'd love to see it integrated with the developer portal but today it outputs a file you still have to import [14:49:44] Rolken: it'll be nice when thats automated [14:50:14] I'm a little surprised Apple hasn't just bought the company [14:50:25] I've thought the very same thing [14:50:32] give it some time [14:50:35] that war chest is big [14:50:45] \o/ [14:50:49] heh :P [14:51:34] tfinc: we are good now [14:51:38] wesleyhales: woot! [14:53:34] tfinc: one thing that may help out of the gate is to preventDefault on touchstart & touchmove [14:53:48] it seems links are getting selected while scrolling [14:53:57] or atleast they are changing color [14:55:12] feel free to tinker .. especially after you fork .. then you can just commit your changes locally, push, and send us a pull [14:55:48] tfinc: will do, I need to step away for a few but will try to debug this when I get back [14:56:20] k [15:16:01] hey YuviPanda [15:16:07] YuviPanda: want to know why 4.2 was so busted? [15:16:10] tfinc: heya. [15:16:11] https? [15:16:13] yup [15:16:18] saw that [15:16:32] tfinc: that was the only reason? [15:16:51] that unblocked all my scrolling testing [15:17:02] saved pages and history are still busted [15:17:07] but the nav and settings work [15:17:10] so now it is an iscroll issue (for the most part) [15:17:13] yes [15:17:24] i tinkered around with iScroll but couldn't find the core issue [15:17:43] tfinc: i'll make a branch off v3.1.1 with https off [15:17:51] in other news wesleyhales is around (ask now) and i just got him setup on our dev account [15:18:07] YuviPanda: disable it for 4.2 [15:18:19] tfinc: yes. [15:18:27] even safari freaks out when i use https on 4.2 [15:18:30] http for 4.2, https for other. [15:18:33] i had a hunch it was that and was happy to be right [15:18:37] correct [15:19:04] plus it was fun to touch code again [15:19:19] ah, manager [15:19:20] :) [15:20:44] we need something better then caveman console.log debugging [15:20:55] YuviPanda: yes. i deeply miss it [15:21:23] if you're on xcode 4.2, you could try iWebInspector [15:21:25] oh [15:21:25] no [15:21:31] that's only for 5.x *and* xcode 4.2 [15:21:37] no other combos work [15:21:47] don't be surprised if i start sending pull requests for things i want to clean up :D [15:21:48] hehe [15:21:58] yes [15:22:44] today i'll be traveling north to sacramento . it'll be a two hour drive but i should be able to get online there [15:23:08] over night and then i'll be back and stable by noon'ish [15:23:26] in sf [15:23:56] :) [15:29:15] YuviPanda: with my SSL find you at least have a starting point for today [15:30:05] tfinc: YuviPand_ I somwhat pinpointed the scrolling problem [15:30:12] wesleyhales: do tell [15:30:13] it's coming from chrome.js [15:30:13] woo [15:30:24] basically we are manipulating the DOM [15:30:36] and something is causing iscroll to blow up [15:30:49] I ripped out the dom manipulations and put a bunch of content in [15:30:51] manually [15:30:54] and it works fine [15:31:02] so [15:31:23] hmm, so essentially we're not calling refresh after some DOM manip [15:31:24] this is common, when inserting heavy content like this [15:31:28] something usually messes up [15:31:38] basically [15:31:39] could be [15:31:45] but I really have to go now :) [15:31:49] so will be back [15:31:53] okay [15:31:56] in a hour or so [15:32:21] hmm, moving doScrollHack from renderhtml into onPageLoaded might help... [15:33:44] YuviPanda: see my pm ? [15:41:28] [WikipediaMobile] yuvipanda created v3.1.2-iOS (+1 new commit): http://git.io/t4WKuQ [15:41:28] [WikipediaMobile/v3.1.2-iOS] Selectively make iOS 4.2 use HTTP - YuviPanda [15:41:29] tfinc: ^ [15:41:41] can you test? I am not able to.. [15:41:43] Project WikipediaMobile - Nightly builds build #279: SUCCESS in 8.1 sec: https://integration.mediawiki.org/ci/job/WikipediaMobile%20-%20Nightly%20builds/279/ [15:43:53] k [15:43:55] pulling [15:44:19] * tfinc stashes his changes and hugs git [15:44:42] YuviPanda: am i testing for http vs https or DOM level changes ? [15:44:48] https vs http [15:44:58] I'm making my suspected DOM change now [15:45:25] building [15:48:03] works good now [15:48:43] ok [15:49:19] i'm going to blow away the https cert in safari as well [15:49:42] just to test like anyone else would [15:49:47] ok [15:50:03] we should also let whoever manages our certs know, just in case they didn't already [15:52:50] mobile safari doesn't make finding that easy [15:52:53] thats RobH [15:53:15] i bet you apple just didn't ship the CA with iOS 4.2 [15:53:33] or at least the CA that our wildcard cert was signed with [15:53:38] yeah [15:58:53] [WikipediaMobile] yuvipanda pushed 1 new commit to v3.1.2-iOS: http://git.io/KHJNhw [15:58:53] [WikipediaMobile/v3.1.2-iOS] Move iScroll initialization *after* MobileFrontend init - YuviPanda [15:59:00] tfinc: ^ [15:59:06] Project WikipediaMobile - Nightly builds build #280: SUCCESS in 6.5 sec: https://integration.mediawiki.org/ci/job/WikipediaMobile%20-%20Nightly%20builds/280/ [15:59:06] yuvipanda: Move iScroll initialization *after* MobileFrontend init [15:59:25] though I realize there is more DOM manip happening [16:00:25] YuviPanda: I've been testing around post http fix on 4.2 and everything else minus twitter (haven't tested read it later) works fine [16:00:33] pulling [16:00:43] tfinc: twitter is 5.x + [16:00:51] heads up that i'll be on the road in about an hour [16:01:04] YuviPanda: then we need to not show it on iOS 4.x [16:01:05] ok [16:01:13] hmm, point. [16:05:06] YuviPanda: still super sluggish [16:05:16] tfinc: no difference at all? [16:05:19] let me know if you want me to profile it with instruments [16:05:36] it doesn't *feel* like its improved [16:05:53] if it doesn't feel improved doesn't matter [16:05:55] beya bha [16:05:56] err [16:05:58] heya bharath [16:06:39] YuviPanda: can you tell me how to get started to work on android app [16:06:52] bharath: https://github.com/wikimedia/WikipediaMobile [16:07:03] bharath: you can fork it and start on it! [16:09:20] bharath: http://www.mediawiki.org/wiki/San_Francisco_Hackathon_January_2012/Mobile_tutorial [16:13:07] YuviPanda: i'll have to reset this phone back to hardware defaults to fully test any final build as apple doesn't allow you to remove accepted certs [16:13:11] * tfinc stabs apple [16:13:21] but we can wait on that [16:13:27] sigh [16:13:27] okay [16:13:51] we'd need to test that, since it is possible that the UA detection is not being done correctly and it still uses HTTPS [16:13:55] can wait though [16:14:25] thats why i was trying it [16:14:45] but reports confirm that iOS doesn't let you revoke any accepted cert [16:14:52] okay [16:15:00] i'll reset after we figure out scrolling [16:15:21] ok [16:31:01] hmm, I figured out how to see when the DOM is being modified [16:31:05] DOMSubtreeModified [16:31:11] and it looks like it is supported on iOS webkit [16:31:15] will debug after food [16:31:16] brb [16:31:17] k [16:31:26] i'll be on the road in 30min [17:06:50] well thats lame .. it signs me out when the phone is in standby [17:52:01] * tfinc stabs att [17:52:21] wesleyhales: heh [17:52:22] err [17:52:27] nevermind [17:52:46] YuviPanda|afk: hey, just got back [17:52:46] tfinc, YuviPanda|afk - would it be an idea to add a "comments/questions/bugs email us at mobile@" for the app? [17:52:50] a good idea* [17:53:16] Thehelpfulone: it is in the app's description [17:53:19] there's apps that I've used that if there's an error or a crash it says "send a report"? and then it will open up an email with some details [17:53:40] YuviPanda: I'm on about iOS [17:54:00] Thehelpful one. Twitter has been working well for us. And people are already using the DEV email [17:54:00] and I mean inside the app itself, as well as itunes [17:54:17] what's the dev email address? [17:54:18] For mobile feedback [17:54:39] Mobile-feeeback-l [17:54:58] okay, where's that linked or referenced? [17:55:29] Its the support address for the app in the iTunes store [18:25:08] wesleyhales: any luck? I'm trying to figure out what modifications are happenign by hooking on to DOMSubtreeModified, but not making too much progress [18:25:17] (ev seems to be nothing, still investigating) [18:31:55] * YuviPanda wonders if his messages got through [18:32:33] Project WiktionaryMobile - Nightly builds build #54: SUCCESS in 7.1 sec: https://integration.mediawiki.org/ci/job/WiktionaryMobile%20-%20Nightly%20builds/54/ [18:32:33] hy.cheng: showing list spinner in the list item [18:40:31] Project WiktionaryMobile - Nightly builds build #55: SUCCESS in 7.7 sec: https://integration.mediawiki.org/ci/job/WiktionaryMobile%20-%20Nightly%20builds/55/ [18:40:31] * pfhayes: added progress spinner when loading audio [18:40:32] * pfhayes: added in-list spinner show and hide functions in chrome.js [18:40:32] * pfhayes: showing list spinner in the list item [18:43:33] YuviPanda: trying to understand why this is happening and refreshing scroller, but nothing so far [18:43:40] sigh. ok [19:03:45] wesleyhales: https://github.com/yuvipanda/WikipediaMobile/tree/ios-scrolling-fixes [19:03:48] could you try that out? [19:03:56] i'm calling scrollHack everytime the DOM changes [19:03:59] not ideal [19:04:01] YuviPanda: sure [19:04:20] but this means that it is also called after the DOM changes anytime [19:04:23] YuviPanda: yeah I was doing similar… following the function calls from init to dom render done [19:04:32] so we know we're calling refresh enough times [19:04:42] wesleyhales: have you checked out DOMSubtreeModified event? [19:04:47] is called whenever DOM tree changes [19:04:49] useful for debugging [19:04:53] YuviPanda: not yet, I saw you were using it [19:05:00] helpful? [19:05:18] i'm using it to nuke this now, calling refresh everytime it changes :D [19:05:29] gotcha [19:05:31] now i'll need to instrument it to see when the DOM changes after / before refresh [19:06:59] I was also thinking about ripping out iscroll just to have basic functionality [19:07:02] as a workaround [19:07:13] until we can figure out what is going on [19:07:27] bad reviews suck [19:07:28] wesleyhales: we can't scroll at all without iScroll [19:07:33] yes, they do :( [19:07:57] we could perhaps pour in scrollability instead... [19:07:58] so PG's webview has no default scrolling capability like mobile webkit? [19:08:13] wesleyhales: mobile webkit does not have scroll capabilities [19:08:18] on a per div basis [19:08:28] our nav bar at the bottom means we need to scroll just #content [19:08:31] and not the entire webview [19:08:36] YuviPanda: right, I'm only talking default container [19:08:44] right [19:08:46] ok [19:10:08] YuviPanda: your branch is doing the same thing [19:10:11] coppy [19:10:14] choppy [19:10:18] hmm [19:11:30] do we have a callback somewhere which is called after all DOM mods are done? [19:13:25] wesleyhales: in the code? [19:13:27] not as such. [19:13:39] wesleyhales: onPageLoaded in chrome.js is where a majority of them are done [19:13:48] yeah I saw that [19:13:54] however, note that our section expansion code also does DOM manipulation [19:14:14] so you'd need to call these in the two methods defined in toggle.js as well [19:14:38] however, I'm stumped, since with the code in my branch we were calling it after *all* changes, including the last one and it still is jerky [19:15:37] With free content and an open market, I wonder sometimes why (and to what extent) Wikimedia is getting involved in mobile apps. [19:26:20] OK back [19:27:10] tfinc: wb [19:28:58] wesleyhales: can you try that branch now? [19:29:04] Just read the backscroll. Seems like we don't have any solid leads [19:29:07] i've stopped disabling webkit scrolling [19:29:22] YuviPanda: in the css? [19:29:29] wesleyhales: no, in ObjC [19:29:37] ok [19:32:51] YuviPanda: btw, I don't think scroller.refresh is the issue [19:33:26] if you do a settimeout on creating the iscroll object which occurs 5 seconds later, you still get the issue after dom has been built [19:33:49] YuviPanda: you branch did not work :( [19:33:51] hmm, so it isn't a DOM issue either? [19:33:53] gah [19:34:13] YuviPanda: looking that way… it seemed logical at first [19:34:27] but may be something else causing conflict [19:34:41] so we know for sure that... [19:35:00] without DOM changes it works correctly i.e. About Us page [19:35:30] I had one more idea... [19:35:34] * tfinc tries to get better internet now that he's arrived at his destination  [19:35:41] we create a temp div for staging and building the content [19:35:51] then insert is *gracefully* somehow [19:35:55] into the scroller [19:39:16] wesleyhales: all this feels a bit tooo black magicky for me :( [19:39:29] but frontend js dev seems to be essentially just that. [19:39:51] YuviPanda: yeah, that is why it may be better to try something other than iscroll [19:39:56] but in the essence of time [19:43:10] ? [19:43:42] YuviPanda: iow just trying to buy us some time to fix the real issue [19:43:53] ok [19:44:20] ok … much better [19:46:15] i'm going to see if i can get brion to join [19:49:44] YuviPanda: txt'd brion [19:49:51] cool [19:51:00] YuviPanda: so what do and what don't we know at this point [19:51:04] give me a quick recap [19:51:17] 1. iScroll is causing us issues [19:51:22] 2. It is not causing other people issues [19:51:37] 3. Hence bug is not in iScroll, but how we're using it (most probably) [19:52:04] 4. Calling iScroll's refresh after every DOM change does not work, so it is possible it is not a 'refresh not being called after DOM change' bug [19:52:20] 5. Using iScroll-lite, a versio of iScroll without fancy features like 'pull to refresh' does not help [19:52:44] 6. enabling/disabling webview scrolling does not make a difference [19:52:53] have we ripped out a sample page and fed it through iScroll *outside* of the app ? [19:53:35] tfinc: that's what we did with the iScroll demo page yesterday, no? [19:53:47] YuviPanda: no, with a sample wikipedia page [19:53:56] hmm, no. let me go do that [19:54:06] i want to start ruling things out [19:55:39] tfinc: I am trying out scrollability, another scrolling library like iScroll [19:55:50] i'll try our contents with iScroll4 right after that [20:02:55] k [20:04:18] okay, scrollability looks like a no go [20:04:30] last commit 6 months ago, no documentation and following samples doesn't seem to work [20:05:32] fail [20:08:36] YuviPanda: there is a recent list of scroll libs put together here: https://github.com/bebraw/jswiki/wiki/Touch [20:11:09] wesleyhales: checking it out [20:24:57] wesleyhales: zynga scroll doesn't seem to give me anything either [20:25:06] doh [20:25:20] YuviPanda: how is the isolated WP page with iScroll ? [20:26:54] just take the San Francisco article and make the search box the div that should stay [20:27:18] yeah, giving up on scroll methods and doign that now [20:40:58] great, now the internet is shitty too. [20:41:05] * YuviPanda goes afk for 20 mins [20:44:28] k [21:09:12] * tfinc gets back from a delayed lunch [21:10:40] YuviPanda: any luck staging the one off ? [21:10:45] yes [21:10:48] i've it on local [21:10:49] scping it [21:12:36] tfinc: http://yuvi.in/iscroll.html [21:12:42] testing [21:13:20] i also am not sure how much longer I can be up. A bit too tired today, not sure why [21:13:31] wesleyhales: ^ [21:13:35] YuviPanda: yep [21:13:41] YuviPanda: same problem [21:13:47] tfinc: on the browser? [21:13:50] yes [21:13:54] safari has the same issue [21:14:03] tfinc: jerky scrolling? [21:14:06] thus we can now rule out all other parts of the app [21:14:09] correct [21:14:11] ok [21:14:12] so [21:14:13] horrible scrolling [21:14:15] it is iScroll [21:14:43] hmm, i've a reasonably whacky idea [21:14:44] gimme am in [21:16:14] tfinc: try refreshing [21:16:20] k [21:16:48] wrose [21:16:49] worse* [21:16:53] ugh [21:16:54] me too [21:17:02] big problem here is we are testing on desktop [21:17:06] so it is not the interaction of our toggle code and iScroll [21:17:09] with newer webkit versions [21:17:10] wesleyhales: tfinc is testing on a device [21:17:12] ah [21:17:14] cool [21:17:37] tfinc: worse how? [21:17:41] wesleyhales: i've gotten yuvi to rig up the simplest example to help isolate this [21:17:41] It might be the way we are using iscroll [21:17:47] one page with just the iScroll code [21:17:48] nothing else [21:17:51] I see [21:17:51] one page of our content [21:17:52] ok [21:17:56] which *still* shows the problem [21:17:58] wesleyhales: this is the iscroll example page [21:18:07] letting us rule out all other parts of the app [21:18:08] with their content killed and replaced with html from ours [21:18:24] worse as in it barely scrolls now [21:18:32] huge delay between touch and scroll [21:18:43] and it seems to just jump to where scrolling ends [21:18:54] and never *actually* scrolls [21:19:13] wesleyhales: how does it look on device for you? [21:19:39] checking [21:19:52] tfinc: i wonder if iScroll was never really meant for things like this... [21:19:57] iPhone 4S (iOS 5.0) continues to work perfectly [21:20:15] tfinc: note that we do not use iScroll on iOS 5+ in the app. [21:20:18] wait why am i even checking .. we don't use iScroll there [21:20:22] eys [21:20:27] tfinc: it's choptastic [21:20:32] also, IIRC scrolling got hardware accelerated from %+ [21:20:35] err [21:20:36] 5+ [21:20:40] so much more faster anyway [21:20:57] devgeeks: when you used iScroll, did you use it on large lists or large arbitrary content? [21:23:13] tfinc: try now? [21:23:18] reloading [21:23:19] styles would suck, but see how is scrolling? [21:23:40] *much* better [21:23:52] tfinc: do the styles suck? [21:23:59] tfinc: can you get a screenshot? [21:24:06] yup, the whole page is pretty jacked up [21:24:06] sure [21:24:26] that looks good for me too [21:24:45] okay, refresh now [21:24:50] and tell me if it is fucked up or not [21:24:58] ? [21:25:08] reloading [21:25:15] is for me [21:25:50] the styles still look off. hard to judge wether its better or worse [21:25:56] let me send you some screenshots [21:26:02] tfinc: styles will be off [21:26:05] just check scrolling [21:26:14] essentially, i'm trying to isolate if the bug is caused by CSS [21:26:15] or JS [21:26:16] the scrolling is fine [21:26:34] downright perfect [21:26:36] ok [21:26:38] so [21:26:40] it is our styles [21:26:51] and to be more specific, some style from common.css [21:26:56] that is causing this [21:28:11] where is common.css? [21:28:17] this is why we create the simplest possible scenario for debugging [21:28:25] to remove the noise [21:28:30] :) [21:28:45] wesleyhales: when you ran 'make' you should've gotten a toggle.js and a common.css [21:28:50] this demo is running on https://bits.wikimedia.org/w/extensions-1.19/MobileFrontend/stylesheets/common.css?version=1333407705 [21:29:08] which is a slightly newer version than what we have shipping in the app [21:29:54] i'm currently diffing them [21:31:02] http://dpaste.org/mfNKQ/ [21:31:04] is the diff [21:31:11] between what we have in the app and the link I gave above [21:31:31] not of that looks scray [21:31:33] scary* [21:31:58] yeahe [21:32:11] now I do binary elimination. [21:32:19] copy that css locally, keep commenting out halves of it [21:32:27] :D [21:32:31] were close [21:32:48] i'm scping it to the server [21:32:53] sshing with my latency sucks [21:34:00] tfinc: try now [21:34:03] k [21:34:23] broken [21:34:25] ok [21:34:32] scrolling broken, styles okay. [21:34:33] correct? [21:34:43] yes [21:35:37] try now [21:35:42] looks good [21:35:56] reloading [21:36:17] better but not as good as before [21:36:49] that's interesting [21:36:53] agree, it is a little laggy [21:36:55] i only cut out all the zero related stuff [21:37:01] which should've had no effect [21:37:10] let me cut more stuff [21:37:26] snip snip snip [21:38:18] tfinc: just forwarded an app related email I got [21:38:24] don't look at it now. [21:38:26] k [21:38:28] * YuviPanda continues sniping [21:38:50] okay [21:38:52] refresh? [21:39:42] tfinc: ^ [21:39:47] reloading [21:40:01] still jerky [21:40:18] I gotta run guys, will check back later [21:40:22] ok [21:40:27] now let me start binary commenting [21:40:53] tfinc: reload [21:40:57] reloading [21:41:25] much better [21:42:06] hmm [21:42:13] tfinc: scrolling back to 'perfect'? [21:42:19] yes [21:42:54] ok [21:43:24] tfinc: try now [21:43:36] reloading [21:43:48] worse [21:43:52] good [21:43:59] what was it ? [21:44:28] now? [21:44:34] yeah [21:44:34] no idea, i'm now down to 150 lines [21:44:37] k [21:44:38] refresh [21:44:39] ? [21:45:04] worse [21:45:07] ok [21:45:38] tfinc: refresh [21:45:52] intercontinental debugging [21:45:52] reloading [21:46:10] better but jerky [21:46:54] tfinc: now [21:46:55] ? [21:46:58] reloading [21:47:17] back to 'perfect' [21:47:26] hm [21:48:09] tfinc: try now [21:48:16] reloading [21:48:36] same … works just fine [21:48:40] okay [21:48:43] it is one of the table styles [21:49:46] tfinc: try now [21:49:50] reloading [21:50:08] worse [21:50:20] ugh, so not the tables [21:50:28] not horrible but worse [21:51:01] tfinc: try now? [21:51:15] reloading [21:51:43] worse [21:52:04] doesn't scroll .. just jumps [21:52:33] tfinc: now? [21:52:37] reloading [21:53:06] no improvement [21:53:52] now? [21:53:55] reloading [21:54:17] better but jerky [21:55:36] hmm [21:55:38] tfinc: try now? [21:55:42] reloading [21:56:10] worse [21:56:32] are you sure you're not seeing cache issues? [21:56:41] this config was one you said worked fine a while ago [21:56:49] let me clear cache [21:58:43] its no better after clearing the cache [21:58:58] YuviPanda: is it time for you to step away and take a break? [21:59:11] we can mail jon and see if he can pick it up now that its isolated [21:59:34] can we timebox this for anothet 15 minutes? [21:59:38] sure [21:59:42] leaving this broken makes me feel pretty ugh [22:01:13] tfinc: clear cache try again [22:01:16] k [22:01:28] I'm back [22:01:30] for a few [22:01:33] can I do anything [22:02:23] cleared the cache .. it barely scrolls now [22:02:28] wesleyhales: http://yuvi.in/common.css [22:02:36] look at it and see if there's anything odd? [22:03:00] tfinc: tfinc refresh [22:03:01] try again [22:03:04] after clearing cache [22:03:08] divclearable zoom:1 *maybe* [22:03:13] YuviPanda: [22:03:33] YuviPanda: its back to being smooth [22:03:45] wesleyhales: it was commented out last time tfinc checked [22:03:52] so what we know for now: [22:03:59] 1:150 commented out -> jerky [22:04:04] 1:300 commented out -> smooth [22:05:15] wesleyhales: can you confirm that it is smooth on your device too? [22:05:28] YuviPanda: I read that drop shadows mess with iscroll [22:05:34] YuviPanda: yes it is [22:05:48] not sure if broder-radius would mess with it [22:05:50] I doubt it [22:06:10] tfinc: wesleyhales clear cache and refresh? [22:06:14] k [22:06:23] wesleyhales: i'm doing a dumb binary search, trying to isolate the cause [22:06:41] right [22:06:44] however, if tfinc says this is jerky too, that means that the cause is some statement in 1:150 *and* some in 150:300. [22:06:48] I'm looking at 150-300 [22:06:48] not a single rule but a combination of them [22:07:08] looks good to me [22:07:29] jerky [22:07:39] gah [22:07:50] so all we know is that it is a combination of rules in 1:300 [22:08:30] tfinc: are you clearing your cache through settings? [22:08:35] yes [22:08:37] ok [22:08:44] wesleyhales: did you? [22:08:49] no [22:08:59] i wasn't before but am now [22:09:03] ok [22:09:16] YuviPanda: I just did [22:09:21] and it still scrolls well [22:09:23] for me [22:09:28] wesleyhales: 4.3? [22:09:30] yep [22:09:34] tfinc: 4.2? [22:09:57] jerky but better then before [22:10:11] not shippable though [22:10:13] tfinc: are you on 4.2? [22:10:17] yes [22:10:34] hmm [22:10:41] so it is smooth on 4.3 but not 4.2 [22:10:46] gah [22:10:49] let me write notes someplace [22:12:09] before you crash respond on my thread so that everyone knows where were at and include these notes [22:12:41] http://etherpad.wikimedia.org/wikipedia-app-ios-issues [22:12:43] yes [22:14:16] wesleyhales: can you refresh cache and tell me if this is smooth or not? [22:14:24] checking [22:14:41] tfinc: you should make a note saying 'known issues with 4.x, we're working on a fix' [22:14:43] if you haven't already [22:14:50] YuviPanda: choppy [22:14:58] YuviPanda: you mean on twitter? [22:15:04] tfinc: on the iTunes desc [22:15:16] sure [22:17:09] YuviPanda: I wonder if it's the white space pre-wrap [22:17:28] it's the only style I see that isn't that common [22:17:34] wesleyhales: which one? [22:17:36] also [22:17:36] http://etherpad.wikimedia.org/wikipedia-app-ios-issues [22:17:47] line 247 [22:18:03] 182, 178 [22:18:15] i don't know if we're using any pre elements [22:18:18] but just commenting those out [22:18:44] I'm looking in the 144-300 range [22:18:48] for strangness [22:19:16] tfinc: wesleyhales clear cache and try again? [22:19:19] all pre-wraps commented [22:19:20] k [22:19:40] smooth for me [22:20:27] better but still jerky [22:21:04] I get good inertia from that [22:21:04] hmm [22:21:10] what did you do YuviPanda [22:21:18] wesleyhales: commented out all the whitespace: pre-wrap [22:21:21] ok [22:21:35] I completely reset the browser just to be safe [22:21:38] ok [22:21:46] i'm making a branch with these things commented out [22:23:39] [WikipediaMobile] yuvipanda pushed 1 new commit to v3.1.2-iOS: http://git.io/OzUsrw [22:23:39] [WikipediaMobile/v3.1.2-iOS] Include common.css file. Remove pre-wrap - YuviPanda [22:23:42] wesleyhales: ^ [22:23:46] can you build and try that? [22:23:47] tfinc: ^ [22:23:52] sure [22:23:52] Project WikipediaMobile - Nightly builds build #281: SUCCESS in 6.7 sec: https://integration.mediawiki.org/ci/job/WikipediaMobile%20-%20Nightly%20builds/281/ [22:23:53] yuvipanda: Include common.css file. Remove pre-wrap [22:23:55] pulling [22:24:01] yep [22:26:34] builiding [22:28:54] no difference. super jerky [22:29:17] yep, same for me [22:29:24] ugh [22:30:00] instead of commenting [22:30:04] maybe you should override [22:30:20] do we still have the big parent common being included as well? [22:30:39] wesleyhales: there is only one common.css being included in the app [22:30:54] YuviPanda: the new small one that you just added? [22:31:14] wesleyhales: can you replace assets/www/common.css with http://yuvi.in/common.css [22:31:20] and build again? [22:31:21] tfinc: ^ [22:31:24] sure [22:31:43] wesleyhales: so, when you hit 'make', it pulled down a common.css from svn pinned to a specific revision [22:31:54] now i just included that in git and started making changes [22:32:24] YuviPanda: i deleted my copy of common.css so that i could get a fresh copy from the git branch [22:32:36] ok [22:32:52] hmm, yes. when you pulled it should've complained about some overwriting [22:32:56] no improvement [22:32:59] and you would've had to delete the existing common.css [22:33:02] wesleyhales: ^ [22:33:17] tfinc: so, the change I made (pre-wrap) seemed to make scrolling natural on 4.3, but not 4.2 [22:33:26] yes [22:33:35] so am trying to get wesleyhales to check if it works on the app too, because then atleast we'll have it 'fixed' on 4.3 [22:33:51] k [22:33:51] no it's laggy [22:34:18] wesleyhales: can you comment out lines 1:300 and try building/testing? [22:34:24] sure [22:34:26] this is voodoo [22:34:28] damn [22:36:02] works perfect after the comment [22:37:45] hmm [22:37:56] wesleyhales: do binary chopping there :) [22:37:57] ? [22:38:03] 1:144 [22:38:05] 144:300 [22:38:12] one step ahead [22:38:14] :) [22:38:17] :D [22:46:31] YuviPanda: it's weird because the performance degrades as I narrow down my search [22:46:39] but it's not unusable like before [22:46:53] I'm trying one last thing now [22:47:01] there's a theory at the back of my head that says that the more the number of CSS rules slower scrolling is [22:47:06] which makes absolutely no sense to me [22:47:19] yes, crazy selectors can slow things down [22:47:35] but this much? [22:47:45] also, I think it is more than just one selector [22:47:52] hard to tell with the iscroll black box [22:48:05] so when you narrow it down, you comment out one of the things causing issues but leave another one on [22:48:15] possibly [22:48:22] that is what I'm thinking [22:48:29] that explains the behavior we're seeing [22:48:29] maybe this css could use a re-write :) [22:48:47] so [22:49:35] commenting out the entire class definition of the 3 white-space: classes seems to improve performance [22:49:46] it's usable [22:49:50] but not super smooth [22:49:57] but nowhere near as bad as it was [22:50:07] maybe it's the selectors trying to parse the dom [22:50:10] kill all the !importance [22:50:11] ? [22:50:16] !important [22:50:16] s [22:52:08] ok I hope I got it [22:52:17] I just killed everything with a wildcard [22:52:28] ie td[style*="text-align"] [22:52:51] I haven't used this selector before but I think it gets all elements with a 'text-alig' style [22:53:15] the scrolling performs flawlessly after removing every * based selector query [22:53:56] \o/ [22:54:05] let me do that and push for tfinc [22:54:15] k [22:54:16] let me paste it [22:54:34] ah, okay [22:54:53] wesleyhales: how does the content look? [22:55:01] https://gist.github.com/2332690 [22:55:18] building [22:55:26] YuviPanda: a brief look shows good results [22:55:29] let me check [22:55:42] i'm guessing they were added for a reason [22:55:46] we can poke jon on monday [22:56:03] YuviPanda: btw, I commented the !important's in desperation [22:56:07] so that may not be needed [22:56:28] wesleyhales: can you update http://etherpad.wikimedia.org/wikipedia-app-ios-issues [22:56:28] ? [22:56:29] YuviPanda: it could be overuse of a feature [22:56:33] which I have seen many times [22:56:42] but that is an assumption [22:56:43] :) [22:58:36] much better [22:59:02] oddly thought … tapping links in the article has no effect [22:59:08] but i can search just fine [22:59:35] YuviPanda: etherpad updated [22:59:42] cool! [22:59:50] tfinc: no effect at all? [22:59:53] wesleyhales: are you seeing this? [22:59:57] tfinc: also, saved pages work/ [22:59:58] ? [23:00:01] what? [23:00:06] ah [23:00:10] what tfinc reported [23:00:23] links work for me [23:00:38] after second try [23:00:47] or a *hard* tap :) [23:00:57] ah [23:00:58] wait [23:01:03] they work on first tap [23:01:34] what bizarre is that i can tap on the language icon .. and pick from the iw links just fine [23:01:43] wesleyhales: saved pages, etc? [23:01:44] and here is where its bizarre [23:01:47] then i can tap on links [23:02:26] yes [23:02:29] saved pages work [23:02:31] YuviPanda: [23:02:44] tfinc: scrolling isn't the only thing broken in 4.2 [23:02:48] I suspect some other js component is too [23:03:05] ok this is pretty nutty [23:03:30] Language:English En main page … links don't work [23:03:42] Language:Espanol En main page … link *work* [23:04:24] Language:Espanol ES main page … links don't work [23:05:09] fyi: everything looks good on 4.3 [23:05:15] but I gotta run now [23:05:24] you guys need anything else from me? [23:05:28] YuviPanda: tfinc [23:05:35] thanks for your help wesleyhales [23:05:39] wesleyhales: thanks! [23:05:46] all of this will make your talk with jon this week extra fun :D [23:05:49] tfinc: do saved pages work? [23:05:50] tfinc: YuviPanda sure thing [23:05:52] nearby? [23:05:53] on 4.2 [23:05:54] let me try [23:06:02] tfinc: awesome [23:06:04] :) [23:06:49] near by seems to work fine [23:07:38] pages save and reload fine [23:07:38] but [23:08:05] the http change causes them to show up us 'HTTP://blablah' in the saved pages view [23:08:23] main page [23:08:24] ? [23:08:46] no. red hot chill papers page :) [23:08:50] peppers* [23:09:02] ah [23:09:14] so were screwing up on the title somewhere [23:09:19] small thing [23:09:39] scrolling is *much* improved [23:09:50] down right perfect [23:09:50] aha [23:09:54] on 4.2 as well? [23:10:00] yes! [23:10:42] the only major issue is why links on the default language don't work [23:11:21] tfinc: i see the title, it seems to be okay [23:11:28] tfinc: did you reset the phone to make sure we're on http? [23:14:24] not yet [23:14:26] let me do that [23:14:38] i have to do a hardwar reset [23:14:43] lets hope this phone survives ;) [23:15:20] ugh [23:15:20] actually .. i'm going to try "erase all content and setting" [23:15:24] ah [23:15:24] first [23:15:26] that should hopefully work [23:15:29] then i'll go to https [23:15:36] and IF it gives me an ssl warning [23:15:38] we know that it did it [23:15:42] ok [23:15:48] don't accept the setting though [23:15:53] yes [23:16:30] ok .. its slowly … resetting [23:18:36] YuviPanda: this reset will likely take about 5-10min [23:18:42] tfinc: i'm cleaning up the gist wesley made and committing it [23:18:51] k [23:21:01] i'm super curious to to see what this phone says post reset … as its jailbroken ;) [23:21:39] aha! [23:21:57] 'hello, you're the owner of a rather expensive brick! it looks nice too!' [23:24:11] :D [23:24:25] 3/4 done resetting [23:25:08] nice [23:25:40] * tfinc twiddles thumbs in anticipation  [23:25:48] YuviPanda: bad news on tpt. he can't come to berlin [23:25:54] saw the logs [23:25:56] :( [23:25:58] astagi? [23:27:24] i need to find out from sumana [23:27:27] he was on the list [23:27:30] and had freed up the time [23:27:48] iPhone 4.2 is back up :D [23:29:31] * tfinc does not have a pricey brick in his hand [23:30:42] tfinc: nice [23:30:48] i'm *not* getting the cert warning [23:31:15] hohoho [23:31:30] making the cert test harder [23:32:05] before i do the other reset i'm going to try the app again [23:32:45] YuviPanda: welcome back [23:32:50] what did i miss? [23:33:01] me complaining that i didn't get a warning about https [23:33:13] before i do the hard reset [23:33:18] i'm going to try the app and check scrolling [23:33:42] scrolling works. same tapping link issue. [23:33:59] okay [23:34:11] tfinc: doesn't work on any page at all? [23:34:45] no link for the configured language works [23:35:06] but as soon as you use an iw link to *anything* else … those work [23:37:33] YuviPanda: sonuva .. i can't replicate the cert issue [23:37:40] ... [23:37:44] does the phone save the cert to some super secret place? [23:37:50] i hope not [23:38:14] all reports online say that you can't get to it through the settings menu [23:38:17] * tfinc goes back to test the app [23:40:52] app scrolling continues to be much better [23:41:02] tfinc: as good as the web version? [23:41:13] yuvi.in/iscroll.html [23:41:13] that is [23:42:23] let me see [23:44:12] YuviPanda: its actually way better than iscroll.html [23:44:15] heh [23:44:23] ah yes. [23:44:33] we found the cause [23:44:33] safari compared to the app is interesting [23:44:49] at first were a little slower within *an* article [23:45:16] but once it warms up its great [23:45:47] :) [23:46:05] tfinc: so bugs you see on 4.2 now are tap not working (weird) and the name not turning up properly [23:46:12] yes [23:46:17] also [23:46:24] anything *slow* within the app in general [23:46:29] is magnified on 4.2 [23:46:32] due to its slower cpu [23:46:35] yes [23:46:57] I need to take a profiler to our app. I'm sure we can find some 'easy wins' [23:46:58] so startup, settings, etc … take a bit of time [23:47:00] but they do work [23:47:12] tfinc: also note the 'fastclick' issue. [23:47:15] YuviPanda: yes. i had instruments hooked up to it before [23:47:21] I *think* click actions are 300s slower [23:47:21] there may be something better for the js stack [23:47:40] i think loading it up on firebug should do a good first pass [23:47:49] i need to first get that working there, ofcourse [23:47:50] next week [23:47:56] so action items [23:48:09] 1) send out a status update on my mail [23:48:19] plug in a quick line in bugzilla [23:48:23] 2) --^ [23:48:32] 3) get some rest [23:48:36] 4) lets pick this up tomorrow [23:48:44] okay [23:48:45] in your email call out what you need jon for [23:48:59] yes, will copy stuff off the etherpad into email [23:49:04] great [23:49:39] tfinc: and i'm not sure what to think/do about that email I forwarded you either :) [23:50:10] ignore it for now. its not a priority. [23:50:17] its barely constructive [23:50:26] :) [23:50:35] will be commiting css in a few minutes, would like you to test before you go off. [23:50:43] sure [23:50:59] i can stick around for another 30min [23:51:02] then it'll get really hard [23:51:07] as i have to tend to a dinner [23:51:12] yeah, i understand [23:51:13] but i wasn't about to make you work on this yourself today [23:51:16] so i brought everything with me [23:51:21] 30m would be more than enough [23:51:29] tfinc: thanks for taking time on a saturday to do this [23:51:36] np. thats what i'm here for [23:51:56] i made sure tina and everyone else know why i had so much gear with me [23:52:05] and they understood [23:52:08] wished us well [23:52:34] tfinc: ^ [23:52:36] err [23:52:37] wait for the bot [23:52:38] [WikipediaMobile] yuvipanda pushed 1 new commit to v3.1.2-iOS: http://git.io/8lAzug [23:52:38] [WikipediaMobile/v3.1.2-iOS] Comment out all *= based selectors - YuviPanda [23:52:39] i just pushed [23:52:42] ^ [23:52:45] tfinc: that's wonderful. [23:52:51] Project WikipediaMobile - Nightly builds build #282: SUCCESS in 6.8 sec: https://integration.mediawiki.org/ci/job/WikipediaMobile%20-%20Nightly%20builds/282/ [23:52:52] yuvipanda: Comment out all *= based selectors [23:55:28] pulling [23:56:20] * tfinc deletes local copy of common.css [23:56:26] bulding [23:56:29] building* [23:58:08] YuviPanda: this isn't as smooth [23:58:12] hmm [23:58:20] then looks like the !important also needs to be removed? [23:58:28] * YuviPanda removes those too