Options:
- # Session Start: Wed Mar 19 00:00:00 2014
- # Session Ident: #whatwg
- # [00:01] * Joins: ap_ (~ap@17.114.218.110)
- # [00:03] * Quits: tantek (~tantek@mcd0536d0.tmodns.net) (Read error: Connection reset by peer)
- # [00:03] * Joins: tantek (~tantek@mcd0536d0.tmodns.net)
- # [00:04] * Joins: tantek_ (~tantek@adsl-71-146-66-90.dsl.pltn13.sbcglobal.net)
- # [00:05] * Quits: tantek (~tantek@mcd0536d0.tmodns.net) (Client Quit)
- # [00:05] * tantek_ is now known as tantek
- # [00:05] * Quits: ap (~ap@2620:149:4:304:c172:68b9:2300:aee1) (Ping timeout: 240 seconds)
- # [00:05] * ap_ is now known as ap
- # [00:11] * Quits: ehsan_ (~ehsan@66.207.208.102) (Remote host closed the connection)
- # [00:15] * Quits: rcombs (~rcombs@rcombs.me) (Ping timeout: 265 seconds)
- # [00:16] * Quits: tantek (~tantek@adsl-71-146-66-90.dsl.pltn13.sbcglobal.net) (Quit: tantek)
- # [00:16] * Joins: rc0mbs (~rcombs@rcombs.me)
- # [00:16] * Joins: tantek (~tantek@mcd0536d0.tmodns.net)
- # [00:16] * rc0mbs is now known as rcombs
- # [00:17] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [00:18] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [00:20] * Quits: bholley (~bholley@187.64.32.150) (Quit: bholley)
- # [00:21] * Quits: annevk (~annevk@2.31.25.165) (Remote host closed the connection)
- # [00:27] * JosephSilber is now known as everybody
- # [00:27] * everybody is now known as JosephSilber
- # [00:29] * Joins: foxtrotwhiskey (~foxtrotwh@c-98-225-154-188.hsd1.pa.comcast.net)
- # [00:29] * Joins: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
- # [00:29] * Joins: jeremyj (~jeremyj@17.202.44.231)
- # [00:32] * Quits: hoobdeebla (~hoobdeebl@ip70-190-42-239.ph.ph.cox.net)
- # [00:32] * Quits: ambv (~ambv@206.108.217.134) (Read error: Connection reset by peer)
- # [00:32] * Joins: ambv (~ambv@206.108.217.134)
- # [00:33] * Joins: bholley (~bholley@187.64.32.150)
- # [00:33] * Quits: tantek (~tantek@mcd0536d0.tmodns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [00:34] * Quits: bholley (~bholley@187.64.32.150) (Client Quit)
- # [00:34] * Joins: tantek (~tantek@mcd0536d0.tmodns.net)
- # [00:37] * Joins: ehsan (~ehsan@24-52-243-72.cable.teksavvy.com)
- # [00:39] * Joins: hasather (~hasather@80.91.33.141)
- # [00:41] * Joins: espadrine_ (~ttyl@AMontsouris-158-1-61-73.w92-128.abo.wanadoo.fr)
- # [00:43] * Quits: newbie49 (~Areks@rs.gridnine.com) (Read error: Connection timed out)
- # [00:43] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 252 seconds)
- # [00:44] * Joins: newbie49 (~Areks@rs.gridnine.com)
- # [00:45] * Quits: espadrine` (~ttyl@AMontsouris-158-1-94-226.w90-2.abo.wanadoo.fr) (Ping timeout: 255 seconds)
- # [00:47] * WolfieZero is now known as WolfieZero|Away
- # [00:47] * WolfieZero|Away is now known as WolfieZero
- # [00:47] * WolfieZero is now known as WolfieZero|Away
- # [00:48] * Quits: tantek (~tantek@mcd0536d0.tmodns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [00:50] * Quits: decotii (~decotii@hq.croscon.com) (Quit: Leaving)
- # [00:52] * Quits: WolfieZero|Away (~WolfieZer@neilandkerrie.plus.com) (Ping timeout: 264 seconds)
- # [00:53] * Joins: tantek (~tantek@mcd0536d0.tmodns.net)
- # [00:54] * Joins: llkats (~llkats@206.169.83.230)
- # [00:55] * Quits: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net) (Ping timeout: 255 seconds)
- # [00:57] * Joins: seventh (seventh@192.64.4.63)
- # [01:01] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [01:03] * Quits: jernoble|laptop (~jernoble@17.202.45.163) (Quit: Computer has gone to sleep.)
- # [01:03] * Quits: ap (~ap@17.114.218.110) (Quit: ap)
- # [01:04] * heycam|away is now known as heycam
- # [01:05] * Joins: doctrv_ (sid27401@gateway/web/irccloud.com/x-aabbnzgkuveywqlv)
- # [01:05] * Quits: doctrv_ (sid27401@gateway/web/irccloud.com/x-aabbnzgkuveywqlv) (Client Quit)
- # [01:05] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt) (Ping timeout: 264 seconds)
- # [01:05] * Quits: doctrv (~doctrv@216.236.251.130) (Quit: Quit)
- # [01:06] * Joins: doctrv (sid27401@gateway/web/irccloud.com/x-pndkczoufwlodfel)
- # [01:09] * Joins: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net)
- # [01:09] <Hixie> wtf
- # [01:09] <Hixie> json encodes astral characters as their UTF-16 surrogates encoded in ASCII???
- # [01:09] <JosephSilber> I think I found a bug in Chrome: http://codepen.io/JosephSilber/pen/dFgxo/
- # [01:10] <JosephSilber> Toggling the "absolute" class there doesn't affect the parent's width.
- # [01:10] <Hixie> crbug.com/new
- # [01:10] <JosephSilber> Adding the "absolute" class directly in the HTML does work: http://codepen.io/JosephSilber/pen/LiCKA/
- # [01:11] <JosephSilber> Hixie: Yeah. Just checking here first if I'm misunderstanding expected behavior.
- # [01:11] <Hixie> i don't understand what's going on in that test
- # [01:12] <Hixie> there's three files?
- # [01:12] <JosephSilber> Hixie: there are two flex containers, nested.
- # [01:12] * Quits: KevinMarks2 (~yaaic@2607:fb90:117:be1:715b:d3ce:2793:92d3) (Ping timeout: 240 seconds)
- # [01:12] <JosephSilber> The inner container should collapse to its content's width.
- # [01:13] <SimonSapin> Hixie: yes. The J in JSON is JavaScript, 16bit strings and all
- # [01:13] * Quits: tantek (~tantek@mcd0536d0.tmodns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [01:13] <JosephSilber> Setting one of its children's position to absolute should collpase the container's width.
- # [01:13] * Quits: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net) (Ping timeout: 240 seconds)
- # [01:13] <SimonSapin> at least, that’s if you want to backslash-escape such characters. I think just having them literally in UTF-8 should also work
- # [01:13] <JosephSilber> Work well in Firefox, and also works well in Chrome when not doing it dynamically.
- # [01:13] * Joins: KevinMarks2 (~yaaic@2607:fb90:118:7192:a2b:45a8:f6f2:578a)
- # [01:15] <Hixie> JosephSilber: is http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2893 equivalent to your test?
- # [01:16] * jonlee_|afk is now known as jonlee_
- # [01:16] <JosephSilber> Hixie: yes. Shouldn't .inner's width collpase? Like it does here: http://codepen.io/JosephSilber/pen/LiCKA/
- # [01:16] <Hixie> JosephSilber: it seems to work to me... when you set the attribute, the element becomes abs pos and the right thing moves under it. am i missing something?
- # [01:17] <JosephSilber> Hixie: check it out in ff
- # [01:17] <Hixie> oh i see, the width is on the inner ones, not the outer ones
- # [01:17] <Hixie> yup, looks like a bug
- # [01:17] <JosephSilber> k. will report
- # [01:18] <Hixie> (btw when making a test case you really want to use as little as possible. so e.g. all the styles on the button are extraneous here and should be dropped in the test. having a separate <script> block is extraneous if you can just do it inline. etc.)
- # [01:18] <Hixie> (i thought the rgba() thing was especially amusing :-) )
- # [01:18] <JosephSilber> It's scss
- # [01:19] * Quits: shepazu (~shepazu@67.201.82.8) (Quit: is sleepy)
- # [01:21] <Hixie> scss?
- # [01:21] * Joins: bholley (~bholley@187.64.32.150)
- # [01:21] <Hixie> in a test? :-)
- # [01:21] * Quits: foxtrotwhiskey (~foxtrotwh@c-98-225-154-188.hsd1.pa.comcast.net) (Ping timeout: 240 seconds)
- # [01:21] * Quits: jsbell (jsbell@nat/google/x-ozqpwramqkcleemu) (Quit: There's no place like home...)
- # [01:22] * Joins: foxtrotwhiskey (~foxtrotwh@c-98-225-154-188.hsd1.pa.comcast.net)
- # [01:23] * Joins: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net)
- # [01:24] <JosephSilber> ha
- # [01:25] <TabAtkins> JosephSilber: Yeah, that's a bug.
- # [01:26] <JosephSilber> reporting
- # [01:26] * Quits: foxtrotwhiskey (~foxtrotwh@c-98-225-154-188.hsd1.pa.comcast.net) (Ping timeout: 246 seconds)
- # [01:26] * Joins: scor (~scor@c-98-217-11-242.hsd1.ma.comcast.net)
- # [01:26] * Quits: scor (~scor@c-98-217-11-242.hsd1.ma.comcast.net) (Changing host)
- # [01:26] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [01:28] <SamB> SimonSapin: raw UTF-8, huh? well, as long as we aren't applying "UTF-8" to the UTF-16 ...
- # [01:28] * jorendorff is now known as jorendorff_away
- # [01:28] <SamB> (which is actually called something else)
- # [01:29] <SimonSapin> wait, what?
- # [01:29] <SimonSapin> no, it’s not CESU-8
- # [01:31] <JosephSilber> https://code.google.com/p/chromium/issues/detail?id=353837&thanks=353837&ts=1395188953
- # [01:32] * Quits: KevinMarks2 (~yaaic@2607:fb90:118:7192:a2b:45a8:f6f2:578a) (Ping timeout: 240 seconds)
- # [01:32] * Quits: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net) (Quit: Snuggling with the puppies)
- # [01:33] * Joins: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net)
- # [01:35] * Joins: lmclister (~lmclister@sjfw1.adobe.com)
- # [01:41] * Quits: sicking (~sicking@c-98-210-154-157.hsd1.ca.comcast.net) (Quit: sicking)
- # [01:43] * Joins: plutoniix (~plutoniix@210.213.57.70)
- # [01:47] * jonlee_ is now known as jonlee_|afk
- # [01:49] * Quits: qFox (~peter@53527597.cm-6-3b.dynamic.ziggo.nl) (Ping timeout: 255 seconds)
- # [01:52] * slightlyoff_ is now known as slightlyoff
- # [01:54] * Quits: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net) (Quit: Snuggling with the puppies)
- # [01:54] * Quits: lmclister (~lmclister@sjfw1.adobe.com)
- # [01:56] * Quits: llkats (~llkats@206.169.83.230) (Remote host closed the connection)
- # [02:01] * Quits: ambv (~ambv@206.108.217.134) (Quit: sys.exit(0) # computer went to sleep)
- # [02:02] <MikeSmith> tantek: are all of the rel values in the POSH table of the link-relations page meant to be considered conforming/valid?
- # [02:02] * Quits: SonicX (~quassel@ip98-180-46-147.ga.at.cox.net) (Ping timeout: 264 seconds)
- # [02:03] <tantek> no
- # [02:03] <tantek> they're just random author extensions, HTML4 style
- # [02:04] <tantek> basically, they're stuff someone has found in the wild
- # [02:06] <MikeSmith> ok
- # [02:06] <MikeSmith> rel=publisher semms to be used quite a lot
- # [02:06] * Quits: bholley (~bholley@187.64.32.150) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [02:07] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [02:07] <tantek> if there's a spec for rel=publisher, and you think it's a useful value, go ahead and add it to http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions
- # [02:08] <tantek> I haven't found a use for it myself so I've ignored it
- # [02:08] <tantek> I figure it someone cares about it enough, they'll do the minimal step of "registering" it by editing the wiki
- # [02:08] * Joins: morrita_ (uid16889@gateway/web/irccloud.com/x-rzabmlvqlctysnmb)
- # [02:08] * Quits: othermaciej (~mjs@17.114.217.18) (Quit: othermaciej)
- # [02:09] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Remote host closed the connection)
- # [02:14] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
- # [02:17] <MikeSmith> tantek: yeah you're right. I'll wait to see if anybody registers it.
- # [02:19] * Quits: ehsan (~ehsan@24-52-243-72.cable.teksavvy.com) (Quit: Leaving...)
- # [02:25] * Joins: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net)
- # [02:27] * Quits: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net) (Client Quit)
- # [02:30] * Joins: dbaron (~dbaron@118-163-10-190.HINET-IP.hinet.net)
- # [02:31] * Joins: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net)
- # [02:31] * Quits: m4nu (~manu@216.252.204.51) (Read error: Connection reset by peer)
- # [02:33] * Joins: manu (~manu@216.252.204.51)
- # [02:33] * manu is now known as Guest53830
- # [02:35] * Guest53830 is now known as m4nu
- # [02:36] * Joins: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net)
- # [02:36] * Joins: KevinMarks2 (~yaaic@2607:fb90:40f:d74e:9e12:90:dbdd:cc4f)
- # [02:37] * Quits: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net) (Ping timeout: 255 seconds)
- # [02:37] * Quits: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net) (Client Quit)
- # [02:37] * Joins: bzalasky (~bzalasky@c-67-188-211-46.hsd1.ca.comcast.net)
- # [02:38] * Joins: KenjiBX (~KenjiBX@2401:fa00:4:fd00:a87f:7555:6572:b723)
- # [02:38] * Joins: llkats (~llkats@173-164-152-242-SFBA.hfc.comcastbusiness.net)
- # [02:40] * Joins: hasather (~hasather@80.91.33.141)
- # [02:43] * Joins: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
- # [02:45] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 264 seconds)
- # [02:47] * Quits: benv (~benv@38.104.194.126) (Quit: Computer has gone to sleep.)
- # [02:47] * Joins: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net)
- # [02:50] * Joins: hasather (~hasather@80.91.33.141)
- # [02:53] * Quits: qrwteyrutiyoup (qrwteyruti@unaffiliated/qrwteyrutiyoup) (Ping timeout: 240 seconds)
- # [02:54] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 252 seconds)
- # [02:54] * Quits: zama (zama@unaffiliated/stryx/x-3871776) (Ping timeout: 265 seconds)
- # [02:54] * Quits: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
- # [02:55] * Joins: zama (zama@unaffiliated/stryx/x-3871776)
- # [02:55] * Joins: qrwteyrutiyoup (qrwteyruti@unaffiliated/qrwteyrutiyoup)
- # [02:57] * Joins: yoshiki (yoshiki@nat/google/x-srsccrwqpduylhma)
- # [03:02] * Quits: beowulf (~sstewart@host31-50-102-181.range31-50.btcentralplus.com) (Remote host closed the connection)
- # [03:06] * ojan is now known as ojan_away
- # [03:06] * Joins: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net)
- # [03:09] * Quits: KenjiBX (~KenjiBX@2401:fa00:4:fd00:a87f:7555:6572:b723) (Remote host closed the connection)
- # [03:13] * Krinkle|detached is now known as Krinkle
- # [03:14] * Joins: tav (~tav`@host109-154-1-151.range109-154.btcentralplus.com)
- # [03:16] * Quits: newbie49 (~Areks@rs.gridnine.com) (Read error: Connection timed out)
- # [03:17] * heycam is now known as heycam|away
- # [03:22] * Quits: bzalasky (~bzalasky@c-67-188-211-46.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [03:24] * Quits: anchnk (~anchnk@static-176-182-231-245.ncc.abo.bbox.fr) (Quit: Leaving)
- # [03:25] * Joins: Goplat (~goplat@reactos/developer/Goplat)
- # [03:26] <Hixie> wow, a phishing attempt with the subject line "full specification"
- # [03:26] <Hixie> that's a bit more targetted than i expected!
- # [03:28] * Quits: jwalden (~waldo@corp.mtv2.mozilla.com) (Quit: back tomorrow, maybe a patch-landing still today, depending)
- # [03:28] * Joins: SonicX (~quassel@ip98-180-46-147.ga.at.cox.net)
- # [03:33] * Quits: filR (~textual@202.171.180.162) (Quit: Textual IRC Client: www.textualapp.com)
- # [03:35] * Quits: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net) (Quit: yoshu)
- # [03:35] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [03:35] * Joins: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net)
- # [03:37] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [03:43] * Quits: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net) (Quit: yoshu)
- # [03:45] * heycam|away is now known as heycam
- # [03:47] * Joins: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net)
- # [03:48] * Quits: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net) (Client Quit)
- # [03:49] * Joins: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net)
- # [03:49] * Quits: smaug____ (~chatzilla@cs78246079.pp.htv.fi) (Ping timeout: 246 seconds)
- # [03:52] * Joins: hasather (~hasather@80.91.33.141)
- # [03:53] * Quits: yoshu (~josh@173-160-239-6-Washington.hfc.comcastbusiness.net) (Ping timeout: 252 seconds)
- # [03:56] * Joins: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
- # [03:57] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 264 seconds)
- # [03:59] * Joins: a-ja (~Instantbi@70.230.145.30)
- # [04:00] * Quits: SonicX (~quassel@ip98-180-46-147.ga.at.cox.net) (Ping timeout: 255 seconds)
- # [04:09] * Quits: llkats (~llkats@173-164-152-242-SFBA.hfc.comcastbusiness.net) (Remote host closed the connection)
- # [04:16] * Joins: deniak (~denis@141.162.122.109.rev.sfr.net)
- # [04:16] * Joins: llkats (~llkats@c-69-181-45-245.hsd1.ca.comcast.net)
- # [04:18] <Hixie> am i missing something, or does the JSON specification not say what the root of the grammar is
- # [04:20] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
- # [04:21] <Hixie> rfc4627 does, so i guess i'll use that
- # [04:21] <Hixie> (how many specs does one format need, anyway)
- # [04:25] * Joins: bzalasky (~bzalasky@c-67-188-211-46.hsd1.ca.comcast.net)
- # [04:26] <estellevw> Question as to whether something is a bug or feature:
- # [04:26] <estellevw> when a min and max are both set on <input type="number"> chrome makes the input as narrow as needed for the width of the maximum value -- so when max is not set, the input is much wider. I can see that the #shadow-root <div id=inner-editor> is getting a width set, but I don't see where it is getting that width set.
- # [04:27] <estellevw> http://codepen.io/estelle/pen/rIlFv/ is the test case
- # [04:27] <estellevw> FF on the other hand has them all the same width
- # [04:27] <Hixie> if the question is "can a user agent vary the width of a type=number field based on the allowed range", the answer is yes. it can also vary the colour. it can also vary the width based on the time of day.
- # [04:28] <Hixie> it can also replace the text field with a button that pops up a dialog that asks the user for the number in roman numerals input via ASL recognised by webcam
- # [04:28] * Quits: morrita_ (uid16889@gateway/web/irccloud.com/x-rzabmlvqlctysnmb) (Quit: Connection closed for inactivity)
- # [04:29] * Quits: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net) (Ping timeout: 264 seconds)
- # [04:29] <estellevw> it isn't expected behavior though in the minds of most developers
- # [04:30] <Hixie> unfortunately, that is true
- # [04:30] <estellevw> it forces developers to include css width for input types because default width is no longer rational
- # [04:30] <Hixie> but most developers seem to forget that HTML is not primarily (let alone exclusively) a visual page description language
- # [04:30] <estellevw> ok, thanks
- # [04:31] <estellevw> so, feature, not bug. thanks
- # [04:31] <Hixie> i mean, there's nothing about HTML that says that the CSS will even be looked at
- # [04:31] <Hixie> or that the page won't be rendered by speaking it out loud
- # [04:31] <Hixie> or in braille
- # [04:31] <Hixie> on a dynamic braille display
- # [04:33] <Hixie> in other news, wtf, https://www.ietf.org/rfc/rfc4627.txt actually CONTRADICTS the json.org description
- # [04:34] <Krinkle> In what way?
- # [04:35] <Hixie> the rfc (and ecma 404) say that whitespace can be before or after tokens, the page says whitespace can only be between tokens.
- # [04:37] <SimonSapin> yay for competing specs
- # [04:38] <zewt> not really surprising that a description of a format based on unreadable state diagrams is imprecise
- # [04:38] <Hixie> the diagrams are actually very precise
- # [04:38] <Hixie> it's the stuff around them that's confusing
- # [04:38] <zewt> reminds me of sqlite's documentation: used to be readable, then at some point changed to that style of diagram, which made them completely worthless and unreadable
- # [04:38] <Hixie> you don't like railroad diagrams? why not?
- # [04:39] <Hixie> they're really nice and simple to understand
- # [04:39] <zewt> because they're hard to read
- # [04:39] <Hixie> if HTML's syntax wasn't such a mess, i'd totally use them to specify everything in HTML too
- # [04:39] <Hixie> i find them really easy to read
- # [04:39] <Hixie> you just start on one end and follow the paths
- # [04:39] <zewt> for documentation, at least (eg. user-facing)
- # [04:40] <zewt> given http://www.postgresql.org/docs/9.0/static/sql-select.html vs. https://www.sqlite.org/lang_select.html, sqlite's are utterly useless and opaque to me as a user
- # [04:41] <Hixie> oh man, i couldn't disagree more
- # [04:41] <Hixie> the postgre one there is the unreadable one
- # [04:41] <zewt> i can skim and understand postgresql's at a glance; i have to stare and squint at sqlite's
- # [04:41] <Hixie> the mysql docs use the postgre style too and i have to twease them apart each time to work out what they mean
- # [04:42] <Hixie> the sqlite one is just a matter of following the line, so much easier for me
- # [04:42] <Hixie> (the sqlite ones are even better than the json ones, since they have arrows)
- # [04:43] <zewt> maybe for a spec where i was writing a parser, but as a user writing SQL queries postgres's lets me see the command much more naturally
- # [04:43] <Hixie> oh hey, look at that. nothing in ecma 404 says that the keys in a json object must be unique, and the RFC only makes uniqueness a SHOULD.
- # [04:44] <Krinkle> Well, the rfc says "Insignificant whitespace is allowed before or after any of the six structural characters"
- # [04:44] <Hixie> zewt: i have found the opposite, personally
- # [04:44] <Krinkle> whereas ecma 404 says before or after any value
- # [04:44] <zewt> without a parser algorithm, a "must" would be pretty meaningless anyway
- # [04:44] <Hixie> Krinkle: right, those two agree. but json.org says "between".
- # [04:44] <Krinkle> so that still leaves a different regarding whitespace before e.g. a non-object as root
- # [04:44] <zewt> at least as far as parsers go
- # [04:44] <Hixie> Krinkle: well that too
- # [04:44] <Krinkle> even those two don't agree imho
- # [04:45] <Krinkle> e.g. ` "foo" `
- # [04:45] <Hixie> Krinkle: but the rfc is clear that only object and array are allowed as root
- # [04:45] <Krinkle> as the sole json packet
- # [04:45] <zewt> or some rule that says "if there are illegal duplicated keys, parsing fails"
- # [04:45] <Hixie> Krinkle: 404 and json.org don't actually say what the root of a json file is (!)
- # [04:45] <Hixie> Krinkle: (i was complaining about that earlier)
- # [04:45] <zewt> from my use of JSON, any type can be the root; "10" is valid JSON
- # [04:45] <zewt> (but I know there are parsers that expect the root to be a dictionary)
- # [04:45] <Krinkle> Yes, any JSON value (which is specified)
- # [04:46] <Krinkle> I don't think it should have to declare a root, you're encoding or decoding values as JSON values.
- # [04:46] <Krinkle> that should be sufficient
- # [04:46] <Hixie> the RFC disagrees
- # [04:46] <zewt> Krinkle: well, "value" should be the root (using json.org's terminology)
- # [04:46] <zewt> that should definitely be specified, if json.org is meant to be used as a spec (don't really know if it is)
- # [04:47] * Hixie decides that for his purposes, JSON objects are gonna have to have unique keys
- # [04:47] <Krinkle> Where does the RFC say that root can only be array or object?
- # [04:47] <Hixie> section 2 paragraph 2: A JSON text is a serialized object or array.
- # [04:47] <Hixie> JSON-text = object / array
- # [04:47] * Joins: othermaciej (~mjs@c-50-136-134-16.hsd1.ca.comcast.net)
- # [04:47] <Krinkle> Right
- # [04:48] <zewt> seems like the main important thing is defining which key is used if there's a duplicate (first or last, presumably)
- # [04:48] <Hixie> zewt: given that these specs all agree that parsers can "support a superset" of json... (!)
- # [04:49] <Krinkle> So does this actually cause a problem in practice? Or just pointing out an oversight? I think all parsers I've seen just treat 'JSON-text = value' that's the easiest
- # [04:49] <zewt> i've written JSON parsers and I couldn't even say which behavior my parsers use (but they're only used in controlled environments, where it doesn't matter)
- # [04:49] <Hixie> Krinkle: i'm implementing a parser and have no idea what i'm supposed to be doing, either about whitespace, about the root, or about keys in objects.
- # [04:49] <zewt> (most likely the last)
- # [04:50] <Hixie> man, the lack of comments in json is a pain in teh ass
- # [04:50] <Krinkle> ignore whitespace, use your 'value' argorythem from the root (don't special case the root, just go straight into parsing the value),
- # [04:50] <Krinkle> what about keys in objects?
- # [04:50] <zewt> FWIW, both Chrome and Firefox's JSON.parse("10") return 10, so on that one I'd have to say the RFC (from what you've described) is wrong
- # [04:51] <zewt> (a data point which I'm sure you already know, heh)
- # [04:51] <Hixie> the "value" thing directly contradicts the RFC, and the others are entirely vague about this, so I'm not convinced about that.
- # [04:51] <Krinkle> it doesn't contradict it, it just supports a compatible superset.
- # [04:51] <Krinkle> one that is quite common
- # [04:51] <zewt> both of those also return 10 for " 10"
- # [04:52] <Krinkle> and "10" for ' "10" '
- # [04:52] <zewt> Krinkle: of course, if the real definition of JSON is some mysterious superset of what those "specs" say, they're pretty worthless as specs
- # [04:52] <Krinkle> common sense and simple/lazy implementation
- # [04:53] <Krinkle> and I'm sure there's a wide scale of test cases of existing implementations you can plug in to make sure you did it right
- # [04:53] <zewt> if the specs say whitespace can only lie between tokens and don't allow a newline at the end, that'll break tons of inputs
- # [04:53] <zewt> (i always output a \n at the end of JSON, so curl output isn't stupid)
- # [04:53] <Hixie> Krinkle: keys in objects, as in, duplicate keys
- # [04:53] <zewt> if you have to apply liberal common sense and compare against existing implementations to implement JSON because the JSON specs aren't enough, those JSON specs are broken.
- # [04:54] <Krinkle> as being the parser, it wouldn't break anything. You'd tolerate more than others if anything, more likely you'd be tolerating what everybody else tolerates.
- # [04:54] <Krinkle> being the encoder is slightly more difficult indeed.
- # [04:54] <Hixie> zewt: the json specs being broken is more or less the thesis of my rant tonight, yes.
- # [04:54] <zewt> JSON.parse('{"a": 1, "a": 2}').a returns 2 in both chrome and firefox, which is also what I'd expect (parse a key, write it to the dictionary, if it happens to already be in the dictionary overwrite it)
- # [04:55] <SimonSapin> Krinkle: if you need common sense and guessing to fill the holes in a spec, it’s a bad spec
- # [04:56] <Krinkle> I'm not saying it's a good spec (I think it's better than most specs and a hell of a lot easier to implement as such), just saying it seems a moot point to doubt over. I think it's interesting to talk about, but if you're unsure what to do in the actual encoding/parser writing, I'd know better.
- # [04:56] <Krinkle> the safest route would be to encode as minimal as possible (no whitespace of any kind, and assuming your implementation program language doesn't support dupe keys, that input isn't a problem).
- # [04:57] <zewt> hardly moot: if the specs are ambiguous or wrong, then they should either be fixed (if whoever's maintaining the spec is willing to fix them, which RFCs seem to have a poor record of) or replaced
- # [04:59] <Krinkle> and in the parser, if you encounter a dupe key you can blame the input, garbage in garbage out. throw an error, or silently keep the first or last encounter. Shouldn't matter in practice as I'd consider it invalid input.
- # [04:59] <zewt> json.org seems more like a description of the file format and not really a spec--it says what the file format looks like, but nothing in precise terms about what to *do* with it. that in mind, the main error seems to be the whitespace issue
- # [04:59] <Krinkle> Hm.. the spec doesnt' say keys have to be unique. interesting.
- # [04:59] * Joins: SonicX (~quassel@ip98-180-46-147.ga.at.cox.net)
- # [04:59] <zewt> web specs always have to precisely define how "invalid input" is handled
- # [05:00] <Krinkle> None of the languages listed support that, so it's obviously an oversight (no ambiguity as what the intent was). That should be fixed indeed.
- # [05:00] <zewt> json.org doesn't (but it doesn't seem to be attempting to be a real spec, so that's probably not a bug)
- # [05:00] * Joins: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net)
- # [05:01] * Quits: othermaciej (~mjs@c-50-136-134-16.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [05:02] * Quits: llkats (~llkats@c-69-181-45-245.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [05:08] <SimonSapin> I like CSS Syntax’s approach of having non-normative railroad diagrams to get a idea of what the syntax looks like, and precise normative text for implementers
- # [05:09] * Quits: weinig (~weinig@98.234.191.242) (Remote host closed the connection)
- # [05:09] * Joins: weinig (~weinig@98.234.191.242)
- # [05:14] <Hixie> Krinkle: the RFC says "SHOULD", which means it wasn't even an oversight there
- # [05:15] <Hixie> another bug... looks like there's nothing saying that lone surrogates are illegal
- # [05:15] <Hixie> (in escapes, i mean)
- # [05:17] <Hixie> interesting, leading zeros in numbers aren't allowed
- # [05:17] <Hixie> pity about the lack of trailing commas
- # [05:17] <Hixie> (in objects or arrays)
- # [05:18] <zewt> they don't seem to be illegal according to chrome/firefox's implementations (but I expect basically zero non-web implementations will, since if you output to UTF-8...)
- # [05:18] <zewt> also, whoever's responsible for infecting JSON with UTF-16 needs to be exposed and publically shamed
- # [05:19] * Quits: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
- # [05:20] <Hixie> zewt: that's just from its JS heritage, i guess
- # [05:21] <Hixie> ok. for my purposes, the root can be any value, whitespace is allowed anywhere outside a leaf token, duplicate keys are fatal error invalid, and lone surrogate escapes are fatal error invalid.
- # [05:21] * Quits: MikeSmith (~mike@sideshowbarker.net) (Ping timeout: 240 seconds)
- # [05:23] <zewt> don't know your context, but for general parsing i think duplicate keys shouldn't be a fatal error; take the last seen value
- # [05:23] * Quits: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net) (Quit: Leaving)
- # [05:24] <zewt> that seems to be what most implementations land on, intentionally or not (json.loads in Python does the same)
- # [05:25] <Hixie> that seems like a recipe for a security bug
- # [05:28] * Joins: MikeSmith (~mike@sideshowbarker.net)
- # [05:28] <zewt> only if someone has other behavior (like picking the first-seen value), right?
- # [05:28] <Hixie> right
- # [05:28] <Hixie> in particular, if a validator does
- # [05:28] <Hixie> or a serialiser
- # [05:31] * Quits: MikeSmith (~mike@sideshowbarker.net) (Client Quit)
- # [05:32] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
- # [05:35] <zewt> i guess i could see a streaming parser doing something different (but a streaming parser couldn't enforce unique keys anyway) ... minor since JSON is rarely streamed, but worth mentioning i guess
- # [05:37] * Joins: MikeSmith (~mike@sideshowbarker.net)
- # [05:42] <Hixie> huh, no range on numbers, either
- # [05:44] <zewt> json.loads('9'*100000) gives an exact result in python, heh
- # [05:53] * Joins: jernoble|laptop (~jernoble@199-83-223-98.PUBLIC.monkeybrains.net)
- # [05:54] * Quits: jernoble|laptop (~jernoble@199-83-223-98.PUBLIC.monkeybrains.net) (Client Quit)
- # [06:06] * Quits: jernoble (~jernoble@17.202.46.221) (Quit: Textual IRC Client: www.textualapp.com)
- # [06:07] * Joins: jernoble (~jernoble@17.202.46.221)
- # [06:09] * Quits: SonicX (~quassel@ip98-180-46-147.ga.at.cox.net) (Remote host closed the connection)
- # [06:18] * Quits: plutoniix (~plutoniix@210.213.57.70) (Ping timeout: 240 seconds)
- # [06:18] * Joins: plutoniix (~plutoniix@210.213.57.70)
- # [06:20] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
- # [06:24] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
- # [06:44] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [06:45] * Joins: glob (~glob@me.glob.com.au)
- # [07:04] * heycam is now known as heycam|away
- # [07:08] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: This computer has gone to sleep)
- # [07:09] <MikeSmith> nashorn wtf
- # [07:09] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [07:15] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Ping timeout: 264 seconds)
- # [07:15] * Joins: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
- # [07:16] * Quits: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net) (Client Quit)
- # [07:17] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
- # [07:18] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [07:22] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 246 seconds)
- # [07:23] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [07:39] * Joins: roc (~chatzilla@220-137-252-30.dynamic.hinet.net)
- # [07:42] * Joins: yellowmellow (c6e4c9ac@gateway/web/freenode/ip.198.228.201.172)
- # [07:48] * Joins: shepazu (~shepazu@67.201.82.8)
- # [07:52] * Joins: hasather (~hasather@80.91.33.141)
- # [07:52] * heycam|away is now known as heycam
- # [07:53] * Joins: niloy (~niloy@110.224.128.216)
- # [07:56] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 255 seconds)
- # [08:00] * Quits: weinig (~weinig@98.234.191.242) (Quit: weinig)
- # [08:01] * Krinkle is now known as Krinkle|detached
- # [08:05] * Joins: davve (~user@83.218.67.123)
- # [08:09] * Quits: KevinMarks2 (~yaaic@2607:fb90:40f:d74e:9e12:90:dbdd:cc4f) (Ping timeout: 240 seconds)
- # [08:10] * Quits: yellowmellow (c6e4c9ac@gateway/web/freenode/ip.198.228.201.172) (Ping timeout: 245 seconds)
- # [08:11] * glob is now known as glob|away
- # [08:12] * Joins: KevinMarks2 (~yaaic@2607:fb90:11d:9a7e:677b:b2f9:f7ec:4ae5)
- # [08:13] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: This computer has gone to sleep)
- # [08:15] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [08:16] * Joins: Ducki (~Ducki@137.116.197.171)
- # [08:18] * Joins: richt (~richt@83.218.67.123)
- # [08:19] * Joins: zdobersek (~zan@tsn85-159-236-214.dyn.nltelcom.net)
- # [08:22] * glob|away is now known as glob
- # [08:33] * Joins: mitsuhiko (~mitsuhiko@ubuntu/member/mitsuhiko)
- # [08:35] * Quits: Goplat (~goplat@reactos/developer/Goplat) (Remote host closed the connection)
- # [08:37] * Quits: roc (~chatzilla@220-137-252-30.dynamic.hinet.net) (Ping timeout: 252 seconds)
- # [08:39] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [08:39] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [08:41] * Joins: roc (~chatzilla@220-137-252-30.dynamic.hinet.net)
- # [08:42] * Joins: Ms2ger (~Ms2ger@184.229-64-87.adsl-dyn.isp.belgacom.be)
- # [08:43] * Joins: markkes (~markkes@62.207.90.201)
- # [08:50] * Quits: roc (~chatzilla@220-137-252-30.dynamic.hinet.net) (Ping timeout: 246 seconds)
- # [08:52] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: This computer has gone to sleep)
- # [08:53] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [08:53] * Joins: KevinMarks3 (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [08:57] * Quits: KevinMarks2 (~yaaic@2607:fb90:11d:9a7e:677b:b2f9:f7ec:4ae5) (Ping timeout: 240 seconds)
- # [08:57] * Quits: karlcow (~karl@nerval.la-grange.net) (Ping timeout: 246 seconds)
- # [09:02] * Joins: llkats (~llkats@c-69-181-45-245.hsd1.ca.comcast.net)
- # [09:03] * Joins: hasather (~hasather@80.91.33.141)
- # [09:07] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 264 seconds)
- # [09:07] * Quits: llkats (~llkats@c-69-181-45-245.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
- # [09:11] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [09:12] * Quits: karlcow (~karl@nerval.la-grange.net) (Client Quit)
- # [09:12] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [09:18] * Joins: anchnk (c1fc9d31@gateway/web/freenode/ip.193.252.157.49)
- # [09:22] * abucur_ is now known as abucur
- # [09:29] * dshwang_ is now known as dshwang
- # [09:30] * Joins: nessy (~silviapf@101.164.214.231)
- # [09:34] * Joins: annevk (~annevk@2.31.25.165)
- # [09:40] * Joins: beowulf (~sstewart@host31-50-102-181.range31-50.btcentralplus.com)
- # [09:40] <zcorpan> Hixie: the last 3 commit emails have an error message
- # [09:47] * Joins: edsu (~edsu@li144-162.members.linode.com)
- # [09:47] * Quits: edsu (~edsu@li144-162.members.linode.com) (Changing host)
- # [09:47] * Joins: edsu (~edsu@pdpc/supporter/active/edsu)
- # [09:55] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
- # [09:55] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Remote host closed the connection)
- # [09:57] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
- # [09:58] * Quits: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net) (Quit: tantek)
- # [10:00] * Joins: hasather (~hasather@80.91.33.141)
- # [10:01] * Joins: sankha93 (~sankha93@117.240.111.2)
- # [10:01] * Quits: sankha93 (~sankha93@117.240.111.2) (Changing host)
- # [10:01] * Joins: sankha93 (~sankha93@fsf/emeritus/sankha93)
- # [10:02] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
- # [10:03] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [10:04] * Joins: darobin (~darobin@78.109.80.74)
- # [10:06] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [10:07] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 246 seconds)
- # [10:08] * Quits: edsu (~edsu@pdpc/supporter/active/edsu) (Quit: leaving)
- # [10:08] * Joins: edsu (~edsu@pdpc/supporter/active/edsu)
- # [10:09] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Ping timeout: 246 seconds)
- # [10:09] * glob is now known as glob|away
- # [10:09] * Quits: glob|away (~glob@me.glob.com.au) (Quit: Leaving...)
- # [10:13] * Joins: qFox (~peter@53527597.cm-6-3b.dynamic.ziggo.nl)
- # [10:14] * Quits: Ms2ger (~Ms2ger@184.229-64-87.adsl-dyn.isp.belgacom.be) (Quit: bbl)
- # [10:15] * Joins: Areks (~Areks@rs.gridnine.com)
- # [10:23] * Quits: nessy (~silviapf@101.164.214.231) (Quit: Leaving.)
- # [10:29] * Joins: WolfieZero (~WolfieZer@neils-wireless.manor.fubra.net)
- # [10:34] <annevk> ooh, maybe the problem is with svn.whatwg.org and not my server
- # [10:37] <jgraham> /win 4
- # [10:37] * Joins: Lachy (~Lachy@213.166.174.2)
- # [10:44] * Quits: annevk (~annevk@2.31.25.165) (Remote host closed the connection)
- # [10:46] * Quits: niloy (~niloy@110.224.128.216) (Ping timeout: 264 seconds)
- # [10:59] * WolfieZero is now known as WolfieZero|Away
- # [11:01] * WolfieZero|Away is now known as WolfieZero
- # [11:03] * Joins: niloy (~niloy@110.224.128.216)
- # [11:05] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Remote host closed the connection)
- # [11:06] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
- # [11:07] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [11:08] * Joins: newbie (~Areks@rs.gridnine.com)
- # [11:09] * newbie is now known as Guest97338
- # [11:09] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 260 seconds)
- # [11:10] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Ping timeout: 240 seconds)
- # [11:10] * Joins: annevk (~annevk@207.218.72.65)
- # [11:14] * Quits: ahf (ahf@irssi/staff/ahf) (Ping timeout: 264 seconds)
- # [11:15] * heycam is now known as heycam|away
- # [11:16] * Joins: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
- # [11:19] * Quits: sankha93 (~sankha93@fsf/emeritus/sankha93) (Ping timeout: 246 seconds)
- # [11:19] * Joins: Ms2ger (~Ms2ger@nata241.ugent.be)
- # [11:19] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Ping timeout: 246 seconds)
- # [11:19] * Joins: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
- # [11:21] <annevk> Hixie: the JSON thing is being fixed
- # [11:22] <annevk> Although I wonder what the difference is between http://tools.ietf.org/html/rfc7158 and http://tools.ietf.org/html/rfc7159
- # [11:23] * Quits: Streusel (~Anonymous@unaffiliated/streusel) (Quit: Computer has gone to sleep.)
- # [11:25] <annevk> It seems they fixed the date and removed Tim Bray's email address in a <meta> element
- # [11:26] <annevk> In any event, that RFC matches 404 much closer: http://tools.ietf.org/html/rfc7159#section-2
- # [11:28] * Quits: dbaron (~dbaron@118-163-10-190.HINET-IP.hinet.net) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [11:28] * Joins: cheron (~cheron@unaffiliated/cheron)
- # [11:30] <Ms2ger> As for the SQL definitions in the backscroll: I find neither particularly readable, but then again, I don't know SQL
- # [11:31] * Joins: sankha93 (~sankha93@117.240.111.2)
- # [11:31] * Quits: sankha93 (~sankha93@117.240.111.2) (Changing host)
- # [11:31] * Joins: sankha93 (~sankha93@fsf/emeritus/sankha93)
- # [11:32] * Quits: plutoniix (~plutoniix@210.213.57.70) (Quit: จรลี จรลา)
- # [11:35] * Quits: 64MAADQAN (scrollback@conference/jsconf/x-oxodknlhktwrkyfb) (Remote host closed the connection)
- # [11:37] * Joins: plutoniix (~plutoniix@210.213.57.70)
- # [11:38] * Joins: 6JTAAFD3J (scrollback@conference/jsconf/x-cfifyjdfobqavvyg)
- # [11:39] * WolfieZero is now known as WolfieZero|Away
- # [11:43] * Quits: anchnk (c1fc9d31@gateway/web/freenode/ip.193.252.157.49) (Ping timeout: 245 seconds)
- # [11:43] * Quits: plutoniix (~plutoniix@210.213.57.70) (Quit: จรลี จรลา)
- # [11:46] * Joins: nessy (~silviapf@101.164.214.231)
- # [11:46] <annevk> Is Jeff basically saying power is for sale? https://twitter.com/jeff_jaffe/status/446072553820278785
- # [11:47] * Quits: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Remote host closed the connection)
- # [11:50] * Quits: nunnun (~hiro@sculptor.local.hiro.ne.jp) (Ping timeout: 264 seconds)
- # [11:51] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt) (Remote host closed the connection)
- # [11:51] * Joins: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
- # [11:52] * WolfieZero|Away is now known as WolfieZero
- # [11:52] * Joins: nunnun (~hiro@sculptor.local.hiro.ne.jp)
- # [11:52] <darobin> annevk: I don't think it's clear what he's saying
- # [11:52] * Quits: 6JTAAFD3J (scrollback@conference/jsconf/x-cfifyjdfobqavvyg) (Remote host closed the connection)
- # [11:53] * Joins: 6JTAAFEI0 (scrollback@conference/jsconf/x-zhngtoifycgfyxgj)
- # [11:53] <darobin> I think that the problem he's looking at is how much team involvement a given individual member may require
- # [11:53] <darobin> if it's too high, that would drive the price up
- # [11:53] <darobin> I'm not sure that's really related to power; I reckon "power" is 1) ill-defined in this case and 2) largely orthogonal
- # [11:54] <darobin> I wonder if there could be an "Individual College"
- # [11:55] <darobin> for every N individual members, there is one seat added to the AC
- # [11:55] <darobin> and individual members elect representatives to those seats
- # [11:55] <darobin> I'm not sure that would be of any use, though
- # [11:55] <darobin> maybe I should join that webizen thing
- # [11:55] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt) (Ping timeout: 240 seconds)
- # [11:56] * darobin sighs
- # [12:01] * Quits: Ms2ger (~Ms2ger@nata241.ugent.be) (Ping timeout: 240 seconds)
- # [12:02] * Joins: Ms2ger (~Ms2ger@nata241.ugent.be)
- # [12:04] * Quits: seventh (seventh@192.64.4.63) (Ping timeout: 240 seconds)
- # [12:06] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
- # [12:08] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [12:13] <MikeSmith> there should be a thing where, if you pay extra, you're guaranteed nobody from the team will interfere with your work
- # [12:14] <Ms2ger> Like, Ian Jacobs won't change my specs behind my back?
- # [12:19] <jgraham> Well we have that
- # [12:19] <jgraham> Except instead of paying extra you pay less
- # [12:19] <jgraham> It's called "WHATWG"
- # [12:19] <Ms2ger> Zing
- # [12:21] * Joins: SonicX (~quassel@ip98-180-46-147.ga.at.cox.net)
- # [12:25] * Quits: Ms2ger (~Ms2ger@nata241.ugent.be) (Ping timeout: 240 seconds)
- # [12:26] * MikeSmith readies drm.spec.whatwg.org for non-interference-guaranteed work at whatwg
- # [12:27] * Joins: shaunbaker (~shaunbake@brick-lane.lbi.co.uk)
- # [12:28] * Joins: satazor (~satazor@188.250.93.65)
- # [12:32] * Joins: scor (scor@drupal.org/user/52142/view)
- # [12:33] * Quits: scor (scor@drupal.org/user/52142/view) (Client Quit)
- # [12:37] <annevk> whatwg.org/C is out of date again :-(
- # [12:38] * Joins: Ms2ger (~Ms2ger@nata241.ugent.be)
- # [12:47] * WolfieZero is now known as WolfieZero|Away
- # [12:50] * WolfieZero|Away is now known as WolfieZero
- # [12:52] * Joins: scor (scor@drupal.org/user/52142/view)
- # [12:55] * Quits: Ms2ger (~Ms2ger@nata241.ugent.be) (Ping timeout: 240 seconds)
- # [13:02] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
- # [13:05] * jorendorff_away is now known as jorendorff
- # [13:07] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Read error: Connection reset by peer)
- # [13:07] * Quits: nessy (~silviapf@101.164.214.231) (Quit: Leaving.)
- # [13:07] * Joins: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
- # [13:11] * Joins: Ducki_ (~Ducki@138.91.52.163)
- # [13:13] * Quits: Ducki (~Ducki@137.116.197.171) (Ping timeout: 240 seconds)
- # [13:14] * WolfieZero is now known as WolfieZero|Away
- # [13:21] * Joins: ahf (ahf@irssi/staff/ahf)
- # [13:22] * WolfieZero|Away is now known as WolfieZero
- # [13:23] * WolfieZero is now known as WolfieZero|Away
- # [13:30] * Quits: sankha93 (~sankha93@fsf/emeritus/sankha93) (Remote host closed the connection)
- # [13:31] * Parts: a-ja (~Instantbi@70.230.145.30)
- # [13:35] * WolfieZero|Away is now known as WolfieZero
- # [13:36] * Joins: sedovsek (~robert@89.143.12.238)
- # [13:39] * Joins: felipeduardo (~felipedua@177.16.92.27)
- # [13:40] * Joins: Ducki (~Ducki@137.116.197.171)
- # [13:40] * Joins: decotii (~decotii@hq.croscon.com)
- # [13:41] * Joins: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net)
- # [13:42] <foolip_> MikeSmith: what's that spec supposed to be?
- # [13:42] <foolip_> april fools?
- # [13:43] * Quits: Ducki_ (~Ducki@138.91.52.163) (Ping timeout: 264 seconds)
- # [13:43] <MikeSmith> foolip_: hadn't thought it through yet
- # [13:51] * Quits: satazor (~satazor@188.250.93.65) (Remote host closed the connection)
- # [13:52] * Joins: smaug____ (~chatzilla@cs78246079.pp.htv.fi)
- # [13:57] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [14:01] * Joins: TuRnaD0 (~Thunderbi@x1-6-e0-46-9a-1e-fe-ca.cpe.webspeed.dk)
- # [14:03] * Quits: sedovsek (~robert@89.143.12.238) (Quit: sedovsek)
- # [14:05] * Joins: sedovsek (~robert@89.143.12.238)
- # [14:11] * Joins: bholley (~bholley@187.64.32.150)
- # [14:19] * Joins: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net)
- # [14:22] * Joins: satazor (~satazor@188.250.93.65)
- # [14:24] * Quits: niloy (~niloy@110.224.128.216) (Ping timeout: 246 seconds)
- # [14:25] * Joins: foxtrotwhiskey (~foxtrotwh@192-63-2457.unisys.com)
- # [14:28] * Quits: sedovsek (~robert@89.143.12.238) (Quit: sedovsek)
- # [14:34] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [14:35] <zcorpan> jgraham: does wpt-serve support range requests?
- # [14:36] <jgraham> zcorpan: In theory, yes
- # [14:37] * Joins: Ms2ger (~Ms2ger@nata241.ugent.be)
- # [14:37] <jgraham> I don't know if it works more than the testsuite though
- # [14:38] <jgraham> (that is, there are tests for it but I wouldn't bet my life on the tests or the implementation being correct)
- # [14:39] <zcorpan> do you know off-hand of such a test?
- # [14:41] <jgraham> I mean tests in the wptserve testsuite
- # [14:42] <jgraham> Although I think I implemented it because some test was implementing a half-assed version of Range in PHP
- # [14:43] * Joins: ehsan (~ehsan@24-52-243-72.cable.teksavvy.com)
- # [14:50] <jgraham> All I remember was that it was written by Payman/Joāo
- # [14:53] * Quits: bholley (~bholley@187.64.32.150) (Read error: Connection reset by peer)
- # [14:53] * Joins: bholley_ (~bholley@187.64.32.150)
- # [14:55] * Joins: barnabywalters (~barnabywa@194-144-135-71.du.xdsl.is)
- # [14:55] * Quits: shaunbaker (~shaunbake@brick-lane.lbi.co.uk) (Remote host closed the connection)
- # [14:58] * Joins: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net)
- # [15:01] * Quits: foxtrotwhiskey (~foxtrotwh@192-63-2457.unisys.com) (Ping timeout: 240 seconds)
- # [15:01] * Joins: foxtrotwhiskey (~foxtrotwh@192.63.201.53)
- # [15:02] <zewt> "HTTP is now defined by 6, not 2 specs" :|
- # [15:02] * Quits: mpt (~mpt@canonical/mpt) (Read error: Connection reset by peer)
- # [15:04] <annevk> If that isn't Progress I don't know what is
- # [15:04] * Joins: mpt (~mpt@canonical/mpt)
- # [15:04] * Quits: mpt (~mpt@canonical/mpt) (Remote host closed the connection)
- # [15:04] <zewt> nothing like splitting one thing into seventy to make it "easy" to find stuff
- # [15:04] * Quits: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net) (Ping timeout: 264 seconds)
- # [15:05] <jgraham> 6>2?
- # [15:05] * Joins: plutoniix (~plutoniix@node-1d2k.pool-101-108.dynamic.totbb.net)
- # [15:07] * Quits: jcgregorio (jcgregorio@nat/google/x-soxzngcpzgojagjv) (Remote host closed the connection)
- # [15:07] * Joins: mpt (~mpt@canonical/mpt)
- # [15:09] <zewt> last i checked
- # [15:09] * Joins: shaunbaker (~shaunbake@brick-lane.lbi.co.uk)
- # [15:10] * Quits: bholley_ (~bholley@187.64.32.150) (Ping timeout: 264 seconds)
- # [15:12] * Joins: reyre (~reyre@bas1-streetsville52-3096630502.dsl.bell.ca)
- # [15:16] <Domenic_> Hixie: the JSON RFC is basically a fork of 404; I would not use it.
- # [15:20] * Joins: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net)
- # [15:20] * WolfieZero is now known as WolfieZero|Away
- # [15:22] <Domenic_> It looks like Jeff Jaffe signed up for twitter just to reply to that tweet?
- # [15:22] * WolfieZero|Away is now known as WolfieZero
- # [15:26] * Quits: shaunbaker (~shaunbake@brick-lane.lbi.co.uk) (Remote host closed the connection)
- # [15:27] * Quits: smaug____ (~chatzilla@cs78246079.pp.htv.fi) (Ping timeout: 240 seconds)
- # [15:28] * Joins: jcgregorio (jcgregorio@nat/google/x-zqzhguwqjueomfto)
- # [15:28] * Quits: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net) (Ping timeout: 246 seconds)
- # [15:30] <annevk> Domenic_: that was my impression
- # [15:31] <annevk> jgraham: that's not how that joke works
- # [15:36] <zcorpan> Hixie: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24860#c12
- # [15:40] * Joins: dbaron (~dbaron@corp-nat.p2p.sfo1.mozilla.com)
- # [15:44] * Quits: dshwang (~dshwang@134.134.139.70) (Remote host closed the connection)
- # [15:44] * Joins: ehynds (~ehynds@64.206.121.41)
- # [15:45] * Joins: dshwang (dshwang@nat/intel/x-qympzyygkxoegtyp)
- # [15:46] * Quits: SonicX (~quassel@ip98-180-46-147.ga.at.cox.net) (Read error: Connection reset by peer)
- # [15:47] * Quits: dshwang (dshwang@nat/intel/x-qympzyygkxoegtyp) (Remote host closed the connection)
- # [15:47] * Joins: dshwang (dshwang@nat/intel/x-xxlkubgrgjtfloex)
- # [15:47] * Joins: shaunbaker (~shaunbake@brick-lane.lbi.co.uk)
- # [15:51] * Quits: annevk (~annevk@207.218.72.65) (Remote host closed the connection)
- # [15:52] * Joins: annevk (~annevk@207.218.72.65)
- # [15:56] * Quits: shaunbaker (~shaunbake@brick-lane.lbi.co.uk) (Remote host closed the connection)
- # [15:57] * Quits: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net) (Quit: Snuggling with the puppies)
- # [15:59] * Quits: shepazu (~shepazu@67.201.82.8) (Quit: is sleepy)
- # [16:00] * Quits: ehsan (~ehsan@24-52-243-72.cable.teksavvy.com) (Remote host closed the connection)
- # [16:01] * Quits: TuRnaD0 (~Thunderbi@x1-6-e0-46-9a-1e-fe-ca.cpe.webspeed.dk) (Ping timeout: 240 seconds)
- # [16:02] * Quits: gnarf (gnarf@unaffiliated/gnarf) (Max SendQ exceeded)
- # [16:03] * Joins: gnarf_ (gnarf@unaffiliated/gnarf)
- # [16:03] * jonlee_|afk is now known as jonlee_
- # [16:05] * gnarf_ is now known as gnarf
- # [16:05] * Quits: mven_ (~mven@ip72-193-85-64.lv.lv.cox.net) (Remote host closed the connection)
- # [16:06] * Quits: bzalasky (~bzalasky@c-67-188-211-46.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [16:06] * Quits: foxtrotwhiskey (~foxtrotwh@192.63.201.53) (Ping timeout: 240 seconds)
- # [16:07] * Joins: foxtrotwhiskey (~foxtrotwh@192-63-2457.unisys.com)
- # [16:07] * WolfieZero is now known as WolfieZero|Away
- # [16:09] * WolfieZero|Away is now known as WolfieZero
- # [16:12] * Joins: jdaggett (~jdaggett@203.69.99.16)
- # [16:18] * Joins: shepazu (~shepazu@64.186.230.78)
- # [16:20] <dglazkov> good morning, Whatwg!
- # [16:22] * jonlee_ is now known as jonlee_|afk
- # [16:26] * Joins: ehsan (~ehsan@66.207.208.102)
- # [16:26] * Quits: benvie (~bbenvie@204.28.118.69) (Read error: Connection reset by peer)
- # [16:30] * Joins: benvie (~bbenvie@204.28.118.69)
- # [16:34] * Joins: sicking (~sicking@c-98-210-154-157.hsd1.ca.comcast.net)
- # [16:40] * Quits: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net) (Ping timeout: 264 seconds)
- # [16:41] * Joins: lars_t_h (~lars_t_h@005033153177.mbb.telenor.dk)
- # [16:41] * Quits: Ms2ger (~Ms2ger@nata241.ugent.be) (Quit: bbl)
- # [16:41] * Joins: jernoble|laptop (~jernoble@76.74.153.49)
- # [16:42] * Joins: lmclister (~lmclister@192.150.10.205)
- # [16:44] * Quits: richt (~richt@83.218.67.123) (Remote host closed the connection)
- # [16:44] * jonlee_|afk is now known as jonlee_
- # [16:44] * Quits: darobin (~darobin@78.109.80.74) (Remote host closed the connection)
- # [16:44] * Joins: richt (~richt@83.218.67.123)
- # [16:45] * Joins: darobin (~darobin@78.109.80.74)
- # [16:45] * Quits: KevinMarks3 (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
- # [16:46] * Joins: dawhite (~dawhite@74.118.22.223)
- # [16:48] * Quits: richt (~richt@83.218.67.123) (Ping timeout: 240 seconds)
- # [16:49] * Quits: darobin (~darobin@78.109.80.74) (Ping timeout: 240 seconds)
- # [16:50] * Quits: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net) (Remote host closed the connection)
- # [16:51] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [16:51] * Joins: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net)
- # [16:51] * Quits: gsnedders (~gsnedders@5.2.16.23) (Quit: leaving)
- # [16:55] * Quits: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net) (Ping timeout: 240 seconds)
- # [16:55] * Joins: gsnedders (~gsnedders@5.2.16.23)
- # [16:56] * Joins: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net)
- # [16:56] * Quits: shepazu (~shepazu@64.186.230.78) (Quit: shepazu)
- # [16:56] * Quits: gsnedders (~gsnedders@5.2.16.23) (Client Quit)
- # [16:58] * Joins: jeffreyatw (~jeffreyat@173.247.197.10)
- # [16:58] * Joins: gsnedders (~gsnedders@5.2.16.23)
- # [16:59] * Joins: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net)
- # [17:01] * Quits: Ducki (~Ducki@137.116.197.171) (Remote host closed the connection)
- # [17:04] * Quits: jdaggett (~jdaggett@203.69.99.16) (Quit: jdaggett)
- # [17:06] * Quits: lmclister (~lmclister@192.150.10.205) (Write error: Broken pipe)
- # [17:08] * Joins: smaug____ (~chatzilla@cs78246079.pp.htv.fi)
- # [17:10] * Joins: shepazu (~shepazu@64.186.230.78)
- # [17:16] * Quits: markkes (~markkes@62.207.90.201) (Quit: Nettalk6 - www.ntalk.de)
- # [17:19] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [17:25] * Quits: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net) (Remote host closed the connection)
- # [17:28] * Quits: jernoble|laptop (~jernoble@76.74.153.49) (Quit: Computer has gone to sleep.)
- # [17:32] * WolfieZero is now known as WolfieZero|Away
- # [17:32] <Hixie> wow there really is no difference between 7158 and 7159. weird.
- # [17:33] <annevk> Hixie: they just fixed the date
- # [17:33] <Hixie> "fixed"?
- # [17:35] <Hixie> there's literally no difference between them, except the second one has errata apparently.
- # [17:35] <Hixie> so let me get this right.
- # [17:35] <Hixie> they'll publish an entirely new rfc just to update the date, but they won't publish an entirely new rfc to fix errors in the content?
- # [17:36] * Joins: KevinMarks2 (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
- # [17:36] * WolfieZero|Away is now known as WolfieZero
- # [17:36] <Hixie> i mean it doesn't even really "fix" the date, since there's still an rfc with the wrong date out there now.
- # [17:37] * Joins: benvie_ (~bbenvie@204.28.118.69)
- # [17:37] <annevk> correct
- # [17:37] <Hixie> and this new version still doesn't fix the mess around whether values should be unique
- # [17:37] <Hixie> in fact it makes it even more muddled
- # [17:38] <annevk> it's up to the implementation, JavaScript's JSON has last wins iirc
- # [17:39] * Joins: ap (~ap@2620:149:4:304:8026:41e0:d06b:7265)
- # [17:39] * Quits: benvie (~bbenvie@204.28.118.69) (Ping timeout: 264 seconds)
- # [17:39] <jgraham> Gotta love a format specifically designed for interchange where "it's up to the implementation"
- # [17:44] * Joins: jernoble|laptop (~jernoble@17.202.45.163)
- # [17:44] * Quits: jernoble (~jernoble@17.202.46.221) (Quit: Textual IRC Client: www.textualapp.com)
- # [17:47] * Joins: jernoble (~jernoble@17.202.46.221)
- # [17:47] <gsnedders> The RFC was to fix editorial issues, not to make any changes to the format (and making something defined would be a change).
- # [17:48] * Joins: llkats (~llkats@c-69-181-45-245.hsd1.ca.comcast.net)
- # [17:48] <Hixie> it did change the format
- # [17:48] <Hixie> quite radically, actually, from the first RFC
- # [17:49] * Quits: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net) (Ping timeout: 246 seconds)
- # [17:52] <annevk> It aligned with ES5 after I and others asked them to do that
- # [17:52] <Hixie> ES6 just defers to 404
- # [17:52] <Hixie> which isn't as well-defined as the RFC
- # [17:52] <Hixie> (e.g. it doesn't define the root value, as we were discussing last night)
- # [17:53] <annevk> Yeah, Ecma 404 is what ES5 has
- # [17:53] <annevk> Anything can be root
- # [17:53] <Hixie> it doesn't say that
- # [17:53] <Hixie> it actually literally doesn't define the format in the most basic sense
- # [17:53] <Hixie> as far as i can tell
- # [17:55] <annevk> Hixie: it says that JSON text is a sequence of code points that conforms to the grammar
- # [17:55] <Hixie> right
- # [17:55] <Hixie> and it doesn't give "the grammar"
- # [17:55] <annevk> "JSON text is a sequence of tokens formed from Unicode code points that conforms to the JSON value grammar"
- # [17:55] <Hixie> oh, it says "the JSON Value grammar"
- # [17:55] <Hixie> interesting
- # [17:56] <annevk> seems clear enough
- # [17:56] <Hixie> how did i miss that like 15 times
- # [17:56] <Hixie> weird
- # [17:56] * Joins: bholley (~bholley@187.64.32.150)
- # [17:57] * Joins: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net)
- # [17:58] * Joins: shaunbaker (~shaunbake@brick-lane.lbi.co.uk)
- # [17:58] <jgraham> Possibly because it has some weirdness about "Conforming JSON text" vs "JSON Text"
- # [17:58] * Quits: Lachy (~Lachy@213.166.174.2) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [17:58] <jgraham> I actually can't tell if they are supposed to be different
- # [17:58] <jgraham> It looks like maybe "JSON Text" is a superset of "Conforming JSON Text"
- # [17:59] <jgraham> But "Conforming JSON Text" has to "strictly" match "the JSON grammar", which is undefined
- # [18:00] <jgraham> ("JSON Text" merely has to "conform to" (not "strictly") "The JSON Value grammar")
- # [18:00] * Quits: bholley (~bholley@187.64.32.150) (Ping timeout: 246 seconds)
- # [18:00] * Joins: benv (~benv@c-67-188-10-155.hsd1.ca.comcast.net)
- # [18:01] * Joins: bholley (~bholley@187.64.32.150)
- # [18:01] <jgraham> (but it's hard to tell if "conforming" vs "strictly conforming" is suspposed to be a substantive difference)
- # [18:04] * Joins: estellevw (~estellewy@surveymonkey-3.border1.pao001.pnap.net)
- # [18:04] * Quits: dbaron (~dbaron@corp-nat.p2p.sfo1.mozilla.com) (Quit: g'night)
- # [18:07] * WolfieZero is now known as WolfieZero|Away
- # [18:07] * Krinkle|detached is now known as Krinkle
- # [18:07] * Quits: bholley (~bholley@187.64.32.150) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [18:09] * WolfieZero|Away is now known as WolfieZero
- # [18:16] * jonlee_ is now known as jonlee_|afk
- # [18:18] * Joins: lmclister (~lmclister@192.150.10.205)
- # [18:20] <annevk> It isn't really hard to tell, but you could file some bugs for improvement
- # [18:20] <annevk> TabAtkins: you around?
- # [18:21] * Quits: lmclister (~lmclister@192.150.10.205) (Client Quit)
- # [18:21] * Joins: Maurice` (copyman@5ED57922.cm-7-6b.dynamic.ziggo.nl)
- # [18:21] <jgraham> It's hard to tell in the sense that from the ECMA spec I guenuinely don't know
- # [18:22] <jgraham> *genuinely
- # [18:23] * Quits: sicking (~sicking@c-98-210-154-157.hsd1.ca.comcast.net) (Quit: sicking)
- # [18:24] * Joins: ambv (~ambv@206.108.217.134)
- # [18:24] * Quits: shepazu (~shepazu@64.186.230.78) (Quit: is sleepy)
- # [18:26] * jonlee_|afk is now known as jonlee_
- # [18:28] * Joins: dawhite_ (~dawhite@74.118.22.223)
- # [18:29] * Quits: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net) (Ping timeout: 240 seconds)
- # [18:29] <gsnedders> The aim of ECMA 404 was to define grammar, not semantics. Which is odd.
- # [18:30] <annevk> That's always been the goal of JSON though
- # [18:31] <jgraham> Not really
- # [18:31] <jgraham> I mean
- # [18:31] <annevk> Implementations do things like rounding on the numbers and such too, which isn't really forbidden either
- # [18:31] * Quits: dawhite (~dawhite@74.118.22.223) (Ping timeout: 240 seconds)
- # [18:32] <annevk> It was the goal of its creator, unless he changed his mind on the goal midway through
- # [18:32] <annevk> For a while he didn't even want to define the alphabet in use, until we told him that was a bad idea
- # [18:33] <jgraham> it clearly does define some semantics
- # [18:33] <jgraham> It more or less defines how the numbers work
- # [18:33] <zcorpan> in my json parser, [] is an elephant
- # [18:33] <zcorpan> a real one
- # [18:33] * Joins: shepazu (~shepazu@64.186.230.78)
- # [18:34] <jgraham> You would be hard pushed to argue that 10e17 in JSON could be interpreted as 27 or something
- # [18:34] <jgraham> Although it doesn't define what + or - means
- # [18:34] <annevk> jgraham: sure, but if you don't use decimal storage, are you non-conforming?
- # [18:35] <jgraham> Basically istm that Crockford isn't to be trusted with this kind of thing and that JSON has succeeded in spite of him rather than because of him
- # [18:35] * Quits: hasather (~hasather@80.91.33.141) (Remote host closed the connection)
- # [18:35] * Quits: shaunbaker (~shaunbake@brick-lane.lbi.co.uk) (Remote host closed the connection)
- # [18:35] <jgraham> So saying "well the creator wanted X" doesn't seem like a great argument
- # [18:35] * Joins: weinig (~weinig@17.114.219.217)
- # [18:36] <annevk> I was talking about goals
- # [18:36] * Joins: hasather (~hasather@80.91.33.141)
- # [18:36] <annevk> In any event, this doesn't seem like a great use of my time
- # [18:37] <jgraham> I highly doubt it was his goal to create a format that couldn't actually be used for interchange reliably
- # [18:37] <jgraham> and if it was his goal seems like one that no one should share
- # [18:37] <jgraham> So either way it seems quite irrelevant
- # [18:38] * Quits: 6JTAAFEI0 (scrollback@conference/jsconf/x-zhngtoifycgfyxgj) (Remote host closed the connection)
- # [18:38] <annevk> I think it actually makes sense. It breaks down a bit with generic parsers. But lots of things will be decided at the application layer anyway.
- # [18:39] * Joins: scrollback (scrollback@conference/jsconf/x-woohejqwmckfnfah)
- # [18:40] <Hixie> json succeeded for the same reason xml succeeded (and did better than xml because it is a simpler format than xml)
- # [18:40] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 240 seconds)
- # [18:40] <Hixie> the reason is, people have an irrational fear of defining custom core syntaxes
- # [18:40] <jgraham> No
- # [18:41] <Hixie> people think that if you define a vocabulary on top of a core syntax, it's better than defining a vocabulary and a core syntax together
- # [18:41] <Hixie> which confuses me greatly, especially when the formats they use don't really fit the problem space
- # [18:41] <jgraham> It's because having a simple to work with format that has prewritten, predebugged parsers in a range of langauges is a huge win over custom-everything
- # [18:42] <jgraham> It means that you don't have to keep learning people's half-baked formats
- # [18:42] <jgraham> And makes interop simpler
- # [18:42] <Hixie> yeah instead you have to write custom vocabulary interpreters for half-baked vocabularies that you keep having to learn
- # [18:42] <Hixie> and interop fails because neither the syntax nor the vocabulary define error handling
- # [18:43] <jgraham> Which is a much easier problem, it turns out, and one that you would have to solve anyway
- # [18:43] <Hixie> how is it easier? it's the same.
- # [18:43] * Joins: morrita_ (uid16889@gateway/web/irccloud.com/x-pqtazpmczptbirnv)
- # [18:43] <Hixie> you just change your lexical space from unicode characters to different tokens
- # [18:44] <jgraham> Not at all. If I want to interop with, say, the github API I just have to use an off-the-shelf json lib that I have used hundreds of times before and write some simple code to extract the data I care about
- # [18:44] <jgraham> If they had invented GitHub-ON for the purpose I would have to either write a parser or learn their library that I had never used before
- # [18:44] <Hixie> that fails in the same way that people using "simple code to extract the data" they care about from HTML fails
- # [18:45] <jgraham> and still write the code to extract the data from the file
- # [18:45] <jgraham> It actually doesn't
- # [18:45] <jgraham> That's why the format has been a success
- # [18:45] <jgraham> In spite of the fact that it's horribly flawed in several ways
- # [18:45] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Read error: Connection reset by peer)
- # [18:46] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
- # [18:46] <jgraham> and the people speccing it have managed to make a complete clusterfuck of something that could have been rather straightforward
- # [18:47] <zcorpan> i saw somewhere someone was working on a "JSON5" which supported more things like comments and unquoted keys
- # [18:47] <zcorpan> and trailing commas
- # [18:48] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
- # [18:49] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [18:53] * Quits: benv (~benv@c-67-188-10-155.hsd1.ca.comcast.net) (Quit: Computer has gone to sleep.)
- # [18:53] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 240 seconds)
- # [19:02] * Joins: TallTed (~Thud@c-98-216-39-172.hsd1.ma.comcast.net)
- # [19:04] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
- # [19:07] * Quits: barnabywalters (~barnabywa@194-144-135-71.du.xdsl.is) (Quit: barnabywalters)
- # [19:09] * Joins: SonicX (~quassel@host-128-227-201-3.xlate.ufl.edu)
- # [19:10] * Joins: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net)
- # [19:12] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [19:15] * Quits: Ir1sh (~Ir1sh@c-98-199-139-18.hsd1.tx.comcast.net) (Ping timeout: 240 seconds)
- # [19:16] * jonlee_ is now known as jonlee_|afk
- # [19:18] * WolfieZero is now known as WolfieZero|Away
- # [19:19] * WolfieZero|Away is now known as WolfieZero
- # [19:19] * WolfieZero is now known as WolfieZero|Away
- # [19:19] * WolfieZero|Away is now known as WolfieZero
- # [19:19] * WolfieZero is now known as WolfieZero|Away
- # [19:20] <SamB> ... personally I think JSON+C is exactly the right thing. Except that stupid UTF-16 stuff.
- # [19:20] <SamB> (But that's what you get for basing it on JS syntax ...)
- # [19:20] <TabAtkins> annevk: I'm around now.
- # [19:21] <annevk> TabAtkins: any interest in tackling my Selectors questions?
- # [19:21] <TabAtkins> Point me to them?
- # [19:21] <annevk> TabAtkins: emailed www-style
- # [19:21] <TabAtkins> Ah, kk. I'll respond.
- # [19:21] * TabAtkins hasn't checked his email yet this morning.
- # [19:21] <annevk> Basically wondering if I'm invoking the correct hooks and what hooks to use for matches()
- # [19:22] * jonlee_|afk is now known as jonlee_
- # [19:22] <SamB> Hixie: I think it drastically reduces the number of sharp edge cases that need to be dealt with, or at least localizes them a lot better ...
- # [19:23] <Hixie> that's jgraham's position too, i think
- # [19:23] <Hixie> i think it just hides them more
- # [19:23] <Hixie> which makes them less likely to be handled
- # [19:23] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [19:23] * Quits: WolfieZero|Away (~WolfieZer@neils-wireless.manor.fubra.net) (Ping timeout: 264 seconds)
- # [19:24] * Joins: benv (~benv@38.104.194.126)
- # [19:24] <SamB> replicating someone else's buggy parser in another language is not most people's idea of fun
- # [19:24] <Hixie> but replacting someone else's buggy vocabulary interpreter in another language is?
- # [19:24] <Hixie> replicating
- # [19:24] <SamB> well, many programs don't need to understand the whole vocabulary
- # [19:25] <Hixie> that's the same logic that leads to people writing parsers that don't need to handle the whole syntax
- # [19:25] <SamB> that's often not possible
- # [19:25] * Quits: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net) (Remote host closed the connection)
- # [19:26] * Quits: aklein__ (sid4454@gateway/web/irccloud.com/x-nyimtgodsyuvuuug)
- # [19:26] <SamB> what I mean is that if you are handed a data structure, you don't have to *look* in every nook and cranny; you only need to look in the places relevant to the task at hand
- # [19:26] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [19:26] * Joins: aklein (sid4454@gateway/web/irccloud.com/x-kuoracwegysahhbi)
- # [19:26] <Hixie> assuming those places exist. and are the right type. and aren't out of range. and...
- # [19:27] <SamB> okay, yes, true
- # [19:27] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 240 seconds)
- # [19:28] <SamB> but given that many of these people aren't going to be doing proper error checking ANYWAY ...
- # [19:28] <Hixie> in other news, i've just realised that in json, numbers are special in that they're the one token whose end is determined by look-ahead.
- # [19:28] <Hixie> how annoying.
- # [19:29] <SamB> what, no lexer?
- # [19:29] <Hixie> ?
- # [19:30] * Quits: deniak (~denis@141.162.122.109.rev.sfr.net) (Quit: Bye)
- # [19:30] * Quits: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net) (Ping timeout: 240 seconds)
- # [19:30] <SamB> ... why is this a problem? Are you writing the lexer by hand?
- # [19:30] <annevk> Hixie: in what environment are you implementing your own JSON parser?
- # [19:30] <Hixie> SamB: yeah
- # [19:30] <SamB> do you not have a *lex you could use?
- # [19:31] <Hixie> annevk: freepascal. there's lots of existing ones, i just figured it would be fun.
- # [19:31] <annevk> Hixie: I see
- # [19:31] <annevk> Hixie: are you adding comment support? :-)
- # [19:31] <SamB> Hixie: please tell me you're actually implementing JSON+C, yes
- # [19:31] <Hixie> SamB: i could use a lexer. i happen to chose not to this time. :-)
- # [19:32] <Hixie> SamB: i'm implementing whatever is needed to parse the tokeniser tests in html5lib's test suite :-)
- # [19:32] <annevk> Oh my
- # [19:33] <SamB> so why is it that you're using Object Pascal?
- # [19:33] <gsnedders> We do touch a fair few bits of edge-cases. :)
- # [19:33] <Hixie> gsnedders: hehe
- # [19:33] <annevk> This new version of Anolis is going to be built on primitives you implemented yourself Hixie? :-P
- # [19:33] <Hixie> SamB: is best language.
- # [19:33] <gsnedders> :)
- # [19:33] <Hixie> annevk: yep :-)
- # [19:33] <Hixie> including my own utf-8 decoder :-)
- # [19:33] * Quits: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net) (Remote host closed the connection)
- # [19:34] <annevk> Hixie: please make it somewhat clean this time so we can see the source code
- # [19:34] <Hixie> hah
- # [19:35] <Hixie> i make no promises
- # [19:35] * SamB wonders why Object Pascal is so little heard of
- # [19:35] <Hixie> SamB: it was pretty popular on windows for a while (under the name Delphi)
- # [19:35] <SamB> possibly it has had too many names and too few implementations?
- # [19:35] <Hixie> but yeah, i dunno why it's not more popular
- # [19:36] <SamB> Hixie: yes, I know, and it's still used there
- # [19:37] * jonlee_ is now known as jonlee_|afk
- # [19:38] * Joins: rubatdub (~khalil@213.188.172.141)
- # [19:39] <Hixie> hahaha, json's silly surrogate escape thing triggered my utf-8 system's "surrogates aren't allowed" assertion
- # [19:39] * Joins: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net)
- # [19:39] <gsnedders> :)
- # [19:40] <SamB> Hixie: what did you do to cause that?
- # [19:40] <gsnedders> Yup, we have lone surrogates in the html5lib tokenizer JSON.
- # [19:40] <gsnedders> They're perfectly allowed in JSON :)
- # [19:40] <Hixie> uh
- # [19:40] <SamB> I mean why is this getting into UTF-8
- # [19:40] <SamB> gsnedders: eww
- # [19:40] <Hixie> SamB: i use utf-8 as my internal representation
- # [19:40] <Hixie> gsnedders: huh
- # [19:40] <gsnedders> SamB: We need to test lone surrogates are handled correctly!
- # [19:40] <gsnedders> Hixie: huh at wha?
- # [19:41] * Quits: satazor (~satazor@188.250.93.65) (Remote host closed the connection)
- # [19:41] * SamB goes to read the spec ...
- # [19:41] <Hixie> gsnedders: how do you get lone surrogates out of the html parser?
- # [19:41] <Hixie> SamB: the json spec is pretty messed up when it comes to surrogates
- # [19:41] <gsnedders> Hixie: Out of it? We don't. But we have them in the input stream.
- # [19:41] <Hixie> gsnedders: ahhh...
- # [19:41] <Hixie> interesting
- # [19:41] * Joins: satazor (~satazor@188.250.93.65)
- # [19:41] <Hixie> well, my input stream can't support lone surrogates
- # [19:42] <Hixie> so i'm probably ok just skipping those tests
- # [19:42] <SamB> is there a reason why JSON is ECMA 404?
- # [19:42] <Hixie> i guess i'll turn lone surrogates into FFFD
- # [19:42] <Hixie> (in the json parser)
- # [19:42] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [19:44] * SamB wants a font where U+FFFD is represented by logo-encoding.svg -- colors and all!
- # [19:44] <Hixie> hm well that makes unicode escapes into another thing that needs lookahead
- # [19:44] * Quits: SonicX (~quassel@host-128-227-201-3.xlate.ufl.edu) (Remote host closed the connection)
- # [19:45] * Quits: satazor (~satazor@188.250.93.65) (Remote host closed the connection)
- # [19:46] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [19:46] * Quits: shepazu (~shepazu@64.186.230.78) (Quit: is sleepy)
- # [19:46] * Joins: satazor (~satazor@188.250.93.65)
- # [19:49] <TabAtkins> Hixie: Why are you using utf-8 as the internal representation? That's an encoding, it's weird to use that internally. Just use arrays of codepoints.
- # [19:49] <dglazkov> what should this show? http://jsbin.com/bubot/1/edit
- # [19:50] <gsnedders> TabAtkins: Why would you use arrays of codepoints? That's massively wasteful, esp. if it's mostly ASCII.
- # [19:50] <TabAtkins> dglazkov: What do you *think* it should show?
- # [19:50] <TabAtkins> gsnedders: Because it's simpler? Or use a unicode string, if your language provides that.
- # [19:51] <dglazkov> ARIAL in arial, INITIAL in times new roman or whatever UA's initial value is?
- # [19:51] <TabAtkins> Ah, I missed that the initial value is generally a serif font.
- # [19:51] * Quits: satazor (~satazor@188.250.93.65) (Ping timeout: 269 seconds)
- # [19:52] <TabAtkins> http://jsbin.com/zugojoxa/1/edit?html,output
- # [19:53] <TabAtkins> This shows the problem a little more clearly - the two "INITIAL"s should be the same font.
- # [19:53] <TabAtkins> annevk: Just to make sure - these are hooks you need for .query() and .matches()?
- # [19:54] <dglazkov> TabAtkins: I wonder what mozilla/ie do here?
- # [19:55] <TabAtkins> I'm on ChromeOS, so I can't tell.
- # [19:55] <dglazkov> me too :-\
- # [19:57] <dglazkov> TabAtkins: but this is a bug, right?
- # [19:57] <TabAtkins> Yes.
- # [19:58] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Remote host closed the connection)
- # [19:58] <SamB> I'm confused: https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url1=rfc7158&url2=rfc7159
- # [19:58] <Hixie> TabAtkins: because arrays of codepoints take 8 bytes per character and require that the entire input be copied, rather than the input taking 1 byte per character and the data not needing to be copied?
- # [19:58] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [19:59] <SamB> it doesn't seem like there were any changes other than the change in RFC number and in the "Obsoletes:" line ...
- # [19:59] <TabAtkins> Then you have to accept encoding limitations, like the fact that you can't encode a lone surrogate in valid utf-8.
- # [19:59] <TabAtkins> SamB: Yeah, looks like it.
- # [19:59] <Hixie> yup
- # [19:59] <Hixie> i am very happy to accept that limitation :-)
- # [19:59] <SamB> and the year
- # [20:00] <dglazkov> TabAtkins: gecko gets it right
- # [20:00] <TabAtkins> It's probably something to do with our bizarre parsing of 'font'.
- # [20:01] <TabAtkins> Well, hm, never mind, that still doesn't make sense.
- # [20:02] <Hixie> woot, my json parser found a bug in my test rather than the other way around
- # [20:02] <dglazkov> TabAtkins: nah. I found this by code inspection. We just don't do anything sensible there. And I wondered if this was intentional
- # [20:02] <TabAtkins> (I was wondering if it was parsing as a font named "inherit", but that wouldn't help - it would just do fallback, which should produce the default font.)
- # [20:02] <dglazkov> TabAtkins: we get right to the point where we need to apply property "initial", and then we just go "weeee" and leave
- # [20:03] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 246 seconds)
- # [20:03] <TabAtkins> Fun.
- # [20:05] <SamB> ouch! http://timelessrepo.com/json-isnt-a-javascript-subset
- # [20:07] * Joins: hasather (~hasather@80.91.33.141)
- # [20:11] <SamB> oh fun, if I pass difftype=--help to the rfcdiff page, it outputs plaintext as HTML ...
- # [20:11] <SamB> I mean as text/html
- # [20:12] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 240 seconds)
- # [20:13] * Joins: jwalden (~waldo@corp.mtv2.mozilla.com)
- # [20:14] <SamB> oh, and otherwise it produces what looks like it's intended to be XHTML labeled as text/html ...
- # [20:20] * Quits: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net) (Remote host closed the connection)
- # [20:21] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [20:23] <annevk> TabAtkins: I need hooks for querySelector, query, and matches
- # [20:24] <annevk> TabAtkins: querySelector and matches both take an absolute selector afaict
- # [20:24] <annevk> TabAtkins: query takes a relative
- # [20:24] * Joins: DuncanMa_ (~DuncanMac@host-92-20-4-208.as13285.net)
- # [20:24] <TabAtkins> querySelector is an absolute scope-filtered, possibly with a reference set.
- # [20:25] <TabAtkins> query is relative, definitely with a reference set.
- # [20:25] <TabAtkins> matches is absolute, definitely with a reference set.
- # [20:25] * Quits: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net) (Ping timeout: 240 seconds)
- # [20:25] <TabAtkins> (The only effect of having a reference set is giving meaning to :scope.)
- # [20:26] <annevk> Oh, I thought scoping root was for that
- # [20:27] <TabAtkins> Nope, that's only if you're scoping.
- # [20:27] <TabAtkins> Sorry for the confusing wording, but :scope got named before anything else.
- # [20:27] <TabAtkins> And the scoping root is the default reference set, if you don't specify anything else.
- # [20:28] * Joins: Ms2ger (~Ms2ger@193.190.253.150)
- # [20:28] <TabAtkins> You generally don't want to scope. querySelector() does, but really only because it didn't have relative selectors at the time.
- # [20:28] <TabAtkins> <style scoped> is the only other thing that uses scoping.
- # [20:28] * TabAtkins is off to lunch for a bit, will answer any further questions in an hour or so.
- # [20:29] <annevk> Oh okay. So querySelector using a scoping root is fine.
- # [20:29] <annevk> However, matches should use a reference set so no scoping is done
- # [20:30] <SamB> relative selectors?
- # [20:30] * Joins: jeremyj (~jeremyj@17.202.44.231)
- # [20:32] <SamB> hmm, well, ECMA 404 doesn't say you can have unpaired surrogates in your JSON
- # [20:32] <annevk> Okay, I should look at this again tomorrow, thanks for the pointers so far TabAtkins
- # [20:33] <annevk> TabAtkins: I do find it a bit odd that you have API hooks for selectors separate from the general selector matching (where is the algorithm for that? and why is it not linked from the API hooks section?)
- # [20:33] * Krinkle is now known as Krinkle|detached
- # [20:34] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
- # [20:34] * Quits: annevk (~annevk@207.218.72.65) (Remote host closed the connection)
- # [20:35] * SamB wonders what Haskell does if you have surrogates in your Strings masquerading as Chars
- # [20:38] <gsnedders> Is there any sane way to find a font that contains a given Unicode codepoint on OS X?
- # [20:38] <gsnedders> Like, I blatantly have one as it manages to font-switch in places for it.
- # [20:38] <gsnedders> But I can't tell what font it comes from
- # [20:42] * Quits: fredy (~fredy@snf-8914.vm.okeanos.grnet.gr) (Excess Flood)
- # [20:44] * Joins: sankha93 (~sankha93@fsf/emeritus/sankha93)
- # [20:45] * Joins: fredy (~fredy@2001:648:2ffc:1225:a800:ff:fe12:113e)
- # [20:46] * Joins: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
- # [20:52] * Joins: tndrH (~Rob@cpc4-seac20-2-0-cust858.7-2.cable.virginm.net)
- # [20:57] * Quits: TallTed (~Thud@c-98-216-39-172.hsd1.ma.comcast.net)
- # [20:58] * Joins: annevk-cloud (uid2483@gateway/web/irccloud.com/x-bkkzxmzdfwpnfeob)
- # [20:58] * Joins: ot (~css@unaffiliated/css)
- # [20:59] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [21:03] * Joins: SonicX (~quassel@host-128-227-3-255.xlate.ufl.edu)
- # [21:03] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 246 seconds)
- # [21:08] * Joins: annevk (~annevk@2.31.25.165)
- # [21:08] * Quits: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net) (Excess Flood)
- # [21:09] * Quits: dshwang (dshwang@nat/intel/x-xxlkubgrgjtfloex) (Excess Flood)
- # [21:12] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
- # [21:13] * Joins: dshwang (dshwang@nat/intel/x-lmwfswjnrjolhyln)
- # [21:17] * Joins: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net)
- # [21:25] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt) (Remote host closed the connection)
- # [21:25] <gsnedders> SamB: It'll allow them, because Char is just an integral type, of range 0–0x10FFFF
- # [21:25] * Joins: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
- # [21:25] * Quits: Ms2ger (~Ms2ger@193.190.253.150) (Ping timeout: 240 seconds)
- # [21:29] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt) (Ping timeout: 240 seconds)
- # [21:31] * Joins: SonicX_ (~quassel@host-128-227-144-200.xlate.ufl.edu)
- # [21:31] * Quits: SonicX (~quassel@host-128-227-3-255.xlate.ufl.edu) (Ping timeout: 246 seconds)
- # [21:34] <Hixie> yeah that's basically what i did too, except that i have an operator overload for assignment that checks for surrogates :-)
- # [21:35] <Hixie> (and i allow -1 to mean eof)
- # [21:35] * Quits: scor (scor@drupal.org/user/52142/view) (Quit: scor)
- # [21:35] <TabAtkins> SamB: http://dev.w3.org/csswg/selectors/#relative
- # [21:36] <gsnedders> You need a type system with dependent types to allow only matched surrogates
- # [21:36] <Hixie> uh no, i want no surrogates :-)
- # [21:37] <gsnedders> That's easy :P
- # [21:40] <Hixie> annevk: is there anything in particular i need to do on https://www.w3.org/Bugs/Public/show_bug.cgi?id=24810 or did you reassign to me just so i could look it over? (it looks good)
- # [21:41] * Quits: DuncanMa_ (~DuncanMac@host-92-20-4-208.as13285.net) (Remote host closed the connection)
- # [21:41] <annevk> Hixie: I assigned it to you so you could remove the bits in HTML
- # [21:41] <annevk> Hixie: e.g. scripting environment is no longer a thing DOM has now or needs HTML to define so you can remove that
- # [21:41] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [21:42] * Joins: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
- # [21:42] <annevk> Hixie: and under microtask checkpoint there's a bit of cleanup you can do
- # [21:42] <Hixie> aaah right
- # [21:42] <Hixie> cool
- # [21:42] <Hixie> thanks
- # [21:43] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
- # [21:46] * Quits: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net) (Ping timeout: 265 seconds)
- # [21:46] * Joins: othermaciej (~mjs@17.114.217.106)
- # [21:47] * Krinkle|detached is now known as Krinkle
- # [21:51] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
- # [21:53] * Quits: estellevw (~estellewy@surveymonkey-3.border1.pao001.pnap.net) (Quit: estellevw)
- # [21:56] * Joins: waywk (~waywk4@mail.wlion.com)
- # [21:58] * Joins: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net)
- # [21:59] * Quits: SonicX_ (~quassel@host-128-227-144-200.xlate.ufl.edu) (Read error: Connection reset by peer)
- # [22:02] * Quits: othermaciej (~mjs@17.114.217.106) (Quit: othermaciej)
- # [22:03] * Quits: fredy (~fredy@2001:648:2ffc:1225:a800:ff:fe12:113e) (Excess Flood)
- # [22:04] * Quits: foxtrotwhiskey (~foxtrotwh@192-63-2457.unisys.com) (Ping timeout: 246 seconds)
- # [22:04] * Quits: rubatdub (~khalil@213.188.172.141) (Quit: Quitte)
- # [22:04] * Joins: foxtrotwhiskey (~foxtrotwh@192.63.201.23)
- # [22:04] * Joins: othermaciej (~mjs@17.114.217.106)
- # [22:05] * Joins: fredy (~fredy@snf-8914.vm.okeanos.grnet.gr)
- # [22:07] * Quits: waywk (~waywk4@mail.wlion.com) (Quit: Leaving)
- # [22:09] * Quits: cheron (~cheron@unaffiliated/cheron) (Ping timeout: 240 seconds)
- # [22:13] * Joins: lmclister (~lmclister@192.150.10.205)
- # [22:14] * Quits: felipeduardo (~felipedua@177.16.92.27) (Quit: Leaving)
- # [22:14] * Quits: lmclister (~lmclister@192.150.10.205) (Client Quit)
- # [22:16] * Joins: DuncanMacWeb (~DuncanMac@host-92-20-4-208.as13285.net)
- # [22:19] * Quits: ehynds (~ehynds@64.206.121.41)
- # [22:23] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [22:24] <SamB> gsnedders: Char is not *quite* an integral type, but yeah, I guess it has allow them given the way Enum works ...
- # [22:24] * Joins: shaunbaker (~shaunbake@97e0921c.skybroadband.com)
- # [22:24] <SamB> and Bounded
- # [22:25] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
- # [22:25] * Quits: shaunbaker (~shaunbake@97e0921c.skybroadband.com) (Client Quit)
- # [22:26] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
- # [22:28] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 240 seconds)
- # [22:28] * Joins: bholley (~bholley@187.64.32.150)
- # [22:28] <gsnedders> SamB: Okay, it's not an integral type, but it has a 1:1 mapping to one
- # [22:30] <SamB> back to JSON, RFC 715[89] also doesn't permit unpaired surrogates, but in section 8.2 warns that they have been seen in the wild and that the behaviour of software encountering them is unpredictable
- # [22:30] <SamB> https://tools.ietf.org/html/rfc7159#section-8.2
- # [22:30] * Joins: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net)
- # [22:31] <gsnedders> Oooh! That's a change!
- # [22:32] * Quits: reyre (~reyre@bas1-streetsville52-3096630502.dsl.bell.ca) (Remote host closed the connection)
- # [22:38] * Joins: Ms2ger (~Ms2ger@193.190.253.150)
- # [22:39] * Quits: foxtrotwhiskey (~foxtrotwh@192.63.201.23) (Ping timeout: 240 seconds)
- # [22:40] * Joins: Rastus_Vernon (uid15187@wikimedia/Rastus-Vernon)
- # [22:40] * Joins: foxtrotwhiskey (~foxtrotwh@192-63-2457.unisys.com)
- # [22:41] * Joins: anchnk (~anchnk@static-176-182-231-245.ncc.abo.bbox.fr)
- # [22:41] * Joins: espadrine` (~ttyl@AMontsouris-158-1-51-245.w92-128.abo.wanadoo.fr)
- # [22:43] * Quits: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net) (Quit: Snuggling with the puppies)
- # [22:45] * Quits: espadrine_ (~ttyl@AMontsouris-158-1-61-73.w92-128.abo.wanadoo.fr) (Ping timeout: 246 seconds)
- # [22:53] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: Textual IRC Client: www.textualapp.com)
- # [22:53] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt) (Remote host closed the connection)
- # [22:54] * Quits: foxtrotwhiskey (~foxtrotwh@192-63-2457.unisys.com) (Ping timeout: 240 seconds)
- # [22:54] * Joins: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
- # [22:54] * Quits: othermaciej (~mjs@17.114.217.106) (Quit: othermaciej)
- # [22:55] * Quits: jernoble|laptop (~jernoble@17.202.45.163) (Ping timeout: 246 seconds)
- # [22:55] * Joins: jeremyj (~jeremyj@17.202.44.231)
- # [22:57] * Quits: jeremyj (~jeremyj@17.202.44.231) (Client Quit)
- # [22:57] * Joins: jernoble|laptop (~jernoble@17.114.4.116)
- # [22:58] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt) (Ping timeout: 240 seconds)
- # [22:58] * Quits: scrollback (scrollback@conference/jsconf/x-woohejqwmckfnfah) (Remote host closed the connection)
- # [22:59] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
- # [22:59] * Joins: 23LAAYN7O (scrollback@conference/jsconf/x-vdllxqqfporxcpna)
- # [23:00] * Joins: hasather (~hasather@80.91.33.141)
- # [23:02] * Quits: shannonmoeller (~shannonmo@pool-108-17-8-225.bflony.fios.verizon.net) (Remote host closed the connection)
- # [23:03] * Quits: encryptd_fractal (~mfrawley@66-188-99-174.static.ftbg.wi.charter.com) (Ping timeout: 265 seconds)
- # [23:03] * jorendorff is now known as jorendorff_away
- # [23:05] * Quits: hasather (~hasather@80.91.33.141) (Ping timeout: 265 seconds)
- # [23:05] * Joins: othermaciej (~mjs@17.114.3.68)
- # [23:08] * Quits: othermaciej (~mjs@17.114.3.68) (Client Quit)
- # [23:10] * Quits: Maurice` (copyman@5ED57922.cm-7-6b.dynamic.ziggo.nl)
- # [23:10] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
- # [23:14] <jgraham> Hmm, that section says that it does permit unpaired surrogates
- # [23:15] <jgraham> It just says that the behaviour of unpaired surrogates is undefined
- # [23:16] <zewt> i'd sooner have it defined as outputting FFFE than being a parse error
- # [23:16] * Quits: annevk (~annevk@2.31.25.165) (Remote host closed the connection)
- # [23:17] <jgraham> The whole thing is pretty woeful
- # [23:17] <zewt> so if some API client inputs a string from a user in a UTF-16 env, and the user pastes in a string with a broken surrogate, it doesn't become a server-side error later
- # [23:17] <jgraham> You are kind of expected to guess how string escapes work
- # [23:18] * krit_ is now known as krit
- # [23:18] <zewt> eg. i'd rather there be no possible invalid user inputs as a string, even if it means some (invalid surrogates) not round-tripping through some paths
- # [23:18] <jgraham> zewt: AFAICT the spec simply fails to define how strings are interpreted at all
- # [23:18] <zewt> sure, i'm just saying how i'd prefer it
- # [23:19] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
- # [23:19] <jgraham> I agree that fatal errors aren't great
- # [23:19] * jorendorff_away is now known as jorendorff
- # [23:19] <zewt> in practice that may be unlikely: most JSON encoders I've used just output UTF-8 for everything and never use \u escapes anyway
- # [23:20] * Quits: jeffreyatw (~jeffreyat@173.247.197.10) (Quit: jeffreyatw)
- # [23:20] <zewt> (or in the case of JS, outputs UTF-16 codepoints that get encoded to UTF-8 later)
- # [23:20] * Joins: tav_ (~tav`@host109-154-1-151.range109-154.btcentralplus.com)
- # [23:22] * Quits: benv (~benv@38.104.194.126) (Quit: Computer has gone to sleep.)
- # [23:23] * Quits: tav (~tav`@host109-154-1-151.range109-154.btcentralplus.com) (Ping timeout: 252 seconds)
- # [23:23] * tav_ is now known as tav
- # [23:24] * Joins: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com)
- # [23:24] * Quits: bholley (~bholley@187.64.32.150) (Ping timeout: 265 seconds)
- # [23:25] * Joins: bholley (~bholley@187.64.32.150)
- # [23:26] * Joins: Kolombiken1 (~Adium@gateway.creuna.se)
- # [23:26] * Quits: Kolombiken1 (~Adium@gateway.creuna.se) (Client Quit)
- # [23:28] * Quits: zcorpan (~zcorpan@90-230-218-37-no135.tbcn.telia.com) (Ping timeout: 265 seconds)
- # [23:32] * ojan_away is now known as ojan
- # [23:33] <SamB> gsnedders: well, I mean, the ABNF doesn't rule them out, but there are no semantics given for them in the prose
- # [23:36] <SamB> what was that April 1 RFC with the, er, disillusioned definitions for keywords?
- # [23:38] * Quits: zdobersek (~zan@tsn85-159-236-214.dyn.nltelcom.net) (Quit: Leaving.)
- # [23:39] <gsnedders> jgraham: What do you want to do with serializer tests for html5lib, BTW?
- # [23:40] <gsnedders> jgraham: Given they depend upon so many serialization options, and there are infinitely many valid serializations…
- # [23:46] * espadrine` is now known as espadrine
- # [23:48] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [23:48] * Quits: bholley (~bholley@187.64.32.150) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
- # [23:53] * Quits: jernoble|laptop (~jernoble@17.114.4.116) (Quit: Computer has gone to sleep.)
- # [23:56] * Quits: ehsan (~ehsan@66.207.208.102) (Remote host closed the connection)
- # [23:57] * Joins: scor (~scor@c-98-217-11-242.hsd1.ma.comcast.net)
- # [23:57] * Quits: scor (~scor@c-98-217-11-242.hsd1.ma.comcast.net) (Changing host)
- # [23:57] * Joins: scor (~scor@drupal.org/user/52142/view)
- # Session Close: Thu Mar 20 00:00:00 2014
The end :)