2012-11-04T00:04:31 *** smjm has quit IRC (Ping timeout: 268 seconds) 2012-11-04T00:13:14 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-11-04T00:13:27 *** cyphase has quit IRC (Ping timeout: 256 seconds) 2012-11-04T00:16:35 *** amstan has joined #aichallenge 2012-11-04T00:16:35 *** ChanServ sets mode: +o amstan 2012-11-04T00:21:05 *** cyphase has joined #aichallenge 2012-11-04T00:35:48 *** foRei has quit IRC (Read error: Connection reset by peer) 2012-11-04T01:20:36 *** smiley1983 has quit IRC (Ping timeout: 255 seconds) 2012-11-04T01:21:18 *** smiley1983 has joined #aichallenge 2012-11-04T01:35:00 *** paranoiks has joined #aichallenge 2012-11-04T01:35:03 hi all 2012-11-04T01:37:58 *** sigh has joined #aichallenge 2012-11-04T01:38:36 hay 2012-11-04T01:39:36 *** paranoiks has quit IRC (Client Quit) 2012-11-04T01:50:09 *** UncleVasya has joined #aichallenge 2012-11-04T03:11:07 *** pairofdice has joined #aichallenge 2012-11-04T03:30:06 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-11-04T03:54:25 *** mceier has quit IRC (Quit: leaving) 2012-11-04T04:00:56 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-11-04T04:03:54 *** mceier has joined #aichallenge 2012-11-04T04:14:07 *** epicmonkey has joined #aichallenge 2012-11-04T04:55:36 *** awly has joined #aichallenge 2012-11-04T05:04:02 *** smiley1983 has quit IRC (Ping timeout: 268 seconds) 2012-11-04T05:04:39 *** smiley1983 has joined #aichallenge 2012-11-04T05:10:17 *** dici has joined #aichallenge 2012-11-04T05:15:11 *** smiley1983 has quit IRC (Ping timeout: 260 seconds) 2012-11-04T05:16:00 *** smiley1983 has joined #aichallenge 2012-11-04T05:40:47 *** pairofdice has joined #aichallenge 2012-11-04T05:45:06 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2012-11-04T05:56:19 *** Wren80 has quit IRC () 2012-11-04T06:11:18 *** antimatroidl has quit IRC (Ping timeout: 246 seconds) 2012-11-04T06:12:17 *** antimatroidl has joined #aichallenge 2012-11-04T06:33:19 *** smiley1983 has quit IRC (Read error: Operation timed out) 2012-11-04T06:35:29 *** smiley1983 has joined #aichallenge 2012-11-04T06:41:42 mornin 2012-11-04T07:07:16 *** Kingpin13 has joined #aichallenge 2012-11-04T07:18:01 *** coeus has joined #aichallenge 2012-11-04T07:21:30 *** foRei has joined #aichallenge 2012-11-04T07:31:22 Good day 2012-11-04T07:38:33 *** kilae has joined #aichallenge 2012-11-04T07:42:26 *** g0llum has joined #aichallenge 2012-11-04T07:49:12 *** UncleVasya has joined #aichallenge 2012-11-04T08:11:41 Server restarted, beginner results reset; beginner server now allows 1000ms, and ffa server pretends to allow 500ms while actually allowing 9500 2012-11-04T08:15:32 smiley1983: wow, 9500! it must be enough even for me, thanks. 2012-11-04T08:15:43 ok nice 2012-11-04T08:16:10 beginner server also allows more than it claims to, just not quite as much 2012-11-04T08:16:11 smiley1983: I've cloned your aichallenge and tcp repos. 2012-11-04T08:16:24 Excellent :) 2012-11-04T08:17:30 smiley1983: how much did beginners server allow before 2012-11-04T08:17:58 500ms 2012-11-04T08:18:13 ah I thought it claimed 500 and actually supported more 2012-11-04T08:18:16 Actual time limit is 5s 2012-11-04T08:18:32 Except for the one which was just changed to 9.5s 2012-11-04T08:18:32 what was the actual before? 2012-11-04T08:18:39 I got quite a few timeouts 2012-11-04T08:18:52 and I thought I didnt use more than 1 sec 2012-11-04T08:18:56 The default seems to have been 5 seconds 2012-11-04T08:19:05 ok strange 2012-11-04T08:19:45 Ah, it's normal for bots which have been connected for a while waiting for a game to time out in their first game; subsequent games in a sequence should work fine 2012-11-04T08:19:57 Can also happen when first connecting 2012-11-04T08:20:11 The server seems to ignore those games for ranking purposes 2012-11-04T08:20:38 ramn[mba]: were the timeouts during a game, or on the first turn? 2012-11-04T08:20:48 smiley1983: during game 2012-11-04T08:20:50 late in game 2012-11-04T08:20:54 *** SJRvanSchaik has quit IRC (Read error: Connection reset by peer) 2012-11-04T08:21:08 smiley1983: http://farm03.photoload.ru/data/06/29/eb/0629eb702142f5e7c9722e8f73e3c722.png?h=LYYlgADsCcQhOd8pP_UF-Q&t=1352038681 :-) 2012-11-04T08:21:16 but it was surely my stuff then 2012-11-04T08:21:26 hm, not sure what it could be then except network strangeness (which is not uncommon) 2012-11-04T08:23:12 UncleVasya: looks like this could be the beginnings of the next incarnation of PlanetWars? 2012-11-04T08:24:34 smiley1983: i hope so :) 2012-11-04T08:35:31 * antimatroidl has stopped with programming again 2012-11-04T08:35:33 i don't have time 2012-11-04T08:35:37 what's confusing me, though, is why the original supported fleets in the map file 2012-11-04T08:36:06 antimatroidl: I'm also realising that I don't really have time to write a bot right now 2012-11-04T08:36:53 i purchased a phone online before, i haven't had one in over 2 years 2012-11-04T08:37:06 discovered the hp veer, i want tiny in a phone 2012-11-04T08:37:12 i don't care about much else 2012-11-04T08:37:24 congratulations on resisting for so long, phones are evil 2012-11-04T08:38:01 I had never had a mobile until about four years ago. They're useful, but I don't like them. 2012-11-04T08:38:03 they can be pretty useful 2012-11-04T08:38:13 i don't like having to carry stuff 2012-11-04T08:38:16 i don't even carry a wallet 2012-11-04T08:38:38 keys? 2012-11-04T08:38:50 carry a single house key, and my office key when going to uni 2012-11-04T08:39:02 i have car keys on a key ring though usually ride anyway 2012-11-04T08:39:15 i don't think it counts for people to say they're without power yet have internet on their phone (and a car charger) 2012-11-04T08:39:24 the internet is what i miss most without power 2012-11-04T08:39:33 also, internet while camping is not camping 2012-11-04T08:39:40 I think once I started carrying a bunch of keys, I became desensitised to the nuisance of carrying things around 2012-11-04T08:39:56 I agree that having internet access means you are not camping 2012-11-04T08:39:59 i used to carry wallet, phone, ipod, keys, ergh 2012-11-04T08:40:33 those flipping wallets are awesome for small size though 2012-11-04T08:40:55 *** SJRvanSchaik has joined #aichallenge 2012-11-04T08:41:01 until I get a proper linux running on my phone, though, it's just a clock and messaging device 2012-11-04T08:41:33 *** thestinger has joined #aichallenge 2012-11-04T08:41:45 i'm undecided on getting a data plan 2012-11-04T08:41:52 it seems i should be able to get the phone going without it 2012-11-04T08:42:46 but that would involve the company foregoing the opportunity to charge you for services you don't want 2012-11-04T08:42:50 where's the benefit for them? 2012-11-04T08:42:53 though the idea of checking emails etc. kind of sounds nice 2012-11-04T08:43:22 It sounds nice, but for me, I think it's a trap (mostly) 2012-11-04T08:43:26 vodaphone has $10 for 1gb/m which isn't too unbearable 2012-11-04T08:43:30 so do i 2012-11-04T08:43:54 pre paid costs are unbearable if i am to use data 2012-11-04T08:44:56 yes, indeed, I'm on prepaid which is why I have to make sure data is forbidden 2012-11-04T08:45:28 do you get the long life pre paid ones? 2012-11-04T08:45:30 which is difficult when some system settings get changed without notifying me 2012-11-04T08:45:48 yes, 1 year, very expensive to use but I barely use it 2012-11-04T08:45:50 *** smjm has joined #aichallenge 2012-11-04T08:45:51 *** smjm has joined #aichallenge 2012-11-04T08:46:00 yeah i think i might do that 2012-11-04T08:46:13 then if i want data i'll do the $10/m 2012-11-04T08:46:47 They made it even more expensive to use recently, though, so even with my relative non-use, it chews up $20 in about two months 2012-11-04T08:47:01 groan 2012-11-04T08:47:11 how many calls do you make? 2012-11-04T08:48:27 probably about 1 call per week of 20 seconds (for which vodafonw will now charge you for 1 minute), plus 2-4 text messages 2012-11-04T08:49:10 hmmm, i hate how pre paid is such a rip 2012-11-04T08:49:37 yes, just think what that data transfer is costing them 2012-11-04T08:50:05 it's like $2/mb for data on pre paid :| 2012-11-04T08:50:12 ridiculous 2012-11-04T08:50:52 lol, that's very funny 2012-11-04T08:51:04 except if you're thinking about paying it 2012-11-04T08:51:08 then it wouldn't be funny at all 2012-11-04T08:51:56 i have no idea how much is used 2012-11-04T08:52:01 http://www.virginmobile.com.au/monthly-mobile-plans/ 2012-11-04T08:53:06 i could just go with the 19 or 29 dollar plans (it's $10/m less to not get a free phone, turns out people are indeed still full of shit when they tell me contracts with free phones are worth it now) but it's still more than i really wanted to spend 2012-11-04T08:53:29 but i could then just go wild (wild for me isn't much still) on the calls 2012-11-04T08:54:46 yes, getting a free phone looks like a good way to pay too much. I'm not going to offer any opinions about which is better, since from my perspective, all the options suck and I don't like the situation at all 2012-11-04T08:55:01 haha yeah 2012-11-04T08:55:20 it's nice someone else is like me 2012-11-04T08:55:27 people think i'm weird with no phone 2012-11-04T08:55:52 there's certainly a lot of social pressure to have one 2012-11-04T08:56:15 girls are less likely to call if you give a landline number 2012-11-04T08:57:09 lol, where would i be meeting girls? :P 2012-11-04T08:57:22 maths department and skatepark are severely lacking there 2012-11-04T08:58:08 ha - I'm sure there are girls in your area, but like me, you choose to frequent the areas which just happen not to have any nearby 2012-11-04T08:58:52 " BYO customers can leave anytime by paying all outstanding charges (billed and unbilled)" 2012-11-04T08:59:18 i'm pretty sure that means that byo customers still can't just least 2012-11-04T08:59:23 but not entirely sure 2012-11-04T08:59:37 it's a bit unclear what they mean, exactly 2012-11-04T09:00:05 i wish i had billions of dollars 2012-11-04T09:00:19 i'd make companies with the goal of being useful, not to get profit 2012-11-04T09:00:40 electronics, clothing, (ethical) food production 2012-11-04T09:00:52 isps, phone companies 2012-11-04T09:01:34 An acquaintance of a friend of mine makes his living by buying companies with ethical standards and charity works, stripping out the ethical standards and charity works, and then selling them at a massive profit 2012-11-04T09:01:43 Sort of the reverse of what you're talking about 2012-11-04T09:02:11 don't hate the player, hate the game 2012-11-04T09:02:13 and that i do :( 2012-11-04T09:03:34 It's wise to recognise that one shouldn't hate the player. It's hard sometimes, but indeed, there's probably more "profit" to be found in thinking impassively about how to change the game 2012-11-04T09:04:16 Change it without making it crash or take a Great Leap Backwards 2012-11-04T09:05:22 yeah, i think one could be profitable with better standards but it'd depend on brand recognition 2012-11-04T09:05:42 atm we're in somewhat of race to the bottom with standards like that 2012-11-04T09:06:15 though Apple is bringing back quality, that's one thing i don't hate about them 2012-11-04T09:06:44 i do hate how restrictive they are though, which their quality doesn't make up for 2012-11-04T09:06:44 Yes, even though I don't buy their products, I'm glad they exist 2012-11-04T09:09:17 I have this fear that now that Steve Jobs is gone, the culture of driving for quality will die, to be replaced by the usual drive to cash in on the good will built by previous managers who believed in things 2012-11-04T09:09:53 i don't think so, surely the other people at apple aren't ignorant that their success comes from the quality of their hardware 2012-11-04T09:10:03 and unfortunately "simple" software 2012-11-04T09:10:15 i like google's idea of simple 2012-11-04T09:10:25 simple at first look but you can tinker under the hood 2012-11-04T09:11:34 yes, that is a good model; failing that I'll take a system which doesn't pretend to be simple at all, rather than one which achieves simplicity by removing options 2012-11-04T09:14:56 yep 2012-11-04T09:22:28 *** mcstar has joined #aichallenge 2012-11-04T09:24:38 I was thinking about tron, and you may be right that 1 agent per player, 2 player games are best 2012-11-04T09:25:21 so once I get around to making a mapgen, I'll run one server with traditional 1v1 games, and a second one with crazy games 2012-11-04T09:26:03 multi-agent may be interesting for MC and UCT bots, but for people wanting to learn about tree searching, one agent is much easier to think about 2012-11-04T09:27:59 smiley1983: i think both are interesting, but as separate games 2012-11-04T09:28:17 yeah, tree searching needs 1v1 2012-11-04T09:28:35 yes, indeed, that is the distinction - they are separate games, and you would take a completely different approach to writing AI for them 2012-11-04T09:28:38 and preferably not too large maps 2012-11-04T09:28:54 what map dimensions were used as the upper limit last time? 2012-11-04T09:29:13 i think 50x50 was claimed, but never really got much above 20x20 if that 2012-11-04T09:29:20 and 1s time limit 2012-11-04T09:29:25 Right :) 2012-11-04T09:29:38 lets marry Tron with Portal 2012-11-04T09:29:52 I don't know anything about Portal 2012-11-04T09:30:01 hl2 mod 2012-11-04T09:30:15 you shoot portals on the walls, and you can travel between them 2012-11-04T09:30:18 there is a tasty tort :D 2012-11-04T09:30:56 *pie 2012-11-04T09:31:08 cake 2012-11-04T09:31:16 tron + portal cake? 2012-11-04T09:31:38 dont give them cake, just promise them ... 2012-11-04T09:42:10 howard goes on and on about, how difficult it is to say no... and that asshole, still puts people through quite some emotional stress... 2012-11-04T09:49:36 *** alehorst has quit IRC (Ping timeout: 260 seconds) 2012-11-04T09:50:32 also, that effing crowd is ruins almost everything, why cant they sit and stfu 2012-11-04T09:50:38 -is 2012-11-04T10:01:34 *** Scooper has joined #aichallenge 2012-11-04T10:16:19 *** smiley1983 has quit IRC (Ping timeout: 244 seconds) 2012-11-04T10:17:29 *** smiley1983 has joined #aichallenge 2012-11-04T10:17:38 *** alehorst has joined #aichallenge 2012-11-04T10:23:35 *** sigh has quit IRC (Remote host closed the connection) 2012-11-04T10:43:11 *** smiley1983 has quit IRC (Ping timeout: 244 seconds) 2012-11-04T10:44:04 *** smiley1983 has joined #aichallenge 2012-11-04T11:15:33 *** g0llum has quit IRC (Read error: Connection reset by peer) 2012-11-04T11:34:28 portaltron sounds pretty cool 2012-11-04T11:37:50 :) 2012-11-04T12:01:37 * jmcarthur randomly decided to think about possible games for a future contest 2012-11-04T12:01:55 looking over some old ideas i had written down 2012-11-04T12:02:27 jmcarthur: smiley1983 brought to live tcp servers 2012-11-04T12:02:35 life* 2012-11-04T12:03:13 i think i like one of my old ideas 2012-11-04T12:03:28 no way, you like your own ideas? XD 2012-11-04T12:03:50 well i had forgotten about this one 2012-11-04T12:04:45 it's basically tron for n players where each turn is preceded by a negotiation step where players communicate intent and expectations with each other in an attempt to play tricks or form alliances 2012-11-04T12:05:46 the fact that it's tron is not important 2012-11-04T12:05:54 it could be something else, as long as it's somewhat simple 2012-11-04T12:06:44 team RPS 2012-11-04T12:06:55 but i think the game itself should be visually engaging, since the negotiation isn't likely to be 2012-11-04T12:07:15 funny cartoon characters doing team-RPS? 2012-11-04T12:07:17 team RPS? -_- 2012-11-04T12:07:39 what does team rps even mean? i don't see how that game would work 2012-11-04T12:08:00 well, you said you want negotiation 2012-11-04T12:08:03 yes 2012-11-04T12:08:06 by team i mean, they could form alliances 2012-11-04T12:08:18 but how does multiplayer rps work? 2012-11-04T12:08:22 err, >2 player 2012-11-04T12:08:39 *** smiley1983 has quit IRC (Ping timeout: 246 seconds) 2012-11-04T12:08:44 spectacularly, hopefully 2012-11-04T12:08:50 since it needs to be visually engaging 2012-11-04T12:09:24 (no, i have no idea atm how would it actually work) 2012-11-04T12:09:40 *** smiley1983 has joined #aichallenge 2012-11-04T12:10:21 also, this is somewhat unfair, in any game 2012-11-04T12:10:38 players start with equally good chances of winning 2012-11-04T12:10:49 then 2 form an alliance against a 3rd for example 2012-11-04T12:10:58 that player is immediately doomed 2012-11-04T12:11:11 and the game is reduced to a 2 player one 2012-11-04T12:11:13 that's why the negotiation needs to happen 2012-11-04T12:11:25 but that is random negotiation 2012-11-04T12:11:28 instead of it just being some boolean decision 2012-11-04T12:11:37 there is no information to really decide to join up with one or the other 2012-11-04T12:11:44 this is not WW2 2012-11-04T12:11:50 it is a simple abstract world 2012-11-04T12:11:53 with a rich enough language there is enough information 2012-11-04T12:12:19 you can say things like "i intend to do this, i would like you to do that, i expect this other guy to do this, such and such told me this btw" and so on 2012-11-04T12:12:28 but you can also lie 2012-11-04T12:13:04 which is dangerous since with verbose enough players inconsistencies are easy to catch 2012-11-04T12:13:28 at least if you are lying about what other people said to you 2012-11-04T12:13:32 but then again, they could have lied too 2012-11-04T12:13:54 so you also have to establish some sort of track record early in the game 2012-11-04T12:15:14 so no, this is not random negotiation of the form "please side with me!". that's useless 2012-11-04T12:18:11 some weird effects come out of it too. for example, if a player that's very near you tells you his next move, that's more significant than a player far away from you telling you his next move. it's either showing a lot more trust or a lot more trickery, and you figure out which it is after the next turn, which can make or break virtual alliances 2012-11-04T12:18:28 or if a player was very talkative until it got near you, that's a warning sign 2012-11-04T12:20:38 it is not obvious to verify that someone lied to you or not, and this verification probably spans more than one turns 2012-11-04T12:20:57 it depends on your own way of evaluating the gamestate 2012-11-04T12:21:46 i think it is a very hard problem, of coming up with a not too restrictive way of communication, that is also, not too broad 2012-11-04T12:26:05 well, if the communication is only about next turn than it's easy to verify 2012-11-04T12:26:11 if it's about longer term plans then it's harder 2012-11-04T12:26:46 jmcarthur: i dont think 1 turn plans offer anything meaningful 2012-11-04T12:26:57 it depends on the game 2012-11-04T12:27:18 in tron you can't really take a turn back, so i think it can be pretty meaningful 2012-11-04T12:27:34 it won't *always* be meaningful 2012-11-04T12:27:58 it only has meaning, if it is in a context 2012-11-04T12:28:10 like, ill do this next turn, *because* i want this... 2012-11-04T12:28:21 sure 2012-11-04T12:28:28 well 2012-11-04T12:28:30 sometimes 2012-11-04T12:28:55 i think often in tron you end up in a situation where if you make one move you obviously intend one thing and if you make a different move you obviously intend something else 2012-11-04T12:29:03 at least several times in a game 2012-11-04T12:30:23 i havent participated in tron, idk 2012-11-04T12:30:48 i agree in principle though that it would be nicer if you could express something about states of the world a bit farther in the future 2012-11-04T12:32:50 jmcarthur: have you seen Tanks? the russian ai competition 2012-11-04T12:32:59 not yet 2012-11-04T12:33:21 tanks shooting at each other, has some intricacies 2012-11-04T12:33:39 the game world look continuous 2012-11-04T12:33:42 looks* 2012-11-04T12:33:56 there are bonuses on the map.. 2012-11-04T12:34:06 but its all in russian :( 2012-11-04T12:34:26 but the prizes are californian! 2012-11-04T12:34:34 (apple products) 2012-11-04T12:34:56 http://russianaicup.ru/ 2012-11-04T12:34:59 i've been wanting a game like this 2012-11-04T12:37:50 my first ai contest was a long time ago. it was a game where you constructed a robot with various weapons and characteristics (there was some cost model for this) and a corresponding AI for it, then fight it against other robots. it was very fun. 2012-11-04T12:38:40 i can't remember what it was called 2012-11-04T12:39:42 in my first ai contest, you had to write an ai to control pixels on the screen 2012-11-04T12:39:46 they called them Ants 2012-11-04T12:40:57 here it is http://www.youtube.com/watch?v=gTKmooybzwk 2012-11-04T12:41:37 this is a much newer version of it 2012-11-04T12:42:59 looks oldschool 2012-11-04T12:43:33 i played it on a mac running system 7 or 8, iirc 2012-11-04T12:44:06 it had to be 7 2012-11-04T12:44:14 i had it in black and white 2012-11-04T12:44:31 how old are you, if you dont mind? 2012-11-04T12:44:36 27 2012-11-04T12:44:43 :( 2012-11-04T12:44:49 :( ? 2012-11-04T12:44:57 i thought you were older 2012-11-04T12:45:03 nah 2012-11-04T12:47:58 jmcarthur: it is not a criticism XD 2012-11-04T12:48:26 nostalgia! http://www.stanford.edu/~pch/robowar/tutorial/Tutorial.html 2012-11-04T12:48:35 i know i must seem like an old fart ;) 2012-11-04T12:50:33 yeah, that beard makes you look older 2012-11-04T12:50:59 beard? 2012-11-04T12:51:11 turns out you dont have it? 2012-11-04T12:51:17 well, im practicing mentalism 2012-11-04T12:51:23 sometimes works, other times, not so much 2012-11-04T12:51:26 haha 2012-11-04T12:52:00 i switch between beard and no beard pretty often 2012-11-04T12:52:09 which is just another way of saying that i shave very rarely ;) 2012-11-04T12:52:48 my neck gets very irritated usually, and i hate that, i think they call it shave burns 2012-11-04T12:53:01 yeah, me too 2012-11-04T12:53:05 which is why i hate shaving 2012-11-04T12:54:12 *** g0llum has joined #aichallenge 2012-11-04T13:03:34 yet another tron variation: 2012-11-04T13:06:27 n player game again. each player starts with X points. before each turn, players try to pay each other to make moves they want them to make using their points. additionally, if a bot runs into a particular player's tail, that player gets all that bot's current points. this provides motivation for valuing certain moves 2012-11-04T13:06:45 so you could try to pay other bots to manipulate a certain bot into running into your tail 2012-11-04T13:06:49 etc. 2012-11-04T13:07:17 if multiple bots offer to pay you to make the same move, then if you make that move you get payment from every both that made the offers for that move 2012-11-04T13:07:22 *every bot 2012-11-04T13:07:49 last bot standing gets a bonus. winner is the player with most points 2012-11-04T13:08:41 oh no a wall of text 2012-11-04T13:09:07 better than a wall of bricks 2012-11-04T13:09:43 mcstar: you should make a bw bot 2012-11-04T13:09:54 Can I get payment from other contestant for my bot doing some move? :D 2012-11-04T13:09:55 black&white? 2012-11-04T13:10:03 mcstar: https://code.google.com/p/bwapi/ 2012-11-04T13:10:12 UncleVasya: right, that's the whole idea 2012-11-04T13:10:16 oh wait 2012-11-04T13:10:18 you mean money 2012-11-04T13:10:20 no :P 2012-11-04T13:10:45 oh, i once downloaded Brood War, i think i played it for 5 minutes 2012-11-04T13:11:24 UncleVasya: like, in Ukrain's got talent? 2012-11-04T13:11:45 dance contest for bots, lol 2012-11-04T13:11:49 ha 2012-11-04T13:14:43 thestinger: why do you think i should make one? 2012-11-04T13:15:05 im the kind of person, that is too lazy to learn any kind of strategy game 2012-11-04T13:15:18 mcstar: you don't need to learn it, your bot does :) 2012-11-04T13:15:23 ... 2012-11-04T13:15:33 * thestinger kidding 2012-11-04T13:15:39 i know 2012-11-04T13:20:23 oh 2012-11-04T13:20:28 no machine ints in python3? 2012-11-04T13:21:26 mcstar: there are under the hood 2012-11-04T13:21:46 mcstar: when it overflows, it changes to a different representation 2012-11-04T13:21:55 it's no slower 2012-11-04T13:22:00 but that happened before, also 2012-11-04T13:22:08 what has changed then? 2012-11-04T13:22:08 yes but now it's an implementation detail 2012-11-04T13:22:16 mcstar: there's only int() and you need to worry less :P 2012-11-04T13:30:57 *** Apophis has quit IRC (Quit: Verlassend) 2012-11-04T13:40:17 *** epicmonkey has quit IRC (Ping timeout: 240 seconds) 2012-11-04T13:53:03 *** NoxiaZ^ has joined #aichallenge 2012-11-04T13:59:43 *** Accoun has quit IRC () 2012-11-04T14:03:08 *** coeus has quit IRC (Ping timeout: 244 seconds) 2012-11-04T14:05:55 *** Cyndre_ has quit IRC (Read error: Connection reset by peer) 2012-11-04T14:06:12 *** Cyndre_ has joined #aichallenge 2012-11-04T14:14:27 *** Accoun has joined #aichallenge 2012-11-04T14:19:16 *** kilae_ has joined #aichallenge 2012-11-04T14:21:34 *** NoxiaZ^ has quit IRC (Ping timeout: 252 seconds) 2012-11-04T14:21:40 *** kilae has quit IRC (Ping timeout: 260 seconds) 2012-11-04T14:50:01 *** heinrich5991 has quit IRC (Ping timeout: 260 seconds) 2012-11-04T14:53:48 *** heinrich5991 has joined #aichallenge 2012-11-04T14:59:55 *** thestinger is now known as jelly2 2012-11-04T15:00:48 *** jelly2 is now known as thestinger 2012-11-04T15:24:30 *** Apophis_ has quit IRC (Read error: Connection reset by peer) 2012-11-04T15:31:03 *** Apophis has joined #aichallenge 2012-11-04T15:34:34 *** smiley1983 has quit IRC (Ping timeout: 248 seconds) 2012-11-04T15:35:09 *** smiley1983 has joined #aichallenge 2012-11-04T15:35:51 *** kilae has joined #aichallenge 2012-11-04T15:37:39 *** kilae_ has quit IRC (Ping timeout: 252 seconds) 2012-11-04T15:45:57 *** monstaokki has joined #aichallenge 2012-11-04T15:46:06 *** monstaokki has left #aichallenge 2012-11-04T15:50:56 smiley1983: Now PW almost works with epsilon system. I need to find one (at least) bug to make it 'just works'. There is no replay generation yet and some refactoring will be good. 2012-11-04T15:51:11 *** Kingpin13 has quit IRC (Quit: quit) 2012-11-04T15:53:51 *** mleise has joined #aichallenge 2012-11-04T16:06:51 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-11-04T16:12:57 *** Garf has joined #aichallenge 2012-11-04T16:23:27 *** NoxiaZ^ has joined #aichallenge 2012-11-04T16:24:50 *** kilae has quit IRC (Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]) 2012-11-04T16:28:32 smiley1983: Bugs seems to be taken down ;) 2012-11-04T16:29:00 *** ramn[mba] has quit IRC (Quit: ramn[mba]) 2012-11-04T16:31:56 smiley1983: Also I found old bots must be fixed to be launhed on new engine. I tried to keep backward compatibility but then I saw that I need edit engine.py for this. 2012-11-04T16:39:34 *** g0llum has quit IRC (Read error: Connection reset by peer) 2012-11-04T16:42:22 mleise: i hypothesized that a sudoku puzzle solved you! 2012-11-04T16:47:42 *** coeus has joined #aichallenge 2012-11-04T16:50:58 *** UncleVasya has quit IRC (Read error: Connection reset by peer) 2012-11-04T16:53:20 *** Garf has quit IRC (Quit: Make a new plan, Stan!) 2012-11-04T16:54:15 mcstar: no, I was taking a break from that. stupid chasing for cpu cycles. 2012-11-04T16:55:07 mleise: good to know you didnt starve yourself to death while optimizing code 2012-11-04T17:12:13 *** mleise has quit IRC (Read error: Connection reset by peer) 2012-11-04T17:12:22 *** SJRvanSchaik has quit IRC (Ping timeout: 265 seconds) 2012-11-04T17:12:39 *** SJRvanSchaik has joined #aichallenge 2012-11-04T17:14:02 *** mleise has joined #aichallenge 2012-11-04T17:22:36 *** SJRvanSchaik has quit IRC (Ping timeout: 256 seconds) 2012-11-04T17:23:05 *** SJRvanSchaik has joined #aichallenge 2012-11-04T17:27:03 oh you can watch the SC Brood War bot matches live ? http://www.twitch.tv/certicky?utm_campaign=live_embed_click&utm_source=www.sscaitournament.com 2012-11-04T17:28:06 *** SJRvanSc1aik has joined #aichallenge 2012-11-04T17:31:40 *** SJRvanSchaik has quit IRC (Ping timeout: 252 seconds) 2012-11-04T17:40:05 *** SJRvanSc1aik has quit IRC (Ping timeout: 268 seconds) 2012-11-04T17:40:31 *** SJRvanSchaik has joined #aichallenge 2012-11-04T17:42:33 *** sigh has joined #aichallenge 2012-11-04T17:47:46 Is GreenTea taking part in every AI challenge that exists? 2012-11-04T17:52:32 is he? 2012-11-04T17:52:49 is there a list of ongoing ai contests/leagues? i'm bored :P 2012-11-04T17:53:09 mcstar: he is ranked high in this russian tank challenge, too. 2012-11-04T17:53:36 i know 2012-11-04T17:53:44 is he on brood wars too? 2012-11-04T17:53:57 I don't know 2012-11-04T17:54:26 mleise: i thought he is, and that why you remarked if he participates in every ai contest... 2012-11-04T17:55:07 wiki has lists of everythin 2012-11-04T17:55:09 no I remearked because someone said on this channel "that's where GreenTea is 1st" ... and I don't remember the challenge 2012-11-04T17:55:16 i think it even has a list of my todos 2012-11-04T17:55:46 mleise: i just start typing russ... and it completes for me 2012-11-04T17:55:59 yeah, great 2012-11-04T17:56:54 GT for president 2012-11-04T17:56:56 to what? 2012-11-04T17:57:12 antimatroidl: class Ordering? 2012-11-04T17:57:53 anyway russianaicup.ru doesn't support all the cool languages that aichallenge.org does 2012-11-04T17:58:09 well, it is not a typeclass, idk why i thought that 2012-11-04T17:58:22 Ordering is just a simple sumtype 2012-11-04T17:58:39 mleise: english? no it doesnt... 2012-11-04T17:59:34 i need to get myself a drone with some sensors 2012-11-04T17:59:42 and see what i can do with that 2012-11-04T18:00:18 greentea 2012-11-04T18:00:24 he is not a drone 2012-11-04T18:00:32 it is rude to say that 2012-11-04T18:00:48 where are your manners, you dildo-poster 2012-11-04T18:01:27 mcstar: rofl, yes no english, but google translate ftw :p 2012-11-04T18:01:43 mleise: not the PDF with the detailed instructions :( 2012-11-04T18:02:09 oh i thought it was all about left_track_power(x); and so on 2012-11-04T18:02:31 with the source code packages explaining the rest in comments 2012-11-04T18:02:53 well, that pdf is more than 30 pages long 2012-11-04T18:03:06 i suspect there are some important bits in it 2012-11-04T18:03:19 UV said he would translate it, but i dont want to task him 2012-11-04T18:03:21 uh…. I just found something on the german wikipedia that puzzles me. it's a bachelor thesis about "Ants" 2012-11-04T18:03:26 seriously, wtf?!? 2012-11-04T18:05:07 mcstar: well, I like the idea of driving tanks with the inherent trickery of turning the tank using the two tracks. 2012-11-04T18:05:17 http://www.ke.tu-darmstadt.de/lehre/arbeiten/bachelor/2012/Savchuk_Olexandr.pdf 2012-11-04T18:05:40 *** foRei has quit IRC (Quit: Bye) 2012-11-04T18:06:01 that thesis is actually in English, it only starts out German for the sake of formality. 2012-11-04T18:07:19 pretty annoying that someone could write a thesis out of it 2012-11-04T18:07:36 while i was coding for this contest, instead of writing my thesis! 2012-11-04T18:07:37 fuck 2012-11-04T18:07:59 heh 2012-11-04T18:08:08 did you support pseudocode? 2012-11-04T18:08:09 hehe, yes that's how you do it 2012-11-04T18:08:27 pseudocode? what? where? who? 2012-11-04T18:08:42 it also has an in depth analysis of xathis, the winner bot 2012-11-04T18:08:47 *** awly has quit IRC (Ping timeout: 240 seconds) 2012-11-04T18:09:55 mleise: in his thesis, he uses pseudocode 2012-11-04T18:10:04 i dont remember if it was supported 2012-11-04T18:10:06 in the game 2012-11-04T18:10:17 *** Scooper has quit IRC (Quit: Leaving) 2012-11-04T18:10:19 also, he finished before me 2012-11-04T18:10:24 173th 2012-11-04T18:10:51 heh yeah 2012-11-04T18:10:55 olex.s 2012-11-04T18:10:57 pseudocode is a pretty old language, rarely used. I don't think we'll ever add support for that. 2012-11-04T18:11:00 i spoke to him several times 2012-11-04T18:11:18 he said, he will be doing it for school, i didnt realize it will be his thesis 2012-11-04T18:12:11 'school' a-ha ... 2012-11-04T18:14:36 mleise: your visualized is js only, right? 2012-11-04T18:14:54 well, i guess it has some css too? 2012-11-04T18:15:05 how long is it? 2012-11-04T18:15:29 you can see how long it is in the aichallenge repo :p 2012-11-04T18:15:54 i'd rather ask you 2012-11-04T18:16:16 it is JS only (with HTML5 canvas), except for the offline client, which is a thin wrapper around it in Java 2012-11-04T18:16:19 how did it feel to develop in js? 2012-11-04T18:16:24 I have to look it up myself... 2012-11-04T18:16:39 *** NoxiaZ^ has quit IRC (Ping timeout: 265 seconds) 2012-11-04T18:17:43 wc -l prints 6567 lines 2012-11-04T18:17:52 jesus 2012-11-04T18:18:00 that is onel ong mofo visualizer 2012-11-04T18:18:27 It was ok to develop in JS. after all it was in good ai challenge tradition and avoided plugins for the web 2012-11-04T18:18:52 im going to write a web app, which is a clock, but gets the time from the server 2012-11-04T18:21:21 that was only the JS code, the Java code is ... 2012-11-04T18:21:41 3544 lines, makes ~10.000 lines in total 2012-11-04T18:21:54 "thin wrapper" 2012-11-04T18:22:16 uh ... well I had to implement the web first ^^ 2012-11-04T18:22:32 mleise: would you characterize yourself thin, if you were 120kgs? 2012-11-04T18:22:38 no really. I had to imlplement DOM and HTML5 canvas and stuff 2012-11-04T18:23:22 *** jacob_strauss has joined #aichallenge 2012-11-04T18:23:51 I said thin to mean that the visualizer wasn't rewritten for the Java version. 2012-11-04T18:24:24 this jQuery.ajax call is pretty verbose 2012-11-04T18:24:26 just hosted in a new environment. also the code got a bit larger to fix bugs and to add video recording features 2012-11-04T18:25:18 mleise: how did you edit the js code? 2012-11-04T18:25:45 hmm, I either used Eclipse or NetBeans I think. 2012-11-04T18:25:46 well, i guess it was easy in your case, there was not much html wrapping around it 2012-11-04T18:25:53 *** Redgis has quit IRC (Ping timeout: 246 seconds) 2012-11-04T18:25:53 definitely Eclipse for the Java part 2012-11-04T18:26:04 *** SJRvanSchaik has quit IRC (Ping timeout: 256 seconds) 2012-11-04T18:26:26 mleise: no, i mean, did you store the js code apart from the html? 2012-11-04T18:26:31 i think it makes sense 2012-11-04T18:26:31 mcstar: right, but sometimes I needed to set up timers to advance a frame or "go fullscreen" and similar stuff 2012-11-04T18:26:36 *** SJRvanSchaik has joined #aichallenge 2012-11-04T18:27:05 mcstar: yes I tried to cleanly separate JS code and HTML 2012-11-04T18:27:14 2012-11-04T18:27:25 does this do a textual substitution? 2012-11-04T18:27:47 i mean, i can put all event listeners in files, right? 2012-11-04T18:28:03 *** sigh has quit IRC (Remote host closed the connection) 2012-11-04T18:28:04 it doesnt need to be inlined 2012-11-04T18:28:05 yes, all the scripts you mention get executed 2012-11-04T18:28:31 you may not have control over *when* though. 2012-11-04T18:29:17 mleise: ive got to make a postgresql web frontend with plots and editable tables... 2012-11-04T18:29:19 so either append the in header, with addEventListener("DOMContentLoaded", function() {}, false); :) 2012-11-04T18:31:52 get free calender and other controls 2012-11-04T18:32:03 can't do async for libs you need though 2012-11-04T18:32:40 *** dici has quit IRC (Read error: Connection reset by peer) 2012-11-04T18:33:08 ecmascript 6 adds modules though... 2012-11-04T18:33:16 fuck web development so much. 2012-11-04T18:34:56 e.g. you set the "not empty" validator for a name field and it is first checked via JS on the client and then on the server, so input errors get catched early and don't cause a reload of the page just to display "missing field" 2012-11-04T18:35:08 *** SJRvanSchaik has quit IRC (Ping timeout: 256 seconds) 2012-11-04T18:35:40 also data sources like CSV and SQL are easily managed and dropped onto a form within the IDE 2012-11-04T18:35:53 *** SJRvanSchaik has joined #aichallenge 2012-11-04T18:36:23 then you link a query to a dropdown list for example and you are set 2012-11-04T18:36:30 not empty is just required="" :P 2012-11-04T18:36:35 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-11-04T18:40:04 is this a good reference? http://www.w3schools.com/js/ 2012-11-04T18:40:11 mcstar: no, w3schools is bad 2012-11-04T18:40:17 fuck 2012-11-04T18:40:22 i almost read it though 2012-11-04T18:40:39 only at the top from evil seo practices 2012-11-04T18:40:40 fuck, it has a clock example also 2012-11-04T18:40:55 mcstar: the browser vendors got together and made docs, based mostly on mozilla's mdn 2012-11-04T18:41:12 hmm forget the new site 2012-11-04T18:41:20 mcstar: https://developer.mozilla.org/en-US/docs/JavaScript that's good though 2012-11-04T18:41:35 mcstar: for html, just use http://www.whatwg.org/specs/web-apps/current-work/ 2012-11-04T18:42:04 and if you care about checking for browser support... http://caniuse.com/ 2012-11-04T18:42:10 no 2012-11-04T18:42:20 thanks for the other links 2012-11-04T18:44:55 mcstar: and http://validator.nu/ 2012-11-04T18:45:21 ty 2012-11-04T18:45:46 since no browser will tell you if the html is actually correct, they just drop into silent error handling :) 2012-11-04T18:46:04 thestinger: what does seo stand for? 2012-11-04T18:46:10 mleise: search engine optimization 2012-11-04T18:46:25 they pay for links, optimize all the keywords on pages, etc. 2012-11-04T18:46:39 the content on w3schools is really bad, and google has been knocking it down with their anti-spam stuff 2012-11-04T18:47:02 they also have no relation to the w3. 2012-11-04T18:48:00 mcstar: oh I found it - http://www.webplatform.org/ 2012-11-04T18:48:05 well, it was the #1 result when i googled... 2012-11-04T18:48:24 mcstar: that's going to replace most of mdn, it's a collaboration between the organizations 2012-11-04T18:48:34 and maybe it will finally get to #1 on the results. mdn is #2 :P 2012-11-04T18:48:49 mozilla developer network? 2012-11-04T18:49:00 mcstar: yeah 2012-11-04T18:49:28 http://w3fools.com/ why it sucks :P 2012-11-04T18:49:47 hadn't seen that page before 2012-11-04T18:49:51 reminds me of an infographic 2012-11-04T18:50:20 my favourite page needs more content: http://docs.webplatform.org/wiki/canvas 2012-11-04T18:50:29 id love to see a christian infographic, on sinning and burning in hell 2012-11-04T18:50:59 mleise: https://developer.mozilla.org/en-US/docs/HTML/Canvas 2012-11-04T18:51:03 they haven't migrated it all yet 2012-11-04T18:51:11 I think webplatform.org is from a few months ago 2012-11-04T18:51:16 at least, the site is pretty 2012-11-04T18:51:38 pretty content-less it is then 2012-11-04T18:52:23 It's a good effort, seeing how all major browser companies take part 2012-11-04T18:52:28 also, did you guys notice, how every website that want to look good, stole apple's font rendering? 2012-11-04T18:52:39 wants* 2012-11-04T18:52:57 it is hard to describe what i mean 2012-11-04T18:53:01 you mean the iFont 2.0 ? 2012-11-04T18:53:03 mleise: it's great, because mdn has a lot of mozilla-specific stuff - so it's not like microsoft is going to support it 2012-11-04T18:53:07 fonts looks like, they are a bit carved-in 2012-11-04T18:53:16 mleise: chromium/opera devs actually helped with mdn though 2012-11-04T18:53:25 they look really nice, if you dont highlight them with the mouse 2012-11-04T18:53:31 but somehow they got microsoft on board now. 2012-11-04T18:53:51 and the background matches the font nicely, it looks like the font is on paper or rock, usually 2012-11-04T18:54:04 mcstar: you can actually set the mouse highlight color with css 2012-11-04T18:54:04 makes it look sophisticated, and almost 3d 2012-11-04T18:54:22 mcstar: they are 3d, text-shadow :P 2012-11-04T18:54:26 but this kind of font rendering, or call it whatever you want, came from apple 2012-11-04T18:54:34 it's composited onto a background 2012-11-04T18:54:35 thats where i first seen them 2012-11-04T18:54:39 oh 2012-11-04T18:54:42 noway 2012-11-04T18:54:45 yeswai 2012-11-04T18:54:48 thestinger: they are actually 3d? 2012-11-04T18:55:04 mcstar: yes, layered 2012-11-04T18:55:16 mcstar: chromium/firefox/ie9/ie10 actually use gpu accel to render the layers now 2012-11-04T18:55:24 Microsoft: "We are committed to working with all members for the development of new open standards […]" 2012-11-04T18:55:24 mcstar: there are even 3d css transforms... :P 2012-11-04T18:55:32 so thats why they look ugly, when highlighted with the mouse 2012-11-04T18:55:35 mleise: they've actually really changed how they do the browser 2012-11-04T18:55:51 ie9/ie10 are really a huge step forward for them 2012-11-04T18:55:56 *huge* 2012-11-04T18:56:06 wait, not **huge** ? 2012-11-04T18:56:09 they lost enough market share that they have to give in. 2012-11-04T18:56:36 *** SJRvanSchaik has quit IRC (Ping timeout: 244 seconds) 2012-11-04T18:56:38 I know, but wasn't it like noone could use IE any more becasue it was so troubleseome to support 2012-11-04T18:56:56 mleise: well ie9 is pretty easy to support, but 8 isn't pretty :P 2012-11-04T18:57:17 thestinger: 3d in the sense, that more than 1 2d layers are z-ordered together? 2012-11-04T18:57:22 can't even use application/xhtml+xml (which adds security, and doesn't have the weird structure quirks) 2012-11-04T18:57:23 or real real 3d? 2012-11-04T18:57:26 mcstar: it's actually 3d compositing 2012-11-04T18:57:34 *** SJRvanSchaik has joined #aichallenge 2012-11-04T18:57:34 mcstar: you can change css dynamically and the text shadows and stuff will update 2012-11-04T18:57:51 you can have transparency, and update stuff underneath 2012-11-04T18:57:53 so, it would be possible to rotate a big letter, for example, only with css? 2012-11-04T18:57:56 mcstar: yes 2012-11-04T18:58:08 mcstar: https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_transitions 2012-11-04T18:58:21 there are even 3d ones 2012-11-04T18:58:47 mcstar: google "do a barrel roll" or "tilt", pretty sure it's just a demo of css transforms 2012-11-04T18:58:56 ive seen those 2012-11-04T18:59:02 i didnt know it was css 2012-11-04T18:59:07 doing it with js slows to a crawl on a phone, css transforms are optimized C++ accelerated by the gpu 2012-11-04T18:59:11 they were* 2012-11-04T18:59:24 one more reason to use a real pc 2012-11-04T18:59:28 not a damn phone 2012-11-04T18:59:33 XD 2012-11-04T18:59:34 mcstar: well the js eats battery on a laptop 2012-11-04T18:59:41 all those polling loops. 2012-11-04T19:00:01 have you seen that trolling on node.js? 2012-11-04T19:00:17 long blocking calculations in the event loop? 2012-11-04T19:00:38 mcstar: well node is stupid. 2012-11-04T19:01:01 someone should show them lightweight threads... really 2012-11-04T19:01:20 and js is a terrible language to do async programming 2012-11-04T19:01:47 callbacks within callbacks within callbacks - yay 2012-11-04T19:01:51 fshapr ftw! 2012-11-04T19:01:52 no abstraction 2012-11-04T19:01:59 <3 async blocks 2012-11-04T19:02:22 or... haskell, go, erlang, rust, stackless python (which pypy implements too) 2012-11-04T19:02:31 fuck async 2012-11-04T19:02:36 scala 2012-11-04T19:02:37 *** SJRvanSc1aik has joined #aichallenge 2012-11-04T19:02:49 mcstar: guess how node implements their async event loop? 2012-11-04T19:02:55 mcstar: a thread pool. 2012-11-04T19:03:06 but you can't actually have parallelism 2012-11-04T19:03:18 only a funny implementation detail 2012-11-04T19:03:24 *** SJRvanSchaik has quit IRC (Ping timeout: 276 seconds) 2012-11-04T19:03:41 hm 2012-11-04T19:03:55 async i/o isn't used at a low-level 2012-11-04T19:03:57 it's slow 2012-11-04T19:07:09 *** SJRvanSc1aik has quit IRC (Read error: Connection reset by peer) 2012-11-04T19:07:56 mcstar: python is finally going to standardize concurrency stuff.... 2012-11-04T19:08:00 *** SJRvanSchaik has joined #aichallenge 2012-11-04T19:08:21 what country uses con currency? 2012-11-04T19:08:25 :P 2012-11-04T19:08:26 Australia! 2012-11-04T19:09:03 I should actually go read those lists and see 2012-11-04T19:09:27 actually there is no CON, but there is CRC, Costa Rican Colon 2012-11-04T19:09:32 didn't know there was board games this complicated: http://www.youtube.com/watch?v=H4LevjuhYqc&feature=player_embedded 2012-11-04T19:09:41 *** SJRvanSchaik has quit IRC (Read error: Connection reset by peer) 2012-11-04T19:10:16 mcstar: anyway one of the 3 ideas that were proposed (one will be chosen) is turning yield into real coroutines 2012-11-04T19:10:20 * thestinger would be happy :) 2012-11-04T19:10:57 but interators are mutable 2012-11-04T19:10:59 inherently 2012-11-04T19:11:08 they have state of their progress 2012-11-04T19:11:23 keep* 2012-11-04T19:11:41 haha, those stupid comments: "another game I would love but no one to play it with. sigh... boardgaming is breaking my heart." - "Get a nerdy girlfriend. She might not wear matching bra and panties, but she will strategize all over your face." 2012-11-04T19:11:50 mcstar: in the same way lazy lists do :P 2012-11-04T19:11:53 basically 2012-11-04T19:12:06 well, no 2012-11-04T19:12:10 or, what do you mean? 2012-11-04T19:12:11 but yes, that's just the kind of game I want an AI challenge for ^^ 2012-11-04T19:12:14 lazy lists where? 2012-11-04T19:12:26 mleise: haskell's singly-linked lazy lists 2012-11-04T19:12:28 mcstar: * 2012-11-04T19:12:36 then no, it is different 2012-11-04T19:12:41 a list is immutable 2012-11-04T19:12:47 except for the RPG parts 2012-11-04T19:12:52 mcstar: generators aren't mutable 2012-11-04T19:12:56 if you deconstruct parts of it, the original is intact 2012-11-04T19:13:15 but if you instantiated a generator, it will mutate, with every .next() call 2012-11-04T19:13:19 *** SJRvanSchaik has joined #aichallenge 2012-11-04T19:13:21 or whatever the method is 2012-11-04T19:13:39 it = (x for in in ...) 2012-11-04T19:14:01 it will mutate, if you did, it2=it, it2 wont be an original iterator 2012-11-04T19:14:07 it wont be either... 2012-11-04T19:14:14 anyway, you get my point 2012-11-04T19:15:37 *** ramn[mba] has joined #aichallenge 2012-11-04T19:16:39 ooooh this developer console is nice 2012-11-04T19:16:45 mcstar: which? 2012-11-04T19:16:54 doesn matter, chromium 2012-11-04T19:17:00 they are all nice by now :) 2012-11-04T19:17:07 t 2012-11-04T19:17:23 firefox's inspect is the best now, and the web console that's built-in is horribly bad :P 2012-11-04T19:17:25 i just never fooled around with them, before 2012-11-04T19:17:42 Opera once said they'd never stop until they have the best developer tools in the browser 2012-11-04T19:17:54 that was before Goolge raised the bar 2012-11-04T19:18:26 http://ompldr.org/vZzVieg I like that it shows the box model 2012-11-04T19:18:58 the html inspect part is just the regular old boring thing 2012-11-04T19:19:04 chromium 2012-11-04T19:19:09 's does that too 2012-11-04T19:19:43 but webgl! :P 2012-11-04T19:19:52 called 'metrics' 2012-11-04T19:20:36 *** SJRvanSchaik has quit IRC (Ping timeout: 268 seconds) 2012-11-04T19:21:00 *** SJRvanSchaik has joined #aichallenge 2012-11-04T19:21:46 mcstar: but does it have this useless feature? http://ompldr.org/vZzVjNA 2012-11-04T19:22:05 i dont think so 2012-11-04T19:22:11 also, it is really useless 2012-11-04T19:23:09 mcstar: http://ompldr.org/vZzVjNQ or that useless feature 2012-11-04T19:23:34 :P 2012-11-04T19:24:04 dunno why firefox doesn't pretty print sources like chromium yet 2012-11-04T19:24:31 well it does pretty print the html/css/js in the inspect/debugger tools 2012-11-04T19:24:41 but 'view source' is awful. 2012-11-04T19:25:05 luckily there's firebug, which nothing beats :) 2012-11-04T19:25:59 *** SJRvanSc1aik has joined #aichallenge 2012-11-04T19:27:23 *** SJRvanSchaik has quit IRC (Ping timeout: 252 seconds) 2012-11-04T19:31:10 installed 2012-11-04T19:54:25 heh 2012-11-04T19:54:30 i made a clock 2012-11-04T19:55:16 on a canvas? 2012-11-04T19:56:02 no 2012-11-04T19:56:10 it is just text 2012-11-04T19:56:21 im asking for the sever time 2012-11-04T19:56:30 100 times per sec XD 2012-11-04T19:57:19 websocket? 2012-11-04T19:57:25 or I guess just polling 2012-11-04T19:57:50 i setInterval an ajax call in js 2012-11-04T19:57:57 and post the time frmo python 2012-11-04T20:07:07 *** ramn[mba] has quit IRC (Quit: ramn[mba]) 2012-11-04T20:09:13 snapple 2012-11-04T20:09:15 lol 2012-11-04T20:15:08 *** smiley1983 has quit IRC (Ping timeout: 244 seconds) 2012-11-04T20:15:55 *** smiley1983 has joined #aichallenge 2012-11-04T20:22:35 *** smiley1983 has quit IRC (Ping timeout: 255 seconds) 2012-11-04T20:23:09 *** smiley1983 has joined #aichallenge 2012-11-04T20:33:31 *** smiley1983 has quit IRC (Ping timeout: 252 seconds) 2012-11-04T20:34:28 *** smiley1983 has joined #aichallenge 2012-11-04T20:48:45 […] the combat system implemented in D. Tose’s own submission is said to fit in 80 lines of code. 2012-11-04T20:52:32 Out of context it sounds like Mr. Tose used D. But it is just short for his name, Daryl. These one letter names for PLs suck. (C, D, R, ...) 2012-11-04T20:54:44 *** togepi has joined #aichallenge 2012-11-04T20:55:34 lol 2012-11-04T20:59:09 mleise: why dont you tell me rather, how to convert a string containing an array to an array in js 2012-11-04T20:59:42 val ar = array(string)? 2012-11-04T21:01:22 I don't know. I tried to erase JS from my head as fast as possible. But that's just an excuse for forgetting. 2012-11-04T21:03:44 and please note that JS sucks as a language: https://www.destroyallsoftware.com/talks/wat 2012-11-04T21:04:13 mleise: come on, what can i do? browsers almost only speak js 2012-11-04T21:04:14 e.g. [] + [] == "" 2012-11-04T21:04:44 i think i need to use eval() 2012-11-04T21:04:46 Of course, just don't expect it to work conveniently and as expected all of the time ^^ 2012-11-04T21:04:58 + just coerces to a string most of the time 2012-11-04T21:05:01 oh you mean a string _representation_ of an array 2012-11-04T21:05:01 fuck + 2012-11-04T21:05:15 mcstar: btw js arrays are just objects with some useful methods 2012-11-04T21:05:20 mcstar: try this 2012-11-04T21:06:01 a = [1,2,3]; a[[1] + [0]] = 5; console.log(a) 2012-11-04T21:06:05 mleise: a string of a json array 2012-11-04T21:06:20 that json.dumps produces 2012-11-04T21:06:26 but thats the same as its __repr__ 2012-11-04T21:06:36 mcstar: JSON.parse 2012-11-04T21:06:45 yeah, im getting there 2012-11-04T21:06:53 it needs a reviver 2012-11-04T21:06:54 wtf 2012-11-04T21:07:05 mcstar: oh and all array/object keys are strings :) 2012-11-04T21:07:05 thestinger: you don't seem to forget those theings easily, do you ? 2012-11-04T21:07:10 mleise: nope! 2012-11-04T21:07:21 I'm bad at forgetting these things. 2012-11-04T21:07:51 what's your secret? walnuts? 2012-11-04T21:08:00 javascript chooses to only allow string keys in objects (which arrays are)..... because they have the goddamn .foo syntactic sugar 2012-11-04T21:08:04 WHAT KIND OF PRIORITIES ARE THOSE? 2012-11-04T21:08:15 :( 2012-11-04T21:08:27 mleise: lack of sleep 2012-11-04T21:08:51 great 2012-11-04T21:08:55 so this opens the thesis, that sleep is where we allow the brain to forget and filter 2012-11-04T21:09:04 ive got a plot of random points every second 2012-11-04T21:09:20 i just have to figure out a way to not overpaint the plot 2012-11-04T21:09:25 but to update it... 2012-11-04T21:10:33 like resetting the old points to background color ß 2012-11-04T21:10:35 ? 2012-11-04T21:10:44 im not sure 2012-11-04T21:10:51 either clean the whole area 2012-11-04T21:10:59 or just tell the plot to use new points 2012-11-04T21:11:29 i think it is possible to update it 2012-11-04T21:11:39 ill check the docs of jqplot 2012-11-04T21:11:51 tomorrow 2012-11-04T21:12:32 mleise: b = new Boolean(false); console.log(b == false); if (b) console.log("b is true") 2012-11-04T21:13:42 my brain is full of the useless fuckups 2012-11-04T21:13:44 * thestinger sighs 2012-11-04T21:13:45 hmm, let me guess 2012-11-04T21:13:56 mleise: all objects are true, even if they equal false :) 2012-11-04T21:14:01 true, b is true ? 2012-11-04T21:14:05 yep 2012-11-04T21:14:45 that's somewhat of a problem with all these implicit conversions in languages 2012-11-04T21:14:51 and ofc " 42" == 42 2012-11-04T21:14:55 and "1,2" == [1,2] 2012-11-04T21:14:56 there is some point where you have an ambiguity 2012-11-04T21:15:16 wat? "1,2" == [1,2] ? 2012-11-04T21:15:23 mleise: coerces to string 2012-11-04T21:15:31 [1,2] + [3,4] is "1,23,4" 2012-11-04T21:15:35 arrays just lose their [ ] 2012-11-04T21:15:36 why is b true? 2012-11-04T21:15:41 mcstar: because it's an object 2012-11-04T21:15:46 remove the 'new' and it won't be 2012-11-04T21:15:47 so 2012-11-04T21:15:53 i dont get it 2012-11-04T21:15:56 boolean != Boolean != new Boolean 2012-11-04T21:15:57 mcstar: like in C, you can check for null, by just writing if (b) 2012-11-04T21:16:20 so, if doesnt check for logical truth? 2012-11-04T21:16:22 so as long as b contains an actual object, it is true 2012-11-04T21:16:23 mleise: js has this shitty half-assed OOP system that they claim is based on prototypes, but it's really just bad 2012-11-04T21:16:28 'if' 2012-11-04T21:16:50 mcstar: no in that case the if just checks for "existance of an object" 2012-11-04T21:17:00 or the Maybe monad 2012-11-04T21:17:03 easy to fic 2012-11-04T21:17:06 I don't know 2012-11-04T21:17:06 x 2012-11-04T21:17:10 if(b==true)... 2012-11-04T21:17:15 correct 2012-11-04T21:17:22 mcstar: because it evaluates to true in a boolean context 2012-11-04T21:17:25 but doesn't equal true 2012-11-04T21:17:30 because js is shit 2012-11-04T21:17:39 js is The Shit 2012-11-04T21:17:51 i love it 2012-11-04T21:17:51 mcstar: also there because JS is shit they have added the === operator, which is the ultimate version of == 2012-11-04T21:17:56 mcstar: another good one is 2012-11-04T21:17:58 {} + 0 2012-11-04T21:18:03 0 + {} 2012-11-04T21:18:04 ="" 2012-11-04T21:18:15 "0" ? 2012-11-04T21:18:19 with {} + 0, {} evaluates to undefined 2012-11-04T21:18:20 NaN ? 2012-11-04T21:18:23 so {} + 0 is 0 2012-11-04T21:18:30 ah damn 2012-11-04T21:18:30 0 + {} 2012-11-04T21:18:32 is 2012-11-04T21:18:43 "0[object Object]" 2012-11-04T21:18:45 for reals 2012-11-04T21:18:52 {} is ambiguous - it can be an object or a block 2012-11-04T21:18:52 * mleise shudders 2012-11-04T21:18:57 can js garbage collect itself from my computer? 2012-11-04T21:19:04 mcstar: nope js objects leak memory 2012-11-04T21:19:29 thanks, Netscape! 2012-11-04T21:19:43 should have called it DeadScript 2012-11-04T21:19:44 mcstar: if you want to check for absolute equality without conversion WATs, you use ===. 2012-11-04T21:19:53 or !== 2012-11-04T21:19:56 mcstar: for some reason an object can leak 2012-11-04T21:20:03 well, i know i can leak 2012-11-04T21:20:06 something fucked up about how they do weak/strong references 2012-11-04T21:20:17 so ecmascript 6 has new map types 2012-11-04T21:20:19 lol 2012-11-04T21:20:25 I used it all over the place, because I imagined without conversions it is faster and because I know what it is doing ^^ 2012-11-04T21:20:32 why the fuck didnt they devise some better language?? 2012-11-04T21:20:43 mcstar: some guy wrote it in 10 days 2012-11-04T21:20:47 we have browsers for quite some time now 2012-11-04T21:20:51 netscape needed it to fight IE before a major release 2012-11-04T21:21:09 mcstar: also 'var' is lol 2012-11-04T21:21:16 for (var i = 0; i < 10; i++) {} 2012-11-04T21:21:16 *that's* why ? omg. 2012-11-04T21:21:22 guess what happens to i? 2012-11-04T21:21:22 firefox, when it started out, should have added a secondary scripting language for its browser 2012-11-04T21:21:29 you killed 'i' 2012-11-04T21:21:32 javascript moves the var i; to the top of the function 2012-11-04T21:21:33 by now, all browsers would be using it 2012-11-04T21:21:44 so i is actually defined outside of the scope of that loop 2012-11-04T21:21:56 and after the loop, it's 10. 2012-11-04T21:22:05 it's defined *before* the loop though 2012-11-04T21:22:07 fuck yeah var hoisting. 2012-11-04T21:22:09 thestinger: heh, like python2 2012-11-04T21:22:22 mcstar: well python has no block scope either 2012-11-04T21:22:31 hmm 2012-11-04T21:22:38 and var hoisting weirdness in py2 2012-11-04T21:22:46 anyway, as i said, the could have gotten rid of js a long time ago 2012-11-04T21:22:50 the world* 2012-11-04T21:22:53 yeah :[ 2012-11-04T21:23:13 the worst part of js is when you realize they don't even have format strings 2012-11-04T21:23:20 and all it really does is move around strings 2012-11-04T21:23:32 I just use .replace with {} ... 2012-11-04T21:23:41 replaces one at a time, yay. 2012-11-04T21:24:08 *** amstan has joined #aichallenge 2012-11-04T21:24:08 *** ChanServ sets mode: +o amstan 2012-11-04T21:24:13 um, just write "My number is " + n 2012-11-04T21:24:29 mleise: :[ 2012-11-04T21:24:56 seriously, format strings are required when the language doesn't implicitly convert 2012-11-04T21:25:05 mleise: not just that :P 2012-11-04T21:25:10 they're nice for templates 2012-11-04T21:25:49 generating html to add to the DOM from json, etc. 2012-11-04T21:26:12 aw arch almost dropped mongodb from the repos 2012-11-04T21:26:19 but no, someone had to adopt it. 2012-11-04T21:26:39 so what do you think about Dart ? 2012-11-04T21:27:24 sucks. 2012-11-04T21:27:32 less than js, yes 2012-11-04T21:27:42 but it still sucks too much 2012-11-04T21:27:47 enough that no one cares it exists 2012-11-04T21:28:19 what about fay? 2012-11-04T21:28:22 mleise: it's basically.... optionally typed java 2012-11-04T21:28:29 no idea what fay is 2012-11-04T21:28:41 subset of haskell running on js 2012-11-04T21:28:48 =-O 2012-11-04T21:28:49 http://lljs.org/ this makes me laugh 2012-11-04T21:29:03 but it's cool 2012-11-04T21:29:09 it uses all the 'low-level' js hacks to make fast code 2012-11-04T21:29:26 like var i = 5 | 0; to declare an int, because in all browsers that makes it stored as an int internally :P 2012-11-04T21:29:42 typed arrays as a stack/heap 2012-11-04T21:30:01 don't see why you'd use it :) 2012-11-04T21:30:05 why cant the browsers expose a virtual machine? 2012-11-04T21:30:19 lets just standardize that 2012-11-04T21:30:21 mcstar: chromium does 2012-11-04T21:30:30 that makes way more sense 2012-11-04T21:30:34 var i = 5 | 0 // nice to know 2012-11-04T21:30:35 but it's not a portable VM 2012-11-04T21:30:36 than these half assed solutions 2012-11-04T21:30:38 mcstar: https://en.wikipedia.org/wiki/Google_Native_Client 2012-11-04T21:30:45 mleise: just a speed hack :) 2012-11-04T21:30:55 like 2012-11-04T21:31:09 for (var i = 0, l = a.length; i < l; i++) {} 2012-11-04T21:31:11 :P 2012-11-04T21:31:22 browsers are still too dumb to do that properly 2012-11-04T21:31:30 pathetic imo 2012-11-04T21:31:54 thestinger: im not talking about native code 2012-11-04T21:31:58 mcstar: btw you can put "use strict"; at the top of your js 2012-11-04T21:32:03 and it forces some sanity 2012-11-04T21:32:05 I don't agree with the plans for Google Native Client. Applications already have a host: The operating system 2012-11-04T21:32:19 https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Functions_and_function_scope/Strict_mode 2012-11-04T21:32:24 mleise: yeah and it's not a portable VM 2012-11-04T21:32:29 LLVM bytecode changes all the time too. 2012-11-04T21:33:04 thestinger: ok, that's not what I thought of as a VM 2012-11-04T21:33:11 thestinger: nacl seems to be running sandboxed native code 2012-11-04T21:33:17 mcstar: llvm bytecode 2012-11-04T21:33:18 exactly 2012-11-04T21:33:40 really bytecode? ok, you have to know 2012-11-04T21:33:43 i was thinking something more akin to python's bytecode 2012-11-04T21:33:56 something trivial 2012-11-04T21:34:08 mcstar: llvm bytecode is low-level and not stable :) 2012-11-04T21:34:10 well, now you will come with examples to the constrary 2012-11-04T21:34:14 it's an internal compiler bytecode 2012-11-04T21:34:26 thestinger: i dint say i want llvm 2012-11-04T21:34:29 ever 2012-11-04T21:34:31 mcstar: I know 2012-11-04T21:34:34 but nacl uses it :P 2012-11-04T21:34:40 mcstar: so you want java applets? :) 2012-11-04T21:34:47 nah 2012-11-04T21:34:58 java as a web technology failed 2012-11-04T21:35:05 (client side) 2012-11-04T21:35:17 ecmascript 6 adds some weird stuff though 2012-11-04T21:35:20 pretty sure it has structs 2012-11-04T21:35:24 It was a pain to make Java and JavaScript cooperate in the first iterations of the Ants visualizer 2012-11-04T21:35:50 how they react to multithreading wasn't even specified 2012-11-04T21:36:14 i dont like choreographed dancing 2012-11-04T21:36:26 it sucks 2012-11-04T21:36:31 bunch of losers 2012-11-04T21:36:58 uh mcstar... how do you get from virtual machines to dancers ? 2012-11-04T21:37:00 hehehe 2012-11-04T21:37:06 howie X-ed 2012-11-04T21:37:18 mleise: watching america's got talent 2012-11-04T21:37:23 mleise: http://brendaneich.github.com/Strange-Loop-2012/ from javascript's creator :P 2012-11-04T21:37:25 for couple of hours 2012-11-04T21:37:35 mleise: the 2d slide format is really weird 2012-11-04T21:37:46 you go left to right but.... some slides go down in another dimension 2012-11-04T21:38:10 ruby has some nice presentation software 2012-11-04T21:38:17 they stole ir from Dr.Racket 2012-11-04T21:38:19 it* 2012-11-04T21:38:48 well, it is js ofc, but served by a ruby server... 2012-11-04T21:38:54 and templated by i think 2012-11-04T21:39:27 mozilla's internal js isn;t nearly as bad 2012-11-04T21:40:00 has generators, list comprehensions, iterators, block scoping (let), constants :P 2012-11-04T21:40:06 among other crap 2012-11-04T21:40:21 WOW they added an official const keyword ! 2012-11-04T21:40:51 mleise: they could enforce it too when the bytecode is compiled, but they probably don't 2012-11-04T21:41:07 like "use strict"; enforces using 'var' to declare each thing in a function scope 2012-11-04T21:41:54 his reasons that js is "better" than bytecode as bs 2012-11-04T21:42:36 "Many humans like writing JS" - and they couldn't keep writing it if it compiled/shipped as bytecode? :P 2012-11-04T21:43:44 his argument against typing? java. 2012-11-04T21:43:47 time for me to retire 2012-11-04T21:44:01 gn 2012-11-04T21:44:03 *** mcstar has quit IRC (Quit: mcstar) 2012-11-04T21:52:57 *** heinrich5991 has quit IRC (Ping timeout: 260 seconds) 2012-11-04T21:55:58 *** cyphase has quit IRC (Ping timeout: 246 seconds) 2012-11-04T22:02:22 *** cyphase has joined #aichallenge 2012-11-04T23:19:38 *** antimatroidl has joined #aichallenge 2012-11-04T23:26:06 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-11-04T23:27:02 *** antimatroidl has joined #aichallenge 2012-11-04T23:29:52 *** antimatroidl has quit IRC (Client Quit) 2012-11-04T23:39:34 *** smiley1983 has quit IRC (Ping timeout: 246 seconds) 2012-11-04T23:40:43 *** smiley1983 has joined #aichallenge 2012-11-04T23:49:56 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2012-11-04T23:51:01 *** smiley1983 has joined #aichallenge