IRC Logs for #circuits Sunday, 2014-03-16

prologicit's awesome01:09
pdurbinI've used vagrant for a while. It works well for me01:12
*** epicmuffin has quit IRC01:50
*** epicmuffin has joined #circuits01:51
*** epicmuffin has quit IRC02:07
*** epicmuffin has joined #circuits02:13
prologicyeah folks keep comparing Vagrant to Docker02:21
prologicyou really cannot compare them02:21
prologicthey are almost polar opposites :)02:21
*** koobs has quit IRC06:39
*** koobs has joined #circuits06:49
*** qwebirc17859 has joined #circuits07:30
*** Bates has joined #circuits07:35
*** qwebirc17859 has quit IRC07:36
prologichi Bates07:48
Bateshello prologic :)07:59
BatesI talked to you through qwebirc a couple weeks ago and finally got around to getting a client.07:59
prologicahh08:00
prologica real client is better :) ihmo08:00
prologicwelcome back08:00
prologicwhat project were you working on in circuits?08:01
Batesi'm working on a tcp client/server for a commandline game08:01
Batesthat sends encrypted messages for no meaningful reason other than my grade :P08:02
Batesi actually had a question about TCPClient components disconnecting from TCPServer components08:04
BatesI'm kind of confused on the procedure for a client to disconnect from the server. I currently just have my client fire a close event, which calls self.stop() while my server doesn't really take any action. The client is able to exit ok with this approach, but the server seems to become unresponsive after this.08:14
prologicshouldn't :/08:18
prologicIs this circuits 3.0.0.ev?08:18
prologicWhat OS?08:18
Batesyes and win 808:19
Bates64 bit08:19
Batesis there some combination of the disconnect, disconnected, close or other event that I need to use or am not using properly perhaps?08:23
prologicdamn :/08:23
prologicI actually cannot developer, debug or test on Windows08:24
prologicat all really :/08:24
prologicno08:24
prologicfireing close() from the client is enough to close the connection08:24
prologicotherwise normal program termination of the client will also cleanup and close open sockets08:24
*** Bates_550 has joined #circuits08:29
*** Bates has quit IRC08:30
Bates_550Okay, so if I forget to close the server after it becomes unresponsive (like I just did) my computer doesn't quite freeze, but gets bad enough to the point where I can't close the server and have to hard reset.08:32
Bates_550I'll have to try it in a different environment I suppose.08:32
Bates_550I've never really experienced this, but it seems like a memory leak according to the vague description given here http://msdn.microsoft.com/en-us/library/ms859408.aspx08:34
Bates_550except that I don't get a notice about running low on memory08:34
prologichrmm08:42
prologicyeah I'm really sorry08:42
prologicbut I can't guarantee that circutis will function correctly on Windows 8 at all really08:42
prologicwe just don't have the resources to test, debug and develop against it08:42
prologicLinux/BSD/OS-X have much better support here08:43
Bates_550Yeah, I understand. Thanks for your help though :)08:43
prologicI wish I could help more08:44
prologicbut I have no access to Windows :)08:44
prologicand little experience with the platform08:44
*** Bates has joined #circuits09:06
*** Bates_550 has quit IRC09:09
*** Bates_550 has joined #circuits13:40
Bates_550Is there a good way to suspend a blocking call with an event? For example, suspend a call to input() with an event and perhaps resume after the event has completed.14:23
*** Bates has joined #circuits16:52
*** Bates_550 has quit IRC16:56
prologicyou will have to yield a generator19:55
prologicthat wraps that call in a thread19:55
prologicso yes :)19:55
prologicthere is19:55
prologicbut ideally you should use circuits.io.stdin for user input19:55
prologic:)19:55
spaceonehe's offline19:56
prologicoh :/19:59
prologicwell it's logged19:59
*** Bates has joined #circuits21:31
BatesHmm, so how would I go about reading from circuits.io.stdin?21:39
BatesI'm looking at http://circuits.readthedocs.org/en/latest/api/circuits.io.html#id1 but I'm kind of confused on how to use this.21:47
*** Bates has quit IRC22:43
*** qwebirc12446 has joined #circuits22:44
*** qwebirc12446 has quit IRC22:44
*** eriknw has quit IRC22:45
*** eriknw has joined #circuits22:57
prologichi eriknw23:05
*** qwebirc23714 has joined #circuits23:49
*** qwebirc23714 has quit IRC23:49
*** Osso has quit IRC23:55

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!