<< 18-10-2015 >>

00:14:15desophoslooks like the SFML wrapper is no longer actively developed :/ which graphics library would you suggest i use? there appear to be several SDL wrappers: graphics, sdl1, sdl2
00:14:22desophosi suppose sdl2 would be best
00:16:59dom96I would say use the SFML wrappers.
00:17:25dom96You can always extend them easily yourself.
00:18:39desophossure, easily if i knew C, SFML, or Nim :p
00:19:36desophos*and
00:25:54desophoshttps://github.com/BlaXpirit/nim-csfml/issues/6 seems like a big problem
00:28:43AraqI use SDL 2.
00:34:39*jaco60 quit (Ping timeout: 240 seconds)
00:41:30*bjz quit (Ping timeout: 260 seconds)
00:41:43*bjz joined #nim
00:53:23*strcmp1 quit (Quit: bbs)
00:58:30desophosAraq, sdl2 requires nim > 0.11.2
00:58:34desophosis that a typo?
00:58:56Araqha, I wish I knew.
00:58:59desophosi thought i could fix it by compiling from source but i still have 0.11.2
00:59:30*vendethiel quit (Ping timeout: 255 seconds)
00:59:36AraqNimble should not allow '>'.
00:59:40Araqit makes no sense.
00:59:57Araq"I tested it with version > 0.11.2 and it worked!"
01:00:16Araqno, you didn't, you tested it with ">= 0.11.3" then!
01:05:09*strcmp1 joined #nim
01:06:21Araqexclusive bounds are not constructive.
01:11:10dom96Araq: You should know if it's a typo https://github.com/nim-lang/sdl2/commit/5808c60469eded388fc65ebc9b88714b4a94fcc8
01:12:31Araqpfff
01:19:30*bjz_ joined #nim
01:20:06*bjz quit (Ping timeout: 250 seconds)
01:29:06*askatasuna joined #nim
01:32:20*dashed quit (Quit: Connection closed for inactivity)
01:39:49ldleworkAraq: are you making a game or something? :)
03:00:02*xxx quit (Ping timeout: 244 seconds)
03:01:59*pwzoii quit (Ping timeout: 252 seconds)
03:03:12*xxx joined #nim
03:03:16*xxx is now known as Guest36282
03:03:36*pwzoii joined #nim
03:06:03*darkf joined #nim
03:09:54ldleworkthis is quite a read, http://eev.ee/blog/2015/02/28/sylph-the-programming-language-i-want/
03:11:04*coryg joined #nim
03:26:58ldleworkI wish I could understand entoody
03:58:26*vqrs quit (Ping timeout: 260 seconds)
03:59:54*vqrs joined #nim
04:09:36*Sornaensis is now known as THE_LORD
04:57:35*rektide_ joined #nim
04:57:37*delian66 joined #nim
04:57:37*SianaGea1z joined #nim
05:02:51*jakesyl quit (*.net *.split)
05:02:51*lokulin quit (*.net *.split)
05:02:52*federico3 quit (*.net *.split)
05:02:52*ldlework quit (*.net *.split)
05:02:52*delian66_ quit (*.net *.split)
05:02:52*Guest4360 quit (*.net *.split)
05:02:52*n1ftyn8_ quit (*.net *.split)
05:02:52*rektide quit (*.net *.split)
05:02:52*SianaGearz quit (*.net *.split)
05:02:52*nchambers quit (*.net *.split)
05:02:52*EastByte_ quit (*.net *.split)
05:02:52*mikolalysenko quit (*.net *.split)
05:02:53*titanomachy quit (*.net *.split)
05:02:53*dom96 quit (*.net *.split)
05:02:53*tstm quit (*.net *.split)
05:02:53*someplace quit (*.net *.split)
05:03:29*titanomachy joined #nim
05:03:47*dom96 joined #nim
05:03:52*someplace joined #nim
05:09:19*mikolalysenko joined #nim
05:09:42*EastByte_ joined #nim
05:10:02*jakesyl joined #nim
05:10:26*tstm joined #nim
05:10:34*federico3 joined #nim
05:11:21*Guest4360 joined #nim
05:11:36*lokulin joined #nim
05:12:11*nchambers joined #nim
05:12:42*n1ftyn8_ joined #nim
05:17:03*ldlework joined #nim
06:15:19*coryg quit (Ping timeout: 240 seconds)
06:29:10*bjz_ quit (Ping timeout: 260 seconds)
06:35:34*Senketsu quit (Quit: Leaving)
06:40:26*bjz joined #nim
07:00:29*iamd3vil joined #nim
07:00:50*iamd3vil left #nim (#nim)
07:02:50*xet7 joined #nim
07:21:26*bjz quit (Ping timeout: 260 seconds)
07:23:17*smodo joined #nim
07:23:36*bjz joined #nim
07:29:03*strcmp1 quit (Remote host closed the connection)
08:01:44*gmpreussner|work quit (Read error: Connection reset by peer)
08:07:49*strcmp1 joined #nim
08:43:41*barosl quit (Quit: Leaving)
08:49:25*Ven joined #nim
08:50:03*vendethiel joined #nim
08:51:23*Ven quit (Client Quit)
08:56:23*barosl joined #nim
09:16:17*barosl quit (Quit: Leaving)
09:23:59*bjz quit (Ping timeout: 240 seconds)
09:26:49*barosl joined #nim
09:50:26*bjz joined #nim
09:54:43*boopsiesisaway is now known as boopsies
10:13:06*jaco60 joined #nim
10:15:04*yglukhov joined #nim
10:19:10*yglukhov quit (Ping timeout: 240 seconds)
10:25:50*bjz_ joined #nim
10:26:56*Matthias247 joined #nim
10:27:05*bjz quit (Ping timeout: 250 seconds)
10:45:30*Trustable joined #nim
10:45:41reactormonkldlework, got it to work?
10:46:10ldleworkreactormonk: what specifically?
10:46:22reactormonkldlework, nim-mode + nimsuggest
10:46:29ldleworknope
10:47:32reactormonkldlework, got nimsuggest in PATH?
11:12:49*rollo joined #nim
11:16:26*yglukhov joined #nim
11:18:30*bjz joined #nim
11:19:44*bjz_ quit (Ping timeout: 246 seconds)
11:20:42*yglukhov quit (Ping timeout: 250 seconds)
11:30:27*strcmp1 quit (Remote host closed the connection)
11:43:58*luyifan joined #nim
11:52:56*Ven joined #nim
11:53:49*Ven quit (Read error: Connection reset by peer)
11:53:51*Ven_ joined #nim
12:17:00*darkf_ joined #nim
12:19:59*darkf quit (Ping timeout: 240 seconds)
12:21:29*vendethiel quit (Remote host closed the connection)
12:28:50*strcmp1 joined #nim
12:28:59*smodo quit (Ping timeout: 264 seconds)
12:29:38*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:42:23*Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png)
12:50:50*vendethiel joined #nim
12:52:13*darkf_ is now known as darkf
12:56:06*elrood joined #nim
13:10:52*r-ku quit (Quit: ZNC - http://znc.in)
13:12:43*r-ku joined #nim
13:17:43*yglukhov joined #nim
13:22:23*yglukhov quit (Ping timeout: 264 seconds)
13:29:41*elrood quit (Quit: Leaving)
14:05:35*CARAM__ quit (Ping timeout: 264 seconds)
14:08:03*CARAM__ joined #nim
14:17:01*coryg joined #nim
14:23:45*agatan joined #nim
14:25:10*iamd3vil joined #nim
14:28:16*iamd3vil quit (Client Quit)
14:31:18*agatan quit (Quit: Page closed)
14:34:15*Ven_ joined #nim
14:34:42*Ven_ quit (Read error: Connection reset by peer)
14:35:07*Ven_ joined #nim
14:36:37*vendethiel quit (Read error: Connection reset by peer)
14:46:36*Matthias247 quit (Read error: Connection reset by peer)
14:50:43*Ven_ quit (Read error: Connection reset by peer)
14:50:54*shodan45 joined #nim
14:54:25*Ven_ joined #nim
15:06:06*Ven_ quit (Read error: Connection reset by peer)
15:10:43*Ven joined #nim
15:14:31*bjz quit (Ping timeout: 260 seconds)
15:15:50*strcmp1 quit (Quit: bbs)
15:18:35*bjz joined #nim
15:19:13*yglukhov joined #nim
15:23:30*yglukhov quit (Ping timeout: 255 seconds)
15:30:03*bjz_ joined #nim
15:31:19*bjz quit (Ping timeout: 260 seconds)
15:35:14*coryg quit (Ping timeout: 246 seconds)
15:43:35*Ven quit (Ping timeout: 265 seconds)
15:44:11*Ven joined #nim
15:45:19*yglukhov joined #nim
15:47:12*vendethiel joined #nim
15:48:00*luyifan quit (Quit: Textual IRC Client: www.textualapp.com)
16:04:54*shodan45 quit (Ping timeout: 255 seconds)
16:05:37*Ven quit (Read error: Connection reset by peer)
16:13:29*Ven joined #nim
16:17:48*gokr joined #nim
16:21:00*Ven quit (Read error: Connection reset by peer)
16:26:56*Ven joined #nim
16:35:43*Ven quit (Read error: Connection reset by peer)
16:36:58gmpreussnerdoes system.`==` not work with objects from other modules that have private fields?
16:37:43*Ven joined #nim
16:38:12gmpreussneri'm getting "undeclared field: 'foo'" for a private field 'foo' of an object that is imported from another module
16:38:30gmpreussneri guess i have to implement and export `==` for my type, yes?
16:40:19*strcmp1 joined #nim
16:45:02*gmpreussner_ joined #nim
16:45:40*gmpreussner quit (Ping timeout: 244 seconds)
17:16:25*brson joined #nim
17:31:47*elrood joined #nim
17:32:19Araqgmpreussner_: yes, but your implementation can just call system.`==` to get the default field-wise equality.
17:32:51Araqit's a beautiful solution IMO.
17:33:45Araqsince you have private fields, the default equality must not implicitly access these fields.
17:37:04*Ven quit (Read error: Connection reset by peer)
17:38:37*Ven joined #nim
17:41:44gmpreussner_Araq: yeah, it makes sense
17:41:46*rollo quit (Ping timeout: 240 seconds)
17:42:15gmpreussner_otherwise system.fields would be able to break the privacy of the other module
17:44:00gmpreussner_i don't know why i expected it to be otherwise
17:44:31gmpreussner_perhaps i expected system.== to have some magical powers, but it's just like any other proc
17:45:22Araqthat's very often the case in Nim and then people blame us it all needs to be documented anyway.
17:45:59*gokr quit (Quit: Leaving.)
17:46:16gmpreussner_no, it all makes sense the way it is
17:46:29AraqI think it's because people are not used to powerful programmig languages :P
17:47:05gmpreussner_:)
17:50:56*Ven quit (Read error: Connection reset by peer)
17:54:22*Ven joined #nim
18:02:34*Matthias247 joined #nim
18:06:09*Ven quit (Read error: Connection reset by peer)
18:06:50*strcmp2 joined #nim
18:07:39*Ven joined #nim
18:10:34*strcmp1 quit (Ping timeout: 260 seconds)
18:12:43*brson_ joined #nim
18:14:14*brson quit (Ping timeout: 272 seconds)
18:15:31*coryg joined #nim
18:18:58*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:20:30*wan joined #nim
18:24:26*yglukhov quit (Remote host closed the connection)
18:31:45*yglukhov joined #nim
18:38:52*yglukhov quit (Remote host closed the connection)
18:52:46*vendethiel quit (Read error: Connection reset by peer)
18:58:47*Ven joined #nim
18:59:01*gokr joined #nim
18:59:07*brson joined #nim
19:00:36*brson quit (Client Quit)
19:00:51*brson joined #nim
19:02:05*brson_ quit (Ping timeout: 246 seconds)
19:05:53*tinAndi joined #nim
19:06:18*Ven quit (Read error: Connection reset by peer)
19:17:46*brson quit (Quit: leaving)
19:17:47*Ven joined #nim
19:21:59*Ven quit (Read error: Connection reset by peer)
19:26:13*Ven joined #nim
19:30:30*MyMind joined #nim
19:32:43*Sembei quit (Ping timeout: 252 seconds)
19:33:05*darkf quit (Quit: Leaving)
19:34:23*gokr quit (Ping timeout: 264 seconds)
19:36:55*Ven quit (Read error: Connection reset by peer)
19:37:35*UberLambda joined #nim
19:37:54*UberLambda quit (Remote host closed the connection)
19:39:24*yglukhov joined #nim
19:43:55*yglukhov quit (Ping timeout: 250 seconds)
19:45:41*Ven joined #nim
19:51:31*Ven quit (Read error: Connection reset by peer)
19:54:15*vendethiel joined #nim
20:02:04*z1pher joined #nim
20:07:56*z1pher quit (Quit: Page closed)
20:11:01*Jesin quit (Quit: Leaving)
20:21:15*edaa_ joined #nim
20:29:47*edaa_ quit (Quit: Page closed)
20:30:11*tinAndi quit (Quit: ChatZilla 0.9.92 [Firefox 41.0.2/20151014143721])
20:41:30*edaa_ joined #nim
20:41:43edaa_i have 2 threads. yhe
20:42:39edaa_i have 2 threads. the threads do not share any data. but the program still crashes. are there any known circumstances under which this can happen
20:43:27edaa_the strange thing is that sometimes when the first thread exists, the whole program exits
20:43:35edaa_other times the program crashes
20:43:50*M-max quit (Ping timeout: 240 seconds)
20:44:07*M-max joined #nim
20:44:12Araqwhich OS? which C compiler?
20:45:51*saml quit (Ping timeout: 260 seconds)
20:45:55*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:58:46*saml joined #nim
20:58:56*Jesin joined #nim
21:00:22*ajhidd joined #nim
21:00:55edaa_Linux 4.2.3-1 gcc version 5.2.0
21:01:45*ajhidd left #nim (#nim)
21:02:10edaa_Nim Compiler Version 0.11.2
21:03:53edaa_the error I get is "double free"
21:05:24*bjz joined #nim
21:07:39Araqah yeah, sorry about that.
21:07:45Araquse "nim devel" please.
21:08:22*Trustable quit (Remote host closed the connection)
21:11:06*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:13:00*bjz joined #nim
21:13:14edaa_will do, tnx
21:16:11*bjz quit (Max SendQ exceeded)
21:16:56*bjz joined #nim
21:28:30*bjz quit (Ping timeout: 240 seconds)
21:32:33*ochkoffein joined #nim
21:36:59*bjz joined #nim
21:37:48*bjz quit (Client Quit)
21:42:48*edaa_ quit (Ping timeout: 246 seconds)
21:51:18*vendethiel quit (Ping timeout: 260 seconds)
21:56:59*cryzed quit (Ping timeout: 240 seconds)
21:59:55*cryzed joined #nim
22:04:06desophoswhy is SDL2_gfx a dependency for https://github.com/nim-lang/sdl2?
22:10:19*ochkoffein quit (Quit: -----------------------------------------------)
22:11:39*ochkoffein joined #nim
22:33:26*boopsies is now known as boopsiesisaway
22:35:45*elrood quit (Quit: Leaving)
22:36:57*Kingsquee joined #nim
22:39:39desophosi'm trying to get the SDL2 wrapper working, but when trying to run sdl_skeleton.exe (built using `nim c sdl_skeleton.nim`) i get "could not load: SDL2_gfx.dll". where do the SDL2 dlls need to be in order for Nim to find them?
22:44:39desophos(i tried putting it in my PATH, in the exe dir, and in the Nim SDL2 dir)
22:52:14desophosnever mind, i had built the 32-bit version. it worked with 64-bit
22:52:24desophosit would be nice to get a more detailed error message though
22:53:52desophostime to learn SDL... sigh
23:05:51desophoswhy is the convention in Nim to import everything from a module?
23:06:03desophosdefault and convention
23:06:15desophosas unqualified names i mean
23:15:27*kulelu88 joined #nim
23:15:27*kulelu88 quit (Changing host)
23:15:28*kulelu88 joined #nim
23:16:45*Jesin quit (Quit: Leaving)
23:18:54*Matthias247 quit (Read error: Connection reset by peer)
23:22:59*strcmp2 quit (Ping timeout: 244 seconds)
23:26:19*strcmp1 joined #nim
23:31:08desophosoh, interesting... i think i see one reason: when procs are defined in the global module namespace, to use the postfix syntax of `an_obj.a_proc` you have to do `a_module.a_proc(an_obj)` if a_proc is imported qualified
23:37:41desophosis there no syntax for `an_obj.(a_module.a_proc)`?
23:38:06desophos(that's not the syntax i'd like, just trying to express what i mean)
23:47:06*brson joined #nim