--- Log opened Sun Jan 19 00:00:40 2014 |
00:36 | | Chan_Yasu_Daishi [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
00:46 | | AverageJoe [evil1@Nightstar-mo6.p2g.254.199.IP] has quit [[NS] Quit: Leaving] |
00:59 | | You're now known as TheWatcher[T-2] |
01:04 | | You're now known as TheWatcher[zZzZ] |
01:38 | | Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
01:41 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Ping timeout: 121 seconds] |
01:45 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
01:45 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
01:47 | | Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Ping timeout: 121 seconds] |
01:47 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
01:49 | | Orth [Orthia@Nightstar-e3a.vih.148.118.IP] has quit [Ping timeout: 121 seconds] |
01:55 | | Kindamoody is now known as Kindamoody[zZz] |
02:11 | | gnolam [lenin@Nightstar-usbajb.cust.bredbandsbolaget.se] has joined #code |
02:11 | | mode/#code [+o gnolam] by ChanServ |
02:16 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
02:19 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
02:47 | | Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [Operation timed out] |
02:49 | | Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code |
02:50 | | mode/#code [+o Alek] by ChanServ |
03:07 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
03:07 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
03:07 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
03:08 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
03:45 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
04:13 | | VirusJTG_ [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:57 | | Vornicus is now known as Vash |
05:04 | | Derakon is now known as Derakon[AFK] |
05:22 | | Turaiel[Offline] is now known as Turaiel |
05:34 | | Thalass [thalass@Nightstar-bce70i.eastlink.ca] has joined #code |
05:53 | | RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
05:56 | | RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
06:05 | | Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has joined #code |
06:24 | | Vash is now known as Vornicus |
06:27 | <@jeroud> | XML is horrible. |
06:31 | <~Vornicus> | It is almost always not what you want to use. |
06:33 | < Harlow> | Well there is only XML and JSON right? |
06:34 | <~Vornicus> | For semi-static, structured data, JSON is the go-to thing; XML is a very distant third, after that thing that bittorrent uses. |
06:35 | <@jeroud> | YAML (a safe subset thereof, at least) works better for human-writable things. |
06:36 | <~Vornicus> | Okay, that makes XML a very distant fourth. |
06:36 | <~Vornicus> | What is unsafe in YAML? |
06:39 | <~Vornicus> | For things you're writing to a lot, you don't want a markup language in that sense; often, a plain text file is better |
06:40 | <@jeroud> | Vornicus: YAML has (ugly) syntax for serialising arbitrary objects. |
06:41 | <@jeroud> | Most YAML libraries default to deserialising this, which means yaml.load() can execute arbitrary code. |
06:42 | <@jeroud> | yaml.safe_load() doesn't. |
06:42 | <~Vornicus> | You say "arbitrary objects" -- what, with methods and everything? |
06:43 | <@jeroud> | Basically just constructor parameters, but still. |
06:47 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
06:52 | <~Vornicus> | i see. |
06:54 | <@jeroud> | There was that infamous Rails security issue a while back where they used the YAML module to parse JSON unsafely. |
06:55 | <~Vornicus> | I seem to remember that one |
06:56 | <@jeroud> | In completely unrelated news, Google Code is second from the bottom on my list of preferred code hosting providers. |
06:56 | <~Vornicus> | that bad? |
06:56 | <@jeroud> | SourceForge at least has the excuse that it predates svn. |
06:56 | <@jeroud> | Vornicus: That bad. |
06:57 | <@jeroud> | I speak as someone looking at other people's code. |
06:58 | <@jeroud> | Github is at the top of the list because it makes a bunch of stuff easy and it encourages certain good behaviour. |
06:58 | <@jeroud> | Like having a useful README. |
06:59 | <@jeroud> | Bitbucket's not /too/ bad, but hg is really slow over a suboptimal network link. |
07:01 | <@jeroud> | (My clone of the pypy repo on Thursday took *six* *hours* and then broke. It didn't even leave a partial repo, so I'd've had to start again from scratch.) |
07:03 | <@jeroud> | (After the first half hour I was mostly just watching it for trainwreck value. I copied an old repo from another machine and just updated that, which I probably should have done in the first place.) |
07:25 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
07:34 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
07:54 | | AbuDhabi_ [AbuDhabi@Nightstar-3kot9q.80-203-17.nextgentel.com] has quit [Connection reset by peer] |
08:02 | | Kindamoody[zZz] is now known as Kindamoody |
08:08 | | Kindamoody is now known as Kindamoody|afk |
08:09 | | Harlow [harlow@Nightstar-9hnfdm.il.comcast.net] has quit [[NS] Quit: BED] |
08:15 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
08:16 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has joined #code |
08:17 | | Turaiel is now known as Turaiel[Offline] |
08:26 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
08:36 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
08:40 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
08:46 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
08:52 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
08:59 | | Chan_Yasu_Daishi [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
09:04 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
09:19 | | Kindamoody|afk is now known as Kindamoody |
09:29 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has quit [Connection reset by peer] |
09:31 | < Xon> | Vornicus, YAML was made a technically a super-set of JSON. but YAML requires special handling of tabs-vs-spaces for the passed-JSON features so why the fuck bother |
09:31 | <~Vornicus> | I see |
09:33 | < Xon> | seriously, a modern text-based file format which differentiate between spaces vs tabs is /horrible/. language/code yes I can understand, but a serialization formation designed to be edited by people? Ugh. |
09:35 | < Xon> | (also, there can be 'fun' parsing JSON with a YAML parser due to YAML spec attempting to be a superset of JSON after the fact) |
09:54 | <@jeroud> | Xon: I'm pretty sure the JSON stuff in YAML is unambiguous. |
09:54 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
09:55 | <@jeroud> | And tabs vs spaces is because of the indentation-delimited blocks. |
09:57 | <@Tamber> | Just because there's a reason for it, doesn't mean it's not horrible. :p |
09:57 | | You're now known as TheWatcher |
10:06 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
10:11 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has joined #code |
10:13 | < Xon> | jeroud, only after JSOPN had comments stripped from the spec |
10:14 | <~Vornicus> | That is something I miss from json |
10:15 | <@jeroud> | Comments are hard to serialise. |
10:16 | <@jeroud> | Anyway, YAML is human-writable and it can be human-readable if it's not generated badly. |
10:16 | <@jeroud> | Which makes it substantially better for configs and such than JSON. |
10:17 | <@jeroud> | I wouldn't use it as a wire serialisation format, though. |
10:22 | <@Namegduf> | I heard the comments were removed because people kept trying to use them to extend JSON in differing ways. |
10:22 | <@Namegduf> | It could have been incorrect, though. |
10:29 | < Syka> | i don't like comments in json |
10:29 | < Syka> | it's object notation |
10:29 | < Syka> | have better objects |
10:30 | <@jeroud> | My least favourite "feature" of JSON is the prohibition on trailing commas. |
10:34 | < Xon> | jeroud, that *is* anoying |
10:35 | <@jeroud> | There is no good reason for that at all. |
10:35 | <@Tamber> | Quite so. |
10:38 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has quit [Ping timeout: 121 seconds] |
10:38 | <@jeroud> | I suspect it's "our crappy JS parser doesn't like it, so let's forbid it in the spec". |
10:41 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
10:48 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has joined #code |
11:02 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Connection closed] |
11:06 | | Kindamoody is now known as Kindamoody|movie |
11:45 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has quit [Ping timeout: 121 seconds] |
11:56 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has joined #code |
12:22 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
12:22 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
12:33 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
12:33 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
12:49 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
12:49 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
12:49 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
12:49 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
12:50 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has quit [Ping timeout: 121 seconds] |
12:56 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has joined #code |
12:59 | | Syka [the@Nightstar-v3o.00r.127.1.IP] has quit [Connection reset by peer] |
13:02 | | Syka [the@Nightstar-kvr.2pp.126.1.IP] has joined #code |
13:03 | | Chan_Yasu_Daishi [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
13:23 | | Kindamoody|movie is now known as Kindamoody |
13:24 | | Kindamoody is now known as Kindamoody|afk |
13:33 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
13:39 | | Chan_Yasu_Daishi [Z@Nightstar-ro94ms.balk.dk] has joined #code |
13:44 | | AbuDhabi_ [AbuDhabi@Nightstar-p6q73m.89.getinternet.no] has joined #code |
13:47 | | AbuDhabi1 [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
13:48 | | AbuDhabi_ [AbuDhabi@Nightstar-p6q73m.89.getinternet.no] has quit [Ping timeout: 121 seconds] |
14:00 | | Syka_ [the@Nightstar-v3o.00r.127.1.IP] has joined #code |
14:01 | | Syka [the@Nightstar-kvr.2pp.126.1.IP] has quit [Ping timeout: 121 seconds] |
14:02 | | Syka_ [the@Nightstar-v3o.00r.127.1.IP] has quit [[NS] Quit: leaving] |
14:19 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
14:22 | | AbuDhabi1 [AbuDhabi@Nightstar-dpjndf.bb.online.no] has quit [Ping timeout: 121 seconds] |
14:23 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has quit [Ping timeout: 121 seconds] |
14:29 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
14:42 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
14:42 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
15:08 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has quit [Ping timeout: 121 seconds] |
15:23 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
15:29 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
15:29 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
15:30 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
15:30 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection reset by peer] |
15:53 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
15:53 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
17:47 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
17:47 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
18:09 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
18:09 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection reset by peer] |
18:15 | | VirusJTG_ [VirusJTG@Nightstar-lsl.j5i.46.174.IP] has joined #code |
18:18 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds] |
18:29 | | AbuDhabi1 [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
18:31 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has quit [Ping timeout: 121 seconds] |
19:00 | | Kindamoody|afk is now known as Kindamoody |
19:06 | | Derakon[AFK] is now known as Derakon |
19:10 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
19:10 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection reset by peer] |
19:22 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
19:23 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:29 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
19:29 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
19:29 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
19:29 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection reset by peer] |
19:41 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
19:44 | | AbuDhabi1 [AbuDhabi@Nightstar-dpjndf.bb.online.no] has quit [Ping timeout: 121 seconds] |
20:00 | | Turaiel[Offline] is now known as Turaiel |
20:34 | | Chan_Yasu_Daishi [Z@Nightstar-ro94ms.balk.dk] has quit [Ping timeout: 121 seconds] |
20:48 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has joined #code |
20:48 | | Orth [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Connection closed] |
21:11 | | Kindamoody is now known as Kindamoody[zZz] |
21:37 | | Turaiel is now known as Turaiel[Offline] |
22:25 | | AbuDhabi1 [AbuDhabi@Nightstar-dpjndf.bb.online.no] has joined #code |
22:25 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
22:27 | | AbuDhabi_ [AbuDhabi@Nightstar-dpjndf.bb.online.no] has quit [Ping timeout: 121 seconds] |
22:29 | | VirusJTG_ [VirusJTG@Nightstar-lsl.j5i.46.174.IP] has quit [Ping timeout: 121 seconds] |
22:33 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:41 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
22:41 | | mode/#code [+o Reiv] by ChanServ |
22:46 | | Turaiel[Offline] is now known as Turaiel |
22:48 | | Orth [Orthia@Nightstar-3kv.7l5.148.118.IP] has joined #code |
22:49 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code |
22:49 | | mode/#code [+o celticminstrel] by ChanServ |
22:51 | | OrthDroid [Orthia@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
23:55 | <&McMartin> | https://lh5.googleusercontent.com/-Qy3O7ZcbP7A/UtsrYUQSl_I/AAAAAAAAFBk/np-Uus5TJ mI/w1062-h598-no/IMG_20140118_173150996.jpg |
23:55 | <~Vornicus> | nice |
--- Log closed Mon Jan 20 00:00:44 2014 |