jgiorgi-work | in this case i think i can just get rid of that socket altogether, it was the lazy way to do it | 00:29 |
---|---|---|
*** jgiorgi has quit IRC | 00:36 | |
*** jgiorgi-home has quit IRC | 00:36 | |
prologic | Good News | 01:11 |
prologic | looks like I can have git mirrors of the repos on github | 01:11 |
prologic | It's finally working for me | 01:11 |
prologic | https://github.com/circuits/circuits | 01:11 |
prologic | https://github.com/circuits/circuits-dev | 01:12 |
jgiorgi-work | sweet | 01:15 |
jgiorgi-work | logging off work pc | 01:15 |
*** jgiorgi-work has quit IRC | 01:15 | |
prologic | sweet? :) | 01:32 |
prologic | I thought you loved mercurial | 01:32 |
prologic | like me :) | 01:32 |
prologic | lol | 01:32 |
*** jgiorgi has joined #circuits | 02:24 | |
*** jgiorgi has quit IRC | 02:24 | |
*** jgiorgi has joined #circuits | 02:24 | |
*** jgiorgi has quit IRC | 04:25 | |
sz0ka | hey guyz | 08:30 |
prologic | heya | 08:34 |
sz0ka | ninkotech__: tdd is cool! | 09:03 |
sz0ka | prologic: erm are there any examples how to test single components? :D | 09:03 |
ninkotech__ | sz0ka: i would look into tests of circuits :) | 09:04 |
ninkotech__ | prologic: hi, do you think zeromq would play nice with circuits? i didnt try yet | 09:04 |
sz0ka | ninkotech__: good advise! Hehe btw. writing classes and methods agains tests makes development easier | 09:16 |
sz0ka | 'cuz you got a data structure which has to fit etc. | 09:16 |
sz0ka | could i show you an example testcase and you tell me if it is good or not :)? | 09:16 |
sz0ka | ninkotech__: http://pastebin.com/Y2DV9y2K <- if you've got a minute to take a look :3 | 09:18 |
prologic | ninkotech__, in theory anything should play nice with circuits | 09:19 |
prologic | even twisted | 09:19 |
prologic | which I'm working on :) | 09:19 |
prologic | so yes | 09:19 |
prologic | sz0ka, yes look at the unit tests | 09:19 |
sz0ka | prologic: cool! | 09:19 |
prologic | borrow/steal the new-style way of testing | 09:19 |
sz0ka | prologic: don't get the meaning of your sentence | 09:20 |
prologic | look for manager/watcher in tests/conftest.py | 09:20 |
prologic | you'll see things like | 09:20 |
prologic | @pytest.fixture | 09:20 |
prologic | def manager(...): | 09:20 |
prologic | and another one for watcher | 09:20 |
prologic | in fact | 09:20 |
prologic | cp -r tests into your own package | 09:20 |
prologic | and just rip all the tests out bar one new-style test | 09:20 |
prologic | :) | 09:20 |
prologic | I'll even make a repo template of this if you like | 09:20 |
prologic | with like a "Hello World!" style Component | 09:21 |
prologic | that's fully tested in this way | 09:21 |
prologic | how about I provide a full example? | 09:21 |
prologic | that'll make things more clear I think | 09:21 |
sz0ka | prologic: this'd be great! If you could invest some time into it i'd rebuild my tests and integrate it as a component | 09:22 |
sz0ka | :D | 09:22 |
sz0ka | (so I'd also rewrite my class) | 09:22 |
prologic | zaweeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeq2x | 09:23 |
prologic | OPPS | 09:23 |
prologic | oopps | 09:23 |
prologic | that was my daughter :) | 09:23 |
sz0ka | .____. | 09:23 |
sz0ka | heh sweet :D | 09:23 |
prologic | yeah it's no trouble at all | 09:23 |
prologic | I'll havE IT READY IN AN HOUR OR SO | 09:23 |
prologic | NEED TO HAVE DINNER FIRST | 09:23 |
prologic | argg Ali :) | 09:23 |
prologic | 2`1111111111!!!!!!`xssssssss | 09:24 |
sz0ka | prologic: perfectly! like we say in germany: Guten Appetit ;D! | 09:24 |
prologic | swwwwww36364444444444444444444444444444444444444444444444444444444444444444441` | 09:24 |
sz0ka | prologic: daughter or spam bot? | 09:24 |
prologic | qzd3l | 09:24 |
prologic | lol | 09:24 |
prologic | daughter :) | 09:24 |
prologic | `11````AQQQQQQQQQQ./p:" | 09:25 |
prologic | GOLLLLLLLLLLLLLLLLLLLLLH. | 09:25 |
prologic | MM IO O P[;' | 09:25 |
prologic | JNJHIOOPL;JKUJ IK | 09:25 |
sz0ka | prologic: lol, the def wait() would look much cooler in a lisp expression | 09:25 |
prologic | ? | 09:25 |
prologic | HAHA | 09:26 |
prologic | haha | 09:26 |
prologic | explain? | 09:26 |
prologic | you know what self.wait() is for right? | 09:26 |
prologic | e.g: | 09:26 |
prologic | x = self.fire(...) | 09:26 |
prologic | yield self.wait(...) | 09:26 |
sz0ka | yeah :D | 09:28 |
sz0ka | no it just goes straight to the right side of my display | 09:29 |
sz0ka | and every lisp sexp looks like this | 09:29 |
sz0ka | prologic: checkout hy, it is a python lisp which compiles into the python ast | 09:29 |
sz0ka | those freaks also implemented a thing they call "spy mode"... it prints the original python expression of your sexp :D | 09:30 |
sz0ka | it's very nice and the community is cool | 09:30 |
sz0ka | they did it by using decorator methods in their compiler to parse the hy source | 09:30 |
sz0ka | great pythonic approach! | 09:30 |
ircnotifier | 7f541bfda372 by sz0ka: hello_node.py: fixed typo in port from 8000 to 9000 (in the comments) | 10:07 |
ircnotifier | d96f9dd0f925 by sz0ka: Merged in sz0ka/hello_nodepy-fixed-typo-in-port-from-800-1376054112366 (pull request #1) | 10:07 |
ircnotifier | 89ffe74041b4 by prologic: Added a full complete example of test-driven development with circuits | 10:07 |
ircnotifier | f38eb6f9d753 by prologic: Closed | 10:07 |
prologic | sz0ka, in future could you not create named branches :) | 10:08 |
prologic | it gets messy and I prefer real independent clones :) | 10:09 |
prologic | i.e: fork/pull-request | 10:09 |
prologic | I actually dislike internal named branches (aka git style) | 10:09 |
prologic | anyway | 10:09 |
prologic | you have what you asked for now :) | 10:09 |
prologic | check it out | 10:09 |
prologic | examples/testing | 10:09 |
ircnotifier | 2e17ec4a3185 by prologic: Merged with master | 10:18 |
ircnotifier | 04ecbe5ddee7 by prologic: Closed | 10:18 |
sz0ka | prologic: yeah sure, the next time I'll ask you for the correct way so I can do leraning by doing :D | 10:49 |
sz0ka | thank you! I'll look for it :3 | 10:50 |
prologic | sz0ka, just don't use the "hg branch" command :) | 10:53 |
prologic | that's all | 10:53 |
sz0ka | i never used it, i used the bitbucket webinterface to do it | 10:58 |
prologic | ahh | 11:01 |
prologic | then don't :) | 11:01 |
prologic | just use the normal fork/pull-request stuff | 11:01 |
prologic | I didn't know bitbucket's ui has a "Create new internal named branch" button :0 | 11:01 |
prologic | where is it? | 11:01 |
sz0ka | prologic: ugh don't know.. all began with trying to edit the circuits-dev sources on your repo.. it asked me to fork etc.. | 11:07 |
prologic | hmm | 11:10 |
prologic | weird :) | 11:10 |
prologic | nevermind :) | 11:10 |
prologic | sz0ka, so has the examples/testing help you? | 11:51 |
*** ninkotech__ has quit IRC | 13:41 | |
*** ninkotech__ has joined #circuits | 13:41 | |
sz0ka | prologic: huhm .. I think I have to check it out when I'm fitter.. atm I'm a bit tierd and my brain isn't working correctly :3 | 13:48 |
sz0ka | prologic: i think adding documentation to every class and method would help a lot :D | 13:50 |
sz0ka | and i found a typo in the Readme "Hwllo World" | 13:50 |
*** ninkotech__ has quit IRC | 13:54 | |
prologic | and voila | 14:00 |
prologic | https://bitbucket.org/circuits/twistedintegration/src/55dd8201d3150a1546989371873a572fbc92b78b/circuitsreactor.py?at=default | 14:00 |
prologic | a Circuits Reactor is born | 14:00 |
prologic | hopefully allowing twisted apps and libraires to run atop circuits | 14:00 |
prologic | still yet to test it all | 14:00 |
prologic | bound to find edge cases and bugs | 14:00 |
prologic | but I've managed to implement all required interfaces | 14:00 |
prologic | sz0ka, please feel free to improve upon the docs | 14:01 |
prologic | there are lots of docs however | 14:02 |
prologic | but not everything is documented | 14:02 |
prologic | after a while you get lazy | 14:02 |
prologic | because all components work the same way | 14:02 |
sz0ka | prologic: cool thing that twisted reactor.. :D Okay I'll do when I get some spare time | 14:19 |
sz0ka | but atm. I'm overloaded with work | 14:19 |
sz0ka | I'm so happy that it is friday.. and 1:30 left until weekend | 14:19 |
prologic | we're all overloaded with work | 14:20 |
prologic | life | 14:20 |
prologic | et all :) | 14:20 |
prologic | I just sometimes occasionally find/make the time to do stuff that interests me :) | 14:20 |
sz0ka | prologic: unfortunately I'm not overloaded with "just work" .. I have to move to the end of the next month i think and i don't have a flat or appartment now.. | 14:33 |
sz0ka | I'm ill and have to fight against it.. that is the point which sucks most.. | 14:33 |
prologic | ahh the joys of moving :) | 14:41 |
prologic | what fun | 14:41 |
prologic | not :) | 14:41 |
sz0ka | prologic: indeed, i hate it.. | 15:05 |
sz0ka | but i also hate it to be @home | 15:05 |
prologic | well I'm off to bed finally | 17:00 |
prologic | we have almost fully working circuits<->twisted interopability | 17:00 |
prologic | wow | 17:00 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!