fluid-tech IRC Logs-2013-07-18

fluid-tech IRC Logs-2013-07-18

[12:10:36 CDT(-0500)] <kasparnet> yzen:

[12:10:39 CDT(-0500)] <kasparnet> ping

[12:10:58 CDT(-0500)] <kasparnet> I'm gonna ask you a question and then shamelessly run away in 4 minutes

[12:12:37 CDT(-0500)] <kasparnet> If I want to launch the GPII via IOC, would it be a "gpii.server" (ie. gpiiFramework/server.js) or something else?

[12:12:48 CDT(-0500)] <kasparnet> also, is it possible to shut down the server again?

[13:05:02 CDT(-0500)] <kasparnet> yzen ^

[13:05:28 CDT(-0500)] <yzen> kasparnet: you again

[13:05:43 CDT(-0500)] <yzen> kasparnet: so it depends what you start but yes gpii.server is the top level thing

[13:05:59 CDT(-0500)] <kasparnet> I want to start the whole f***ing thing

[13:06:02 CDT(-0500)] <yzen> kasparnet: at the same time you can have multiple servers if necessary

[13:06:11 CDT(-0500)] <kasparnet> I just want one server

[13:06:23 CDT(-0500)] <kasparnet> but I want to be able to start it with different configs

[13:06:26 CDT(-0500)] <kasparnet> for each test

[13:06:36 CDT(-0500)] <kasparnet> ... or well, prob. for each batch of tests

[13:07:15 CDT(-0500)] <kasparnet> yzen: is there a way to kill the server once started?

[13:07:42 CDT(-0500)]

<yzen> kasparnet: so you you will have something like var gpiiSever = gpii.server(

Unknown macro: {…}

); to stop you do gpiiServer.server.close()

[13:08:03 CDT(-0500)] <yzen> kasparnet: then you can even delete the javascript object if you'd like

[13:08:22 CDT(-0500)] <kasparnet> ok cool!! thanks

[13:08:34 CDT(-0500)] <yzen> kasparnet: np

[13:55:34 CDT(-0500)] <nanook_> colinclark: hey!

[13:56:41 CDT(-0500)] <nanook_> sorry about yesterday! got caught up with some work and it was really late by the time I got home

[13:57:31 CDT(-0500)] <colinclark> hi nanook

[13:57:32 CDT(-0500)] <colinclark> no worries

[13:57:46 CDT(-0500)] <nanook_> what's up?

[13:57:52 CDT(-0500)] <nanook_> are you free today?

[14:01:09 CDT(-0500)] <colinclark> Sadly, I'm all booked up

[14:01:56 CDT(-0500)] <nanook_> colinclark: no issues. when will you be free next?

[14:02:13 CDT(-0500)] <colinclark> I'm free at about 7:30 pm EDT tonight, but that's probably too late for you

[14:02:16 CDT(-0500)] <colinclark> Or free before noon tomorrow

[14:03:54 CDT(-0500)] <nanook_> colinclark: how late are you up usually?

[14:19:58 CDT(-0500)] <colinclark> hmm

[14:20:03 CDT(-0500)] <colinclark> usually until about 11 pm EDT

[15:29:15 CDT(-0500)] <kasparnet> daaaaamn you antranique Bosmon

[15:35:35 CDT(-0500)] <Bosmon> KASSPPAARRRNETTTTT!!!!!!

[15:35:38 CDT(-0500)] <Bosmon> kasparnet

[15:38:21 CDT(-0500)] <nanook_> colinclark: You can ping me anytime you're free tomorrow morning/noon. I'll be here.

[15:50:55 CDT(-0500)] <kasparnet> bosmon: ok, I'm alive again

[15:51:20 CDT(-0500)] <kasparnet> so I'm back at my integration tests

[15:52:29 CDT(-0500)] <kasparnet> https://github.com/kaspermarkus/linux/blob/GPII-20/tests/integrationTesting2.js

[15:53:14 CDT(-0500)] <kasparnet> so, I haven't reached the point where I generate the test-fixtures with modeltransformation, etc

[15:53:27 CDT(-0500)] <kasparnet> for now I just wanted to make sure that I can set up the flow of things

[15:53:42 CDT(-0500)] <kasparnet> ... anyway, I'm not sure if I'm using the framework correctly

[15:54:48 CDT(-0500)] <kasparnet> for example the login functionality (see line 108)... the system just finishes without waiting for the callbacks to be done

[15:55:13 CDT(-0500)] <kasparnet> (and not using jqUnit stop/start, I'm not sure how it could now)

[15:55:18 CDT(-0500)] <Bosmon> kasparnet - sure, it's because you have no listener registered after the block that triggers it

[15:55:28 CDT(-0500)] <Bosmon> No, you don't get to use stop/start any more

[15:55:44 CDT(-0500)] <Bosmon> If you place a listener block following the login block, then the system will wait for it to trigger

[15:56:17 CDT(-0500)] <kasparnet> but then I'd have to expose the callback from the http request as an event of the system?

[15:56:36 CDT(-0500)] <Bosmon> "of course"

[15:56:43 CDT(-0500)] <Bosmon> How else could decency be served

[15:56:49 CDT(-0500)] <kasparnet> hahaha

[15:57:06 CDT(-0500)] <kasparnet> ... so much work

[15:57:12 CDT(-0500)] <Bosmon> You can always just write a listener on your test case environment if you don't want to be bothered with that... but you may as well turn your HTTP engine into a proper Fluid component in any case

[15:57:18 CDT(-0500)] <kasparnet> life was simpler when it was all about burning and looting

[15:58:53 CDT(-0500)] <Bosmon> Yes, this is the most obvious victory of the British over their would-be Viking overlords

[15:58:58 CDT(-0500)] <Bosmon> An Asynchronous Testing Framework

[16:00:11 CDT(-0500)] <kasparnet> indeed, the symbol of the British Supremacy - the Guardians of Decency

[16:00:43 CDT(-0500)] <Bosmon> Or at the very least, the Guardians of Not Doing Things Terribly Badly