00:09:00 | * | gokr quit (Ping timeout: 276 seconds) |
00:11:43 | * | coffeepot joined #nim |
00:15:00 | * | Ven_ joined #nim |
00:21:03 | coffeepot | hey #nim, can anyone tell me why ranges in tuples aren't working as i expect https://gist.github.com/coffeepots/1881ffcb735411f7bf3be93477267f81 |
00:28:55 | * | yglukhov joined #nim |
00:29:44 | * | elrood quit (Quit: Leaving) |
00:33:23 | * | yglukhov quit (Ping timeout: 250 seconds) |
00:36:14 | * | ARCADIVS joined #nim |
00:43:23 | * | girvo joined #nim |
00:48:04 | * | girvo quit (Ping timeout: 260 seconds) |
00:58:25 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
01:06:21 | * | space-wizard joined #nim |
01:07:37 | * | chemist69 quit (Ping timeout: 250 seconds) |
01:08:48 | * | yglukhov joined #nim |
01:13:04 | * | yglukhov quit (Ping timeout: 240 seconds) |
01:16:48 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
01:21:37 | * | chemist69 joined #nim |
01:27:55 | dyce | nim has ruined me, now i get a bad taste in my mouth whenever i see a nodejs project, knowing how much leaner and faster it would be if it were written in nim :) |
01:28:10 | ftsf | dyce, yeah =( |
01:49:58 | * | Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
01:51:17 | * | yglukhov joined #nim |
01:57:28 | * | yglukhov quit (Ping timeout: 252 seconds) |
02:33:50 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
02:38:55 | * | desophos quit (Read error: Connection reset by peer) |
02:44:18 | * | girvo joined #nim |
02:48:32 | * | girvo quit (Ping timeout: 240 seconds) |
02:51:24 | * | bjz joined #nim |
02:54:59 | * | yglukhov joined #nim |
02:59:27 | * | yglukhov quit (Ping timeout: 244 seconds) |
03:37:16 | * | yglukhov joined #nim |
03:41:49 | * | yglukhov quit (Ping timeout: 244 seconds) |
03:44:56 | * | Sembei quit (Read error: Connection reset by peer) |
03:46:02 | * | Sembei joined #nim |
03:59:01 | * | Sentreen quit (Ping timeout: 252 seconds) |
04:10:29 | * | Sentreen joined #nim |
04:19:25 | * | yglukhov joined #nim |
04:23:40 | * | yglukhov quit (Ping timeout: 244 seconds) |
04:45:14 | * | girvo joined #nim |
04:49:29 | * | girvo quit (Ping timeout: 250 seconds) |
05:02:16 | * | yglukhov joined #nim |
05:02:17 | * | kulelu88 quit (Quit: Leaving) |
05:02:28 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
05:06:54 | * | kjrose quit (Quit: Leaving) |
05:08:37 | * | yglukhov quit (Ping timeout: 244 seconds) |
05:12:02 | antranigv | guys, which nim vim plugin you recommend? |
05:17:17 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
06:06:03 | * | yglukhov joined #nim |
06:11:08 | * | yglukhov quit (Ping timeout: 244 seconds) |
06:20:34 | ftsf | hmm how can i create a reference to something in nim? eg. foo = bar.baz but foo still points to bar.baz not a copy of it. ? |
06:27:56 | ftsf | ahh using var foo = addr(bar.baz) does the trick |
06:28:18 | ftsf | was trying things like var foo = ref bar.baz |
06:39:16 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:43:45 | * | mcc quit (Quit: Connection closed for inactivity) |
06:46:02 | * | girvo joined #nim |
06:48:06 | * | yglukhov joined #nim |
06:51:21 | * | girvo quit (Ping timeout: 276 seconds) |
06:52:28 | * | yglukhov quit (Ping timeout: 244 seconds) |
06:58:30 | * | bjz joined #nim |
06:59:08 | * | bjz quit (Client Quit) |
07:07:52 | * | nsf quit (Quit: WeeChat 1.5) |
07:30:15 | * | yglukhov joined #nim |
07:34:50 | * | yglukhov quit (Ping timeout: 244 seconds) |
08:13:04 | * | yglukhov joined #nim |
08:16:37 | * | bjz joined #nim |
08:17:12 | * | yglukhov quit (Ping timeout: 244 seconds) |
08:39:09 | * | yglukhov joined #nim |
08:43:33 | * | yglukhov quit (Ping timeout: 244 seconds) |
08:43:52 | * | Demon_Fox quit (Remote host closed the connection) |
08:44:17 | * | Demon_Fox joined #nim |
08:44:41 | * | Matthias247 joined #nim |
08:46:51 | * | girvo joined #nim |
08:51:09 | * | girvo quit (Ping timeout: 244 seconds) |
09:08:49 | * | Demon_Fox quit (Quit: Leaving) |
09:14:38 | * | yglukhov joined #nim |
09:19:12 | * | yglukhov quit (Ping timeout: 244 seconds) |
09:38:28 | ftsf | hmm mySeq.add(addr(x)) crashes with "out of memory" but mySeq.add([addr(x)]) works fine... |
09:41:51 | * | mtj__ joined #nim |
09:42:40 | * | akaisora_ joined #nim |
09:42:49 | * | kunev quit (Ping timeout: 244 seconds) |
09:42:52 | * | mtj_ quit (Ping timeout: 240 seconds) |
09:43:05 | * | GustavoLapasta joined #nim |
09:43:32 | * | kunev joined #nim |
09:44:07 | * | yglukhov joined #nim |
09:46:32 | * | mtj__ quit (Remote host closed the connection) |
09:46:41 | * | mtj_ joined #nim |
09:57:58 | * | mtj_ quit (Ping timeout: 265 seconds) |
10:10:28 | * | gokr joined #nim |
10:13:11 | * | vqrs quit (Ping timeout: 250 seconds) |
10:17:22 | * | vqrs joined #nim |
10:21:58 | * | irrequietus joined #nim |
10:40:07 | ThisIsZenified | ftsf: because it wants a iterable? |
10:40:12 | * | mtj_ joined #nim |
10:41:58 | ftsf | http://nim-lang.org/docs/system.html#add,seq[T],T there's a version that takes a non iterable |
10:42:05 | ftsf | but it's "magic"? |
10:42:12 | ftsf | maybe the magic is broken |
10:45:11 | * | ephja joined #nim |
10:47:43 | * | girvo joined #nim |
10:48:56 | * | elrood joined #nim |
10:52:24 | * | girvo quit (Ping timeout: 260 seconds) |
10:54:15 | * | yglukhov quit (Remote host closed the connection) |
10:54:23 | Araq | ftsf: you have some other corruption manifesting in random ways |
10:54:41 | Araq | magic 'add' is not broken, otherwise not Nim program would work |
10:54:44 | Araq | *no |
10:54:57 | Araq | including the compiler which uses it millions of times |
10:55:04 | ftsf | hmm |
10:59:04 | * | akaisora_ quit (Ping timeout: 240 seconds) |
10:59:13 | * | gokr quit (Ping timeout: 252 seconds) |
11:00:25 | * | yglukhov joined #nim |
11:02:06 | * | Snircle joined #nim |
11:05:31 | * | ARCADIVS quit (Quit: ARCADIVS) |
11:17:39 | * | Nibble joined #nim |
11:18:18 | Nibble | dom96: hey man |
11:22:01 | * | yglukhov quit (Remote host closed the connection) |
11:25:57 | * | Nibble quit (Quit: Lost terminal) |
11:30:04 | * | irrequietus quit (Ping timeout: 240 seconds) |
11:40:47 | Sentreen | Hey guys, another question from the resident newbie: I'm receiving the following error, but I'm not really sure what I'm doing wrong. "Error: type mismatch: got (ref array[int, Datum]) but expected 'ref array[int, Datum]'" |
11:40:56 | Sentreen | I made a minimal example that triggers the code here: http://pastebin.com/QuYdbnBV |
11:42:27 | flyx | Sentreen: this looks like a bug |
11:42:44 | flyx | Sentreen: report it on GitHub |
11:43:26 | flyx | Sentreen: it compiles for me though |
11:43:34 | flyx | Sentreen: which nim version are you at? |
11:45:15 | Sentreen | 0.14.2 on OSX |
11:45:53 | Sentreen | Let me see if it works on devel |
11:49:36 | Sentreen | It works on devel |
11:51:06 | Sentreen | Hmmm, any idea when the next compiler version is released? Not sure if it is worth moving my project to devel (and no real idea how stable it is) |
11:51:08 | kier | is it worth making a regression test for it? |
11:52:44 | kier | devel tends to be fairly stable in my experience. the CI means that it's rare that breaking changes make their way into devel, and are fixed pretty quickly if they do |
11:53:18 | kier | though i don't use it in production, just small hobby projects |
11:54:22 | Sentreen | I have no idea wether or not a regression test is worth it. I don't really have any experience with nim's source |
11:56:49 | Sentreen | I wouldn't mind writing a regression test for it, if somebody can point me in the right direction |
11:59:42 | euantor | I believe 0.15.0 is not far off from release |
12:07:49 | Sentreen | Hmmm, when I try to build my real code with devel I get an "array is too large" error from clang (I was doing something stupid with arrays), so I had to switch to seqs, which work both on devel and 0.14.2 |
12:09:23 | Sentreen | Though now that I think about it, it's probably unrelated |
12:13:44 | * | planhths joined #nim |
12:17:50 | Araq | Sentreen: array[int, T] allocates 2 billion of T ... |
12:17:59 | Araq | on a 32 bit machine |
12:18:02 | Araq | or rather 4 billion |
12:18:11 | Araq | no wonder the compiler complains |
12:23:32 | Sentreen | Yup, as I said, I was doing stupid things. However, the type error is still not the desired output. But it seems to fixed in devel anyway |
12:25:15 | * | xet7 joined #nim |
12:29:55 | * | ftsf quit (Quit: Leaving) |
12:39:49 | arnetheduck | ooh. threads done in nlvm, easier than I thought ;) |
12:42:40 | arnetheduck | same issues as usual though, std lib is not set up in an abi compatible way.. I'll post some patches for pthread/linux-x86_64, but other platforms will need the same |
12:48:37 | * | girvo joined #nim |
12:53:24 | * | girvo quit (Ping timeout: 276 seconds) |
12:55:51 | * | ephja quit (Quit: Page closed) |
13:00:17 | * | akaisora joined #nim |
13:09:32 | * | Matthias247 quit (Read error: Connection reset by peer) |
13:33:23 | antranigv | Araq: I was watching one of your vidoes (from where are you btw?:) ) about the roman numbers->strings, isn't it less safe that the compiler didn't give a compile-time error when you passed 4009 as a variable? |
13:34:28 | antranigv | Sentreen: try not to use open arrays in static languages :)) I'm not sure I'm happy or not that Wirth removed open arrays from Oberon-2; |
13:37:21 | * | dddddd joined #nim |
13:48:37 | * | dddddd quit (Read error: Connection reset by peer) |
14:02:23 | * | qwertfisch joined #nim |
14:16:19 | * | rtr_ joined #nim |
14:19:11 | * | Ven_ joined #nim |
14:30:50 | * | mcc joined #nim |
14:35:43 | * | yglukhov joined #nim |
14:48:56 | * | Trustable joined #nim |
14:49:26 | * | girvo joined #nim |
14:54:15 | * | girvo quit (Ping timeout: 265 seconds) |
14:55:07 | * | yglukhov quit (Remote host closed the connection) |
15:28:56 | * | Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:32:13 | * | yglukhov joined #nim |
15:33:34 | * | fredrik92 joined #nim |
15:37:12 | * | yglukhov quit (Remote host closed the connection) |
15:37:51 | * | kulelu88 joined #nim |
15:38:31 | * | yglukhov joined #nim |
15:45:09 | * | Ven_ joined #nim |
15:46:01 | * | Ven_ quit (Client Quit) |
15:46:20 | * | Ven_ joined #nim |
15:50:41 | * | Ven_ quit (Ping timeout: 244 seconds) |
16:00:16 | * | kulelu88 quit (Ping timeout: 250 seconds) |
16:11:44 | Araq | antranigv: perhaps but when this feature was designed I didn't know about flow typing |
16:12:46 | * | kulelu88 joined #nim |
16:15:51 | antranigv | Araq: ohh, any plans to change that? |
16:16:14 | antranigv | Araq: do I need to be very advanced programmer to be able to change that? ^_^ |
16:16:36 | Araq | iirc with --verbosity:2 the compiler generates warnings for it. |
16:16:43 | Araq | if not, it could easily do so. |
16:21:03 | Araq | antranigv: I can guide you what to do if you want to |
16:31:44 | * | yglukhov quit (Remote host closed the connection) |
16:32:27 | * | yglukhov joined #nim |
16:40:57 | antranigv | Araq: as soon as I finish readin the internals, I'll give it a shot, thanks! |
16:41:37 | antranigv | so officially it's ok to get compiled like that? we have to stick to the runtime error, aye? :) |
16:45:41 | Araq | yes, it is ok, but eventually we will have warnings for it |
16:45:51 | Araq | and eventually the warning will be an error |
16:45:59 | Araq | (for e.g. Nim v2) |
16:50:19 | * | pie_ joined #nim |
16:50:21 | * | girvo joined #nim |
16:55:00 | * | girvo quit (Ping timeout: 265 seconds) |
16:59:28 | * | Ivan_ joined #nim |
17:04:26 | * | Ivan_ quit (Quit: Page closed) |
17:04:32 | * | yglukhov quit (Remote host closed the connection) |
17:17:00 | * | Ven_ joined #nim |
17:21:28 | * | Ven_ quit (Ping timeout: 264 seconds) |
17:27:03 | * | GustavoLapasta quit (Quit: Leaving) |
17:30:42 | * | GustavoLapasta joined #nim |
17:31:59 | * | yglukhov joined #nim |
17:36:03 | * | yglukhov quit (Remote host closed the connection) |
17:38:23 | * | desophos joined #nim |
17:47:32 | * | yglukhov joined #nim |
17:55:52 | * | yglukhov quit (Ping timeout: 244 seconds) |
18:00:41 | * | brechtm quit (Remote host closed the connection) |
18:03:34 | * | brechtm joined #nim |
18:04:14 | * | yglukhov joined #nim |
18:04:32 | Araq | hmmm can we do what the manual says and map "nimcall" to "fastcall"? |
18:09:25 | Araq | hmm apparently not, all sort of things might break |
18:26:12 | * | Senketsu joined #nim |
18:51:15 | * | girvo joined #nim |
18:55:40 | * | girvo quit (Ping timeout: 255 seconds) |
18:58:55 | * | space-wizard joined #nim |
19:02:56 | * | irrequietus joined #nim |
19:20:21 | * | Sembei quit (Max SendQ exceeded) |
19:21:30 | * | Sembei joined #nim |
19:25:44 | * | PMunch joined #nim |
19:33:45 | * | gokr joined #nim |
19:52:20 | * | Ven_ joined #nim |
19:53:44 | * | csoriano_ joined #nim |
19:56:52 | * | Ven_ quit (Ping timeout: 240 seconds) |
19:59:04 | * | nsf joined #nim |
20:09:23 | * | chemist69 quit (Ping timeout: 265 seconds) |
20:12:41 | * | Matthias247 joined #nim |
20:13:17 | * | chemist69 joined #nim |
20:13:34 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
20:25:22 | * | space-wizard joined #nim |
20:25:24 | * | yglukhov quit (Remote host closed the connection) |
20:26:25 | * | yglukhov joined #nim |
20:30:52 | * | yglukhov quit (Ping timeout: 244 seconds) |
20:41:40 | * | Ven_ joined #nim |
20:52:11 | * | girvo joined #nim |
20:56:42 | * | girvo quit (Ping timeout: 244 seconds) |
20:57:55 | * | Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
21:01:03 | * | yglukhov joined #nim |
21:04:24 | * | Sentreen quit (Read error: Connection reset by peer) |
21:04:59 | * | Sentreen joined #nim |
21:05:29 | * | yglukhov quit (Ping timeout: 244 seconds) |
21:05:57 | * | irrequietus quit () |
21:06:12 | * | irrequietus joined #nim |
21:08:27 | * | GustavoLapasta quit (Quit: Leaving) |
21:12:28 | * | irrequietus quit (Read error: Connection reset by peer) |
21:12:43 | * | irrequietus joined #nim |
21:21:09 | * | Karma-Five-Ohm joined #nim |
21:21:38 | mcc | is there a better way to designate a float constant as a float32 other than to just say 0.0.float32 or whatever? |
21:25:58 | * | yglukhov joined #nim |
21:27:17 | Araq | 0.0f |
21:30:17 | * | yglukhov quit (Ping timeout: 244 seconds) |
21:37:35 | * | rtr_ quit (Remote host closed the connection) |
21:43:16 | * | rtr_ joined #nim |
21:56:02 | * | yglukhov joined #nim |
22:00:15 | * | yglukhov quit (Ping timeout: 244 seconds) |
22:02:22 | mcc | thanks |
22:05:07 | * | brechtm_ joined #nim |
22:09:04 | * | brechtm quit (Ping timeout: 260 seconds) |
22:19:34 | * | girvo joined #nim |
22:23:32 | * | Karma-Five-Ohm quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
22:24:03 | * | girvo quit (Ping timeout: 244 seconds) |
22:26:03 | * | Trustable quit (Remote host closed the connection) |
22:26:08 | * | yglukhov joined #nim |
22:28:24 | * | krux02 joined #nim |
22:29:09 | * | Karma-Five-Ohm joined #nim |
22:30:13 | * | yglukhov quit (Ping timeout: 244 seconds) |
22:30:54 | * | Karma-Five-Ohm quit (Client Quit) |
22:31:12 | * | Karma-Five-Ohm joined #nim |
22:35:27 | * | Demon_Fox joined #nim |
22:36:35 | * | elrood quit (Remote host closed the connection) |
22:38:30 | * | planhths quit (Quit: Konversation terminated!) |
22:39:04 | * | csoriano_ quit (Quit: csoriano_) |
22:46:55 | * | Karma-Five-Ohm quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
22:47:49 | * | PMunch quit (Quit: leaving) |
22:48:12 | * | liori quit (Quit: leaving) |
22:48:27 | * | jlp765 joined #nim |
22:49:24 | * | liori joined #nim |
22:49:47 | * | rtr_ quit (Remote host closed the connection) |
22:50:15 | * | liori quit (Client Quit) |
22:51:17 | * | liori joined #nim |
22:54:48 | * | jlp765 left #nim (#nim) |
22:58:03 | * | liori left #nim (#nim) |
22:59:12 | * | rtr_ joined #nim |
23:01:19 | * | yglukhov joined #nim |
23:05:52 | * | yglukhov quit (Ping timeout: 244 seconds) |
23:06:06 | * | fredrik92 quit (Read error: Connection reset by peer) |
23:08:11 | * | girvo joined #nim |
23:10:03 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:10:21 | * | girvo quit (Read error: Connection reset by peer) |
23:21:45 | * | akaisora quit (Ping timeout: 265 seconds) |
23:34:20 | * | yglukhov joined #nim |
23:40:29 | * | yglukhov quit (Ping timeout: 244 seconds) |
23:42:39 | * | irrequietus quit (Ping timeout: 250 seconds) |
23:49:14 | * | nsf quit (Quit: WeeChat 1.5) |
23:51:29 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:53:34 | * | gokr quit (Ping timeout: 265 seconds) |