<< 03-05-2016 >>

00:03:24*drs quit (Quit: leaving)
00:05:03*gokr quit (Ping timeout: 240 seconds)
00:17:54*yglukhov joined #nim
00:22:32*yglukhov quit (Ping timeout: 260 seconds)
00:40:52*space-wi_ joined #nim
00:43:32*space-wizard quit (Ping timeout: 260 seconds)
00:52:21*fredrik92 quit (Read error: Connection reset by peer)
00:54:12*yglukhov joined #nim
00:59:18*yglukhov quit (Ping timeout: 276 seconds)
01:20:30*jeffc quit (Remote host closed the connection)
01:22:23*space-wi_ quit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:26:26*space-wizard joined #nim
01:44:19*bozaloshtsh joined #nim
02:12:01*jeffc joined #nim
02:12:51*bozaloshtsh quit (Changing host)
02:12:51*bozaloshtsh joined #nim
02:13:09*bozaloshtsh left #nim ("WeeChat 1.4")
02:13:11*bozaloshtsh joined #nim
02:19:08*jeffc quit (Remote host closed the connection)
02:27:18*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:34:58*space-wizard joined #nim
02:42:49*yglukhov joined #nim
02:46:15*ray- quit (Changing host)
02:46:15*ray- joined #nim
02:46:17*ray- is now known as \u
02:47:51*yglukhov quit (Ping timeout: 276 seconds)
02:56:27*brson quit (Quit: leaving)
03:07:24*yglukhov joined #nim
03:11:42*yglukhov quit (Ping timeout: 244 seconds)
03:19:55*jeffc joined #nim
03:24:03*jeffc quit (Ping timeout: 240 seconds)
03:51:42*seguleh joined #nim
04:02:20*kingofoz quit (Read error: Connection timed out)
04:02:46*kingofoz joined #nim
04:15:04*dariusc93 quit (Ping timeout: 260 seconds)
04:20:47*darius93 joined #nim
04:29:10*hcorion joined #nim
04:29:48*jeffc joined #nim
04:34:23hcorionHi all, I'm having trouble with Nim's SDL2, I'm trying to follow this C SDL2 tutorial: http://lazyfoo.net/tutorials/SDL/08_geometry_rendering/index.php but I'm having trouble creating a Rect, the instructions are like this: SDL_Rect fillRect = { SCREEN_WIDTH / 4, SCREEN_HEIGHT / 4, SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2 }; , and Nim's Rect is like this: Rect* = tuple[x, y: cint, w, h: cint] but I can't seem to create it, can anybody give me some guidance?
04:37:23*jeffc_ joined #nim
04:37:23*jeffc quit (Read error: Connection reset by peer)
04:44:06*dmi0 quit (Ping timeout: 246 seconds)
04:44:33*lucus16 quit (Quit: No Ping reply in 180 seconds.)
04:45:45*lucus16 joined #nim
04:51:00*rkj-b joined #nim
04:52:20*seguleh quit (Ping timeout: 250 seconds)
04:55:18*rkj-b quit (Client Quit)
04:55:56*yglukhov joined #nim
05:01:06*yglukhov quit (Ping timeout: 276 seconds)
05:20:27*yglukhov joined #nim
05:25:20*yglukhov quit (Ping timeout: 276 seconds)
05:41:02*yglukhov joined #nim
05:48:28*yglukhov quit (Remote host closed the connection)
05:51:09*yglukhov joined #nim
05:58:08*dyce quit (Remote host closed the connection)
06:00:57*dyce joined #nim
06:07:19*dyce quit (Remote host closed the connection)
06:10:03*dyce joined #nim
06:13:54*yglukhov quit (Remote host closed the connection)
06:19:07*yglukhov joined #nim
06:23:44*yglukhov quit (Remote host closed the connection)
06:27:24*jeffc_ quit (Remote host closed the connection)
06:44:31*chemist69 joined #nim
06:49:37*hcorion quit (Remote host closed the connection)
07:06:33*themagician quit (Ping timeout: 246 seconds)
07:07:46*themagician joined #nim
07:09:42*infrashortfoo joined #nim
07:10:36*infrashortfoo left #nim (#nim)
07:12:57*gokr joined #nim
07:14:01*themagician quit (Ping timeout: 244 seconds)
07:14:46*themagician joined #nim
07:21:15*themagician quit (Ping timeout: 244 seconds)
07:21:46*themagician joined #nim
07:28:51*jeffc joined #nim
07:33:09*jeffc quit (Ping timeout: 246 seconds)
07:35:03*themagician quit (Ping timeout: 240 seconds)
07:35:44*themagician joined #nim
07:38:20*tankfeeder joined #nim
07:42:26*themagician quit (Ping timeout: 244 seconds)
07:42:44*themagician joined #nim
07:48:29*tankfeeder left #nim ("Leaving")
07:56:22*themagician quit (Ping timeout: 260 seconds)
07:58:15*CARAM__ quit (Ping timeout: 276 seconds)
07:58:16*M-max quit (Ping timeout: 276 seconds)
07:58:16*cnu_ quit (Ping timeout: 276 seconds)
07:58:17*bozaloshtsh quit (Ping timeout: 276 seconds)
07:58:17*huonw quit (Ping timeout: 276 seconds)
07:58:22*huonw_ joined #nim
07:58:28*cnu- joined #nim
07:58:34*avsej quit (Excess Flood)
07:58:54*jck_ quit (Read error: Network is unreachable)
07:59:24*jck_ joined #nim
08:00:41*avsej joined #nim
08:00:41*avsej quit (Changing host)
08:00:41*avsej joined #nim
08:01:53*M-max joined #nim
08:03:39*themagician joined #nim
08:08:45*CARAM__ joined #nim
08:10:25*bozaloshtsh joined #nim
08:15:45*Trustable joined #nim
08:17:22*themagician quit (Ping timeout: 260 seconds)
08:17:41*themagician joined #nim
08:37:48*ephja joined #nim
08:54:24*elrood joined #nim
08:59:50*themagician quit (Ping timeout: 276 seconds)
09:10:36*Demon_Fox quit (Quit: Leaving)
09:46:37*MyMind is now known as sembei
11:01:08*jeffc joined #nim
11:03:24*themagician joined #nim
11:06:49*jeffc quit (Ping timeout: 252 seconds)
11:18:39*themagician quit ()
11:59:29*BitPuffin joined #nim
12:02:46*seguleh joined #nim
12:06:08*cheatfate joined #nim
12:28:06*Gonzih joined #nim
12:33:19*cheatfate quit (Ping timeout: 244 seconds)
12:41:51*PMunch joined #nim
12:51:53*jeffc joined #nim
13:07:29*jck_ quit (Ping timeout: 276 seconds)
13:18:44*dmi0 joined #nim
13:20:38*seguleh quit (Ping timeout: 250 seconds)
13:39:09*boop quit (Ping timeout: 260 seconds)
13:39:58*elrood quit (Quit: Leaving)
13:42:51*boop joined #nim
14:16:05*seguleh joined #nim
14:21:05*jeffc quit (Remote host closed the connection)
14:36:46*Sentreen joined #nim
14:38:03*Sentreen quit (Client Quit)
15:03:15*gokr quit (Ping timeout: 246 seconds)
15:03:50*jeffc joined #nim
15:07:03*PMunch quit (Ping timeout: 240 seconds)
15:21:51*cheatfate joined #nim
15:44:21*Jesin quit (Quit: Leaving)
15:52:26*lucus16 left #nim ("-")
16:06:57*gokr joined #nim
16:09:36*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
16:10:26*seguleh quit (Quit: Page closed)
16:15:53*space-wizard joined #nim
16:41:28*arnetheduck quit (Ping timeout: 250 seconds)
16:54:39*libman joined #nim
17:00:00*brson joined #nim
17:02:38*gokr quit (Read error: Connection reset by peer)
17:19:24*elrood joined #nim
17:20:22*bozaloshtsh quit (Changing host)
17:20:23*bozaloshtsh joined #nim
17:54:44*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
17:56:51*space-wizard joined #nim
17:57:26*space-wizard quit (Max SendQ exceeded)
17:58:03*space-wizard joined #nim
18:09:19zodiak_quick/stupid question.. should the parseJson method in json library be recursive ?
18:09:41zodiak_it seems to do the top level stuff fine, but doesn't seem to iterate down into seqs/etc
18:09:57zodiak_jst wondering if I am using it wrong
18:18:25federico3odd
18:23:13dom96zodiak_: pretty sure it is recursive, why do you think otherwise?
18:23:42zodiak_well, when I am pulling back a stored json blob from rethinkdb .. it's jst giving me JsonNode's and stopping
18:23:49zodiak_maybe the problem is inside the rethinkdb driver
18:23:54zodiak_let me dig a bit
18:24:30dom96zodiak_: JsonNode's are recursive though, no?
18:24:54zodiak_seems to be, yup
18:26:04zodiak_I was thinking that the json parse was sort of like Marshall .. so I could jst use the types 'as is'
18:37:21flyxzodiak_: you can do that with NimYAML, it can process and output JSON and work with native types
18:37:43zodiak_spiffy. let me try that
18:38:26flyxthere is a JSON example here: http://flyx.github.io/NimYAML/index.html
18:39:22zodiak_dear gods.. +1 for documentation :)
18:43:33*BitPuffin quit (Remote host closed the connection)
18:46:48zodiak_flyx: any reason for the 0.13.1 nim ? I have 0.13.0 (latest published ;)
18:47:03zodiak_wondering if I can get away with git clone and change the nimble file ;)
18:47:23flyxzodiak_: yes, parts of NimYAML depend on fixes that are post-0.13.0
18:47:29zodiak_aahhh
18:47:35flyxbut not everything
18:47:49flyxyou can change it and see if what you want to do with it works
18:49:16*RushPL joined #nim
18:50:20zodiak_(thumbsup)
18:50:22flyxyou do not even need to change the nimble file, just put the source in your project
18:50:59zodiak_even easier
18:51:08zodiak_dankeschoen
18:51:13flyxas most things in NimYAML are generic, they are not instantiated unless you use them, so you may get away with using 0.13.0 :)
18:53:06*space-wizard quit (Ping timeout: 276 seconds)
18:56:20dom96zodiak_: nope, that's not how the `json` module works :)
18:56:37dom96I tend to prefer the way it works over the marshalling
18:56:57dom96because you have the freedom to ignore certain parts of the json that way
18:58:23zodiak_dom96: understand, it jst brings back nightmares of the maybe monad ;)
18:58:44flyxthat's of course also possible with NimYAML ;)
19:08:26*space-wizard joined #nim
19:42:19*space-wizard quit (*.net *.split)
19:42:19*jeffc quit (*.net *.split)
19:42:19*ldleworker quit (*.net *.split)
19:42:19*sarlalian_ quit (*.net *.split)
19:42:20*apotheon quit (*.net *.split)
19:42:20*mtj_ quit (*.net *.split)
19:42:20*rektide_ quit (*.net *.split)
19:42:20*cheatfate quit (*.net *.split)
19:42:20*Gonzih quit (*.net *.split)
19:42:21*dyce quit (*.net *.split)
19:42:21*allan0 quit (*.net *.split)
19:42:21*pigmej quit (*.net *.split)
19:42:21*gunn_ quit (*.net *.split)
19:42:21*vendethiel quit (*.net *.split)
19:42:21*wh1t3r0s3 quit (*.net *.split)
19:42:21*nsf quit (*.net *.split)
19:42:21*zodiak_ quit (*.net *.split)
19:42:21*jonafato quit (*.net *.split)
19:42:21*BlaXpirit quit (*.net *.split)
19:42:21*M-Quora quit (*.net *.split)
19:42:21*Vivek quit (*.net *.split)
19:43:45*dyce_ joined #nim
19:45:06*nchambers is now known as mute
19:45:23*mute is now known as nchambers
19:49:00*silven quit (Ping timeout: 276 seconds)
19:49:32*silven joined #nim
19:51:37*cheatfate joined #nim
19:51:37*Gonzih joined #nim
19:51:37*allan0 joined #nim
19:51:37*pigmej joined #nim
19:51:37*gunn_ joined #nim
19:51:37*vendethiel joined #nim
19:51:37*zodiak_ joined #nim
19:51:37*wh1t3r0s3 joined #nim
19:51:37*nsf joined #nim
19:51:37*jonafato joined #nim
19:51:37*BlaXpirit joined #nim
19:51:37*M-Quora joined #nim
19:51:37*Vivek joined #nim
19:51:39*space-wizard joined #nim
19:51:39*jeffc joined #nim
19:51:39*ldleworker joined #nim
19:51:39*sarlalian_ joined #nim
19:51:39*apotheon joined #nim
19:51:39*mtj_ joined #nim
19:51:39*rektide_ joined #nim
20:16:12*Jesin joined #nim
20:23:33*der-landgraf quit (Quit: WeeChat 1.4)
20:26:32*der-landgraf joined #nim
20:29:02*gokr joined #nim
20:49:21*draynium quit (Max SendQ exceeded)
21:12:43*Demon_Fox joined #nim
21:17:34*elrood quit (Quit: Leaving)
21:23:53*Trustable quit (Remote host closed the connection)
21:47:33*zodiak_ quit (Ping timeout: 240 seconds)
22:10:53*gokr quit (Ping timeout: 276 seconds)
22:18:43*Matthias247 joined #nim
22:21:17*ephja quit (Ping timeout: 244 seconds)
22:23:03*cheatfate quit (Ping timeout: 240 seconds)
22:50:23*Matthias247 quit (Read error: Connection reset by peer)
22:51:49*draynium joined #nim
22:52:22*PMunch joined #nim
23:06:35*alexsystemf__ joined #nim
23:30:28*ephja joined #nim
23:46:17*Gitaxis joined #nim