2012-11-19T00:22:49 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-11-19T00:23:38 *** amstan_ has joined #aichallenge 2012-11-19T00:23:38 *** ChanServ sets mode: +o amstan_ 2012-11-19T00:27:34 *** djr_ has quit IRC (Ping timeout: 245 seconds) 2012-11-19T00:37:37 *** justin_pdx has joined #aichallenge 2012-11-19T00:57:26 *** justin_pdx has quit IRC (Quit: justin_pdx) 2012-11-19T01:15:38 *** pairofdice has joined #aichallenge 2012-11-19T01:19:27 *** mceier has quit IRC (Quit: leaving) 2012-11-19T01:23:10 *** smiley1983 has quit IRC (Ping timeout: 276 seconds) 2012-11-19T01:23:24 *** smiley1983 has joined #aichallenge 2012-11-19T02:13:15 *** epicmonkey has joined #aichallenge 2012-11-19T02:30:14 *** mceier has joined #aichallenge 2012-11-19T02:33:36 *** epicmonkey has quit IRC (Ping timeout: 246 seconds) 2012-11-19T02:58:42 *** smiley1983 has quit IRC (Ping timeout: 240 seconds) 2012-11-19T03:00:43 *** smiley1983 has joined #aichallenge 2012-11-19T03:13:47 *** amstan_ has quit IRC (Quit: Konversation terminated!) 2012-11-19T03:15:24 *** Wren80[work] has joined #aichallenge 2012-11-19T03:25:26 *** sigh has joined #aichallenge 2012-11-19T03:27:11 ramn[]: Servers seem okay now - if the problem was just that games were not starting, it just means that the connection from which I run the bots was down - it might have been waiting for an extra bot to join the game, because it expected to have more players for the next game than there really were. 2012-11-19T03:27:44 That problem can be solved by temporarily connecting another bot (or a few) to unstick the game queue. 2012-11-19T03:59:39 *** mleise has joined #aichallenge 2012-11-19T04:04:59 *** tsc has joined #aichallenge 2012-11-19T04:05:23 smiley1983: ah ok 2012-11-19T04:44:10 *** epicmonkey has joined #aichallenge 2012-11-19T04:53:29 *** thestinger has quit IRC (Quit: WeeChat 0.3.9.1) 2012-11-19T05:11:18 *** smiley1983 has quit IRC (Ping timeout: 260 seconds) 2012-11-19T05:12:12 *** smiley1983 has joined #aichallenge 2012-11-19T05:29:37 smiley1983: how many participants does it want for a game 2012-11-19T05:56:29 ramn[work]: it decides the parameters for the next game as soon as a game begins; number of players is a random value between 2 and min(10, (n-1)) where n equals the number of players currently connected to the server 2012-11-19T05:57:57 I'm currently running two bots against port 2084; if only one other player connects, it will always create two player games, but if two other people connect it will sometimes create three player games 2012-11-19T06:12:28 *** UncleVasya has joined #aichallenge 2012-11-19T07:16:42 *** yoden has quit IRC (Read error: Connection reset by peer) 2012-11-19T07:17:01 *** yoden has joined #aichallenge 2012-11-19T07:33:35 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-11-19T07:40:14 *** Areks has quit IRC (Read error: Connection reset by peer) 2012-11-19T07:41:10 *** Areks has joined #aichallenge 2012-11-19T07:59:00 *** Wren80[work] has joined #aichallenge 2012-11-19T08:24:19 *** Scooper has joined #aichallenge 2012-11-19T08:57:59 *** sigh has quit IRC (Remote host closed the connection) 2012-11-19T09:11:48 UncleVasya: I have your planetwars code running successfully locally, but I'm having trouble getting the webserver to show visualizations for tcp games 2012-11-19T09:13:11 I can get it to serve up replays if I comment out the line which displays numShips on the planets, but otherwise I get "SyntaxError: An invalid or illegal string was specified" 2012-11-19T09:13:53 smiley1983: Try specifying a legal string 2012-11-19T09:14:08 It needs to be valid, too 2012-11-19T09:14:51 smiley1983: hi, Smiley 2012-11-19T09:15:26 Thing is, I know that the engine is spitting out valid replay data when run locally 2012-11-19T09:15:34 UncleVasya: Hi, how are you today? 2012-11-19T09:15:48 like yesterday :) 2012-11-19T09:15:53 :) 2012-11-19T09:15:58 how are you? 2012-11-19T09:16:06 Sick 2012-11-19T09:16:19 Not very sick, though, so I can still work 2012-11-19T09:16:25 on programming, that is 2012-11-19T09:16:40 yep, me too. for a week now because I don't take pills well enough 2012-11-19T09:17:16 Did you write this visualizer from scratch, or was it converted from the old one? 2012-11-19T09:17:17 *don't care enough about taking pills 2012-11-19T09:17:39 but I need to over this so I think I will from now 2012-11-19T09:17:53 being unwell is a nuisance 2012-11-19T09:17:59 this is the old visualizer 2012-11-19T09:18:06 *** amstan has joined #aichallenge 2012-11-19T09:18:06 *** ChanServ sets mode: +o amstan 2012-11-19T09:18:09 I get it from git repo 2012-11-19T09:18:32 Right. It's entirely unmodified? 2012-11-19T09:19:14 Not that it really matters - I was considering rewriting it, because it has some differences from the other visualizers which makes it a bit harder to integrate with TCP 2012-11-19T09:19:34 And I tried to keep it without editing so I've added a thin layer in replay-template. 2012-11-19T09:20:26 Ah, yes, I saw that. It works well locally. 2012-11-19T09:21:00 I'm a bit baffled about why it's having trouble via the webserver 2012-11-19T09:21:16 I think I have to sleep and work on it again tomorrow. 2012-11-19T09:21:37 The only thing I edited in the visualizer - replaced 200 with moves.length 2012-11-19T09:21:49 ok, gn 2012-11-19T09:24:23 yes, moves.length isn't causing any problem - it's planet.numShips around line 162 2012-11-19T09:25:55 and it works perfectly locally, so there's nothing wrong with the code - it must somehow be getting bad replay data from the webserver 2012-11-19T09:27:30 can you past an example replay from the server? 2012-11-19T09:30:09 *** aigamedev is now known as alexjc 2012-11-19T09:30:41 http://pastebin.com/nwLpfcUL 2012-11-19T09:30:52 That's the whole webpage, replay data and all 2012-11-19T09:31:38 you make a good point, I can take the replay data from there and paste it into a working replay.html to test 2012-11-19T09:33:18 no, you can't. Go and have some sleep, you are a tireless robot :p 2012-11-19T09:34:06 ... and it works when pasted in 2012-11-19T09:34:26 I was only going to give up and go to bed because I didn't know what to try next :) 2012-11-19T09:35:11 So clearly one of the changes I made to the visualizer in integrating it with the webserver has broken it 2012-11-19T09:35:38 however, when I looked at the diff, I couldn't see anything that I would expect to produce that problem 2012-11-19T09:36:11 I've pushed the tcpserver changes to my ants-tcp fork on github if you want to have a look, but don't feel obliged to 2012-11-19T09:36:28 I've probably just made some silly error which will be obvious after I've had some sleep 2012-11-19T09:37:39 btw, you might want to pull changes from my Tron branch. I've merged there new stuff from tcp-repo so tron can be launched out of the box. 2012-11-19T09:38:48 yes, I'm updating local version of your tcp-repo. 2012-11-19T09:40:29 This is the tron branch of /aichallenge? 2012-11-19T09:41:08 I'm not sure how out-of-date my aichallenge tron branch is, I moved development to the ants-tcp repo 2012-11-19T09:41:31 Ah, yes, I see the update you mean now 2012-11-19T09:42:26 Can you issue a pull request on my branch? I think that's the proper way for me to get the changes (I did it the improper way before, downloading the zip and copying the files across) 2012-11-19T09:43:47 yes, I'll make a request 2012-11-19T09:45:04 What folder I must look at? pw-dist or planetwars_tcp? 2012-11-19T09:45:24 second one lacks replay.template 2012-11-19T09:54:53 pw-dist has the working local version 2012-11-19T09:55:03 planetwars_tcp is the one I'm trying to fix 2012-11-19T09:55:39 Requires running the tcpserver.py and webserver.py scripts, then running two bots against localhost:2091 2012-11-19T09:56:14 The visualizer is divided between webserver.py in serve_visualizer() and js/visualizer.js 2012-11-19T09:56:52 The contents of replay.html.template have been added to webserver.py/serve_visualizer() 2012-11-19T09:58:30 my editor writes files match (my visualizer.js and the one from planetwars_tcp) 2012-11-19T09:58:37 *my editor says 2012-11-19T09:58:53 Yes, that file should be unmodified 2012-11-19T09:59:29 Some changes have been made to replay.html.template in order to make everything link up properly from webserver.py 2012-11-19T09:59:50 I mean, changes to the code which was imported from replay.html.template 2012-11-19T10:02:34 I've made a pull request (not sure I did it right though) 2012-11-19T10:04:24 Great, that was easy :) Pull request merged for the aichallenge repo 2012-11-19T10:04:53 *** mcstar has joined #aichallenge 2012-11-19T10:09:45 *** Scooper has quit IRC (Ping timeout: 255 seconds) 2012-11-19T10:10:11 *** Scooper has joined #aichallenge 2012-11-19T10:11:05 smiley1983: I see you deleted + "\n" + between playernames in webserver.py. line # around 254 2012-11-19T10:12:33 smiley1983: but i believe old visualizer need them to be there. I'm not sure if it has a deal with numships 2012-11-19T10:13:31 Ah, that's a plausible reason; it might change the indexing. I removed them because they were causing a different problem, let me get the error message 2012-11-19T10:16:15 http://pastebin.com/ub0eq3Bx 2012-11-19T10:16:19 smiley1983: var data = "...\nplayer_one=davidjliu\nplayer_two=sin_sun\nplayback_string=15.0..." this is a part of replay from planetwars.aichallenge.org 2012-11-19T10:17:34 The quote marks are confusing it when served up from the python script, even though it should be passing them on unchanged because of the triple quotes surrounding it all 2012-11-19T10:17:45 data = "player_one=" + playernames[0] + " 2012-11-19T10:17:52 ofc it is unterminated 2012-11-19T10:18:29 Yes, but it's supposed to be data = "player_one=" + playernames[0] + "\n" 2012-11-19T10:18:44 I guess Python translates the \n to a newline even with triple quotes 2012-11-19T10:18:46 where is the code? 2012-11-19T10:18:51 maybe it can be replaced with key codes? 2012-11-19T10:18:51 *** epicmonkey has quit IRC (Ping timeout: 265 seconds) 2012-11-19T10:20:20 smiley1983: where is the code? 2012-11-19T10:20:22 mcstar: https://github.com/smiley1983/ants-tcp/blob/master/planetwars/planetwars_tcp/webserver.py#L248 This is the code on github with the "\n" removed 2012-11-19T10:20:25 ok 2012-11-19T10:21:30 I tried double backslash to make it literal, as in "\\n" 2012-11-19T10:22:19 except that obviously I didn't try it correctly, because that worked just then :/ 2012-11-19T10:22:28 Oh well, looks like the problem is fixed :) 2012-11-19T10:22:54 \\n should work 2012-11-19T10:23:05 or use an r string 2012-11-19T10:23:06 smiley1983: also I found advice ' put r before the string literal' 2012-11-19T10:23:13 r'a\nb' 2012-11-19T10:26:43 Does it fix the root problem? 2012-11-19T10:27:26 root problem? I think it is all fixed now, I'm just putting it up on the server now 2012-11-19T10:27:53 wow, great 2012-11-19T10:28:49 i think he meant, 'the root of the problem' 2012-11-19T10:29:32 I meant the problem with launching replays. 2012-11-19T10:29:50 original, source problem I guess the right words 2012-11-19T10:31:44 Celebration :) http://li414-97.members.linode.com:2090/ 2012-11-19T10:32:18 Now: what was the change needed to make old bots work with the new engine? 2012-11-19T10:32:49 smiley1983: one min 2012-11-19T10:33:15 No rush :) 2012-11-19T10:35:05 Server needs rebooting, I messed something up 2012-11-19T10:38:54 smiley1983: here's examples from starterpacks: http://ideone.com/4NWpzx 2012-11-19T10:39:21 also maybe I forgeting something, have to look more carefuly 2012-11-19T10:43:32 UncleVasya: great, thanks. I might even get my planetwars bot running tonight :) 2012-11-19T10:44:03 smiley1983: heh, I think I'll do it too ;) 2012-11-19T10:44:17 smiley1983: and yes, I forgot a small thing. 2012-11-19T10:45:18 old format : go --> game state new format: go or ready --> turn # --> game state 2012-11-19T10:48:17 smiley1983: here's another place I've edited in starterpack: http://ideone.com/Iid8hu 2012-11-19T10:49:13 smiley1983: can you add an issue to github that wouldn't let me forgot to make a proper fix? 2012-11-19T10:49:22 *forget 2012-11-19T10:51:36 I think you have to enable issue tracking for your fork before I can add an issue 2012-11-19T10:51:42 Not quite sure how to do it 2012-11-19T10:52:57 smiley1983: i mean into your fork. I suspect I'll look at your page far more frequently than at my own :D 2012-11-19T10:56:19 Done :) https://github.com/smiley1983/ants-tcp/issues/2 2012-11-19T10:56:23 smiley1983: I've updated 10 maps by hand but I gues it's easy to do automatically via command line. I just incompetent in use of it. If you are then I can tell you how to turn old maps into new ones. 2012-11-19T10:56:30 thanks 2012-11-19T10:57:25 Right - I won't get around to looking at that tonight since I'm getting pretty tired, but it would be good to document it somewhere 2012-11-19T10:57:36 or just post here and I'll read the channel log :) 2012-11-19T10:57:53 smiley1983: 1. add Players 2 as a first line 2. change extension from .txt to .map 2012-11-19T10:58:28 Great :) 2012-11-19T10:59:34 *** Wren80[work] has quit IRC (Quit: Wren80[work]) 2012-11-19T11:00:56 *** mceier has quit IRC (Quit: leaving) 2012-11-19T11:02:04 link from player name can be fixed so it points to the bots profile on tcp-server. need a small change in visualizer.js. 2012-11-19T11:03:06 and i think i'll make 2 cosmetic changes: center visualiszer on page, make background white. 2012-11-19T11:03:29 You don't need to worry about it until tomorrow, have a rest :) 2012-11-19T11:24:27 smiley1983: I've compiled my bot. Here's the source: http://ompldr.org/vZ2RiMw/Uvs_PW_final.rar 2012-11-19T11:28:12 I've compiled it here - shall I run it against the server from here, or do you want to try from there? 2012-11-19T11:29:58 smiley1983: from there - from my pc? 2012-11-19T11:30:52 I'm now running it from here - let me know if you'd prefer I didn't 2012-11-19T11:31:49 no, I'm glad my bots are running there. Thanks. Feel free to turn it off if needed. 2012-11-19T11:32:10 Good first game: http://li414-97.members.linode.com:2090/replay.105 2012-11-19T11:32:57 I'll be the king of starterbots until you'll get your hands on your bot :) 2012-11-19T11:33:10 *until you 2012-11-19T11:33:20 ohhh 2012-11-19T11:33:24 you already did( 2012-11-19T11:33:31 :D 2012-11-19T11:33:33 Yes :) 2012-11-19T11:34:14 s32 was my final submission, s40 was the latest version at the end of the contest, but it didn't perform as well so I submitted the one which seemed to perform best 2012-11-19T11:35:49 I think I need to change scores from number of ships to 1 for alive and 0 for dead... 2012-11-19T11:37:53 haha 2012-11-19T11:38:17 Current scoring works, but that would probably be neater 2012-11-19T11:39:33 my rank in pw was 310 2012-11-19T11:42:23 mine was rank 70 - yours is winning quite a few games considering the rank difference, I guess there were lots of strong bots packed into the top few hundred 2012-11-19T11:43:45 what's the next thing to work on? 2012-11-19T11:44:29 hmm... dimkadimon's RoShamBo proposal, maybe? 2012-11-19T11:46:43 not hard to implement yet fun enough ;) 2012-11-19T11:48:38 will you make a post about pw-server on forums or should I? 2012-11-19T11:49:34 I've added a post to the "new TCP server" thread - I'd be very happy if you wanted to make a new thread to draw more attention to it :) 2012-11-19T11:49:50 mmm, I must stop to bug you with questions :D 2012-11-19T11:49:53 I've been feeling a bit like I've been spamming the forums recently, though, so I don't want to 2012-11-19T11:50:38 It is no problem, I am happy to have successfully collaborated with someone to get new code running :) 2012-11-19T11:52:13 however, now I really am heading toward sleep (only about three hours after I first said that tonight) 2012-11-19T11:52:29 I think tcp-servers already have a thread so there is no a big enough reason to make a new one. I'll look maybe I can stick or something. 2012-11-19T11:53:44 again, godd night. hope this is your last 'I go to sleep' for today 2012-11-19T11:53:50 *good 2012-11-19T11:54:17 lol, yes, good night 2012-11-19T12:07:23 *** mceier has joined #aichallenge 2012-11-19T12:23:20 @later tell smiley1983 I've moved topics about TCP to Announcements forum and change its type to announcement. 2012-11-19T12:23:20 UncleVasya: As you wish. 2012-11-19T12:23:54 @later tell UncleVasya something sweet 2012-11-19T12:23:55 UncleVasya: I come to serve. 2012-11-19T12:24:06 :( 2012-11-19T12:27:12 sweet potato 2012-11-19T12:46:24 *** binary_block has joined #aichallenge 2012-11-19T12:47:17 Hello 2012-11-19T12:51:30 binary_block: hi 2012-11-19T12:51:42 Hello 2012-11-19T12:52:25 Do you know when is the next aichallenge competition? 2012-11-19T12:52:39 *** cyphase has quit IRC (Read error: Operation timed out) 2012-11-19T12:54:17 binary_block: there is no official information. 2012-11-19T12:55:03 One of the admins said maybe he will try to start some development on January - February. But again, _maybe_. 2012-11-19T12:55:58 *** amstan_ has joined #aichallenge 2012-11-19T12:55:58 *** ChanServ sets mode: +o amstan_ 2012-11-19T12:55:59 *** amstan has quit IRC (Read error: Connection reset by peer) 2012-11-19T12:56:27 binary_block: maybe you'll enjoy Capture th Flag comptetition: aisandbox.com (#gameai channel here). 2012-11-19T12:57:50 I am looking for Google AI challenges because of my AI Lecture. I need to make a presentation about it. 2012-11-19T12:59:28 binary_block: perhaps you can do a presentation about last years competition 2012-11-19T13:00:54 I will do that. Thank you for the information. Kind regards :) 2012-11-19T13:01:35 *** binary_block has quit IRC (Quit: Page closed) 2012-11-19T13:10:34 *** cyphase has joined #aichallenge 2012-11-19T13:29:31 Accoun: You were asking about PlanetWars TCP-server. It is up now: http://106.187.94.97:2090 2012-11-19T13:43:46 *** thestinger has joined #aichallenge 2012-11-19T13:48:13 *** smiley1983 has quit IRC (Ping timeout: 246 seconds) 2012-11-19T13:49:06 *** smiley1983 has joined #aichallenge 2012-11-19T13:49:36 mcstar: interesting, I've shown aisandbox to both my aichallenge guys (InsaneMalkavian, Diversus). They don't like. 2012-11-19T13:53:10 * UncleVasya is very glad. On November 21 one of my favourite bands releases a new album: http://www.mandragorascream.com/media/7340/Luciferland.jpg 2012-11-19T13:54:44 heh, not my kind of music 2012-11-19T13:54:48 but, you have fun 2012-11-19T13:55:34 UncleVasya: it is not like you are developing for aisandbox either 2012-11-19T13:55:54 do they participate in the russian ai challenge? 2012-11-19T13:56:45 i'd like to code for it, i think, but im buried with tasks 2012-11-19T13:56:58 mcstar: Diversus ended today on place 122. Won a T-shirt 2012-11-19T13:57:14 heh, nice 2012-11-19T13:57:36 so, first round is over, i take it? 2012-11-19T13:57:44 Round 2 is over 2012-11-19T13:57:47 oh 2012-11-19T13:57:52 No finals will go I think 2012-11-19T14:00:27 *Now 2012-11-19T14:00:50 *** Accoun has quit IRC () 2012-11-19T14:01:07 mcstar "it is not like you are developing for aisandbox either" huh? 2012-11-19T14:01:54 are you? 2012-11-19T14:02:23 mcstar: i didn't get what you mean 2012-11-19T14:02:41 *** Blkt has joined #aichallenge 2012-11-19T14:02:44 *what you whant to say 2012-11-19T14:02:50 *the sence 2012-11-19T14:03:08 you said, your friends arent very enthusiastic about that challange 2012-11-19T14:03:17 yes 2012-11-19T14:03:19 but at the same time, you are not developing for it, either 2012-11-19T14:03:29 so, who's talking? 2012-11-19T14:03:37 do you understand now? 2012-11-19T14:03:47 ah, so you mean 'it is okay, nothing to worry about'? 2012-11-19T14:03:57 no 2012-11-19T14:04:13 or I am not enthusiastic too? 2012-11-19T14:04:22 it means, you are 'complaining' about something, that you are not involved with, either 2012-11-19T14:04:30 UncleVasya: yes, 2nd 2012-11-19T14:05:06 ok, thanks for clearing out 2012-11-19T14:05:10 lets say, i am drunk, and i say this: 2012-11-19T14:05:22 look, antimatroidl is such an alcoholic 2012-11-19T14:05:26 and you say to me: 2012-11-19T14:05:34 it's not like you are sober, either! 2012-11-19T14:07:24 lol, wut? 2012-11-19T14:07:40 im teaching uv some english 2012-11-19T14:07:44 antimatroidl: alcoholic :p 2012-11-19T14:07:52 it was a joke.. 2012-11-19T14:07:57 yeah i got that 2012-11-19T14:08:38 mcstar: it is like pouring water into a bucket with no bottom :D 2012-11-19T14:09:18 bye guys 2012-11-19T14:09:22 bb 2012-11-19T14:09:44 *** UncleVasya has quit IRC (Quit: UncleVasya) 2012-11-19T14:10:03 i dont get this bucket analogy 2012-11-19T14:17:26 AI Sandbox... they said 'defend' wins over 'attack' but it doesnt seem to always be the case 2012-11-19T14:17:48 mleise: go make aiplaypen.com 2012-11-19T14:18:50 I'm writing some code to hopefully know blind spots for every location on the map, so I can better guide my bots through the levels without getting ambushed 2012-11-19T14:22:04 thestinger: that website doesn't exist 2012-11-19T14:22:19 also, it has a strange name 2012-11-19T14:24:05 http://en.wikipedia.org/wiki/Playpen 2012-11-19T14:24:12 heh 2012-11-19T14:24:15 i had one of those 2012-11-19T14:25:23 i got the specs for my new job 2012-11-19T14:25:34 gonna make a demo tonight 2012-11-19T14:26:56 i have no idea, what my work-hour estimate should be, but ive got to give one 2012-11-19T14:27:51 i think i just better flee to argentina... 2012-11-19T14:28:14 or micronesia 2012-11-19T14:29:35 *** Accoun has joined #aichallenge 2012-11-19T14:34:31 oh shit I'm mentioned several times in the release notes already: http://aisandbox.com/release/ctf-update-3/ 2012-11-19T14:39:52 thestinger: now I get it! AI _Sandbox_ vs. AI _Play Pen_. Time for a beer to relax the neurons. 2012-11-19T14:40:06 :D 2012-11-19T14:41:10 erm, maybe there arent that many neurons left, so you should stay away from the beer 2012-11-19T14:41:26 just a thought 2012-11-19T14:45:36 fuck, postgresql needs a ; at the end of the command 2012-11-19T14:45:59 the other SQLs are just too lax 2012-11-19T14:46:36 oh, that reminds me of lax endofunctors in the category of abelian monoids 2012-11-19T14:46:40 like these browsers you test your website in that let you get away with broken HTML until a not-so-lenient browser breaks 2012-11-19T14:46:56 O.o what monoids? 2012-11-19T14:47:07 standard haskell speak 2012-11-19T14:47:10 *** smiley1983 has quit IRC (Ping timeout: 245 seconds) 2012-11-19T14:47:12 dont concern yourself 2012-11-19T14:47:13 *** g0llum has joined #aichallenge 2012-11-19T14:47:30 i hope i sounded condescending XD 2012-11-19T14:47:39 must be like learning latin :-/ 2012-11-19T14:48:14 *** smiley1983 has joined #aichallenge 2012-11-19T14:48:28 *** jacob_strauss has joined #aichallenge 2012-11-19T15:10:09 *** iglo has joined #aichallenge 2012-11-19T15:30:40 thestinger: what do you think about today's episode? i think it was pretty good 2012-11-19T15:30:51 well, it is yesterday's 2012-11-19T15:31:03 from your perspective 2012-11-19T15:31:07 mcstar: haven't watched it yet 2012-11-19T15:31:15 recorded 2012-11-19T15:31:24 oh, thats why you didnt catch my reference then 2012-11-19T15:31:36 *** thestinger has quit IRC (Quit: brb) 2012-11-19T15:31:40 well, not argentina, but micornesia 2012-11-19T15:31:59 its nice that he leaves just when i talk to him 2012-11-19T15:32:04 not rude, no 2012-11-19T15:32:19 whats the angry face? 2012-11-19T15:32:23 >.< ? 2012-11-19T15:33:09 v.v 2012-11-19T15:33:17 jesus, i suck at this 2012-11-19T15:33:22 q.p 2012-11-19T15:33:33 no, thats not good either 2012-11-19T15:33:55 RA.WR 2012-11-19T15:34:14 qp looks like an elephant 2012-11-19T15:34:33 i like elephants 2012-11-19T15:56:58 *** antimatroidl has quit IRC (Ping timeout: 252 seconds) 2012-11-19T16:04:18 *** jacob_strauss has quit IRC (Quit: jacob_strauss) 2012-11-19T16:09:04 *** epicmonkey has joined #aichallenge 2012-11-19T16:37:07 *** mcstar has quit IRC (Ping timeout: 246 seconds) 2012-11-19T16:47:51 *** Gears has joined #aichallenge 2012-11-19T16:49:26 *** cyphase has quit IRC (Ping timeout: 260 seconds) 2012-11-19T16:58:11 *** cyphase has joined #aichallenge 2012-11-19T17:01:46 *** dici has joined #aichallenge 2012-11-19T17:08:04 *** thestinger has joined #aichallenge 2012-11-19T17:09:57 *** amstan_ has quit IRC (Ping timeout: 248 seconds) 2012-11-19T17:11:11 *** mcstar has joined #aichallenge 2012-11-19T17:14:46 *** epicmonkey has quit IRC (Ping timeout: 245 seconds) 2012-11-19T17:25:54 *** pairofdice has quit IRC (Quit: In girum imus nocte et consumimur igni.) 2012-11-19T17:27:58 *** foRei has joined #aichallenge 2012-11-19T17:34:55 ò.ó 2012-11-19T17:35:54 thestinger: what templating lib do you use? 2012-11-19T17:36:05 for what? 2012-11-19T17:36:12 html 2012-11-19T17:36:33 I'd rather just not write html :P 2012-11-19T17:37:17 mcstar: I don't really have any opinions on it 2012-11-19T17:37:26 when I was using flask I used jinja2 2012-11-19T17:37:32 atm I'm just using bottle's built-in one 2012-11-19T17:37:53 mcstar: http://www.yesodweb.com/book/shakespearean-templates why not go use that? :) 2012-11-19T17:37:59 i set up lighttpd with flup 2012-11-19T17:38:22 because i chose python 2012-11-19T17:38:22 mcstar: nooo, nginx with uwsgi! 2012-11-19T17:38:34 i dont want to deal with cabal and the whole haskell platform 2012-11-19T17:38:45 flup is dead now afaik 2012-11-19T17:38:48 no, lighttpd with flup is ok 2012-11-19T17:38:52 doesnt matter 2012-11-19T17:38:59 i dont think it is dead, more like stable 2012-11-19T17:39:26 some things reach gold state, flup reaches stone state 2012-11-19T17:39:28 mcstar: it's dead, it didn't even have someone around to port it to py3 2012-11-19T17:39:35 uwsgi is for other languages too 2012-11-19T17:39:44 idc, it works 2012-11-19T17:39:48 python, lua, erlang, perl, ruby, jvm, [...] 2012-11-19T17:39:53 heh and mono 2012-11-19T17:39:57 but that's tagged as "unusable" 2012-11-19T17:40:15 what is the benefit of using uwsgi? 2012-11-19T17:40:48 speed, stability, sanity 2012-11-19T17:40:52 does it have stuff like session management or authentication bult-in? 2012-11-19T17:41:25 no it's just a wsgi server 2012-11-19T17:41:45 it loads your wsgi app using $FRAMEWORK_OF_CHOICE 2012-11-19T17:41:54 and $LANGUAGE_OF_CHOICE 2012-11-19T17:42:07 i see, it is not fastcgi, but its own protocol 2012-11-19T17:43:01 it supports fastcgi though 2012-11-19T17:43:10 if you must use it :P 2012-11-19T17:43:32 mcstar: I wasted an hour trying them all 2012-11-19T17:43:45 flup falls apart even with a dozen or so concurrent connections 2012-11-19T17:44:00 that cant be 2012-11-19T17:44:03 try it 2012-11-19T17:45:23 *** antimatroidl has joined #aichallenge 2012-11-19T17:45:44 what should i try? 2012-11-19T17:45:48 it seems to work here 2012-11-19T17:45:57 ab -c 30 2012-11-19T17:46:03 -n somebignumber 2012-11-19T17:46:12 ab? 2012-11-19T17:46:23 apache bench 2012-11-19T17:46:30 lighttpd comes with a better one 2012-11-19T17:46:32 forget the name 2012-11-19T17:46:52 angel? 2012-11-19T17:47:18 no that's like a thing that watches the server and tries to not drop connections on a restart 2012-11-19T17:47:19 thats another binary, but i dont think thats it 2012-11-19T17:50:33 .apr_socket_recv: Connection refused (111) 2012-11-19T17:50:35 thestinger: 2012-11-19T17:51:20 ok, it doesnt like localhost 2012-11-19T17:52:04 thestinger: so, when does it start to fall apart? 2012-11-19T17:52:39 also, how many processes did you set up with the webserver to serve the pages? 2012-11-19T17:53:47 114%,30%,14% the python proces, lighttpd, and ab's CPU utilizations 2012-11-19T17:53:59 30 concurrent connections, 10K requests 2012-11-19T17:55:40 * thestinger shrugs 2012-11-19T17:58:26 *** Scooper has quit IRC (Quit: Leaving) 2012-11-19T18:00:01 *** g0llum has quit IRC (Read error: Connection reset by peer) 2012-11-19T18:12:36 *** tsc has quit IRC (Ping timeout: 245 seconds) 2012-11-19T18:14:48 *** iglo has quit IRC (Remote host closed the connection) 2012-11-19T18:16:43 *** amstan has joined #aichallenge 2012-11-19T18:16:43 *** ChanServ sets mode: +o amstan 2012-11-19T18:17:36 *** ikaros has joined #aichallenge 2012-11-19T18:29:21 *** dici has quit IRC (Read error: Connection reset by peer) 2012-11-19T18:46:59 *** mcstar has quit IRC (Quit: mcstar) 2012-11-19T19:05:54 *** antimatroidl has quit IRC (Quit: Leaving.) 2012-11-19T19:10:20 *** foRei has quit IRC (Quit: Bye) 2012-11-19T20:08:04 *** djr_ has joined #aichallenge 2012-11-19T20:15:03 *** Blkt has quit IRC (Quit: bed time...) 2012-11-19T20:18:26 *** ikaros has quit IRC (Quit: Ex-Chat) 2012-11-19T20:47:16 *** cyphase has quit IRC (Ping timeout: 260 seconds) 2012-11-19T20:52:55 *** djr_ has quit IRC (Ping timeout: 256 seconds) 2012-11-19T21:07:11 *** cyphase has joined #aichallenge 2012-11-19T22:55:08 *** dvladim has joined #aichallenge 2012-11-19T23:25:06 *** dvladim has quit IRC (Ping timeout: 245 seconds) 2012-11-19T23:37:19 *** amstan has quit IRC (Quit: Konversation terminated!) 2012-11-19T23:47:23 *** djr_ has joined #aichallenge