<< 07-11-2015 >>

00:04:54*Matthias247 quit (Read error: Connection reset by peer)
00:11:23*yglukhov quit (Remote host closed the connection)
00:12:16*joelmo quit (Quit: Connection closed for inactivity)
00:18:21*desophos quit (Remote host closed the connection)
00:19:41*makoLine joined #nim
00:30:18*gokr quit (Quit: Leaving.)
00:37:33*vendethiel joined #nim
00:40:52*desophos joined #nim
00:45:27*desophos quit (Ping timeout: 265 seconds)
00:45:59*desophos joined #nim
00:49:09*hhvvzzee quit (Read error: Connection reset by peer)
00:58:14dom96Just deployed a new forum with a little spam checker which should prevent the 'kitchen' spam (hopefully). Let me know if you see any issues.
00:58:58ephjadom96: http://forum.nim-lang.org/t/1759
00:59:23ephjaI'll try to skip the frame proc. it's kind of hard to debug when it pops up all the time
00:59:28ephjabut there's always 'echo'
00:59:32dom96oh dear, that errors
01:00:02*desophos_ joined #nim
01:00:19ephjaand yeah that poll is unnecessary. I changed to waitFor and forgot to remove it
01:00:56ephjawhat do you mean? the text wall is just the debug session, fortunately :p
01:01:17dom96ephja: the forum just crashed for me
01:01:27dom96Specific to me though I think
01:01:40ephjaoh ok
01:02:38ephjaI'm just not paying attention
01:04:48*desophos_ quit (Client Quit)
01:06:33dom96ephja: please submit a bug report on github if you haven't already
01:06:46dom96Too tired to attempt to understand that right now
01:07:04dom96Need to head to sleep :)
01:07:07dom96'night
01:07:10*Ven joined #nim
01:08:05ephjaok
01:08:24ephjano one has used these things for writing interactive programs apparently
01:08:41ephjagn
01:08:46*vendethiel quit (Remote host closed the connection)
01:11:53*yglukhov joined #nim
01:16:14*yglukhov quit (Ping timeout: 260 seconds)
01:17:31*low-prof1 quit (Ping timeout: 244 seconds)
01:17:58*jaco60 quit (Ping timeout: 240 seconds)
01:20:38*low-prof1 joined #nim
01:21:53*Ven quit (Read error: Connection reset by peer)
01:24:20*Ven joined #nim
01:28:00*Ven quit (Client Quit)
01:59:45*pregressive joined #nim
02:13:17*yglukhov joined #nim
02:17:26*yglukhov quit (Ping timeout: 240 seconds)
02:31:16*pregressive quit (Remote host closed the connection)
02:46:36*pregressive joined #nim
03:01:03*brson joined #nim
03:14:44*yglukhov joined #nim
03:18:50*yglukhov quit (Ping timeout: 240 seconds)
03:41:59*pregressive quit (Remote host closed the connection)
03:49:56*pregressive joined #nim
03:50:48*pregressive quit (Remote host closed the connection)
04:16:37*ephja quit (Ping timeout: 252 seconds)
04:42:39*darkf joined #nim
05:16:18*yglukhov joined #nim
05:20:57*yglukhov quit (Ping timeout: 265 seconds)
05:38:08*Demon_Fox quit (Remote host closed the connection)
05:53:37*strcmp1 quit (Quit: bbs)
06:06:10*desophos quit (Read error: Connection reset by peer)
06:11:50*Demos quit (Read error: Connection reset by peer)
06:21:27*hvze joined #nim
06:22:09*gour joined #nim
06:24:42*brson quit (Ping timeout: 260 seconds)
06:29:18hvzehttps://killr.io/qwly6 -- invalid indentation on the result setting line
06:29:26hvzeI know im doing something wrong and it might be really ovbious but
06:34:54hvzegot it ;(
06:56:41cazov==?
07:17:59*yglukhov joined #nim
07:22:34*yglukhov quit (Ping timeout: 250 seconds)
07:37:27*Varriount_ joined #nim
07:39:11*Varriount quit (Ping timeout: 264 seconds)
07:43:19*Varriount_ quit (Ping timeout: 240 seconds)
07:48:22*Varriount joined #nim
07:51:57*hvze quit (Read error: Connection reset by peer)
07:52:23*hvze joined #nim
07:55:58*hvze quit (Read error: Connection reset by peer)
07:56:20*hvze joined #nim
08:01:17*yglukhov joined #nim
08:19:19VarriountAraq: Are there any plans to use the database logic in compiler/canonicalizer.nim?
08:32:06*xificurC quit (Ping timeout: 240 seconds)
08:40:20VarriountAraq: Also, how would you prefer the global data in the compiler to be refactored into instance data?
08:51:31*hvze quit (Read error: Connection reset by peer)
08:51:57*hvze joined #nim
08:52:12*yglukhov quit (Remote host closed the connection)
08:55:10*barosl_ quit (Quit: Leaving)
09:00:22gourVarriount: have you seen http://www.sublimetext.com/forum/viewtopic.php?f=2&t=21530 ?
09:00:30*hvze quit (Ping timeout: 246 seconds)
09:02:15Varriountgour: Neat.
09:02:35Varriountgour: Do you have any interest in python?
09:04:20gourVarriount: i'll still wait a bit to see if it will be released soon before deciding between ST & Atom...in regard to python, i recently switched from python-powered static-site-generator to the go-powered one...still, i was playing a little with python
09:04:51gourVarriount: now i have more interest in nim :-)
09:07:42*Ven joined #nim
09:09:39gourthe current rule for identifier equality will stay for 1.0?
09:09:50*zepolen_ joined #nim
09:10:59*zepolen quit (Ping timeout: 264 seconds)
09:14:48Varriountgour: You mean, first character is case-sensitive, underscores are ignored?
09:14:58gouryes
09:16:42Varriountgour: I haven't heard anything about changing it. It's a good, if somewhat odd, compromise.
09:17:33*vendethiel joined #nim
09:17:46*yglukhov joined #nim
09:19:50gourVarriount: in the past i was thinking that Araq should write "Programming in Nim" book, now I believe he should write "The Nim Programming Language"
09:37:51*Ven quit (Read error: Connection reset by peer)
09:42:43*Ven joined #nim
09:48:13*yglukhov quit (Remote host closed the connection)
09:49:56*gokr joined #nim
09:52:12*Ven quit (Read error: Connection reset by peer)
09:52:51*Ven joined #nim
09:57:42gourVarriount: do you use vim-mode with ST or you recommend 'native' mode?
10:08:06*makoLine quit (Ping timeout: 250 seconds)
10:08:36*barosl joined #nim
10:09:16*gokr quit (Quit: Leaving.)
10:10:06Varriountgour: I haven't learned vim commands yet, so no, I haven't used Vim mode.
10:11:49gourVarriount: maybe it's better to use native mode instead of trying to have one editor within another
10:32:48*gokr joined #nim
10:33:16Varriountgour: Probably.
10:33:54Varriountgour: For what it's worth, there are plenty of keyboard shortcuts in Sublime Text, and the command palette has fuzzy-searching.
10:34:19*gour nods
10:34:49VarriountFor example, to set the syntax of a file to Nim, all I have to do is 'ctrl+shift+p' and then type 'ssn'
10:35:29gour'ssn' ?
10:37:30Varriount"set syntax nim"
10:37:53VarriountI could also type 'ss nim' as well.
10:45:12gourahh, ok
10:47:44*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:53:53*Soak quit (Quit: Leaving)
11:13:41*Varriount quit (Read error: Connection reset by peer)
11:14:01*Varriount joined #nim
11:34:18*gokr quit (Quit: Leaving.)
11:40:08*Ven joined #nim
11:42:12*Kingsquee quit (Read error: Connection reset by peer)
11:42:20*Kingsquee joined #nim
11:48:22*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:53:48*Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif)
11:57:44*elrood joined #nim
12:13:52*ephja joined #nim
12:21:03*Guest16367isaway quit (Ping timeout: 246 seconds)
12:23:44reactormonkVarriount, o/
12:24:09*zepolen_ quit (Remote host closed the connection)
12:26:50*Ven joined #nim
12:33:32*jaco60 joined #nim
12:37:35*Ven quit (Read error: Connection reset by peer)
12:39:02*Ven joined #nim
12:42:47*boop joined #nim
12:43:11*boop is now known as Guest48911
12:46:16*xet7 quit (Quit: Leaving)
12:46:46*matkuki joined #nim
12:53:07*Ven quit (Read error: Connection reset by peer)
12:53:56*Ven joined #nim
13:00:53matkukidom96: I got a problem with threads, please take a look: https://bpaste.net/show/a574393448f9
13:03:07dom96I don't think that's allowed.
13:03:13dom96Your ref is allocated in a separate thread
13:03:18dom96and so it does not belong to the main one
13:04:43matkukican you give me a correct example?
13:05:43dom96I would use a channel and send your object back through it.
13:06:24matkukiDo I need the allocShared in that case?
13:08:00dom96no
13:08:27matkukiOk, will try it.
13:14:56*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:16:27*Ven joined #nim
13:30:45matkukidom96: What's wrong with this? https://bpaste.net/show/37bdafa60594
13:30:46matkukithe last line throws a SEGFAULT
13:31:20matkukisorry, the 'playerChannel.send(tempPlayer)' line throws the error.
13:32:16dom96You need to open the channel using the open proc.
13:32:38matkukioh, let me try
13:38:26*Ven quit (Read error: Connection reset by peer)
13:38:41matkukidom96: MyRefObject also has some attributes that are refs, they don't get coppied or do they?
13:39:24*Ven joined #nim
13:42:49*Varriount_ joined #nim
13:42:49dom96matkuki: Pretty sure everything gets copied.
13:43:26ephjaand then you're only copying a pointer
13:44:19*Varriount quit (Ping timeout: 240 seconds)
13:49:03matkukidom96, ephja: You are right, everything is coppied. I had some other object that wasn't initialized. Thanks
13:49:16matkukiworks like a charm!
13:53:31dom96Awesome :)
13:53:38*Ven quit (Read error: Connection reset by peer)
13:54:13matkukidom96: I see that you worked on sdl2. The loading screen that I mentioned yesterday works, but when I use Nim threads to
13:54:15matkukiinitialize the player in one thread and display the loading screen in the main thread, the program appears to deadlock somewhere in the sdl code.
13:54:16matkukiI probably need to use sdl threading, right?
13:54:46dom96Don't think so, are you using recv()?
13:54:49dom96in the main thread?
13:54:58dom96It blocks the thread until a message is received.
13:55:11dom96Could that be the problem?
13:56:45matkukiI don't use recv until 'playerThread.running == false' and this happened before I used channels!
13:57:20dom96matkuki: then I'm not sure, can you cut down your code and see when it stops happening?
13:57:27dom96or use gdb maybe that will give you some hints
13:57:50matkukiok, let me try...
13:58:58*Ven joined #nim
14:06:35matkukidom96: It works if I generate a new window renderer for the loading screen, but then I have two windows, one frozen and one that shows the loading text.
14:06:36matkukiIf I don't, the program renders the loading screen a couple of times and then the program stops and the window freezes.
14:06:38matkukigdb output: https://bpaste.net/show/45964d92a302 , line 21 to 28 is the stdout of the program
14:07:41*strcmp1 joined #nim
14:08:35*Ven quit (Read error: Connection reset by peer)
14:09:05*Ven joined #nim
14:15:34dom96matkuki: so it's blocked in GetNumberOfConsoleFonts?
14:35:23matkukidom96: Any ideas what the function is needed for?
14:41:13*Varriount joined #nim
14:43:32*Varriount_ quit (Ping timeout: 272 seconds)
15:13:37*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:14:19*strcmp1 quit (Remote host closed the connection)
15:14:42*strcmp1 joined #nim
15:15:11*ephja quit (Ping timeout: 264 seconds)
15:16:55*Varriount_ joined #nim
15:19:00*Varriount quit (Ping timeout: 272 seconds)
15:33:30*BitPuffin|osx joined #nim
15:39:40*desophos joined #nim
15:49:40NimBotnim-lang/Nim devel c83e439 Dominik Picheta [+0 ±1 -0]: Modified setDefaultLibpath to search using findExe"nim".... 3 more lines
16:03:25*brson joined #nim
16:08:26*Matthias247 joined #nim
16:10:46*Ven joined #nim
16:14:46*brson quit (Ping timeout: 240 seconds)
16:17:10*zepolen joined #nim
16:17:34dom96matkuki: sorry, no idea.
16:22:15*ephja joined #nim
16:23:57*Ven quit (Read error: Connection reset by peer)
16:26:45*Ven joined #nim
16:34:36*yglukhov joined #nim
16:36:54*gokr joined #nim
17:09:07*xet7 joined #nim
17:18:08*Matthias247 quit (Read error: Connection reset by peer)
17:20:58*matkuki quit (Quit: ChatZilla 0.9.92 [Firefox 42.0/20151029151421])
17:29:45*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:31:44*Demos joined #nim
17:52:55*darkf quit (Quit: Leaving)
17:56:16*Jesin quit (Quit: Leaving)
18:17:13*Ven_ joined #nim
18:24:25*Ven_ quit (Read error: Connection reset by peer)
18:26:00*Ven_ joined #nim
18:36:04*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:37:26*Ven_ joined #nim
18:39:08*Jesin joined #nim
18:39:11*Ven_ quit (Read error: Connection reset by peer)
18:41:30*Ven_ joined #nim
19:13:53*Varriount joined #nim
19:15:52*Varriount_ quit (Ping timeout: 272 seconds)
19:24:29*Ven_ quit (Read error: Connection reset by peer)
19:25:51*Ven joined #nim
19:33:39*Guest48911 is now known as Guest48911isaway
19:39:55*Ven quit (Read error: Connection reset by peer)
19:40:03*yglukhov quit (Read error: Connection reset by peer)
19:40:28*Ven joined #nim
19:40:45*yglukhov joined #nim
19:47:17*sdw joined #nim
19:55:36*Ven quit (Read error: Connection reset by peer)
19:56:14*Ven joined #nim
20:10:00*Ven quit (Read error: Connection reset by peer)
20:11:02*Ven joined #nim
20:11:05*yglukhov quit (Remote host closed the connection)
20:21:53*xificurC joined #nim
20:24:50*Ven quit (Read error: Connection reset by peer)
20:26:35*makoLine joined #nim
20:27:26*AMorpork joined #nim
20:31:13*Ven joined #nim
20:39:27*Jesin quit (Quit: Leaving)
20:40:00*Ven quit (Read error: Connection reset by peer)
20:40:35*Ven joined #nim
20:40:39*xificurC quit (Ping timeout: 240 seconds)
20:54:30*gokr quit (Ping timeout: 246 seconds)
21:01:26*xificurC joined #nim
21:06:32*gour quit (Quit: WeeChat 1.3)
21:06:49*gokr joined #nim
21:07:25*Trustable joined #nim
21:10:10*Ven quit (Read error: Connection reset by peer)
21:11:24*Ven joined #nim
21:13:54*yglukhov joined #nim
21:25:19*Ven quit (Read error: Connection reset by peer)
21:26:08*Ven joined #nim
21:26:19*johnsoft quit (Ping timeout: 264 seconds)
21:26:52*johnsoft joined #nim
21:55:21*Ven quit (Read error: Connection reset by peer)
21:55:42*Ven joined #nim
22:02:56Demoscan I share a seq between threads if I know it won't change size or be collected during their execution?
22:10:51*Ven quit (Read error: Connection reset by peer)
22:12:27*Ven joined #nim
22:25:48*Ven quit (Read error: Connection reset by peer)
22:27:49*AMorpork left #nim ("Leaving")
22:28:03*Ven joined #nim
22:40:23*Ven quit (Read error: Connection reset by peer)
22:43:54*Ven joined #nim
22:46:37*matkuki joined #nim
22:49:11*Trustable quit (Quit: Leaving)
22:51:00*Demon_Fox joined #nim
22:58:11*elrood quit (Quit: Leaving)
23:02:36*matkuki quit (Quit: ChatZilla 0.9.92 [Firefox 42.0/20151029151421])
23:10:59*Ven quit (Read error: Connection reset by peer)
23:14:02*Ven joined #nim
23:26:02*Ven quit (Read error: Connection reset by peer)
23:30:13*Ven joined #nim
23:41:53*Ven quit (Read error: Connection reset by peer)
23:41:58*Ven_ joined #nim
23:50:39*gokr quit (Ping timeout: 255 seconds)
23:52:07*Jesin joined #nim
23:53:58*strcmp1 quit (Read error: Connection reset by peer)
23:54:20*strcmp1 joined #nim
23:55:47*Ven_ quit (Read error: Connection reset by peer)
23:57:14*Ven joined #nim