| 06:25 | <Yaffle> | hello! |
| 06:26 | <Yaffle> | could someone tell me, why event listeners attached with addEventListener trigerred in order of registration? |
| 06:26 | <Yaffle> | i believe, reverse order is more good |
| 06:42 | <niloy> | Yaffle, how is reverse order good? |
| 06:43 | <Yaffle> | more specific events added later |
| 06:43 | <Yaffle> | but they should be able to be triggered early |
| 06:44 | <Yaffle> | *more specif handlers |
| 06:47 | <matjas> | Hixie: JSON doesn’t support “hexadecimal character escapes” (as per ES 5.1), only what the spec calls “Unicode character escapes”. Both use hex digits, though. |
| 06:52 | <Yaffle> | http://w3.org/TR/2012/WD-DOM-Level-3-Events-20120614/#event-flow - Next, the implementation must determine the current target's candidate event listeners. This must be the list of all event listeners that have been registered on the current target in their order of registration |
| 06:53 | <Yaffle> | why???? |
| 06:53 | <Yaffle> | the implementation must process all candidate event handlers in order and trigger |
| 06:53 | <Yaffle> | why "reverse" word is missed here??? |
| 06:59 | <Yaffle> | http://stackoverflow.com/questions/11061404/javascript-dom-addeventlistener-trigger-order |
| 07:05 | <Yaffle> | flex has "priority" parameter of the addEventListener() method - http://livedocs.adobe.com/flex/3/html/help.html?content=events_09.html |
| 07:07 | <Ms2ger> | abarth, the HTML parsing spec long predates the mutation concepts in DOM4 :) |
| 07:19 | <Yaffle> | also, flex "addEventListener" has very cool useWeakReference argument |
| 09:02 | <Ms2ger> | https://p.twimg.com/Ave6CVfCAAE7oE5.jpg |
| 09:02 | Ms2ger | approves |
| 13:44 | <annevk> | MacBook died again |
| 13:44 | <annevk> | five year old T60 still up and running |
| 13:45 | <annevk> | prolly still opting for a new MacBook of sorts... |
| 13:47 | <annevk> | anyone know how to get Ubuntu to actually show distribution updates in the Update Manager? |
| 13:47 | <annevk> | I'm on 10.4 |
| 13:47 | <annevk> | there must be something else by now |
| 13:58 | <SimonSapin> | annevk: update-manager -d |
| 14:05 | <annevk> | thanks |
| 14:05 | <annevk> | that shows me 10.10 is available |
| 14:05 | <annevk> | does that mean I'm going to have to do a whole lot of updates? |
| 14:05 | <annevk> | ooh |
| 14:06 | <annevk> | if I do LTS only it shows 12.04 |
| 14:06 | <annevk> | that seems somewhat more appropriate |
| 14:13 | <zewt> | annevk: heh, people always say that macs are "reliable", but i'm having to use a brand new mac mini for ios stuff at work, and it's the most flaky, crashy system i've used in a long time |
| 14:13 | <annevk> | the problem with mine is that I dropped it too often I think |
| 14:13 | <annevk> | from the overhead luggage bin and my couch at home |
| 14:14 | <zewt> | this thing's like two months old and i spent more time yesterday staring at a spinning circle than doing work |
| 14:14 | <annevk> | after doing that a few times the hardware starts to deteriorate it seems |
| 14:14 | <zewt> | maybe five minutes of doing something useful to 30 minutes of zzz |
| 14:14 | <zewt> | (we're guessing it's a hardware problem but nobody in the office is a "mac person" so we don't really know how to troubleshoot it, heh) |
| 14:15 | <annevk> | not sure which new Mac to get |
| 14:15 | <annevk> | maybe try the Air unless they release a 13inch Retina soonish |
| 14:15 | <zewt> | also, the osx gui is seriously 90s, unpolished as hell |
| 14:15 | <annevk> | time for OS update |
| 14:15 | <zewt> | it's the latest, i think |
| 14:16 | <annevk> | no I mean my Ubuntu installation |
| 14:16 | <zewt> | i gave up on ubuntu |
| 14:16 | <annevk> | it's definitely not the latest :) |
| 14:16 | <zewt> | one too many update -> no-boot |
| 14:16 | <zewt> | back to debian |
| 14:17 | <annevk> | if this laptop dies too I have a problem |
| 14:17 | <Ms2ger> | Heh, Debian |
| 14:17 | <zewt> | ubuntu is a bunch of updates at once, which invariably breaks a ton of stuff, debian i just keep it on testing and it's a bunch of small breaks once in a while that i can fix instead of an avalanche |
| 14:18 | <gsnedders> | zewt: What isn't polished of the OS X UI? Though maybe it's just gone downhill from 10.6, which is the impression I've got from others. :P |
| 14:18 | <zewt> | one ubuntu update gave me a kernel that didn't work on my system; i tried downgrading the kernel to get it to boot, and apparently it also used an init or something that didn't work on anything except bleeding-edge kernels, so i was stuck |
| 14:19 | <zewt> | gsnedders: i can't even figure out how to open a menu with the keyboard, heh |
| 14:19 | <zewt> | it'll open the first item, but there seems to be no concept of per-menu hotkeys |
| 14:22 | <zewt> | it honestly seems like they design by going "okay, how can we make this pointlessly different from windows to irritate windows users" :P |
| 14:22 | <gsnedders> | Eh, much of the differences carry over from the original Macintosh, and that wasn't the reason then. :P |
| 14:24 | <zewt> | i end up doing most of my editing in a putty window in windows :P |
| 14:25 | <zewt> | (unfortunately, even so I'm still editing objc, which is easily the ugliest language on any modern platform) |
| 14:26 | <zewt> | (used by a modern platform, I mean) |
| 15:03 | <Ms2ger> | Opera++ |
| 15:05 | <gsnedders> | What have we done now? |
| 15:06 | <Philip`> | zewt: "how to troubleshoot it" - I thought the universal troubleshooting instructions were "take it back to an Apple store" and/or "buy a new one" |
| 15:06 | <zewt> | pretty much what we're going to do :) |
| 15:07 | <Philip`> | I'd usually add a custom step like "hit it a few times and see if it starts working again" before that |
| 15:07 | <zewt> | i'm almost as tired of copying the "if __name__ == '__main__':" boilerplate in python as i am of typing document.getElementById |
| 15:08 | <Ms2ger> | gsnedders, implemented the spec rather than done the minimal amount of work to pass Philip`'s test |
| 15:08 | <gsnedders> | Ms2ger: What spec/test? |
| 15:08 | <Ms2ger> | http://w3c-test.org/html/tests/submission/PhilipTaylor/canvas/index.2d.gradient.interpolate.zerosize.html |
| 15:11 | Ms2ger | found a patch to get Gecko up to Chrome's level |
| 15:14 | <annevk> | Skype works, Phone app doesn't, brilliant |
| 15:43 | <zewt> | the best thing about web apps is how features get removed and you have no choice but to "upgrade" |
| 15:44 | <zewt> | used to be you could tell one "ian" from another in gmail message lists by the color, and that's just mysteriously gone now |
| 15:46 | <jgraham> | Problem with laptops is that they all suck |
| 16:17 | <annevk> | jgraham: yeah, MacBook has been far the best in terms of battery/screen |
| 16:19 | <annevk> | jgraham: but kind of sucky in build quality |
| 16:19 | <annevk> | or robustness anyway |
| 16:22 | <annevk> | oh Lachy |
| 16:22 | <annevk> | Lachy: application/form-data needs a spec |
| 16:24 | <Lachy> | annevk, what's that used for? |
| 16:24 | <annevk> | Lachy: <form enctype=application/form-data> iirc |
| 16:25 | <annevk> | Lachy: current spec is vague on the exact bytes that will be transmitted |
| 16:25 | <annevk> | Lachy: and there's some issues with non-ASCII file names too |
| 16:25 | <Lachy> | where is it currently spec'd? |
| 16:25 | <gsnedders> | HTML |
| 16:25 | <annevk> | some RFC |
| 16:25 | <gsnedders> | HTML has some spec, no? |
| 16:25 | <gsnedders> | Or am I forgetting stuff? |
| 16:26 | <Lachy> | do you mean multipart/form-data? |
| 16:26 | <Lachy> | or application/x-www-form-urlencoded |
| 16:27 | <annevk> | former |
| 16:28 | <annevk> | gsnedders: yeah for application/x-www-form-urlencoded and some additional rules on top of the RFC for multipart/form-data |
| 16:28 | <annevk> | but it's not quite sufficient and quite hacky |
| 16:51 | <Hixie> | yeah a real spec for multipart/form-data would be great |
| 16:51 | <Hixie> | i don't have the bandwidth to add it to html currently |
| 16:52 | <Hixie> | but it's become clear that, as anne has been saying for years, it really needs to be respecced, whether in html or outside it |
| 17:32 | <zewt> | sites using focus information to force you to leave their window focused for N seconds before doing something makes me want to disable that whole api |
| 17:43 | <zewt> | oh wow, that's some horrible firefox bug, not the site |
| 17:43 | <zewt> | firefox appears to throttle background setTimeouts, which makes the timer go really slow if the tab is backgrounded |
| 17:43 | <zewt> | guess i should update firefox |
| 17:44 | <jgraham> | I think they were trying that as a feature |
| 17:45 | <zewt> | definitely not a feature :) |
| 17:45 | <jgraham> | (throttling background timeouts) |
| 17:45 | <zewt> | (to be sure, it's a shitty site, but still) |
| 17:45 | <jgraham> | Yeah, it seems unlikely to work to me |
| 17:45 | <jgraham> | Which is sad because there are some advantages (e.g. better battery life) |
| 17:45 | <zewt> | throttling would really need to be based on CPU usage of scripts anyway, just trying to throttle timers is way too naive |
| 17:47 | <zewt> | the scripts on this site have a function named "loadPopUnder" |
| 17:47 | <zewt> | welcome to the future :( |
| 20:45 | <Lachy> | Hixie, which sort of things are underspecified for multipart/form-data? |
| 21:03 | <Lachy> | so I just read the RFC. It really doesn't seem to define much at all. It just seems to give a brief overview of the format. |
| 22:28 | <paul_irish> | jgraham: digging into testharness.js a lot to look at the assertion signatures. what do you think about externalizing the docs? i was going to port the docs to a format like this http://documentup.com/ .. if it sounds good to you |
| 23:13 | <paul_irish> | jgraham: http://documentup.com/paulirish/testharness.js more or less |
| 23:24 | <annevk> | Lachy: yeah you know, that's what RFCs are like :) |
| 23:24 | <annevk> | Lachy: most of them anyway, so if you're looking for even more work ;) |
| 23:33 | <Hixie> | Lachy: yeah |