00:10:57 | def- | objects are on the stack, ref objects on the heap, garbage collected |
00:11:14 | def- | you may not be using Nim's GC correctly from Ruby |
00:16:35 | def- | and ref objects have to be dereferenced to access them |
00:27:57 | * | Demon_Fox joined #nim |
00:33:24 | * | thotypous quit (Ping timeout: 264 seconds) |
00:33:57 | * | thotypous joined #nim |
01:00:12 | * | ozra quit (Ping timeout: 246 seconds) |
01:04:04 | * | flyx joined #nim |
01:06:21 | * | johnsoft joined #nim |
01:47:20 | * | Demos joined #nim |
01:50:20 | * | jaco60 quit (Ping timeout: 246 seconds) |
01:51:28 | * | Demos quit (Ping timeout: 246 seconds) |
02:36:30 | * | sparrk quit (Quit: Leaving) |
03:10:46 | * | darkf joined #nim |
03:26:07 | * | filwit quit (Quit: Leaving) |
03:43:08 | * | pregressive joined #nim |
04:16:57 | * | askatasuna quit (Quit: WeeChat 1.2) |
05:38:30 | * | pregressive quit (Remote host closed the connection) |
05:44:09 | * | pregressive joined #nim |
06:04:29 | * | jszymanski joined #nim |
06:24:43 | * | pregressive quit (Remote host closed the connection) |
06:47:45 | * | xet7_ quit (Ping timeout: 240 seconds) |
06:47:59 | * | xet7_ joined #nim |
07:06:42 | * | dalarmmst quit (Ping timeout: 255 seconds) |
07:19:50 | * | dalarmmst joined #nim |
07:38:15 | * | bjz joined #nim |
07:47:41 | * | xificurC quit (Ping timeout: 246 seconds) |
08:07:22 | * | vegansk quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше)) |
08:14:19 | * | coffeepot joined #nim |
08:19:19 | * | Trustable joined #nim |
08:32:26 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:52:54 | * | xet7_ is now known as xet7 |
09:04:07 | * | bjz joined #nim |
09:20:02 | * | jaco60 joined #nim |
09:38:55 | * | BitPuffin|osx quit (Ping timeout: 244 seconds) |
09:44:19 | * | lyro quit (Quit: WeeChat 1.1.1) |
09:54:35 | * | boopsiesisaway is now known as boopsies |
09:56:05 | * | dalarmmst quit (Ping timeout: 256 seconds) |
09:56:05 | * | lyro joined #nim |
10:04:37 | * | dalarmmst joined #nim |
10:18:39 | * | TylerE_ joined #nim |
10:21:27 | * | xet7_ joined #nim |
10:21:27 | * | xet7 quit (Read error: Connection reset by peer) |
10:21:56 | * | TylerE quit (Ping timeout: 240 seconds) |
10:21:57 | * | flaviu quit (Ping timeout: 240 seconds) |
10:21:57 | * | bogen-wo1k quit (Ping timeout: 240 seconds) |
10:22:35 | * | bogen-work joined #nim |
10:23:54 | * | flaviu joined #nim |
10:53:56 | * | xet7_ is now known as xet7 |
10:57:19 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
11:12:02 | * | yglukhov joined #nim |
11:22:11 | * | gnzhmx joined #nim |
11:24:31 | * | gnzhmx quit (Client Quit) |
11:24:43 | * | BitPuffin|osx joined #nim |
11:31:36 | * | dalarmmst quit (Ping timeout: 264 seconds) |
11:33:45 | * | xificurC joined #nim |
11:45:12 | * | aziz_ joined #nim |
11:46:58 | * | strcmp1 joined #nim |
11:57:06 | * | dalarmmst joined #nim |
12:17:49 | * | saml_ joined #nim |
12:21:25 | * | xet7_ joined #nim |
12:24:33 | * | xet7 quit (Ping timeout: 256 seconds) |
12:36:22 | * | yglukhov quit (Remote host closed the connection) |
12:39:18 | * | xet7_ is now known as xet7 |
12:43:31 | * | yglukhov joined #nim |
12:46:39 | * | elbow quit (Ping timeout: 256 seconds) |
13:25:19 | * | bogen1 left #nim (#nim) |
13:25:51 | * | aziz_ quit (Remote host closed the connection) |
13:28:50 | * | saml_ quit (Ping timeout: 244 seconds) |
13:44:30 | * | yglukhov quit (Remote host closed the connection) |
13:48:17 | * | wh1t3r0s3 joined #nim |
13:56:04 | * | yglukhov joined #nim |
13:56:14 | * | Kingsquee quit (Read error: Connection reset by peer) |
13:56:27 | * | Kingsquee joined #nim |
13:58:40 | * | pregressive joined #nim |
14:01:03 | * | Demos joined #nim |
14:01:34 | * | Varriount|Busy quit (Quit: Page closed) |
14:01:48 | * | boopsies is now known as boopsiesisaway |
14:02:13 | * | pregressive quit (Remote host closed the connection) |
14:02:35 | * | boopsiesisaway is now known as boopsies |
14:03:24 | * | BitPuffin|osx quit (Ping timeout: 264 seconds) |
14:03:36 | * | Kingsquee quit (Read error: Connection reset by peer) |
14:04:52 | * | yglukhov quit (Remote host closed the connection) |
14:06:09 | * | yglukhov joined #nim |
14:21:27 | * | BitPuffin|osx joined #nim |
14:23:26 | * | pregressive joined #nim |
14:25:49 | * | saml joined #nim |
14:30:47 | * | pregressive quit (Remote host closed the connection) |
14:33:22 | * | Arrrr joined #nim |
14:38:46 | * | pregressive joined #nim |
14:44:15 | * | Demos quit (Remote host closed the connection) |
14:45:34 | * | Demos joined #nim |
15:08:09 | * | darkf quit (Quit: Leaving) |
15:22:23 | * | Demos quit (Remote host closed the connection) |
15:22:51 | * | Demos joined #nim |
15:28:43 | * | Demos quit (Remote host closed the connection) |
15:32:07 | * | lokulin quit (Ping timeout: 256 seconds) |
15:32:45 | * | rektide joined #nim |
15:38:43 | * | lokulin joined #nim |
15:46:59 | * | rgv151 joined #nim |
15:47:53 | * | cyraxjoe quit (Quit: No Ping reply in 180 seconds.) |
15:53:31 | * | cyraxjoe joined #nim |
16:01:38 | * | elbow joined #nim |
16:16:55 | * | brson joined #nim |
16:18:11 | * | Demos joined #nim |
16:28:07 | * | dalarmmst quit (Ping timeout: 244 seconds) |
16:31:37 | * | Demos quit (Remote host closed the connection) |
16:32:15 | * | Demos joined #nim |
16:53:30 | * | yglukhov quit (Remote host closed the connection) |
16:58:11 | * | yglukhov joined #nim |
16:58:14 | * | yglukhov quit (Remote host closed the connection) |
17:04:50 | * | yglukhov joined #nim |
17:11:48 | * | Arrrr quit (Quit: WeeChat 1.2) |
17:16:46 | * | yglukhov quit (Remote host closed the connection) |
17:20:09 | * | Gonzih joined #nim |
17:22:17 | * | FedeOmoto joined #nim |
17:33:02 | * | unclechu joined #nim |
17:34:09 | * | Demos quit (Remote host closed the connection) |
17:35:11 | * | filcuc joined #nim |
17:37:25 | * | unclechu quit (Ping timeout: 240 seconds) |
17:38:58 | * | unclechu joined #nim |
17:42:24 | * | elbow quit (Remote host closed the connection) |
17:46:26 | * | Matthias247 joined #nim |
17:50:58 | * | xet7_ joined #nim |
17:50:59 | * | xet7 quit (Read error: Connection reset by peer) |
17:51:15 | * | xet7_ is now known as xet7 |
17:56:51 | * | Cryptotoad joined #nim |
17:59:46 | * | filcuc quit (Ping timeout: 265 seconds) |
18:04:08 | * | xet7_ joined #nim |
18:04:51 | * | Demos joined #nim |
18:08:15 | * | xet7 quit (Ping timeout: 252 seconds) |
18:09:22 | * | xet7_ quit (Read error: Connection reset by peer) |
18:09:30 | * | xet7_ joined #nim |
18:10:40 | * | Matthias247_ joined #nim |
18:12:29 | * | Matthias247 quit (Ping timeout: 244 seconds) |
18:15:24 | * | xet7_ is now known as xet7 |
18:16:11 | * | xet7 quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) |
18:17:35 | * | BitPuffin|osx quit (Ping timeout: 244 seconds) |
18:18:45 | * | Demos quit (Remote host closed the connection) |
18:18:53 | * | xet7 joined #nim |
18:21:30 | * | Demos joined #nim |
18:23:00 | * | yglukhov joined #nim |
18:24:18 | * | BitPuffin|osx joined #nim |
18:51:22 | * | rgv151 quit (Ping timeout: 246 seconds) |
18:59:18 | * | yglukhov quit (Remote host closed the connection) |
19:08:25 | * | BitPuffin|osx quit (Read error: Connection reset by peer) |
19:09:28 | * | BitPuffin|osx joined #nim |
19:10:15 | * | Demos quit (Remote host closed the connection) |
19:21:26 | * | BitPuffin|osx quit (Ping timeout: 250 seconds) |
19:27:35 | * | xcombelle joined #nim |
19:45:06 | * | Demos joined #nim |
20:02:18 | * | yglukhov joined #nim |
20:18:00 | * | yglukhov quit (Remote host closed the connection) |
20:18:19 | * | yglukhov joined #nim |
20:22:51 | * | shodan45 joined #nim |
20:23:42 | * | yglukhov quit (Remote host closed the connection) |
20:24:31 | * | yglukhov joined #nim |
20:27:12 | * | ChrisMAN quit (Remote host closed the connection) |
20:27:43 | * | jszymanski quit (Quit: computer sleeps...) |
20:29:10 | * | yglukhov quit (Ping timeout: 260 seconds) |
20:31:12 | * | ChrisMAN joined #nim |
20:37:11 | * | dalarmmst joined #nim |
20:51:26 | * | gokr joined #nim |
20:54:30 | * | xcombelle quit (Read error: Connection reset by peer) |
20:55:18 | * | X67r joined #nim |
20:56:11 | * | yglukhov joined #nim |
21:01:34 | * | xet7 quit (Quit: Leaving) |
21:05:51 | * | xet7 joined #nim |
21:08:39 | * | BitPuffin|osx joined #nim |
21:25:03 | * | ChrisMAN quit (Remote host closed the connection) |
21:26:55 | * | ChrisMAN joined #nim |
21:28:06 | * | FedeOmoto quit (Quit: Leaving) |
21:29:26 | * | filcuc joined #nim |
21:34:45 | * | unclechu quit (Quit: Leaving.) |
21:40:50 | * | Kingsquee joined #nim |
21:50:30 | * | yglukhov quit (Ping timeout: 255 seconds) |
22:01:51 | * | dddddd joined #nim |
22:02:39 | * | filcuc quit (Quit: Konversation terminated!) |
22:06:48 | * | porglezomp joined #nim |
22:16:58 | * | boopsies is now known as boopsiesisaway |
22:17:15 | * | filwit joined #nim |
22:31:52 | * | shodan45 quit (Quit: Konversation terminated!) |
22:34:40 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:36:33 | * | X67r quit (Quit: leaving) |
22:39:13 | * | Varriount quit (Ping timeout: 246 seconds) |
22:40:23 | Araq | hey dom96 |
22:41:52 | baabelfish | Could someone help me a bit with dynamic dispatch? |
22:42:27 | filwit | baabelfish: what's your problem? |
22:42:54 | dom96 | Araq: sup? |
22:43:09 | baabelfish | I have type A and B where B inherits from A |
22:43:18 | baabelfish | then I got two methods of the same name |
22:43:39 | baabelfish | I would like to call the implementation of A with an ref of type B |
22:43:51 | Araq | dom96: nothing, brain is in standby |
22:44:11 | dom96 | in that case, bbl |
22:44:36 | filwit | baabelfish: and that doesn't work for some reason? can you post code or something? It should be working for you if you are indeed using 'method' (and not 'proc', etc) |
22:44:38 | baabelfish | method doSomething(x: A) = ... method doSomething(x: B) = doSomething(A(x)) # Closest I got |
22:44:46 | fowl | baabelfish see procCall in the manual |
22:45:33 | baabelfish | fowl: only one reference in manual here: http://nim-lang.org/docs/manual.html#procedures-nonoverloadable-builtins |
22:46:46 | baabelfish | found it from a blog, ty |
22:46:47 | fowl | baabelfish sorry http://nim-lang.org/docs/system.html#procCall,expr |
22:46:53 | * | Varriount joined #nim |
22:47:06 | baabelfish | fowl: nice thanks! |
22:50:12 | * | dddddd quit (Quit: Page closed) |
22:56:14 | * | Kingsquee quit (Quit: Konversation terminated!) |
22:56:41 | * | Kingsquee joined #nim |
22:58:05 | Araq | can anybody confirm http://forum.nim-lang.org/t/1476 ? |
22:58:25 | Araq | works for me and line 1098 doesn't have any high calls anyway |
22:59:24 | * | Trustable quit (Ping timeout: 250 seconds) |
22:59:44 | def- | Araq: can't reproduce the error |
23:00:38 | * | Trustable joined #nim |
23:00:47 | Araq | def-: can you test on linux 64 and 32? |
23:01:38 | def- | Araq: done, both no error. i guess he just has an old strfmt version |
23:03:34 | Araq | well in theory there is a regression with 'high' so it would be nice to reproduce it |
23:04:00 | Araq | maybe I can come up with a different testcase |
23:05:38 | renesac | oh, I didn't know that high couldn't be overloaded |
23:05:58 | renesac | is it automatically set for any new container I create? |
23:08:19 | Araq | actually, high can be overloaded and macros.nim does it |
23:08:32 | Araq | but it's still fragile |
23:08:51 | renesac | so I should overload it or not when creating a new container? |
23:09:12 | Araq | IMO high shouldn't be provided |
23:09:38 | Araq | I don't want to add it to every fucking container, instead pretend it doesn't exist |
23:09:52 | renesac | well, now there is the ..< |
23:09:59 | Araq | yeah |
23:10:02 | renesac | that makes .len almost equivalent |
23:10:32 | * | gokr quit (Quit: Leaving.) |
23:10:32 | * | Trustable quit (Quit: Leaving) |
23:10:52 | renesac | so high usage for containers (like seq) is kinda deprecated |
23:10:53 | renesac | ? |
23:12:10 | Araq | I don't think I'll make it deprecated anytime soon, but yeah |
23:12:26 | renesac | ok |
23:12:26 | Araq | trimming things down a bit can only help |
23:16:45 | fowl | Araq ive always had problems with high in macros |
23:16:52 | fowl | On a nimnode |
23:19:57 | * | Demos_ joined #nim |
23:23:14 | * | Demos quit (Ping timeout: 250 seconds) |
23:24:34 | * | Demos_ quit (Ping timeout: 265 seconds) |
23:26:20 | * | cyraxjoe_ joined #nim |
23:28:46 | * | Matthias247_ quit (Read error: Connection reset by peer) |
23:28:50 | * | cyraxjoe quit (Ping timeout: 240 seconds) |
23:30:23 | * | cyraxjoe joined #nim |
23:31:20 | * | cyraxjoe_ quit (Ping timeout: 265 seconds) |
23:36:57 | * | BitPuffin|osx quit (Ping timeout: 244 seconds) |
23:42:34 | * | saml_ joined #nim |
23:44:01 | * | cyraxjoe quit (Quit: No Ping reply in 180 seconds.) |
23:44:54 | * | cyraxjoe joined #nim |
23:45:50 | federico3 | parseopt is able to parse "-t=1" but not "-t1" and "-t 1" |
23:49:41 | renesac | federico3: you may be better served with one of the command line parsing libraries on nimble |
23:49:43 | * | yglukhov joined #nim |
23:50:34 | federico3 | thanks renesac but I'm doing a very simple parsing and I was hoping parseopt to be up for the task :) |
23:51:07 | federico3 | looks like #2883 is not closed then |
23:51:56 | federico3 | actually #2874 |
23:54:00 | * | yglukhov quit (Ping timeout: 250 seconds) |