00:11:18  * alejandromgjoined
00:26:23  * alejandromgquit (Ping timeout: 244 seconds)
00:31:46  * alejandromgjoined
00:45:34  * mralephjoined
00:50:12  <indutny_sleeping>hm...
00:50:17  <indutny_sleeping>creationix: interesting
00:51:35  * mralephquit (Quit: Leaving.)
00:52:29  <indutny_sleeping>creationix: btw, people seems to dislike @ and scope stuff
00:52:33  <indutny_sleeping>I mean *both*
00:53:19  <alejandromg>indutny_sleeping: do you have a roadmap for candor? I'd like to read it
00:55:12  <indutny_sleeping>alejandromg: I've a TODO
00:55:27  <creationix>I kinda preferred scope over @
00:55:53  <creationix>but from the VM's point of view, you can insert the scopes in the parser
00:56:46  <indutny_sleeping>creationix: yes
00:56:51  <indutny_sleeping>creationix: we can do as JS does
00:57:02  <indutny_sleeping>creationix: implicit scoping
00:57:03  <creationix>it's really easy at the parse stage to keep a list of seen variables in the local scope, and if one is referenced that's not local assume it's scoped in
00:57:39  <creationix>my preference is a close tie of implicit scoping or "scope" scoping
00:57:48  <creationix>@prefix looks really strange to me
00:57:55  <creationix>and I have to remember it every time I use a variable
00:58:03  <creationix>while "scope" i just have to don once a the start of a block
00:58:08  <indutny_sleeping>yeah
00:58:15  <indutny_sleeping>ok, let it be implicit scoping then
00:58:21  <indutny_sleeping>scope stuff is strange too
00:58:24  <creationix>my only real beef is the silent errors
00:58:26  <indutny_sleeping>confuses a lot of people
00:58:29  <creationix>they are a real pain to debug
00:58:49  <creationix>we don't need a full exception system
00:59:08  <creationix>but something would be nice other than just returning nil
00:59:36  <indutny_sleeping>ok, I'll think about it
00:59:37  <indutny_sleeping>gtg
00:59:39  <indutny_sleeping>sorry
00:59:40  <creationix>maybe a flag to run in strict mode (for development) where all errors exited the process immediately with a useful error message?
00:59:42  <creationix>ok
00:59:47  <indutny_sleeping>yeah
00:59:51  <indutny_sleeping>flag like that would be fine
01:00:09  <indutny_sleeping>ttyl
01:03:33  <creationix>and for non-strict mode, log a warning to stderr or something so it's still possible to do post-mortem debugging on live servers
01:09:48  <creationix>actually, if it's efficient, just let whoever is embedding candor decide. They give you a C callback function
01:31:21  * alejandromgquit (Ping timeout: 246 seconds)
02:51:05  * alejandromgjoined
03:00:58  * alejandromgquit (Quit: leaving)
03:47:12  * mmaleckichanged nick to mmalecki[zzz]
04:39:54  * creationixneeds to learn C++
04:40:10  <creationix>I'm trying to use this CWrapper class
05:28:50  <creationix>indutny_sleeping, something is wrong with the CWrapper constructor I think
05:31:43  <creationix>I subclassed CWrapper and created a new instance of my class
05:31:53  <creationix>I returned it to candor using Wrap()
05:32:10  <creationix>when I unwrap it on a different call, the pointer for my instance is way off
05:32:21  <creationix>and segfaults or acts randomly
06:42:24  <creationix>I ended up creating my own version of CWrapper that doesn't use double pointers. https://github.com/creationix/candor.io/blob/master/src/luv_timer.cc#L71-79
06:42:26  <creationix>it seems to work
06:42:29  <creationix>I'm off to bed now
08:58:00  * indutny_sleepingchanged nick to indutny
08:58:48  <indutny>creationix: hey
08:58:52  <indutny>are you still up?
09:01:13  <indutny>anyone up here?
09:41:33  <indutny>lexical scoping implemented https://github.com/indutny/candor/commit/dafbc05a433d4eaf8cf9db8985cb3fab1a6fdfa7
09:41:36  <indutny>gtg
09:41:39  * indutnychanged nick to indutny_away
09:41:43  <indutny_away>going to get my books from UPS
10:53:07  * mmalecki[zzz]changed nick to mmalecki
11:53:59  * indutny_awaychanged nick to indutny
13:05:27  * mmaleckichanged nick to mmalecki[away]
13:13:19  <indutny>creationix: removed readline stuff, will use fgets :)
13:26:15  * alejandromgjoined
14:03:04  * alejandr1mgjoined
14:05:41  * alejandromgquit (Read error: Connection reset by peer)
14:06:59  <indutny>cool
14:07:05  <indutny>implemented mod,shl, shr
14:21:20  * mmalecki[away]changed nick to mmalecki
15:38:42  * alejandr1mgquit (Ping timeout: 244 seconds)
15:46:40  * alejandromgjoined
15:53:53  * alejandromgquit (Read error: Connection reset by peer)
22:35:46  * mmalecki_joined
22:38:36  * mmaleckiquit (Ping timeout: 265 seconds)
22:38:40  * mmalecki_quit (Client Quit)
22:38:53  * mmaleckijoined