2012-12-13T00:27:13 *** Areks has joined #aichallenge 2012-12-13T00:31:44 *** Eibwen has quit IRC (Ping timeout: 245 seconds) 2012-12-13T00:41:25 *** Eibwen has joined #aichallenge 2012-12-13T00:48:09 *** Eibwen has quit IRC (Ping timeout: 250 seconds) 2012-12-13T00:48:58 *** Eibwen has joined #aichallenge 2012-12-13T00:52:01 *** awly has joined #aichallenge 2012-12-13T00:56:12 *** mceier has quit IRC (Quit: leaving) 2012-12-13T01:13:40 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-12-13T01:25:26 *** antimatroidl has quit IRC (Ping timeout: 246 seconds) 2012-12-13T01:29:51 *** Eibwen has quit IRC (Ping timeout: 248 seconds) 2012-12-13T01:36:33 *** Eibwen has joined #aichallenge 2012-12-13T01:43:44 *** awly has quit IRC (Ping timeout: 252 seconds) 2012-12-13T01:47:38 *** antimatroidl has joined #aichallenge 2012-12-13T02:09:40 *** Eibwen_ has joined #aichallenge 2012-12-13T02:11:30 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-12-13T02:11:34 *** Eibwen_ is now known as Eibwen 2012-12-13T02:13:54 *** mceier has joined #aichallenge 2012-12-13T02:43:21 *** Eibwen has quit IRC (Ping timeout: 265 seconds) 2012-12-13T02:48:22 *** Eibwen has joined #aichallenge 2012-12-13T02:50:04 *** smiley1983 has quit IRC (Ping timeout: 245 seconds) 2012-12-13T02:51:06 *** smiley1983 has joined #aichallenge 2012-12-13T02:53:31 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-12-13T02:58:22 *** Wren80[work] has joined #aichallenge 2012-12-13T02:58:55 *** Wren80[work]_ has joined #aichallenge 2012-12-13T03:16:02 *** epicmonkey has joined #aichallenge 2012-12-13T03:26:28 *** Eibwen__ has joined #aichallenge 2012-12-13T03:26:29 *** Eibwen__ is now known as Eibwen 2012-12-13T03:39:14 *** epicmonkey has quit IRC (Ping timeout: 245 seconds) 2012-12-13T03:56:53 *** Eibwen has quit IRC (Ping timeout: 255 seconds) 2012-12-13T03:57:52 *** Eibwen has joined #aichallenge 2012-12-13T03:58:23 *** smiley1983 has quit IRC (Ping timeout: 250 seconds) 2012-12-13T03:59:01 *** ramn[ws] has joined #aichallenge 2012-12-13T04:00:23 *** smiley1983 has joined #aichallenge 2012-12-13T04:01:56 *** sigh has joined #aichallenge 2012-12-13T04:02:56 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-12-13T04:03:35 *** ramn[home] has quit IRC (Ping timeout: 265 seconds) 2012-12-13T04:06:42 *** Eibwen has joined #aichallenge 2012-12-13T04:22:28 *** antimatroidl has quit IRC (Read error: Connection reset by peer) 2012-12-13T04:22:34 *** antimatroidl has joined #aichallenge 2012-12-13T04:28:00 *** Eibwen has quit IRC (Ping timeout: 248 seconds) 2012-12-13T04:35:08 *** Eibwen_ has joined #aichallenge 2012-12-13T04:35:33 *** Eibwen_ is now known as Eibwen 2012-12-13T04:47:38 *** epicmonkey has joined #aichallenge 2012-12-13T04:51:28 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T04:53:27 *** alehorst has joined #aichallenge 2012-12-13T04:54:30 *** Eibwen_ has joined #aichallenge 2012-12-13T04:56:22 *** Eibwen has quit IRC (Ping timeout: 260 seconds) 2012-12-13T04:56:24 *** Eibwen_ is now known as Eibwen 2012-12-13T05:08:30 *** mceier has quit IRC (Ping timeout: 260 seconds) 2012-12-13T05:24:56 *** Cyndre__ has quit IRC (Quit: Leaving) 2012-12-13T05:38:04 *** smiley1983 has quit IRC (Ping timeout: 250 seconds) 2012-12-13T05:39:07 *** smiley1983 has joined #aichallenge 2012-12-13T05:51:27 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T05:53:33 *** alehorst has joined #aichallenge 2012-12-13T05:57:48 *** Wren80[work]_ has quit IRC (Quit: Wren80[work]_) 2012-12-13T05:59:06 *** Wren80[work] has joined #aichallenge 2012-12-13T06:01:06 *** antimatroidl1 has joined #aichallenge 2012-12-13T06:01:15 *** antimatroidl has quit IRC (Read error: No route to host) 2012-12-13T06:02:14 *** pairofdice has joined #aichallenge 2012-12-13T06:03:43 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T06:04:56 *** alehorst has joined #aichallenge 2012-12-13T06:24:43 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T06:26:43 *** alehorst has joined #aichallenge 2012-12-13T06:35:25 *** ikaros has joined #aichallenge 2012-12-13T06:38:58 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-12-13T06:50:35 *** smiley1983 has quit IRC (Ping timeout: 255 seconds) 2012-12-13T06:51:27 *** smiley1983 has joined #aichallenge 2012-12-13T06:51:27 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T06:54:10 *** alehorst has joined #aichallenge 2012-12-13T07:09:12 *** smiley1983 has quit IRC (Ping timeout: 265 seconds) 2012-12-13T07:09:57 *** smiley1983 has joined #aichallenge 2012-12-13T07:18:15 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-12-13T07:27:59 *** Areks has quit IRC (Read error: Connection reset by peer) 2012-12-13T07:29:37 *** smiley1983 has quit IRC (Ping timeout: 244 seconds) 2012-12-13T07:30:26 *** smiley1983 has joined #aichallenge 2012-12-13T08:02:34 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T08:04:28 *** Wren80[work] has joined #aichallenge 2012-12-13T08:04:31 *** coeus has quit IRC (Quit: Verlassend) 2012-12-13T08:04:50 *** alehorst has joined #aichallenge 2012-12-13T08:14:29 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T08:15:26 *** alehorst has joined #aichallenge 2012-12-13T08:25:11 *** Areks has joined #aichallenge 2012-12-13T08:45:46 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-12-13T08:46:03 *** alehorst has quit IRC (Read error: Connection reset by peer) 2012-12-13T08:47:28 *** alehorst has joined #aichallenge 2012-12-13T08:57:03 *** Wren80[work] has joined #aichallenge 2012-12-13T09:03:48 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T09:06:04 *** alehorst has joined #aichallenge 2012-12-13T09:20:26 *** Scooper has joined #aichallenge 2012-12-13T09:28:29 *** thestinger has joined #aichallenge 2012-12-13T09:28:32 *** UncleVasya has joined #aichallenge 2012-12-13T09:37:52 *** Areks has quit IRC (Ping timeout: 264 seconds) 2012-12-13T09:39:08 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T09:40:10 *** alehorst has joined #aichallenge 2012-12-13T09:42:19 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T09:43:19 *** alehorst has joined #aichallenge 2012-12-13T09:51:26 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T09:52:48 *** alehorst has joined #aichallenge 2012-12-13T09:52:56 *** mcstar has joined #aichallenge 2012-12-13T10:03:05 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T10:04:39 *** alehorst has joined #aichallenge 2012-12-13T10:13:37 *** mceier has joined #aichallenge 2012-12-13T10:14:27 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T10:16:06 *** alehorst has joined #aichallenge 2012-12-13T10:35:39 no talkie 2012-12-13T10:35:48 mcstar: \o 2012-12-13T10:35:52 o/ 2012-12-13T10:38:37 \o/ 2012-12-13T10:39:30 *** sigh has quit IRC (Remote host closed the connection) 2012-12-13T10:46:53 /o/ 2012-12-13T10:49:21 /\o/\ 2012-12-13T10:49:41 _o_ 2012-12-13T10:49:48 | | 2012-12-13T10:49:50 shit 2012-12-13T10:49:53 | | 2012-12-13T10:50:30 \o/ / 2012-12-13T10:50:34 ops 2012-12-13T10:51:02 \o/ /\o/\ o< /o\ 2012-12-13T10:55:53 hm, my sql -> json conversion feels a bit slow 2012-12-13T10:55:53 maybe i just need to turn on optimizations 2012-12-13T10:56:22 btw, the chromium developer console or whatever its name is, is awesome 2012-12-13T11:02:14 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T11:04:15 *** alehorst has joined #aichallenge 2012-12-13T11:06:13 faster than firebug right? 2012-12-13T11:07:27 oh, way faster 2012-12-13T11:07:47 and the javascript engine feels faster also in chromium 2012-12-13T11:11:28 *** Eibwen_ has joined #aichallenge 2012-12-13T11:12:28 but can it run Crysis? 2012-12-13T11:13:47 *** Eibwen has quit IRC (Ping timeout: 246 seconds) 2012-12-13T11:13:48 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T11:16:09 *** Eibwen has joined #aichallenge 2012-12-13T11:16:13 *** alehorst has joined #aichallenge 2012-12-13T11:17:59 *** Eibwen_ has quit IRC (Ping timeout: 244 seconds) 2012-12-13T11:18:02 but can you gtfo? 2012-12-13T11:18:15 also, i dont know what i just said 2012-12-13T11:18:22 * mcstar looks up gtfo 2012-12-13T11:18:57 ah, ok, i hit it 2012-12-13T11:22:25 mcstar: can't you just use the postgres row_to_json? 2012-12-13T11:22:46 oh, there is such a thing? 2012-12-13T11:22:55 yes 2012-12-13T11:23:02 ill look it up 2012-12-13T11:23:13 http://www.postgresql.org/docs/devel/static/functions-json.html these things 2012-12-13T11:23:15 the query itself is fast, but the conversion isnt 2012-12-13T11:23:56 I thought there was more json stuff, that doesn't seem complete 2012-12-13T11:24:05 http://sprunge.us/jaFS?haskell this is what i have now 2012-12-13T11:24:24 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T11:24:59 that take 100 is there for experimentation, i need the full output 2012-12-13T11:26:25 row_to_json is too verbose 2012-12-13T11:26:33 *** alehorst has joined #aichallenge 2012-12-13T11:29:11 thestinger: i think that JSON type is just like any other psql type, it is not for turning queries into json 2012-12-13T11:29:23 ah :[ 2012-12-13T11:38:23 great, gzip compression is working 2012-12-13T11:38:30 also, i have to return RepPlain instead of RepJson 2012-12-13T11:39:13 mcstar: can't you just precompute all the json? :P 2012-12-13T11:39:25 what do you mean? 2012-12-13T11:39:38 turn the whole database into json once? 2012-12-13T11:39:40 generate all the json in advance when you store the data 2012-12-13T11:39:55 you can have a separate table and use the same ids 2012-12-13T11:39:57 well, i could switch to couchdb 2012-12-13T11:40:07 but no, i wont 2012-12-13T11:40:07 couchdb is slow as fuck :P 2012-12-13T11:40:56 i was trying to do ajax push, im not sure yesod supports it 2012-12-13T11:41:22 i.e. opening a connection from the browser, and sending back the data as a multipart document 2012-12-13T11:41:31 in chunks of an acceptable length 2012-12-13T11:41:46 so i could display something to the user immediately 2012-12-13T11:42:03 so, this didnt work out, but im going to make a 2 stage solution 2012-12-13T11:42:10 send 100 rows first, and then the rest 2012-12-13T11:42:22 but now i have to store the result of the query on the server side 2012-12-13T11:42:46 this complicates things, and it is unnecessary, if yesod had support for ajax push 2012-12-13T11:42:59 it would be* 2012-12-13T11:44:06 oh, this is nice, a more than 300k json went down to 55k gzipped 2012-12-13T11:45:07 mcstar: can you set the compression level? 2012-12-13T11:45:12 i dont think so 2012-12-13T11:52:44 with additional work, i think the conversion can be done on the database level 2012-12-13T11:58:54 *** awly has joined #aichallenge 2012-12-13T12:05:56 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-12-13T12:16:49 thestinger: i think i can convert a row to a json-like string like this: 2012-12-13T12:16:52 select array_to_string(array['[' || cast(res_id as text), cast(date_short as text) || ']'],',') 2012-12-13T12:17:08 array_to_json doesn't do what you want? 2012-12-13T12:17:22 i forgot about it 2012-12-13T12:17:43 yeah, probably it would be better than concatenating the [ and ] 2012-12-13T12:17:46 ill see 2012-12-13T12:19:06 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T12:20:57 *** alehorst has joined #aichallenge 2012-12-13T12:20:57 oh, great 2012-12-13T12:21:43 i wonder if this cast could be written more succintly 2012-12-13T12:22:34 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T12:22:34 *** Eibwen has quit IRC (Quit: ChatZilla 0.9.89 [Firefox 3.6.28/20120306064154]) 2012-12-13T12:24:22 *** alehorst has joined #aichallenge 2012-12-13T12:58:42 thestinger: well, #sql says i cant simplify this 'cast(res_id as text), cast(date_short as text)' 2012-12-13T12:58:58 not a big problem though :) 2012-12-13T13:02:21 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T13:04:40 *** alehorst has joined #aichallenge 2012-12-13T13:12:21 *** foRei has joined #aichallenge 2012-12-13T13:14:31 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T13:16:55 *** alehorst has joined #aichallenge 2012-12-13T13:32:10 *** epicmonkey has quit IRC (Ping timeout: 245 seconds) 2012-12-13T13:34:47 thestinger: well, with this approach i went down from ~800ms to <150ms 2012-12-13T13:46:25 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T13:47:36 *** alehorst has joined #aichallenge 2012-12-13T13:52:46 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T13:54:06 *** alehorst has joined #aichallenge 2012-12-13T14:00:32 *** foRei has quit IRC (Read error: Connection reset by peer) 2012-12-13T14:01:52 *** Accoun has quit IRC () 2012-12-13T14:13:23 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T14:14:08 *** alehorst has joined #aichallenge 2012-12-13T14:25:11 *** Accoun has joined #aichallenge 2012-12-13T14:30:42 *** smiley1983 has quit IRC (Ping timeout: 252 seconds) 2012-12-13T14:31:30 *** smiley1983 has joined #aichallenge 2012-12-13T14:37:57 *** smiley1983 has quit IRC (Ping timeout: 244 seconds) 2012-12-13T14:38:06 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T14:41:03 *** alehorst has joined #aichallenge 2012-12-13T14:43:53 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T14:44:04 *** smiley1983 has joined #aichallenge 2012-12-13T14:44:34 *** alehorst has joined #aichallenge 2012-12-13T14:47:10 *** Blkt has joined #aichallenge 2012-12-13T14:51:36 *** epicmonkey has joined #aichallenge 2012-12-13T15:20:50 *** foRei has joined #aichallenge 2012-12-13T15:22:16 *** cyphase has quit IRC (Ping timeout: 264 seconds) 2012-12-13T15:25:36 *** dici has joined #aichallenge 2012-12-13T15:27:51 *** cyphase has joined #aichallenge 2012-12-13T15:32:18 i pulled my shakespearean templates out into files, now i can get proper indentation for my javascript 2012-12-13T15:33:23 *** ZanniqlcKzxkq has joined #aichallenge 2012-12-13T15:34:51 *** sdfsdsfd has joined #aichallenge 2012-12-13T15:37:35 *** epicmonkey has quit IRC (*.net *.split) 2012-12-13T15:37:35 *** Accoun has quit IRC (*.net *.split) 2012-12-13T15:37:35 *** Zannick has quit IRC (*.net *.split) 2012-12-13T15:38:51 *** amstan has joined #aichallenge 2012-12-13T15:38:51 *** ChanServ sets mode: +o amstan 2012-12-13T15:44:18 *** awly has quit IRC (Ping timeout: 255 seconds) 2012-12-13T15:49:01 *** mviel_ has joined #aichallenge 2012-12-13T15:50:24 *** mviel has quit IRC (*.net *.split) 2012-12-13T15:50:24 *** jmcarthur has quit IRC (*.net *.split) 2012-12-13T15:52:20 *** jmcarthur has joined #aichallenge 2012-12-13T15:55:14 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T15:57:07 *** alehorst has joined #aichallenge 2012-12-13T15:59:19 wtf is going on 2012-12-13T16:00:49 mcstar: thanks for flying freenode 2012-12-13T16:00:58 you'll be needing this parachute 2012-12-13T16:01:02 hm? 2012-12-13T16:01:17 what does that have to do with my async xhr 2012-12-13T16:01:24 * thestinger shrugs 2012-12-13T16:01:35 the net splits are more noticeable in channels with 1000+ users :P 2012-12-13T16:01:52 my callback is called back 10+ times with readyState 4 and status 200 2012-12-13T16:02:19 join/leaves are hidden for me 2012-12-13T16:02:25 i couldnt stand irc otherwise 2012-12-13T16:02:39 alt+= shows it 2012-12-13T16:02:40 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T16:02:55 thestinger: did you run into this? 2012-12-13T16:02:58 the js stuff 2012-12-13T16:04:16 no 2012-12-13T16:04:26 *** alehorst has joined #aichallenge 2012-12-13T16:05:13 jesus h christ it is worse than i thought 2012-12-13T16:05:51 shit 2012-12-13T16:05:58 no it isnt, i had a typo 2012-12-13T16:07:50 js makes me sad 2012-12-13T16:08:40 aham, it is called with readyState == 3 many times 2012-12-13T16:08:54 i guess it is called every time a chunk of the data is received 2012-12-13T16:13:49 mcstar: save yourself a lot of pain and use === :P 2012-12-13T16:14:12 ^ that was pseudocode 2012-12-13T16:14:34 also, i think in this case == is ok 2012-12-13T16:14:53 but you will tell me otherwise 2012-12-13T16:14:56 except it's true for random stuff like " 1 " 2012-12-13T16:15:00 and i will believe you 2012-12-13T16:15:08 1 == [1] is true 2012-12-13T16:15:30 but readyState can only take numbers 2012-12-13T16:15:34 well, integers 2012-12-13T16:15:34 *** antimatroidl1 has quit IRC (Ping timeout: 252 seconds) 2012-12-13T16:15:41 take on* 2012-12-13T16:16:05 * thestinger always uses "use strict"; too 2012-12-13T16:16:28 *** antimatroidl has joined #aichallenge 2012-12-13T16:17:30 use strict; ? 2012-12-13T16:17:51 mcstar: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ 2012-12-13T16:17:59 i mean, the quotes 2012-12-13T16:18:08 you dont put quotes around it 2012-12-13T16:18:10 mcstar: it was done to make it backwards compatible 2012-12-13T16:18:12 you do 2012-12-13T16:18:17 and end with ; right? 2012-12-13T16:18:19 (in javascript, not silly perl) 2012-12-13T16:18:20 oh 2012-12-13T16:18:30 wtf is that then? 2012-12-13T16:19:03 i dont get the quotes 2012-12-13T16:19:15 mcstar: it's just a string literal in ecmascript 3 2012-12-13T16:19:23 in ecmascript 5 it has special meaning (turns on strict mode) 2012-12-13T16:19:24 kind of stupid 2012-12-13T16:19:31 makes you declare variables before use, etc. 2012-12-13T16:19:38 why the fuck not call a function? 2012-12-13T16:19:57 this 'string literal' is a stupid solution 2012-12-13T16:20:08 mcstar: you can use it in function scope too 2012-12-13T16:20:18 and they wanted it to be backwards compatible 2012-12-13T16:20:18 My uninformed guess would be that it causes changes at the parser level 2012-12-13T16:20:51 they could put it into the comments 2012-12-13T16:21:04 janzert: it does 2012-12-13T16:21:04 / {#- special shit -#} 2012-12-13T16:21:08 // {#- special shit -#} 2012-12-13T16:21:12 it gets rid of the with statement and eval 2012-12-13T16:21:24 because both were broken (it wasn't like eval in other languages) 2012-12-13T16:21:55 mcstar: they could have done that, but instead they used a string literal :P 2012-12-13T16:22:08 bye 2012-12-13T16:22:13 bb 2012-12-13T16:22:13 *** UncleVasya has left #aichallenge 2012-12-13T16:23:41 great, i cant use 'const'? 2012-12-13T16:23:44 why the hell not? 2012-12-13T16:23:50 stupid strict mode 2012-12-13T16:24:37 mcstar: because it's non-standard 2012-12-13T16:24:52 it only works in ffx and chrome 2012-12-13T16:24:52 ill make it a var 2012-12-13T16:25:03 if it throws on something else, im gonna disable strict mode 2012-12-13T16:25:15 mcstar: but it's helping you write portable code :P 2012-12-13T16:25:29 no, it is causing me rewrite 2012-12-13T16:25:42 you just need to sprinkle some vars around at worst 2012-12-13T16:26:08 if it makes you feel better, it will eventually run faster than non-strict code 2012-12-13T16:26:08 ok, no other errors so far 2012-12-13T16:26:28 mcstar: they mostly happen when it turns js -> bytecode 2012-12-13T16:27:05 it's essentially a really crappy form of static typing, where every type is an option type of a sum type of all possible types 2012-12-13T16:27:35 o.O 2012-12-13T16:27:43 you can no longer get undefined var exceptions, but you sure can have uninitialized ones :) 2012-12-13T16:28:00 *** coeus has joined #aichallenge 2012-12-13T16:34:26 thestinger: how do you negate === ? 2012-12-13T16:34:31 !(a===b) 2012-12-13T16:34:35 !== 2012-12-13T16:34:42 why? 2012-12-13T16:34:49 isnt that for == 2012-12-13T16:34:52 :) 2012-12-13T16:35:11 so that you could un-assign with != 2012-12-13T16:35:21 (the opposite of initialization, for example) 2012-12-13T16:35:22 XD 2012-12-13T16:35:25 mcstar: https://developer.mozilla.org/en-US/docs/JavaScript/Reference#Operators it's just a clusterfuck 2012-12-13T16:35:40 especially since there's one Number type and it's technically a double 2012-12-13T16:36:33 actual mozilla js has generators and list comprehensions :P 2012-12-13T16:36:53 ecmascript 6 will have them too 2012-12-13T16:37:07 and const, but it works differently 2012-12-13T16:37:54 i tried comprehensions, but they didnt work 2012-12-13T16:37:57 so i used map instead 2012-12-13T16:39:52 mcstar: they only work in firefox 2012-12-13T16:39:55 atm 2012-12-13T16:40:19 https://developer.mozilla.org/en-US/docs/JavaScript/ECMAScript_6_support_in_Mozilla also a proper map and set that will have non-string keys 2012-12-13T16:40:22 i was looking for a way to query the version of js, but didnt go far 2012-12-13T16:42:57 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-12-13T16:43:17 *** alehorst has quit IRC (Remote host closed the connection) 2012-12-13T16:43:35 for(r in data) 2012-12-13T16:43:39 r is not defined 2012-12-13T16:44:10 *** alehorst has joined #aichallenge 2012-12-13T16:45:11 mcstar: use var r? 2012-12-13T16:45:17 i know 2012-12-13T16:45:32 i wonder why it worked before 2012-12-13T16:45:34 kind of stupid 2012-12-13T16:45:39 and make sure only to use for-in for iterating over objects used as dicts 2012-12-13T16:45:48 why? 2012-12-13T16:45:59 ah i know 2012-12-13T16:46:05 because the order is udnefined 2012-12-13T16:46:20 mcstar: it can also iterate over non-array keys 2012-12-13T16:46:55 mcstar: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Statements/for...of that's why this is being added 2012-12-13T16:46:56 im iterating over an array 2012-12-13T16:47:17 .forEach 2012-12-13T16:47:23 i dont care about proposals and new standards 2012-12-13T16:47:29 use the forEach then :P 2012-12-13T16:47:35 but why? 2012-12-13T16:47:40 it does what i want 2012-12-13T16:47:48 it does what you want in that browser 2012-12-13T16:47:58 and all others 2012-12-13T16:48:08 the real problem is opera 2012-12-13T16:48:19 or if you use a library like prototype 2012-12-13T16:48:24 i cant use the blob to make a file downloadable 2012-12-13T16:51:45 thestinger: funny http://stackoverflow.com/questions/5239758/css-truncate-table-cells-but-fit-as-much-as-possible 2012-12-13T16:52:54 *** sigh has joined #aichallenge 2012-12-13T17:15:39 *** coeus_ has joined #aichallenge 2012-12-13T17:18:40 *** coeus has quit IRC (Ping timeout: 264 seconds) 2012-12-13T17:20:18 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-12-13T17:21:25 *** chris_0076 has quit IRC (Quit: Leaving) 2012-12-13T17:24:14 *** coius has joined #aichallenge 2012-12-13T17:24:28 *** coius is now known as Guest79113 2012-12-13T17:24:30 *** Chris_0076 has joined #aichallenge 2012-12-13T17:27:21 *** coeus_ has quit IRC (Ping timeout: 255 seconds) 2012-12-13T17:30:06 *** sigh has quit IRC (Remote host closed the connection) 2012-12-13T17:54:30 *** Chris_0076 has quit IRC (Read error: Connection reset by peer) 2012-12-13T17:55:01 *** coeus_ has joined #aichallenge 2012-12-13T17:57:14 *** Chris_0076 has joined #aichallenge 2012-12-13T17:57:40 *** Guest79113 has quit IRC (Ping timeout: 264 seconds) 2012-12-13T18:11:02 *** mcstar has quit IRC (Quit: mcstar) 2012-12-13T18:15:23 *** dici has quit IRC (Read error: Connection reset by peer) 2012-12-13T18:16:43 *** coeus has joined #aichallenge 2012-12-13T18:17:49 *** foRei has quit IRC (Quit: Bye) 2012-12-13T18:18:34 *** coeus_ has quit IRC (Ping timeout: 244 seconds) 2012-12-13T18:25:57 *** coeus_ has joined #aichallenge 2012-12-13T18:28:54 *** coeus has quit IRC (Ping timeout: 244 seconds) 2012-12-13T18:33:09 *** Scooper has quit IRC (Quit: Leaving) 2012-12-13T19:02:33 *** coius has joined #aichallenge 2012-12-13T19:02:51 *** coius is now known as Guest86868 2012-12-13T19:04:36 *** ikaros has quit IRC (Quit: Ex-Chat) 2012-12-13T19:05:20 *** Guest86868 has quit IRC (Read error: Operation timed out) 2012-12-13T19:05:43 *** coeus_ has quit IRC (Ping timeout: 252 seconds) 2012-12-13T19:05:46 *** coeus has joined #aichallenge 2012-12-13T19:14:39 *** ZanniqlcKzxkq is now known as Zannick 2012-12-13T19:41:27 *** coeus_ has joined #aichallenge 2012-12-13T19:44:57 *** coeus has quit IRC (Ping timeout: 252 seconds) 2012-12-13T19:47:59 *** coeus_ has quit IRC (Killed (idoru (Spam is off topic on freenode.))) 2012-12-13T20:01:00 *** Apophis has quit IRC (Read error: Connection reset by peer) 2012-12-13T20:12:27 *** Apophis has joined #aichallenge 2012-12-13T20:12:30 *** coeus has joined #aichallenge 2012-12-13T20:48:09 *** smiley1983 has quit IRC (Ping timeout: 246 seconds) 2012-12-13T20:50:13 *** smiley1983 has joined #aichallenge 2012-12-13T21:32:26 *** antimatroidl has joined #aichallenge 2012-12-13T22:40:20 *** coeus_ has joined #aichallenge 2012-12-13T22:43:30 *** coeus has quit IRC (Ping timeout: 265 seconds) 2012-12-13T22:46:00 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-12-13T22:48:52 *** amstan has joined #aichallenge 2012-12-13T22:48:52 *** ChanServ sets mode: +o amstan 2012-12-13T22:49:40 *** thestinger has quit IRC (Ping timeout: 245 seconds) 2012-12-13T22:51:45 *** thestinger has joined #aichallenge 2012-12-13T23:00:43 *** coeus_ has quit IRC (Ping timeout: 255 seconds) 2012-12-13T23:09:40 *** dvladim has joined #aichallenge 2012-12-13T23:27:03 *** thestinger has quit IRC (Quit: WeeChat 0.3.9.2) 2012-12-13T23:32:19 *** dvladim has quit IRC (Ping timeout: 265 seconds)