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:14 | dom96 | Just 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:58 | ephja | dom96: http://forum.nim-lang.org/t/1759 |
00:59:23 | ephja | I'll try to skip the frame proc. it's kind of hard to debug when it pops up all the time |
00:59:28 | ephja | but there's always 'echo' |
00:59:32 | dom96 | oh dear, that errors |
01:00:02 | * | desophos_ joined #nim |
01:00:19 | ephja | and yeah that poll is unnecessary. I changed to waitFor and forgot to remove it |
01:00:56 | ephja | what do you mean? the text wall is just the debug session, fortunately :p |
01:01:17 | dom96 | ephja: the forum just crashed for me |
01:01:27 | dom96 | Specific to me though I think |
01:01:40 | ephja | oh ok |
01:02:38 | ephja | I'm just not paying attention |
01:04:48 | * | desophos_ quit (Client Quit) |
01:06:33 | dom96 | ephja: please submit a bug report on github if you haven't already |
01:06:46 | dom96 | Too tired to attempt to understand that right now |
01:07:04 | dom96 | Need to head to sleep :) |
01:07:07 | dom96 | 'night |
01:07:10 | * | Ven joined #nim |
01:08:05 | ephja | ok |
01:08:24 | ephja | no one has used these things for writing interactive programs apparently |
01:08:41 | ephja | gn |
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:18 | hvze | https://killr.io/qwly6 -- invalid indentation on the result setting line |
06:29:26 | hvze | I know im doing something wrong and it might be really ovbious but |
06:34:54 | hvze | got it ;( |
06:56:41 | cazov | ==? |
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:19 | Varriount | Araq: Are there any plans to use the database logic in compiler/canonicalizer.nim? |
08:32:06 | * | xificurC quit (Ping timeout: 240 seconds) |
08:40:20 | Varriount | Araq: 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:22 | gour | Varriount: 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:15 | Varriount | gour: Neat. |
09:02:35 | Varriount | gour: Do you have any interest in python? |
09:04:20 | gour | Varriount: 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:51 | gour | Varriount: now i have more interest in nim :-) |
09:07:42 | * | Ven joined #nim |
09:09:39 | gour | the 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:48 | Varriount | gour: You mean, first character is case-sensitive, underscores are ignored? |
09:14:58 | gour | yes |
09:16:42 | Varriount | gour: 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:50 | gour | Varriount: 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:42 | gour | Varriount: 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:06 | Varriount | gour: I haven't learned vim commands yet, so no, I haven't used Vim mode. |
10:11:49 | gour | Varriount: 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:16 | Varriount | gour: Probably. |
10:33:54 | Varriount | gour: 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:49 | Varriount | For 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:29 | gour | 'ssn' ? |
10:37:30 | Varriount | "set syntax nim" |
10:37:53 | Varriount | I could also type 'ss nim' as well. |
10:45:12 | gour | ahh, 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:44 | reactormonk | Varriount, 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:53 | matkuki | dom96: I got a problem with threads, please take a look: https://bpaste.net/show/a574393448f9 |
13:03:07 | dom96 | I don't think that's allowed. |
13:03:13 | dom96 | Your ref is allocated in a separate thread |
13:03:18 | dom96 | and so it does not belong to the main one |
13:04:43 | matkuki | can you give me a correct example? |
13:05:43 | dom96 | I would use a channel and send your object back through it. |
13:06:24 | matkuki | Do I need the allocShared in that case? |
13:08:00 | dom96 | no |
13:08:27 | matkuki | Ok, will try it. |
13:14:56 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:16:27 | * | Ven joined #nim |
13:30:45 | matkuki | dom96: What's wrong with this? https://bpaste.net/show/37bdafa60594 |
13:30:46 | matkuki | the last line throws a SEGFAULT |
13:31:20 | matkuki | sorry, the 'playerChannel.send(tempPlayer)' line throws the error. |
13:32:16 | dom96 | You need to open the channel using the open proc. |
13:32:38 | matkuki | oh, let me try |
13:38:26 | * | Ven quit (Read error: Connection reset by peer) |
13:38:41 | matkuki | dom96: 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:49 | dom96 | matkuki: Pretty sure everything gets copied. |
13:43:26 | ephja | and then you're only copying a pointer |
13:44:19 | * | Varriount quit (Ping timeout: 240 seconds) |
13:49:03 | matkuki | dom96, ephja: You are right, everything is coppied. I had some other object that wasn't initialized. Thanks |
13:49:16 | matkuki | works like a charm! |
13:53:31 | dom96 | Awesome :) |
13:53:38 | * | Ven quit (Read error: Connection reset by peer) |
13:54:13 | matkuki | dom96: I see that you worked on sdl2. The loading screen that I mentioned yesterday works, but when I use Nim threads to |
13:54:15 | matkuki | initialize 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:16 | matkuki | I probably need to use sdl threading, right? |
13:54:46 | dom96 | Don't think so, are you using recv()? |
13:54:49 | dom96 | in the main thread? |
13:54:58 | dom96 | It blocks the thread until a message is received. |
13:55:11 | dom96 | Could that be the problem? |
13:56:45 | matkuki | I don't use recv until 'playerThread.running == false' and this happened before I used channels! |
13:57:20 | dom96 | matkuki: then I'm not sure, can you cut down your code and see when it stops happening? |
13:57:27 | dom96 | or use gdb maybe that will give you some hints |
13:57:50 | matkuki | ok, let me try... |
13:58:58 | * | Ven joined #nim |
14:06:35 | matkuki | dom96: 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:36 | matkuki | If I don't, the program renders the loading screen a couple of times and then the program stops and the window freezes. |
14:06:38 | matkuki | gdb 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:34 | dom96 | matkuki: so it's blocked in GetNumberOfConsoleFonts? |
14:35:23 | matkuki | dom96: 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:40 | NimBot | nim-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:34 | dom96 | matkuki: 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:56 | Demos | can 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 |