**** BEGIN LOGGING AT Tue Jun 12 03:00:05 2018 Jun 12 07:22:21 zeekhuge: Wormo : abhishek_ : Hello, there? Jun 12 07:29:45 muneeb17: not sure. what is it ? go ahead .. Jun 12 07:31:06 zeekhuge: I have written the server and made an example demo app here https://github.com/MuneebMohammed/PRUSS-Bindings/tree/master/examples/node-example Jun 12 07:33:43 zeekhuge: the thing is that the event wait is blocking the node server and i cant use callbacks on the eventwait wrapper function. So, was thinking of other ways for async wait. Jun 12 07:36:39 Yeah. Maybe thats when we find `SWIG` less useful. Jun 12 07:36:49 The thing is, all calls to the daemon are I/Os Jun 12 07:37:09 and nodejs, the way it is, never waits for I/Os Jun 12 07:37:27 its instead based on callbacks Jun 12 07:37:48 but, since these bindings are generated by `SWIG`, I am not sure how that will work. Jun 12 07:38:35 zeekhuge: for now, the server blocks and waits for the event to happen Jun 12 07:39:03 What ZeekHuge said Jun 12 07:39:30 Wait ! I am not sure how nodejs behaves with Unix-ports. Jun 12 07:40:26 but it should still consider them as I/O only, and should do them async-ly Jun 12 07:41:28 ravikp7: any idea about this ^ Jun 12 07:42:11 ultimately .. unix ports are files, so It should consider them I/O Jun 12 07:42:36 I tried using promises here like this : https://github.com/MuneebMohammed/PRUSS-Bindings/blob/48017f243642954fcb2f2829e0e2ac4bab3bfe25/examples/node-example/server.js#L52 , but it still blocks Jun 12 07:42:57 AFAIK nodejs uses libuv for IO Jun 12 07:45:09 No Promises are no magic Jun 12 07:45:20 nodejs code is always single threaded Jun 12 07:46:35 Promises are just, kind of postponing tasks. Jun 12 07:48:00 zeekhuge: yeah, one workaround is adding another thread and then signaling the server, maybe use libuv for that? Jun 12 07:48:37 I would say that the problem is with the bindings. not with the server-code. Jun 12 07:48:53 But, since we are using `SWIG` not sure how to resolve them Jun 12 07:49:33 unless you write nodejs bindings separately .. which, I dont think would be difficult. Jun 12 07:50:04 Also, swig doesnt generate node bindings for node version>7 Jun 12 07:50:13 should mostly take one day, sonce you are already in the nodejs-mode. Jun 12 07:50:36 :s/sonce/since/ Jun 12 07:51:39 zeekhuge: yeah, I'll work on it today. Jun 12 07:51:59 abhishek_: ^ any thoughts ? Jun 12 07:52:25 Wormo: ^ Jun 12 07:55:38 I had thought that nodejs might have needed special bindings, it seems justified now Jun 12 07:58:15 abhishek_: zeekhuge : Ok then, I'll work on them and ping you when its completed. Jun 12 07:59:39 Also, about the general timeline of the project, it would be great if we could chalk it out now? Jun 12 08:01:12 muneeb17: what week is this ? with respect to the project ? also report ? Jun 12 08:01:57 This is Week 4 Jun 12 08:02:14 Week 4 completed Jun 12 08:02:51 I'll submit the report now, with a plan of next week too Jun 12 09:07:03 welsh: You there? Jun 12 09:08:02 Have you checked my emails? Jun 12 09:47:03 muneeb17: you can always mention the issues/problems you faced/are stuck at in the report. Jun 12 20:44:03 evaluations are now open! Jun 12 20:52:27 anyone seen anuj lately? Jun 12 23:21:54 vaishnav98_: you around? not exactly a normal time to be around, but checking. Jun 12 23:58:22 vaishnav98_, anujdeshpande[m]: I think I'm getting close on a test-rpc.js Jun 12 23:58:31 about to actually run it. **** ENDING LOGGING AT Wed Jun 13 03:00:01 2018