Thursday, 2012-04-26

*** Joins: jkarsrud (u2716@gateway/web/irccloud.com/x-fxkbvckuvpjqijst)00:04
*** Joins: Flo0815 (~Flo0815@188-195-19-225-dynip.superkabel.de)00:21
*** Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 250 seconds)00:32
*** Quits: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t) (Ping timeout: 244 seconds)00:33
*** Joins: temp01 (~temp01@unaffiliated/temp01)00:34
*** Joins: christatedavies (~christate@76.73.18.134)00:49
*** Parts: christatedavies (~christate@76.73.18.134) ()00:49
*** Joins: j_simon (~j_simon@mail.know-center.tu-graz.ac.at)01:08
*** Quits: darcyclarke (~darcyclar@108.162.149.34) (Quit: Leaving...)01:29
*** Joins: sean` (~seankoole@79.132.224.142)01:43
*** Joins: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t)01:45
*** Joins: iLoop (~iLoop@unaffiliated/iloop)02:26
*** Quits: iLoop (~iLoop@unaffiliated/iloop) (Ping timeout: 252 seconds)02:38
*** Joins: iLoop (~iLoop@unaffiliated/iloop)02:39
*** Quits: berukblue (~hanifn@bb116-15-151-251.singnet.com.sg) (Ping timeout: 272 seconds)02:44
*** Quits: sean` (~seankoole@79.132.224.142) (Ping timeout: 256 seconds)04:08
*** Quits: kborchers (~kborchers@unaffiliated/kborchers) (Excess Flood)04:14
*** Joins: kborchers (~kborchers@unaffiliated/kborchers)04:14
*** Joins: skylamer` (cgskylamer@78.90.213.55)04:25
*** Joins: sean` (~seankoole@79.132.224.142)04:26
*** Quits: sean` (~seankoole@79.132.224.142) (Quit: Ik ga weg)04:35
*** Joins: azatoth_work (~azatoth@wikipedia/AzaToth)05:08
*** Joins: kswedberg (~kswedberg@173-162-44-162-michigan.hfc.comcastbusiness.net)05:12
*** Quits: mikeycgto (~mikeycgto@pdpc/supporter/active/mikeycgto) (Ping timeout: 260 seconds)05:28
*** Quits: Flo0815 (~Flo0815@188-195-19-225-dynip.superkabel.de) ()05:33
*** Joins: mikeycgto (~mikeycgto@ool-4571cba8.dyn.optonline.net)05:41
*** Quits: mikeycgto (~mikeycgto@ool-4571cba8.dyn.optonline.net) (Changing host)05:41
*** Joins: mikeycgto (~mikeycgto@pdpc/supporter/active/mikeycgto)05:41
*** Joins: danzik171 (~danzik17@ool-321d1038.dyn.optonline.net)05:55
*** Quits: danzik17 (~danzik17@ool-435606a9.dyn.optonline.net) (Ping timeout: 245 seconds)05:55
*** Joins: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com)05:56
*** Quits: sneakyness (~sneakynes@c-66-235-53-113.sea.wa.customer.broadstripe.net) (Ping timeout: 244 seconds)05:59
*** Quits: danzik171 (~danzik17@ool-321d1038.dyn.optonline.net) (Ping timeout: 248 seconds)06:01
*** Joins: danzik17 (~danzik17@164.55.254.106)06:03
*** Joins: gibson042 (~rgibson@nat-03-mht.dyndns.com)06:11
gibson042.06:14
*** Quits: bartmax_ (~bart@r186-53-132-197.dialup.adsl.anteldata.net.uy) (Read error: Connection reset by peer)06:23
*** Joins: bartmax (~bart@unaffiliated/Bartmax)06:23
*** Quits: j_simon (~j_simon@mail.know-center.tu-graz.ac.at) (Quit: Linkinus - http://linkinus.com)06:24
*** Joins: rwaldron (~rwaldron@75-150-66-249-NewEngland.hfc.comcastbusiness.net)06:33
*** Joins: darcyclarke (~darcyclar@108.162.149.34)06:35
*** Joins: temp02 (~temp01@unaffiliated/temp01)06:53
*** Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 252 seconds)06:54
*** Joins: bluezjuice (~bluezjuic@gateway/tor-sasl/bluezjuice)06:58
*** Quits: iLoop (~iLoop@unaffiliated/iloop) (Quit: Leaving...)07:04
*** Joins: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com)07:06
*** Joins: vynsynt (~7hz@rma2.org)07:07
*** Parts: vynsynt (~7hz@rma2.org) ()07:08
*** Quits: darcyclarke (~darcyclar@108.162.149.34) (Quit: Leaving...)07:12
*** Joins: warrenparsons (~warrenpar@68.70.177.84)07:13
*** Joins: colinclark (~colin@69.158.19.7)07:13
*** Joins: bartmax_ (~bart@r186-53-129-73.dialup.adsl.anteldata.net.uy)07:19
*** Quits: bartmax (~bart@unaffiliated/Bartmax) (Ping timeout: 252 seconds)07:21
*** Joins: Flo0815 (~Flo0815@188-195-19-225-dynip.superkabel.de)07:33
*** Quits: ben_alman (~cowboy@awesome.benalman.com) (Excess Flood)07:38
*** Quits: bluezjuice (~bluezjuic@gateway/tor-sasl/bluezjuice) (Ping timeout: 276 seconds)07:47
*** Quits: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com) (Ping timeout: 248 seconds)07:47
*** Joins: ben_alman (~cowboy@awesome.benalman.com)07:51
*** Joins: kriszyp (~kriszyp@71-38-234-74.slkc.qwest.net)07:54
*** Joins: koopersmith (~koopersmi@user-12hcvj4.cable.mindspring.com)07:54
*** Quits: warrenparsons (~warrenpar@68.70.177.84) (Quit: warrenparsons)07:58
*** Joins: snover (~Adium@unaffiliated/snover)08:02
*** Quits: ajpiano (~ajpiano@li98-57.members.linode.com) (Excess Flood)08:08
*** Joins: ajpiano (~ajpiano@li98-57.members.linode.com)08:11
*** Joins: darcyclarke (~darcyclar@75.98.19.133)08:22
*** Joins: warrenparsons (~warrenpar@68.70.177.84)08:28
*** Quits: Flo0815 (~Flo0815@188-195-19-225-dynip.superkabel.de) ()08:29
*** Joins: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com)08:30
*** Quits: darcyclarke (~darcyclar@75.98.19.133) (Ping timeout: 260 seconds)08:44
*** Joins: stevecrozz (~stevecroz@173.227.0.2)08:52
*** Quits: koopersmith (~koopersmi@user-12hcvj4.cable.mindspring.com) (Quit: Leaving.)09:06
*** Quits: kborchers (~kborchers@unaffiliated/kborchers) (Excess Flood)09:08
*** Joins: kborchers (~kborchers@unaffiliated/kborchers)09:10
*** Quits: AzaToth (~azatoth@wikipedia/AzaToth) (Quit: "Giano defends his writing, lambasts Jimbo, Jimbo defends his block, community takes up arms (and popcorn). Giano scrambles his password, makes his last statements, and leaves." - Tznkai)09:17
*** Quits: colinclark (~colin@69.158.19.7) (Quit: colinclark)09:26
*** Joins: michaeldeol (~michaelde@pool-71-105-23-14.lsanca.dsl-w.verizon.net)09:47
*** Quits: gavin_huang (~gravof@125.114.181.221) (Quit: Leaving)09:48
*** Quits: michaeldeol (~michaelde@pool-71-105-23-14.lsanca.dsl-w.verizon.net) (Quit: michaeldeol)09:53
*** Joins: colinclark (colin@nat/ocadu/x-geqdrgfcufnrnigi)09:56
*** Joins: iLoop (~iLoop@unaffiliated/iloop)09:59
*** Quits: iLoop (~iLoop@unaffiliated/iloop) (Client Quit)10:00
*** Joins: wbednarski (~wbednarsk@abeo158.neoplus.adsl.tpnet.pl)10:13
*** Joins: sindresorhus_ (~sindresor@82.147.51.146)10:24
*** Joins: iLoop (~iLoop@unaffiliated/iloop)10:40
*** Quits: sindresorhus_ (~sindresor@82.147.51.146) (Quit: Leaving...)10:50
*** Joins: LakWork (~LakWork@216.3.100.222)10:51
*** Joins: soc42 (~soc42@HSI-KBW-46-237-193-8.hsi.kabel-badenwuerttemberg.de)11:10
*** Joins: Krinkle (~Krinkle@wikimedia/Krinkle)11:26
Krinkle.11:27
Krinklejzaefferer: hey there, you back from the conference?11:28
jzaeffererHey Krinkle11:30
jzaeffererBack yeah, but pretty tired11:30
Krinklegnarf: btw, just catching up on github notifications, did you have time to dig into https://github.com/jquery/jquery/commit/58ed62ed12cb48d9224f699e86e197804ca5ece411:31
socialhapy★ Commit on jquery by dmethvin (2d, 23h ago): Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson04211:31
Krinklejzaefferer: Do you have any experience with the GitHub API?11:31
jzaeffererI want to focus on TestSwarm/BrowserStack/Jenkins the next days, update the latter two enough that we can deploy 1.0.011:31
gnarfthe test fails? not yet11:31
Krinklegreat, I have somewhat bad news on that regard, not terrible just a minor set back11:31
Krinkle^ @ jzaefferer11:31
gnarfBeen a bit overworked this week11:32
jzaeffererKrinkle: Afaik scott_gonzalez has some experience with the GitHub API, at least he managed to implement gist-diff11:32
gnarfwas hoping mikesherov might know why that happened it seems like thats in the css changes11:32
Krinklejzaefferer: I was hoping to connect you to hasher (wikimedia dev), to help and sweeten the jenkins-testswarm plugin11:32
gnarfthat he did11:32
Krinklebut it appears he doesn't have any experience writing Jenkins plugins, I misinterpreted something.11:32
jzaeffererKrinkle: Does he know Java?11:33
johnbenderrwaldron: _|Nix|_ metioned eventCascade in our meeting and it reminded me to ask you about the qunit plugin :D11:33
KrinkleI thing he'll be able to read basic java, but I haven't seen him write any11:33
KrinkleHe didn't jump on the offer to work on a jenkins plugin11:33
Krinkleso we (without me that is) will have to figure it out on our own11:34
jzaeffererAh, okay, that probably won't help much11:34
Krinkleaside from the testswarm plugin, I was hoping maybe we can figure out a way in jquery's build configuration in jenkins to somehow make it report back to github through a comment11:35
Krinkle(after the build is considered completed that is, so this needs the plugin to be fixed for 1.0.0)11:35
gnarfhrm11:35
Krinklejust a basic "passes", "failed" would be fine + a link to the build page on jenkins11:35
gnarfi wonder if we couldn't implement the "testswarm" as a part of a grunt task11:36
KrinkleI have heard the term "grunt" before, but kinda clueless on it11:36
KrinkleI'll retype what I was writing before you mentioned "grunt" now, hold on11:36
gnarfKrinkle: grunt is a make/rake/jake replacement by ben_alman - we are switching to it for our builds11:36
KrinkleConsidering jQuery is currently only running jenkins+testswarm *after* the merge into master, I think it makes sense to only have it leave a comment in case of a failure11:37
ben_almanhttp://weblog.bocoup.com/introducing-grunt/11:37
Krinkleis grunt related to *before* the landing of a pr>?11:37
gnarfKrinkle: the problem is it considers everything a failure right now11:37
Krinklegnarf: I know, that is a different issue which will be obsolete if we fix the plugin for 1.0.011:38
gnarfKrinkle: before and after, its the build process11:38
Krinklewhere in the flow of a pr is it coming in (taking the basic workflow of: fork, commit, create pr, review, land/close pr, jenkins-start, testswarm, jenkins-end),11:39
*** Joins: sindresorhus_ (~sindresor@82.147.51.146)11:39
gnarfKrinkle: it would happen between jenkins-start and testswarm11:39
gnarfalso between fork and commit11:40
gnarfbut i mean, its just a build target right?11:40
Krinklek11:40
gnarfgrunt swarm could be a task that only runs from jenkins box11:40
Krinkleso its not really related to testswarm or qunit11:40
Krinklehm..11:40
Krinkleso right now in Jenkins we have a project for "jQuery core" (which monitors master, or in the current case, 1.8-pre).11:41
gnarfit could submit the job, and poll it, and potentially spawn up browserstacks to make sure it finishes that job11:41
gnarfKrinkle: there are two jQuery jobs in jenkis11:41
gnarfone watches master, one 1.8pre11:41
gnarfunless someone changed that11:41
gnarfthats how i set it up11:41
KrinkleI was thinking maybe we could create a separate project for "jQuery core (PR)" which would be for testing PRs before they land (clone, cherry pick, then submit to testswarm)11:41
Krinkleand then have that project not report to IRC but to the PR on Github11:42
gnarfIf jenkins can watch pulls (i don't think it can)11:42
Krinkleso basically so that humans don't have to check out the PR locally to run the unit test, and instead have it be done automatically (could be combined with other stuff like lint checking)11:43
Krinkleso that if I create a PR, a bot will lint the resulting state and run it through testswarm, or at least run qunit in node11:44
Krinklebut now I see that is what grunt does11:44
Krinklea pre-commit check for developers11:44
Krinklecorrect?11:44
gnarfyes11:44
Krinklebut why is it also used by jenkins?11:44
gnarfit can be used post-commit as well11:44
Krinklehow does it affect the jenkins job build11:44
gnarfgrunt is the build11:44
gnarfjenkins needs to build dist/jquery.js so it can be tested in the swarm11:45
Krinkleoh, it is the step-by-step proces to do the build?11:45
Krinklelike ant?11:45
Krinklean alternative to ant?11:45
gnarfKrinkle: yes, make/ant/rake/jake11:45
Krinkleaaaah11:45
Krinkleokay11:45
gnarfnow grunt11:45
Krinklehm..11:45
Krinkleso how does jenkins submit to testswarm then11:46
Krinklethat isn't done by grunt right?11:46
Krinklesince I couldn't do that locally11:46
gnarfright now, it uses its plugin11:46
gnarfit could be a grunt task though11:46
*** Quits: sindresorhus_ (~sindresor@82.147.51.146) (Quit: Leaving...)11:46
gnarfnot sure what benifit we might gain there, other than if we made it a grunt task, we wouldn't have to deal with jenkins plugins and writing java11:47
KrinkleI'm not sure I follow11:47
KrinkleWe need the historical data and being able to link to test results11:48
gnarfnot sure how any of that would change?11:49
KrinkleThose are in Jenkins11:49
Krinklethe build history etc.11:49
gnarfjenkins just exec's "make" right now11:49
Krinkleand interconnectivity between different kind of job11:49
gnarfand all the stuff that make outputs is put into the log11:49
gnarfthat wont change with grunt11:49
KrinkleI don't see testswarm anywhere in grunt.js11:50
gnarfthats because it isn't currently there?11:50
Krinkleexactly11:50
Krinklebut it is being run, so "right now" is incorrect11:50
gnarfhuh?11:51
gnarfjenkins-testswarm is what handles the swarm job creation11:51
gnarf"its plugin"11:51
KrinkleI nkow11:51
KrinkleI know11:51
Krinkleso the jenkins project that is tracking github repo branch, doesn't just run grunt11:52
gnarfI'm not even sure what we are talking about anymore, I just had a random idea that if there were issues we couldn't solve in jenkins-testswarm ; we could maybe solve them in a grunt task11:52
gnarfKrinkle: not yet - although now that grunt has landed on 1.8pre I should probably include it11:52
Krinkleit also scans the modules directory and creates a request to addjob11:52
KrinkleI'm trying to get a sense of the current (undocumented) situation first11:54
gnarfi don't think it scans anything11:54
gnarfwe just define all the tests here: http://cl.ly/082U311M3E1r253B1z1L11:55
gnarfdo you have a login to jenkins?11:55
Krinkleno11:55
Krinkleomg, that is terrible, I had expected the jenkins-testswarm plugin to be very different11:55
Krinkleit requires manual hardcoded input of all runs (granted, which a GIT_COMMIT variable)11:55
gnarfKrinkle: yup11:56
gnarfTBH - I'm not a very big fan of jenkins, but its what we are using right now11:56
gnarfI really don't have a better suggestion either11:56
gnarfbut if we made a "grunt swarm" it could handle all that test submission11:57
Krinklethat only runs it locally11:57
Krinklethat doesn't store it anywhere11:57
Krinklewe need Jenkins to actually do the continuous integration part11:57
gnarfKrinkle: jenkins logs the output11:58
gnarfKrinkle: I'm saying we make jenkins execute "grunt swarm" instead of using jenkins-testswarm11:58
KrinkleI thought you were suggesting to drop jenkins entirely11:58
gnarfKrinkle: it would lower our dependency on jenkins too11:58
gnarfmaking it easier to switch to something like travis if we ever wanted to try it11:58
gnarfwhatever CI we want to use11:58
Krinklethe jenkins-testswarm plugin is currently very basic11:59
Krinklejust dumping a testswarm url is not the long-term purpose of it I had in mind11:59
Krinklelet me show you something11:59
Krinklenote that I take no credit for the following and there are some bugs to be fixed12:00
Krinklehttps://integration.mediawiki.org/ci/12:00
KrinkleCheck "MediaWiki-GIT-Fetching"12:00
Krinklethat is a super-project with sub projects that do different tests12:00
Krinklein the case of mediawiki it includes running phpunit on several different database backends12:00
Krinklebut anyway, that is irrelevant right now12:00
* Krinkle looks for a link12:01
Krinklecheck for example: https://integration.mediawiki.org/ci/job/MediaWiki-Tests-Databaseless/885/testReport/junit/(root)/?12:01
gnarfKrinkle: so grunt also has a phantomjs unit built in12:01
gnarfif you use it12:01
Krinklethere the past behavior of a test can be tracked, including how it performs. that is how most jenkins plugins are created12:01
Krinklethey extract data from the test suite and put it in the build storage, not just dump something in the console output12:02
Krinkleanyway, the way I see it we have 2 options12:02
gnarfKrinkle: sounds like a project for someone who wants to write java12:02
Krinkle1) Improve the jenkins-testswarm to properly extract the results from testswarm so that TestSwarm can focus on being a stable API-driven framework for test distribution12:03
Krinkle2) We don't use jenkins as primary ci (only to monitor github, trigger testswarm and report to irc or github comments), and improve TestSwarm to handle larger data sets12:04
Krinkle2a) pagination between jobs and some other UI improvements12:04
KrinkleI think 2) sounds good12:04
Krinklewhich would make the jenkins-testswarm plugin obsolete12:05
Krinklewe'd instead have a js file that jenkins executes that does the building (do lint, form the addjob request, poll testswarm api until it is ready, then extract basic "pass" or "fail" determination, and report to IRC)12:06
*** Quits: JohnResig (~JohnResig@ejohn.org) (Ping timeout: 245 seconds)12:06
Krinklealrighty, I gotta quickly sneak out for dinner, they're waiting for me downstairs. I'll be back in a bit (sorry!)12:07
*** Krinkle is now known as Krinkle-away12:07
gnarfKrinkle-away: but yeah - thats what I meant by making it into a grunt task -- :)12:07
Krinkle-awaywith the new api in testswarm 1.0 the submission of jobs, the polling and the job status extraction becomes so simple, that it doesn't make sense to turn it into a plugin, we can easily duplicate that between jquery and mediawiki in our build logic and anyone that wants to use testswarm with jenkins12:09
Krinkle-away(gone for real now)12:09
gnarfKrinkle-away: next time your around, ping me or jzaefferer - we need to get you a login to jenkins so you can poke around for yourself ;)12:10
*** Joins: JohnResig (~JohnResig@ejohn.org)12:13
*** Quits: soc42 (~soc42@HSI-KBW-46-237-193-8.hsi.kabel-badenwuerttemberg.de) (Remote host closed the connection)12:19
*** Krinkle-away is now known as Krinkle12:24
Krinklegnarf: thx, I'll read up on grunt first.12:24
*** Joins: koopersmith (~koopersmi@user-12hcvj4.cable.mindspring.com)12:29
*** Joins: sindresorhus_ (~sindresor@82.147.51.146)12:30
gnarfjzaefferer: i can't seem to get into the people to setup a use for Krinkle12:30
*** Joins: fredrik- (~iLoop@80.119.202.84.customer.cdi.no)12:35
*** Quits: fredrik- (~iLoop@80.119.202.84.customer.cdi.no) (Client Quit)12:35
*** Joins: fredrik- (~iLoop@80.119.202.84.customer.cdi.no)12:35
*** Joins: fredrik-_ (~iLoop@80.119.202.84.customer.cdi.no)12:36
*** Quits: iLoop (~iLoop@unaffiliated/iloop) (Ping timeout: 245 seconds)12:38
*** Quits: fredrik- (~iLoop@80.119.202.84.customer.cdi.no) (Ping timeout: 250 seconds)12:40
*** Quits: fredrik-_ (~iLoop@80.119.202.84.customer.cdi.no) (Ping timeout: 265 seconds)12:41
*** Joins: nicholasbs_ (~nicholasb@rrcs-50-75-208-10.nyc.biz.rr.com)12:56
*** Quits: nicholasbs_ (~nicholasb@rrcs-50-75-208-10.nyc.biz.rr.com) (Client Quit)12:56
*** Joins: nicholasbs_ (~nicholasb@rrcs-50-75-208-10.nyc.biz.rr.com)12:56
*** Parts: nicholasbs_ (~nicholasb@rrcs-50-75-208-10.nyc.biz.rr.com) ()12:57
*** Joins: warrenparsons_ (~warrenpar@68.70.177.84)13:00
gnarfgibson042: just FYI, I don't think `p` can ever be > 1 in an easing fn13:01
gibson042I believe you are correct13:01
gibson042but since it was in a test, I opted for defensiveness13:02
gnarfsure sure13:02
*** Quits: warrenparsons_ (~warrenpar@68.70.177.84) (Read error: Connection reset by peer)13:02
*** Quits: warrenparsons (~warrenpar@68.70.177.84) (Ping timeout: 265 seconds)13:02
*** Joins: warrenparsons_ (~warrenpar@68.70.177.84)13:02
gnarfgibson042: also if you are in the vicinity of that code, can you check to see if you can figure out what mikesherov might of broke in the dimensions test suite as pointed out by Krinkle in https://github.com/jquery/jquery/commit/58ed62ed12cb48d9224f699e86e197804ca5ece4 -- I doubt I can get to it until this weekend myself13:03
socialhapy★ Commit on jquery by dmethvin (3d, 58m ago): Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson04213:03
gnarfor wait13:04
gnarfwere those the tests that needed to be blown up13:04
gibson042isn't that from clipping negative width/height to zero in the CSS module?13:04
*** Quits: warrenparsons_ (~warrenpar@68.70.177.84) (Client Quit)13:05
gnarfyup13:05
gnarfit needs a test suite tweak and a reference to that ticket #13:05
gibson042did he forget to change the tests?13:05
gibson042ah13:05
gibson042right13:05
gibson042I probably won't be able to get to it, I'm on vacation starting in about an hour13:05
gnarfgibson042: no prob, I'll try to sneak some time in on it tonight if mike doesn't beat me to it13:06
gnarfrwaldron: i think https://github.com/jquery/jquery/pull/750 is landable - have you had a chance to look it over yet?13:07
socialhapy★ Pull request on jquery by gibson042 (2d, 14h ago): 1.8 effects special easing13:07
*** Quits: skylamer` (cgskylamer@78.90.213.55) (Remote host closed the connection)13:09
Krinklejzaefferer: I'm currently working on testswarm-browserstack13:14
gnarf@gibson042 btw - You've been a massive help on this branch <3's13:14
gnarfI'll owe ya a beer if you make it to jqconf ;)13:15
gibson042heh... not this time, but maybe when it comes back east13:15
gnarfTXJS? :)13:15
gibson042did you see the size diff on the latest? I think the net increase is now under 13513:16
gnarfgibson042: yeah i did13:16
gnarfi knew getting it down to `defaultPrefilter` would help13:16
*** Quits: gibson042 (~rgibson@nat-03-mht.dyndns.com) (Quit: Leaving.)13:39
rwaldrongnarf looking13:40
rwaldrongnarf have you ever done gamepad/joystick controls?13:41
gnarfrwaldron: on the playstation2 and the xbox, yes13:42
rwaldrongnarf TBH, i'd prefer if DaveMethvin handled larger stuff like this for now13:42
rwaldroni'm still getting used to the workflow13:42
rwaldronI'd feel better with smaller PRs for now13:42
rwaldronok, so re: controllers13:42
rwaldronanalog stick axes, the value13:42
gnarfrwaldron: fair nuff - i was gonna ask dave if i was clear to land some of these if we groupthink em13:42
rwaldronwhat is the standard expected value range?13:43
gnarfusually -1 -> 113:43
gnarfbut on some devices its way out of wack13:43
rwaldronneat13:43
rwaldroni have 0-1 atm13:43
gnarfi think that on the ps2 we had to convert from [0,32768) to [-1,1]13:44
*** Quits: colinclark (colin@nat/ocadu/x-geqdrgfcufnrnigi) (Ping timeout: 245 seconds)13:45
rwaldronI start with 0-1023 both directions13:45
gnarfrwaldron: honestly, whatever the value is - map it to what you want and you're gold ;)13:45
rwaldronpotentiometer resistance to a voltage measurement13:46
rwaldronbah13:46
gnarfevery controller i've ever had the pleasure of coding for has had a different range13:46
rwaldronoh13:46
rwaldronthen I feel less bad13:46
*** Quits: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com) (Ping timeout: 240 seconds)13:52
*** Joins: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com)13:56
gnarf?tell mikesherov hey man - someone pinged on http://bugs.jquery.com/ticket/8627 today -- do you have any thoughts on how to handle that in the current 1.8pre?13:58
bot-tgnarf, Okay.13:58
rwaldrongnarf gotta another sec?14:01
rwaldronL: -1 (or in my case: 0)14:01
rwaldronR: 114:01
rwaldronU: 114:01
rwaldronD: -1 (or in my case: 0)14:01
rwaldronare these in the correct ordeR?14:02
gnarfrwaldron: i think, but like i said - whatever you end up doin, so long as it works for your app is best ;)14:03
gnarfif you're writing a lib, giving access to the raw value / range would probably be important14:03
rwaldronit's not for an app14:03
rwaldrongnarf https://github.com/rwldrn/johnny-five14:04
*** Joins: LakWork_ (~LakWork@216.3.100.222)14:04
rwaldronthis needs to be updated, but basically, this: https://github.com/rwldrn/johnny-five/blob/master/docs/joystick.md14:04
*** Quits: LakWork (~LakWork@216.3.100.222) (Ping timeout: 256 seconds)14:04
gnarfmapping tiny ranges to other tiny ranges is trivial - there are other things to be aware of like a "dead zone" in the middle, etc14:05
rwaldronI'm working on that right now14:05
gnarfa lot of stick based controllers have pretty terrible outer and center sensitivity14:06
*** Joins: sonotos (~sonotos@unixboard/users/sonotos)14:09
*** Joins: Bankzilla (~Bankzilla@203.97.147.94)14:27
*** Quits: LakWork_ (~LakWork@216.3.100.222) ()14:27
*** miketaylr is now known as miketaylrawaylol14:33
*** Quits: rwaldron (~rwaldron@75-150-66-249-NewEngland.hfc.comcastbusiness.net) (Quit: Leaving...)14:37
*** miketaylrawaylol is now known as miketaylr14:38
*** Quits: kswedberg (~kswedberg@173-162-44-162-michigan.hfc.comcastbusiness.net) (Quit: Leaving.)14:42
*** Quits: sonotos (~sonotos@unixboard/users/sonotos) (Read error: Connection reset by peer)14:50
*** miketaylr is now known as miketaylrawaylol14:59
*** Quits: Bankzilla (~Bankzilla@203.97.147.94) (Ping timeout: 256 seconds)15:12
*** Joins: Bankzilla (~Bankzilla@203.97.147.94)15:14
*** Joins: mikesherov (~mikeshero@mobile-166-137-138-194.mycingular.net)15:17
Krinklescott_gonzalez: are you available to maybe review a patch for testswarm-browserstack before I commit it and start a PR? Just a quick check to see if you have any feedback15:25
*** Quits: mikesherov (~mikeshero@mobile-166-137-138-194.mycingular.net) (Ping timeout: 265 seconds)15:26
scott_gonzalezsure15:26
Krinkleok, patching coming up15:29
Krinklescott_gonzalez: git show --format=email is OK ?15:33
Krinklehttps://toolserver.org/~krinkle/tmp/Krinkle-testswarm-browserstack-b10b541a.patch15:34
scott_gonzalezsure15:34
*** Quits: danzik17 (~danzik17@164.55.254.106) (Ping timeout: 260 seconds)15:34
*** Joins: danzik17 (~danzik17@ool-321d17cc.dyn.optonline.net)15:35
scott_gonzalezFYI: You can create a gist from a diff to get the same view as a GitHub commit page.15:35
scott_gonzalezhttps://gist.github.com/b5975a7b151dfa234f3f15:35
Krinklescott_gonzalez: Can you get in touch with browserstack to have them update the /browsers api response to also show mobile devices and OS ?15:35
scott_gonzalezI've asked about that, they're not planning on exposting them through the API yet.15:36
Krinklehm.. it seems to read it as a diff not as a patch (red lines in commit message)15:36
Krinklebut anyway, looks nice :)15:36
scott_gonzalezYeah, I named the file a.diff :-P15:36
Krinkleok15:36
scott_gonzalezOh well, naming it .pach didn't change the highlighting.15:37
scott_gonzalezInstead of swarmHost and swarmPath, why not just parse swarmUrl?15:37
scott_gonzaleznode has a built-in parser.15:37
KrinkleI know javascript inside out and the DOM pretty good as well, but I have near-zero experience with node15:38
KrinkleAny pointers?15:38
KrinkleI'll get it done15:38
*** Joins: danzik171 (~danzik17@ool-435606a9.dyn.optonline.net)15:38
scott_gonzalezhttp://nodejs.org/docs/latest/api/url.html15:39
scott_gonzalezurl.parse() will make it very easy.15:39
Krinklecan't http.request just take a url?15:39
Krinkleseems to silly15:39
Krinkleso silly* that i have to parse it myself15:40
*** Quits: danzik17 (~danzik17@ool-321d17cc.dyn.optonline.net) (Ping timeout: 245 seconds)15:40
scott_gonzalezThat's because the built-in HTTP module is very low level.15:40
Krinkleyeah I figured15:41
scott_gonzalezAnd that's how the HTTP protocol works...15:41
KrinkleI know15:41
*** Joins: kswedberg (~kswedberg@c-68-43-183-68.hsd1.mi.comcast.net)15:41
scott_gonzalezJust add Mikeal's request module as a dependency :-)15:41
Krinkleanyway, I'll use this15:41
scott_gonzalezhttps://github.com/mikeal/request15:41
scott_gonzalezThen you can avoid parsing.15:41
Krinkleor not15:41
scott_gonzalezPretty much everyone uses it.15:41
Krinkleok15:41
scott_gonzalezI feel like spawnUrl is unecessary (I realize it already existed).15:42
scott_gonzalezCouldn't we just ask for the project name?15:42
scott_gonzalezWon't it always be swarmUrl + run + project?15:42
Krinklewell, I thought about constructing it based on the swarmURl15:42
Krinklebut we can't do that15:42
scott_gonzalezwhy not?15:42
Krinklefor one, one may want to use different swarm client usernames, although thats not the primary reason15:43
Krinklethe primary reason is in testswarm 1.0.0 there will be no fixed rewrite pattern15:43
Krinkleone could use different patterns15:43
Krinkleand secondly, most importantly15:43
Krinklethe runToken15:43
scott_gonzalezah, ok15:43
Krinkleone can configure the swarm to require a runToken in the url15:43
scott_gonzalezMaybe just accept a path then?15:43
Krinkletoo many variables to account for15:43
scott_gonzalezSeems silly to require the host/port/basepath twice15:44
scott_gonzalezAnyway, that's not what you wanted me to look at...15:44
Krinkleyeah, I didn't really change that15:44
scott_gonzalezBrowSack -> BrowserStack15:44
scott_gonzalezalso, already existed.15:44
Krinklebut I did consider changing it and kept it, so in a way I did change it (re-emphasizing the choose)15:45
Krinklechoise*15:45
KrinkleBrowSack, fixing15:45
*** Joins: danzik17 (~danzik17@ool-435606a9.dyn.optonline.net)15:45
scott_gonzalezI'm not sure if the rest of the code is following this pattern, but getSwarmState( success, error ) is bad for node.15:47
Krinklebad how?15:47
Krinkleconvention?15:47
scott_gonzalezEverything should be method( arg, arg, callback )15:47
Krinklesuccess and error are both callbacks15:47
scott_gonzalezAnd callbacks are function( error, arg, arg )15:47
KrinkleOh, I see15:47
scott_gonzalezOn error, you pass just an error object as the first param.15:48
scott_gonzalezOn success, you pass null and then any relevant data.15:48
*** Quits: danzik171 (~danzik17@ool-435606a9.dyn.optonline.net) (Ping timeout: 252 seconds)15:48
scott_gonzalezAll node code follows that convention, and there are a lot of utilities written around that pattern.15:48
scott_gonzalezAll control flow modules require it.15:48
Krinkleon first reaction it looked more like a lazy implementation than an intended pattern, but this is how it is done?15:48
Krinkleok15:48
scott_gonzalezYeah, in the early days node had promises.15:49
scott_gonzalezBut there was too much bike shedding about what promises should look like.15:49
Krinkleyeah, that makes more sense15:49
scott_gonzalezSo Ryan decided to ditch them and follow callback( error, ... )15:49
scott_gonzalezSince you can easily build abstractions on top of it.15:49
scott_gonzalezIt seems a bit odd at first, bit it's really pretty nice.15:50
*** Joins: rwaldron (~rwaldron@209-6-71-27.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)15:52
scott_gonzalezWhen you have an error, instead of returning an object with code and info, generate an actual error.15:52
scott_gonzaleznew Error( msg )15:52
scott_gonzalezNo need to stringify for:15:53
scott_gonzalezconsole.log('testswarm needs these browsers:\n', JSON.stringify(swarmState.userAgents));15:53
KrinkleI just follow the pattern15:53
scott_gonzalezI know :-)15:53
Krinkleit didn't make sense to me either, but was too lazy to try without it15:54
scott_gonzalezDon't worry about cleaning up all of this stuff right now.15:54
scott_gonzalezI'm just saying stuff as I see it.15:54
gnarfKrinkle: I can't figure out how to get you whatever permissions you need on jenkins btw, I tried - maybe jzaefferer can help15:54
scott_gonzalezLooks good in general.15:55
Krinklescott_gonzalez: git diff > https://toolserver.org/~krinkle/tmp/Krinkle-testswarm-browserstack-b10b541a-2.diff (I'll squash it later)15:57
Krinklenow for the callback pattern in getSwarmState15:58
scott_gonzalezThat got a little easier, huh?15:58
Krinkleyeah16:01
Krinklescott_gonzalez: so JSON.stringify is redundant in all arrays/objects passed to console.log?16:03
Krinklehttps://toolserver.org/~krinkle/tmp/Krinkle-testswarm-browserstack-b10b541a-2b.diff16:06
scott_gonzalezyeah16:06
scott_gonzalezWell, it depends how deep the objects/arrays are.16:06
scott_gonzalezconsole.log() will truncate at a certain depth.16:06
scott_gonzalezBut we're using pretty shallow objects.16:07
*** Quits: bartmax_ (~bart@r186-53-129-73.dialup.adsl.anteldata.net.uy) (Ping timeout: 260 seconds)16:07
Krinkleyeah16:07
KrinkleI've only tested --getNeeded, I'll need a public testswarm install running 1.0.0 to test it with browserstack for real16:08
KrinklegetNeeded also works with localhost16:08
Krinklebrowserstack api can't do ssh tunnel16:08
KrinkleI'll open a port in  my router for now and test that way16:08
*** Quits: mikeycgto (~mikeycgto@pdpc/supporter/active/mikeycgto) (Ping timeout: 260 seconds)16:15
*** miketaylrawaylol is now known as miketaylr16:20
*** Joins: colinclark (~colin@bas2-toronto09-845512114.dsl.bell.ca)16:22
*** Quits: ajpiano (~ajpiano@li98-57.members.linode.com) (Excess Flood)16:25
*** Joins: mikesherov (4bfa4458@gateway/web/freenode/ip.75.250.68.88)16:26
*** Joins: ajpiano (~ajpiano@li98-57.members.linode.com)16:26
mikesherovdebug minified code!16:26
bot-t(2 hours 28 mins ago) <gnarf> tell mikesherov hey man - someone pinged on http://bugs.jquery.com/ticket/8627 today -- do you have any thoughts on how to handle that in the current 1.8pre?16:26
mikesherovhttp://www.html5rocks.com/en/tutorials/developertools/sourcemaps/16:26
ajpianomikesherov omg16:27
mikesherovdrum roll please16:27
gnarfmikesherov: also - you broke some offset units with your <0 patch16:28
gnarf:)16:28
gnarfKrinkle keeps yelling at me about it16:28
KrinkleI do not yell :P16:29
*** Joins: bartmax (~bart@unaffiliated/Bartmax)16:29
mikesherovwait, really?16:29
mikesherovHrmmph16:29
mikesherovI tested it... ok, I'll look16:29
rwaldronYeah, Krinkle has been on the ball with those swarm failures16:31
gnarfKrinkle: shhhhh16:31
* gnarf grins16:31
*** Quits: David_Souther (~southerd@wsip-98-188-154-66.dc.dc.cox.net) (Ping timeout: 245 seconds)16:32
mikesherovwhich browsers, gnarf?16:32
gnarfall of em according to Krinkle16:33
mikesherovor Krinkle:16:33
gnarfits in "dimensions"16:33
mikesherovhmmmm16:33
gnarfthere is a note on the commit16:33
mikesherovfilter=offset?16:33
scott_gonzalezmikesherov: http://swarm.jquery.org/?state=runresults&run_id=867&client_id=240416:34
mikesherovpfft16:34
mikesherovnegative width ignored should have been pulled in16:35
mikesherovthat's specifically a test I had to change16:35
mikesherovI'll check the other ones16:35
mikesherovoh, yeah, I just need to update tests16:36
mikesherovThey rely on the same expectation that negative numbers are no-ops which is no longer true16:36
gnarfmikesherov: reference the ticket number16:38
gnarfin the commit16:38
gnarfthats all i ask16:39
mikesherovyup, will do16:39
mikesherovI borked it. My bad... submitting PR now16:39
*** Quits: rwaldron (~rwaldron@209-6-71-27.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com) (Quit: Leaving...)16:40
mikesherovgnarf: https://github.com/jquery/jquery/pull/75516:47
socialhapy★ Pull request on jquery by mikesherov (2.788s ago): fix broken unit tests from implementing #11604 :-\16:47
mikesherovsory about that!16:49
mikesherovsorry*16:49
gnarfmikesherov: see comment16:49
gnarfi think we might want to keep the others expecting 3016:50
mikesherovwell, it's just to check that the padding and border don't affect .width() or .height()16:51
mikesherovboth are fine, you're is less change16:51
gnarfdamn, rick left16:52
gnarfi was gonna try to talk him into pulling it ;)16:52
mikesherovwould he yell at me?16:52
mikesherovOK, cool16:53
*** Quits: ajpiano (~ajpiano@li98-57.members.linode.com) (Excess Flood)16:53
*** Joins: ajpiano (~ajpiano@li98-57.members.linode.com)16:54
*** Quits: bartmax (~bart@unaffiliated/Bartmax) (Quit: Linkinus - http://linkinus.com)16:59
*** Quits: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com) (Quit: Computer has gone to sleep.)17:04
Krinklescott_gonzalez: https://github.com/clarkbox/testswarm-browserstack/pull/817:04
socialhapy★ Pull request on testswarm-browserstack by Krinkle ( ago): issue #7: Update for TestSwarm 1.0 and some other minor fixes17:04
*** Quits: sindresorhus_ (~sindresor@82.147.51.146) (Quit: Leaving...)17:05
Krinklescott_gonzalez: tested locally with a testswarm install and browserstack account17:07
Krinklewent great :)17:08
*** Joins: jqcommit (~jqcommit@sh2.rs.github.com)17:09
jqcommit[testswarm] Krinkle pushed 1 new commit to master: http://git.io/3sEfeA17:09
jqcommit[testswarm/master] fix typo - Timo Tijhof17:09
*** Parts: jqcommit (~jqcommit@sh2.rs.github.com) ()17:09
Krinklenn17:12
*** Quits: Krinkle (~Krinkle@wikimedia/Krinkle) (Quit: Too bad a day only lasts 24 hours. See you on another one!)17:12
scott_gonzalez:-)17:13
*** Quits: ajpiano (~ajpiano@li98-57.members.linode.com) (Excess Flood)17:14
*** Joins: ajpiano (~ajpiano@li98-57.members.linode.com)17:15
*** Quits: ajpiano (~ajpiano@li98-57.members.linode.com) (Excess Flood)17:15
*** Quits: colinclark (~colin@bas2-toronto09-845512114.dsl.bell.ca) (Quit: colinclark)17:15
*** Joins: ajpiano (~ajpiano@li98-57.members.linode.com)17:16
*** Joins: sneakyness (~sneakynes@c-66-235-53-113.sea.wa.customer.broadstripe.net)17:19
*** Quits: mikesherov (4bfa4458@gateway/web/freenode/ip.75.250.68.88) (Ping timeout: 245 seconds)17:20
*** Joins: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com)17:20
*** Quits: kswedberg (~kswedberg@c-68-43-183-68.hsd1.mi.comcast.net) (Quit: Leaving.)17:41
*** Joins: wbednarski_ (~wbednarsk@abdw68.neoplus.adsl.tpnet.pl)17:46
*** miketaylr is now known as miketaylrawaylol17:48
*** Quits: wbednarski (~wbednarsk@abeo158.neoplus.adsl.tpnet.pl) (Ping timeout: 260 seconds)17:49
*** Joins: colinclark (~colin@bas2-toronto09-845512114.dsl.bell.ca)17:52
*** Quits: colinclark (~colin@bas2-toronto09-845512114.dsl.bell.ca) (Client Quit)17:56
*** Joins: kswedberg (~kswedberg@c-68-43-183-68.hsd1.mi.comcast.net)17:56
*** Quits: wbednarski_ (~wbednarsk@abdw68.neoplus.adsl.tpnet.pl) (Remote host closed the connection)18:12
*** Joins: wbednarski (~wbednarsk@abdw68.neoplus.adsl.tpnet.pl)18:12
*** Joins: ryanseddon (u1832@gateway/web/irccloud.com/x-ieyigrnlgzwumkhq)18:26
*** Quits: stevecrozz (~stevecroz@173.227.0.2) (Remote host closed the connection)18:35
*** miketaylrawaylol is now known as miketaylr18:39
*** Joins: mikeycgto (~mikeycgto@ool-4571cba8.dyn.optonline.net)18:41
*** Quits: mikeycgto (~mikeycgto@ool-4571cba8.dyn.optonline.net) (Changing host)18:41
*** Joins: mikeycgto (~mikeycgto@pdpc/supporter/active/mikeycgto)18:41
*** Joins: gavin_huang (~gravof@125.114.181.221)19:07
socialhapy★ Tweet from jquerymobile: MS Open Tech: Announcing the open source Metro style theme for jQuery Mobile - http://t.co/fbYrIQx6http://bit.ly/JqyTXa19:14
*** Quits: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t) (Disconnected by services)19:29
*** Joins: bot-t1 (~bot-t@unaffiliated/temp01/bot/bot-t)19:29
*** Quits: bot-t1 (~bot-t@unaffiliated/temp01/bot/bot-t) (Excess Flood)19:29
*** Quits: temp02 (~temp01@unaffiliated/temp01) (Ping timeout: 245 seconds)19:30
*** Joins: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t)19:30
*** Joins: temp01 (~temp01@unaffiliated/temp01)19:32
*** Quits: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t) (Ping timeout: 246 seconds)19:38
*** Joins: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t)19:39
*** Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 245 seconds)19:39
*** Joins: temp01 (~temp01@unaffiliated/temp01)19:42
*** Quits: kswedberg (~kswedberg@c-68-43-183-68.hsd1.mi.comcast.net) (Quit: Leaving.)19:53
*** Joins: danzik171 (~danzik17@pool-108-6-17-26.nycmny.fios.verizon.net)20:09
*** Quits: danzik17 (~danzik17@ool-435606a9.dyn.optonline.net) (Ping timeout: 252 seconds)20:12
*** Joins: bluezjuice (~bluezjuic@gateway/tor-sasl/bluezjuice)20:15
*** Quits: Bankzilla (~Bankzilla@203.97.147.94) (Ping timeout: 265 seconds)20:27
*** miketaylr is now known as miketaylrawaylol20:28
*** Joins: Bankzilla (~Bankzilla@203.97.147.94)20:28
*** Joins: danzik17 (~danzik17@ool-435606a9.dyn.optonline.net)20:55
*** Quits: danzik171 (~danzik17@pool-108-6-17-26.nycmny.fios.verizon.net) (Ping timeout: 260 seconds)20:58
*** miketaylrawaylol is now known as miketaylr21:24
*** Quits: snover (~Adium@unaffiliated/snover) (Quit: Leaving.)21:32
*** Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Quit: dflk;adfslkj;alsiekfj;laiskdf)21:43
*** Quits: bluezjuice (~bluezjuic@gateway/tor-sasl/bluezjuice) (Remote host closed the connection)22:01
*** Joins: bluezjuice (~bluezjuic@gateway/tor-sasl/bluezjuice)22:02
*** Quits: mikeycgto (~mikeycgto@pdpc/supporter/active/mikeycgto) (Remote host closed the connection)22:06
*** Quits: danzik17 (~danzik17@ool-435606a9.dyn.optonline.net) (Ping timeout: 260 seconds)22:15
*** Quits: Bankzilla (~Bankzilla@203.97.147.94) (Remote host closed the connection)22:22
*** Quits: sneakyness (~sneakynes@c-66-235-53-113.sea.wa.customer.broadstripe.net) (Quit: ZzZzz)22:42
*** Quits: wbednarski (~wbednarsk@abdw68.neoplus.adsl.tpnet.pl) (Remote host closed the connection)22:46
*** Quits: jitter_ (~jitter_@unaffiliated/jitter) (Ping timeout: 265 seconds)23:34
*** Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)23:36
*** Quits: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t) (Quit: bot-t)23:36
*** Quits: johnnny22 (~john@bas2-montreal42-1096738983.dsl.bell.ca) ()23:46
*** Quits: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com) (Quit: Computer has gone to sleep.)23:46
*** Joins: johnnny22 (~john@bas2-montreal42-1096738983.dsl.bell.ca)23:46
*** Quits: bluezjuice (~bluezjuic@gateway/tor-sasl/bluezjuice) (Ping timeout: 276 seconds)23:53

Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!