00:10:49 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:16:17 | * | chemist69 joined #nim |
00:57:21 | * | askatasuna quit (Quit: ZNC 1.6.3 - http://znc.in) |
01:04:39 | * | askatasuna joined #nim |
01:46:21 | * | [ui] quit (Quit: Connection closed for inactivity) |
01:55:34 | * | chemist69 quit (Ping timeout: 250 seconds) |
01:59:43 | * | Kingsquee quit (Ping timeout: 252 seconds) |
02:15:31 | * | chemist69 joined #nim |
02:28:56 | * | chemist69 quit (Ping timeout: 250 seconds) |
02:39:30 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
02:40:52 | * | space-wizard joined #nim |
02:41:03 | * | space-wizard quit (Client Quit) |
02:41:33 | * | space-wizard joined #nim |
02:41:51 | * | space-wizard quit (Client Quit) |
02:42:19 | * | space-wizard joined #nim |
02:42:39 | * | space-wizard quit (Client Quit) |
02:43:09 | * | space-wizard joined #nim |
02:43:27 | * | space-wizard quit (Client Quit) |
02:43:59 | * | space-wizard joined #nim |
02:44:15 | * | space-wizard quit (Client Quit) |
02:44:44 | * | space-wizard joined #nim |
02:45:03 | * | space-wizard quit (Client Quit) |
02:45:31 | * | space-wizard joined #nim |
02:45:51 | * | space-wizard quit (Client Quit) |
02:46:23 | * | space-wizard joined #nim |
02:46:39 | * | space-wizard quit (Client Quit) |
02:48:45 | * | chemist69 joined #nim |
03:18:56 | * | chemist69 quit (Ping timeout: 258 seconds) |
03:29:41 | * | gokr quit (Ping timeout: 248 seconds) |
03:34:31 | * | couven92 quit (Quit: Client disconnecting) |
03:36:32 | * | chemist69 joined #nim |
04:21:13 | * | space-wizard joined #nim |
04:35:14 | * | vendethiel- quit (Ping timeout: 258 seconds) |
04:35:28 | * | chemist69 quit (Ping timeout: 245 seconds) |
04:54:07 | * | chemist69 joined #nim |
05:04:09 | * | dddddd quit (Remote host closed the connection) |
05:22:45 | * | bjz quit (Ping timeout: 248 seconds) |
05:22:56 | * | bjz_ joined #nim |
05:35:55 | * | [ui] joined #nim |
05:37:34 | * | pregressive quit (Remote host closed the connection) |
05:38:09 | * | pregressive joined #nim |
05:42:08 | * | chemist69 quit (Ping timeout: 246 seconds) |
05:42:22 | * | pregressive quit (Ping timeout: 250 seconds) |
05:42:31 | * | brson quit (Quit: leaving) |
06:02:37 | * | chemist69 joined #nim |
06:39:57 | * | gangstacat joined #nim |
06:55:38 | * | nsf joined #nim |
07:25:03 | * | chemist69 quit (Ping timeout: 258 seconds) |
07:28:25 | * | Jesin quit (Quit: Leaving) |
07:28:49 | * | Jesin joined #nim |
07:31:15 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
07:35:28 | * | Jesin quit (Ping timeout: 250 seconds) |
07:38:38 | * | chemist69 joined #nim |
07:39:44 | * | bjz_ quit (Ping timeout: 256 seconds) |
07:40:42 | * | bjz joined #nim |
07:44:50 | * | xet7 quit (Ping timeout: 250 seconds) |
07:47:26 | * | rokups joined #nim |
08:16:21 | * | [ui] quit (Quit: Connection closed for inactivity) |
08:37:19 | * | xet7 joined #nim |
08:40:04 | * | pregressive joined #nim |
08:41:22 | * | pregress_ joined #nim |
08:41:22 | * | pregressive quit (Read error: Connection reset by peer) |
08:42:52 | * | chemist69 quit (Ping timeout: 258 seconds) |
08:43:15 | * | irrequietus joined #nim |
08:45:28 | * | pregress_ quit (Ping timeout: 245 seconds) |
09:03:17 | * | chemist69 joined #nim |
09:22:56 | * | kunev quit (Ping timeout: 240 seconds) |
09:23:21 | * | bjz_ joined #nim |
09:23:26 | * | bjz quit (Ping timeout: 256 seconds) |
09:24:00 | * | gokr joined #nim |
09:25:03 | * | kunev joined #nim |
09:32:53 | * | gokr quit (Ping timeout: 248 seconds) |
10:15:29 | * | Matthias247 joined #nim |
10:15:50 | * | themagician joined #nim |
10:17:21 | * | gokr joined #nim |
10:23:32 | * | chemist69 quit (Ping timeout: 246 seconds) |
10:43:52 | * | chemist69 joined #nim |
10:52:36 | * | yglukhov joined #nim |
10:55:47 | * | gokr quit (Ping timeout: 252 seconds) |
11:10:12 | * | yglukhov quit (Remote host closed the connection) |
11:18:48 | * | bjz_ quit (Remote host closed the connection) |
11:21:56 | * | rokups quit (Quit: Connection closed for inactivity) |
11:22:09 | * | bjz joined #nim |
11:23:05 | * | byte512 joined #nim |
11:44:12 | * | yglukhov joined #nim |
11:47:33 | * | jackv quit (Ping timeout: 244 seconds) |
11:50:30 | * | jackv joined #nim |
12:02:20 | * | bjz quit (Remote host closed the connection) |
12:02:46 | * | bjz joined #nim |
12:23:02 | * | chemist69 quit (Ping timeout: 250 seconds) |
12:24:28 | Araq | yglukhov: well the new way is conceptually easier and works without special casing within templates |
12:25:33 | * | gangstacat quit (Ping timeout: 260 seconds) |
12:34:04 | * | Calinou joined #nim |
12:43:21 | * | chemist69 joined #nim |
12:44:04 | * | Salewski joined #nim |
12:48:03 | Salewski | Araq, thanks for fixing nimsuggest bugs 40 and 41. Unfortunately https://github.com/nim-lang/nimsuggest/issues/43 generates crashes in valid code, which is a big problem. |
12:51:16 | * | yglukhov quit (Remote host closed the connection) |
12:51:55 | Araq | looking into it |
12:52:20 | Salewski | Would be great, thanks. |
12:52:40 | Salewski | Bye... |
12:52:45 | * | Salewski left #nim (#nim) |
13:11:23 | * | yglukhov joined #nim |
13:46:47 | * | yglukhov quit (Remote host closed the connection) |
13:52:29 | * | yglukhov joined #nim |
13:56:41 | * | yglukhov quit (Ping timeout: 246 seconds) |
13:57:12 | * | byte512 quit (Ping timeout: 258 seconds) |
13:57:41 | * | gokr joined #nim |
14:02:29 | * | Salewski joined #nim |
14:03:42 | Salewski | Araq, you are really fast! Thanks. (fixed #43) |
14:04:11 | Salewski | Bye... |
14:05:58 | * | Salewski left #nim (#nim) |
14:06:02 | * | yglukhov joined #nim |
14:21:20 | * | Trustable joined #nim |
14:21:37 | * | vlad1777d joined #nim |
14:24:47 | * | chemist69 quit (Ping timeout: 258 seconds) |
14:29:44 | * | abeaumont quit (Ping timeout: 250 seconds) |
14:37:07 | * | chemist69 joined #nim |
14:37:44 | * | Trustable quit (Read error: Connection reset by peer) |
14:37:51 | * | Trustable joined #nim |
14:41:14 | * | abeaumont joined #nim |
15:31:25 | * | yglukhov quit (Remote host closed the connection) |
15:40:40 | * | yglukhov joined #nim |
15:48:07 | * | adeohluwa joined #nim |
15:56:37 | * | dddddd joined #nim |
16:08:22 | * | chemist69 quit (Ping timeout: 250 seconds) |
16:14:26 | * | pregressive joined #nim |
16:27:31 | * | pregressive quit (Remote host closed the connection) |
16:28:10 | * | chemist69 joined #nim |
16:33:16 | * | yglukhov quit (Remote host closed the connection) |
16:41:25 | * | gangstacat joined #nim |
16:50:14 | * | Trustable quit (Remote host closed the connection) |
16:59:11 | * | adeohluwa_ joined #nim |
16:59:36 | * | adeohluwa quit (Read error: No route to host) |
17:02:34 | * | adeohluwa_ quit (Remote host closed the connection) |
17:16:11 | * | chemist69 quit (Ping timeout: 246 seconds) |
17:34:07 | * | yglukhov joined #nim |
17:38:41 | * | yglukhov quit (Ping timeout: 260 seconds) |
17:40:57 | * | chemist69 joined #nim |
17:48:47 | * | byte512 joined #nim |
18:01:49 | * | yglukhov joined #nim |
18:12:00 | * | djellemah_ joined #nim |
18:15:32 | * | djellemah quit (Ping timeout: 256 seconds) |
18:26:16 | * | couven92 joined #nim |
18:31:08 | * | irrequietus quit (Remote host closed the connection) |
18:34:50 | * | byte512 quit (Ping timeout: 264 seconds) |
18:36:24 | * | irrequietus joined #nim |
18:50:19 | * | Trustable joined #nim |
19:00:25 | * | chemist69 quit (Ping timeout: 258 seconds) |
19:06:58 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
19:19:27 | * | space-wizard joined #nim |
19:20:39 | * | chemist69 joined #nim |
19:39:13 | * | perturbation joined #nim |
19:41:03 | * | chemist69 quit (Ping timeout: 258 seconds) |
19:49:26 | perturbation | Anyone seen unicredit? I'm using his linear algebra library and was parallelizing my application, when I ran into some issues sharing memory correctly (my own mistakes about how the refc GC worked). |
19:51:15 | perturbation | but the way that the DMatrix64 type (ref to object with seq[float] for data) means that you have to create a manually-memory-managed 'container' that can be used and I wanted to see how easily a manually-memory managed DMatrix64 / Matrix64 would be to add |
19:51:18 | perturbation | https://gist.github.com/singularperturbation/6456395e84718bade7edd98e62ba148f |
19:51:59 | federico3 | perturbation: unicredit is a bank btw :) |
19:52:06 | perturbation | oh :) |
19:54:32 | perturbation | The gist is an example of the 'container' workaround (also can use Boehm GC)... the resultMatrix was originally a (ptr DMatrix64) and then I saw it was being GC'd sometimes, so I found a workaround. |
19:59:14 | perturbation | I might try to add manually-managed GlobalMatrix / GlobalVector types in a PR... it would make using them efficiently (fewer pointer derefs) across threads a lot easier. I guess andreaferreti would be the person to ask |
20:01:24 | * | chemist69 joined #nim |
21:03:17 | * | Trustable quit (Remote host closed the connection) |
21:22:41 | * | yglukhov quit (Remote host closed the connection) |
21:41:55 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:41:59 | Araq | perturbation: that's more complex than required |
21:42:56 | Araq | there is no need for the createShared that only holds a 'ref', protect/dispose the 'ref' and you're good |
21:48:58 | * | renesac_ joined #nim |
21:51:37 | * | chemist69 quit (Ping timeout: 260 seconds) |
21:54:16 | * | chemist69 joined #nim |
21:54:37 | * | Sentreen quit (Ping timeout: 265 seconds) |
21:55:04 | * | bjz joined #nim |
21:59:11 | perturbation | Araq: I'm not sure how to use protect / dispose with this - I still need it to be shared since I want all threads to be able to have (at least read) access. |
21:59:40 | perturbation | Could I have var a: ptr DMatrix64 -> protect(a[]) rather than having a container type? |
22:00:06 | Araq | no, protect the DMatrix64 |
22:00:21 | Araq | that's a ref, right? |
22:00:36 | perturbation | yeah |
22:00:43 | Araq | protect's return type guides you into what you need |
22:00:56 | Araq | and yes, this allows shared read access |
22:04:22 | perturbation | protect returns a 'ForeignCell' type - I just store protect(fooMatrix) somewhere and then call dispose on the ForeignCell returned by protect when it's done ? |
22:04:43 | Araq | yup |
22:04:58 | perturbation | awesome - thanks Araq! I'll play around with this a bit and make a PR for documentation on protect/dispose - I wish I had known about that earlier :) |
22:05:13 | Araq | you're welcome as are your PRs |
22:06:08 | * | bjz quit (Ping timeout: 268 seconds) |
22:07:44 | * | Sentreen joined #nim |
22:08:29 | * | bjz joined #nim |
22:12:14 | * | bjz quit (Client Quit) |
22:15:31 | * | chemist69 quit (Ping timeout: 258 seconds) |
22:17:42 | * | nsf quit (Quit: WeeChat 1.6) |
22:20:04 | * | Jesin joined #nim |
22:23:09 | * | yglukhov joined #nim |
22:27:42 | * | yglukhov quit (Ping timeout: 250 seconds) |
22:33:41 | * | PMunch joined #nim |
22:35:40 | * | chemist69 joined #nim |
22:40:09 | * | Jesin quit (Ping timeout: 252 seconds) |
22:41:32 | * | Jesin joined #nim |
22:56:46 | * | bjz joined #nim |
23:00:40 | * | ftsf_ joined #nim |
23:04:56 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:25:12 | * | yglukhov joined #nim |
23:28:20 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
23:28:48 | * | space-wizard joined #nim |
23:29:08 | * | space-wizard quit (Client Quit) |
23:30:02 | * | yglukhov quit (Ping timeout: 264 seconds) |
23:42:56 | * | perturbation quit (Quit: Leaving) |
23:55:56 | * | couven92 quit (Quit: Client disconnecting) |
23:55:57 | * | irrequietus quit () |
23:56:09 | * | Matthias247 quit (Read error: Connection reset by peer) |