2012-12-18T06:55:18 *** pradi has joined #amclug 2012-12-18T07:26:36 *** ecthiender has joined #amclug 2012-12-18T07:39:14 *** ecthiender has quit IRC (Ping timeout: 272 seconds) 2012-12-18T07:51:54 *** ecthiender has joined #amclug 2012-12-18T07:52:16 *** arvind_khadri has joined #amclug 2012-12-18T08:01:51 arvind_khadri, wassup? 2012-12-18T08:02:15 ecthiender, finishing the maraa stuff. Mostly before lunch it should be done. 2012-12-18T08:02:36 ecthiender, the weed that you have got this time is good. Is it from Shimoga? 2012-12-18T08:02:40 arvind_khadri, cool. I could render the scene. but its in a bad shape. 2012-12-18T08:02:52 ecthiender, aah :) what is the problem? 2012-12-18T08:03:31 arvind_khadri, i dont know. the index.js file has so much unrelated code now, its hard to debug. i started from scratch in a new file and it worked. 2012-12-18T08:03:52 ecthiender, nice. 2012-12-18T08:03:53 arvind_khadri, the scene is rendered in top view. 2012-12-18T08:04:09 arvind_khadri, and no controls. adding the controls now. 2012-12-18T08:04:18 ecthiender, hmm 2012-12-18T08:04:31 arvind_khadri, I dont know from where the stuff is. VIshal gave it to us. didnt ask him. 2012-12-18T08:05:19 ecthiender, hmm ask him. I was thinking of scoring this stuff. I don't mind going to shimoga to get it, if it is affordable 2012-12-18T08:05:41 arvind_khadri, hmm ok. will do. 2012-12-18T08:05:54 ecthiender, isn't this one good? 2012-12-18T08:06:02 arvind_khadri, but I personally is not really a fan of this stuff. 2012-12-18T08:06:10 arvind_khadri, I wont go to shimoga to get this. 2012-12-18T08:06:16 ecthiender, hmmm :) 2012-12-18T08:19:11 ecthiender, models don't have id set by default? 2012-12-18T08:19:24 s/models/model's object 2012-12-18T08:19:30 s/models/model's object/ 2012-12-18T08:19:31 arvind_khadri: Error: I couldn't find a message matching that criteria in my history of 1000 messages. 2012-12-18T08:19:36 arvind_khadri, they do 2012-12-18T08:19:52 ecthiender, cid and id are same? 2012-12-18T08:20:12 arvind_khadri, no. 2012-12-18T08:21:04 ecthiender, hmm 2012-12-18T09:14:08 ecthiender, backbone does not generate id for a model's object. We have to generate the id. 2012-12-18T09:15:03 arvind_khadri, umm i am not sure. 2012-12-18T09:16:14 arvind_khadri, yeah. looks like you have to generate the ids. 2012-12-18T09:16:16 ecthiender, I found out from #documentcloud. We can use cid 2012-12-18T09:16:24 arvind_khadri, cids are generated by backbone; 2012-12-18T09:16:42 yes which is unique. 2012-12-18T09:16:50 cid = client id. backbone assumes id of the models are to be provided by the server. 2012-12-18T09:17:51 arvind_khadri, well unique upto a certain extent. like c12 and c13 and so on. its not a UUID. 2012-12-18T09:18:02 but unique in an application state. 2012-12-18T09:18:23 ecthiender, yes, which is what we need for now. 2012-12-18T09:18:31 like if you instatiate say 100 models, they will have 100 different cids. thats all. 2012-12-18T09:18:45 arvind_khadri, that you should think about. if we need cid or UUID. 2012-12-18T09:19:05 cid is good enough for now 2012-12-18T09:19:10 arvind_khadri, okay 2012-12-18T10:01:20 *** ecthiender has quit IRC (Ping timeout: 265 seconds) 2012-12-18T12:17:47 *** ecthiender has joined #amclug 2012-12-18T12:17:54 *** ecthiender has quit IRC (Read error: Connection reset by peer) 2012-12-18T12:18:28 *** ecthiender has joined #amclug 2012-12-18T12:27:55 *** ecthiender has quit IRC (Remote host closed the connection) 2012-12-18T12:30:40 *** ecthiender has joined #amclug 2012-12-18T12:43:56 ecthiender, M.foo = function(), do I have to define formal parameters when am doing this? 2012-12-18T12:44:08 arvind_khadri, yep. 2012-12-18T12:44:23 arvind_khadri, how else will you use them in the function? 2012-12-18T12:44:35 arvind_khadri, what are formal parameters btw? 2012-12-18T12:45:20 ecthiender, hmm. The function parameters that you are supposed to pass when calling a function. 2012-12-18T12:45:42 this is when you are declaring a function, in terms of C 2012-12-18T12:45:45 arvind_khadri, so to use them in the function, you get 'yield' them from somewhere. 2012-12-18T12:45:58 formal and actual parameters. 2012-12-18T12:46:20 arvind_khadri, like if you want to use say bar in the function foo, you have get it. 2012-12-18T12:47:07 aah I see, I am always confused about the syntax of function in JS, I have used at places without defining those params, and it worked 2012-12-18T13:41:49 *** ecthiender has quit IRC (Ping timeout: 246 seconds) 2012-12-18T15:31:13 *** pradi has quit IRC (Read error: Connection reset by peer) 2012-12-18T15:36:23 *** pradi has joined #amclug 2012-12-18T15:42:35 *** ecthiender has joined #amclug 2012-12-18T16:02:36 *** arvind_khadri has quit IRC (Ping timeout: 264 seconds) 2012-12-18T16:21:06 *** ecthiender has quit IRC (Ping timeout: 264 seconds) 2012-12-18T16:50:53 *** pradi has quit IRC (Quit: Leaving.) 2012-12-18T18:51:16 *** arvind_khadri has joined #amclug 2012-12-18T18:51:38 *** ecthiender has joined #amclug 2012-12-18T19:56:00 *** ecthiender has quit IRC (Ping timeout: 264 seconds) 2012-12-18T23:05:48 *** arvind_khadri has quit IRC (Ping timeout: 272 seconds)