00:08:23  * dan336quit (Quit: Leaving.)
01:06:07  * blessYahujoined
01:48:37  * DarkGodquit (Ping timeout: 245 seconds)
02:07:40  * piernovquit (Remote host closed the connection)
02:07:49  * a_lequit (Ping timeout: 244 seconds)
02:10:45  * piernovjoined
02:20:56  * UniOnquit (Remote host closed the connection)
02:28:05  * dan336joined
02:30:33  * piernovquit (Remote host closed the connection)
02:33:25  * piernovjoined
02:57:19  * kazuponjoined
03:15:08  * kazuponquit (Remote host closed the connection)
03:19:45  * kazuponjoined
04:09:42  * dan336quit (Quit: Leaving.)
04:17:28  * kazuponquit (Remote host closed the connection)
04:20:23  * a_lejoined
04:43:23  * dan336joined
05:38:56  * a_lequit (Remote host closed the connection)
06:09:29  * a_lejoined
06:14:36  * a_lequit (Ping timeout: 255 seconds)
06:20:36  * a_lejoined
06:20:52  * a_lequit (Remote host closed the connection)
06:21:43  * a_lejoined
06:26:30  * erlbot--_joined
06:31:31  * dan336quit (Quit: Leaving.)
06:37:15  * erlbot--quit (*.net *.split)
07:13:06  * a_lequit (Remote host closed the connection)
08:52:39  * Hotrootjoined
08:53:06  <Hotroot>Does anyone here use luvit-redis?
09:09:57  <Hotroot>Well, see y'all some day. I tried, but I can't deal with the libs.
09:10:01  * Hotrootpart
10:15:44  * typedlambdaquit (Ping timeout: 250 seconds)
11:09:15  * kazuponjoined
11:12:18  * kazuponquit (Remote host closed the connection)
11:41:20  * DarkGodjoined
11:43:47  * UniOnjoined
12:48:48  * DarkGodquit (Remote host closed the connection)
14:46:17  * kazuponjoined
16:08:52  * dan336joined
16:29:07  * dan336quit (Quit: Leaving.)
16:35:38  * kazuponquit (Remote host closed the connection)
16:50:18  * kazuponjoined
16:51:14  * a_lejoined
16:54:50  * kazuponquit (Ping timeout: 250 seconds)
17:13:37  * UniOnquit (Remote host closed the connection)
18:08:14  * a_lequit (Remote host closed the connection)
19:10:46  <creationix>rphillips: is it evil to pass structs by value in C? My struct contains a pointer sized integer and a mixed type that’s also pointer sized. (with a union)
19:11:30  <rphillips>yeah. best practice is to pass the pointer
19:12:08  <creationix>how do you keep from having a million mallocs/frees then?
19:13:02  <creationix>I’m trying a simple interpreter in C, my variable scope is represented as string/value pairs https://gist.github.com/creationix/65e98552af96d8c301c7#file-interpreter-c-L46-L49
19:13:33  <creationix>I’m using a null terminated array so the entire list is a single malloc (the number of local variables can be determined at parse time, so it’s static)
19:14:52  <creationix>but I’m returning the value by value here https://gist.github.com/creationix/65e98552af96d8c301c7#file-interpreter-c-L82
19:15:02  <creationix>so it would be better to return a pointer using & ?
19:16:18  <rphillips>right. you defense the memory location with & to reference the pointer
19:16:38  <rphillips>dereference*
19:19:49  <rphillips>return &pair->value;
19:20:28  <rphillips>or return &(pair->value);
19:20:33  <rphillips>same thing
19:35:07  <creationix>rphillips: thanks. I updated the gist https://gist.github.com/creationix/65e98552af96d8c301c7#file-interpreter-c-L54-L60
19:35:11  <creationix>Today is learn more C day
19:40:32  <rch>=]
19:41:48  * phorejoined
19:42:10  <rch>i was just looking at this: http://www.ti.com/general/docs/datasheetdiagram.tsp?genericPartNumber=PCM2912A&diagramId=SLES230 and wishing i were cool enough to use it to build some audio gear
19:43:09  <creationix>yeah, I’ve been slowly collecting electronic parts and learning more about analog and digital circuits. It’s a lot harder than I imagined
20:28:02  * UniOnjoined
21:53:18  * a_lejoined
21:59:37  * a_lequit (Ping timeout: 240 seconds)
22:31:25  * phorequit (Quit: looks like i ran out of coffee)
22:35:56  * a_lejoined
23:18:10  * phorejoined
23:59:18  * DarkGodjoined