00:08:22 | * | Demos joined #nim |
00:10:35 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
00:11:13 | * | strcmp1 quit (Ping timeout: 246 seconds) |
00:13:40 | * | jaco60 quit (Ping timeout: 246 seconds) |
00:40:51 | * | ^aurora^ joined #nim |
00:47:54 | * | NimBot joined #nim |
00:57:19 | * | keyle joined #nim |
01:18:47 | * | pregressive quit (Remote host closed the connection) |
01:20:30 | * | vendethiel joined #nim |
01:24:06 | * | yglukhov joined #nim |
01:28:31 | * | yglukhov quit (Ping timeout: 252 seconds) |
01:34:08 | * | gokr quit (Quit: Leaving.) |
01:45:40 | * | pregressive joined #nim |
02:10:56 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
02:22:39 | * | vendethiel quit (Ping timeout: 244 seconds) |
02:22:55 | * | bendiken quit (Ping timeout: 250 seconds) |
02:49:56 | * | NimBot joined #nim |
03:30:21 | * | nchambers quit (Ping timeout: 244 seconds) |
03:31:33 | * | nchambers joined #nim |
03:33:55 | * | darkf joined #nim |
04:10:33 | * | vegansk joined #nim |
04:28:30 | * | Demos quit (Read error: Connection reset by peer) |
05:00:13 | * | yglukhov joined #nim |
05:04:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
05:07:33 | * | BitPuffin|osx quit (Ping timeout: 256 seconds) |
05:18:45 | * | jszymanski joined #nim |
05:27:01 | * | FedeOmoto quit (Quit: Leaving) |
05:31:23 | * | pregressive quit (Remote host closed the connection) |
05:38:29 | * | NimBot joined #nim |
05:40:54 | * | iNode000 joined #nim |
05:42:53 | * | pregressive joined #nim |
05:47:54 | * | pregressive quit (Remote host closed the connection) |
05:50:15 | * | gokr joined #nim |
05:50:56 | * | endragor joined #nim |
05:51:10 | * | endragor quit (Remote host closed the connection) |
05:51:39 | * | endragor joined #nim |
06:04:42 | * | dalarmmst joined #nim |
06:12:01 | * | NimBot joined #nim |
06:25:56 | * | Demon_Fox quit (Quit: Leaving) |
06:53:30 | * | yglukhov joined #nim |
06:56:33 | * | yglukhov quit (Remote host closed the connection) |
07:27:13 | * | ^aurora^ joined #nim |
07:28:04 | * | yglukhov joined #nim |
07:31:52 | * | Ven joined #nim |
07:36:07 | * | yglukhov quit (Remote host closed the connection) |
07:36:35 | * | Ven quit (Ping timeout: 256 seconds) |
07:42:27 | * | Ven joined #nim |
07:46:43 | * | Trustable joined #nim |
07:46:58 | * | Ven quit (Read error: No route to host) |
07:47:09 | * | Ven joined #nim |
08:12:22 | * | jaco60 joined #nim |
08:15:58 | * | Trustable quit (Remote host closed the connection) |
08:16:39 | * | Trustable joined #nim |
08:16:59 | * | yglukhov joined #nim |
08:17:36 | * | yglukhov quit (Remote host closed the connection) |
08:18:09 | * | yglukhov joined #nim |
08:22:35 | * | yglukhov quit (Ping timeout: 250 seconds) |
08:27:05 | * | jszymanski quit (Ping timeout: 265 seconds) |
08:27:57 | * | jszymanski joined #nim |
08:32:17 | * | yglukhov joined #nim |
08:36:05 | * | NimrodBot joined #nim |
08:39:41 | * | NimrodBot quit (Remote host closed the connection) |
08:56:13 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:58:43 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
09:00:45 | federico3 | reactormonk: for the record: const threadsOptionOn = compileOption("threads") |
09:01:34 | * | yglukhov_ joined #nim |
09:04:17 | * | yglukhov quit (Ping timeout: 252 seconds) |
09:11:18 | * | yglukhov_ quit (Remote host closed the connection) |
09:12:59 | * | bw_ quit (Remote host closed the connection) |
09:15:10 | * | Sembei joined #nim |
09:26:40 | * | Ven joined #nim |
09:26:41 | * | yglukhov joined #nim |
09:38:49 | * | matkuki joined #nim |
09:38:50 | reactormonk | federico3, neat |
09:49:45 | * | NimBot joined #nim |
09:52:17 | * | Sembei quit (Ping timeout: 250 seconds) |
09:55:16 | * | Sembei joined #nim |
10:06:36 | * | Ven quit (Read error: No route to host) |
10:06:36 | * | yglukhov quit (Read error: Connection reset by peer) |
10:07:11 | * | yglukhov joined #nim |
10:07:31 | * | Ven joined #nim |
10:13:30 | * | durm joined #nim |
10:16:53 | matkuki | A little help please. How is 'seq[ptr float]' correctly initialized? |
10:37:13 | * | Kingsqueee joined #nim |
10:37:32 | * | Kingsquee quit (Read error: Connection reset by peer) |
10:37:51 | yglukhov | let mySeq = newSeq[ptr float](); var myPFloat = cast[ptr float](alloc(sizeof(float)); myPFloat[] = 123.456; mySeq.add(myPFloat) |
10:38:08 | matkuki | thanks, let me try |
10:38:34 | yglukhov | don't forget to later dealloc the float |
10:38:59 | matkuki | got it |
10:39:04 | yglukhov | btw, the task really seems somewhat strange. what do you need it for? |
10:40:30 | yglukhov | normally you use ptrs only to interface with C code or for some hardcore optimizations. considering that you use seq, i'd say your goal is neither of those ;) |
10:45:50 | matkuki | yglukhov: this line 'mySeq.add(myPFloat)' gives me 'Error: type mismatch: got (seq[ptr float], ptr float)' ? |
10:46:17 | yglukhov | sorry, use var for mySeq, not let |
10:46:21 | yglukhov | var mySeq = newSeq[ptr float](); |
10:46:52 | yglukhov | that helps? |
10:47:05 | matkuki | yes, thanks |
10:47:42 | yglukhov | while for myPFloat you can say let =) |
10:52:23 | yglukhov | but i would still suggest to avoid ptrs anyway |
10:52:41 | * | BitPuffin|osx joined #nim |
10:53:51 | * | irrequietus joined #nim |
10:56:02 | matkuki | yglukhov: I'm making a game and I would need to describe a bit about what I'm doing. Got time? |
10:56:55 | matkuki | For a chat, I mean. |
10:57:18 | * | NimBot joined #nim |
10:57:24 | * | Sembei quit (Ping timeout: 264 seconds) |
11:01:37 | * | raza joined #nim |
11:07:11 | * | ^aurora^ joined #nim |
11:10:50 | matkuki | bbl |
11:10:52 | * | matkuki quit (Quit: ChatZilla 0.9.92 [Firefox 40.0.3/20150826023504]) |
11:10:55 | yglukhov | sure |
11:14:44 | * | Matthias247 joined #nim |
11:33:43 | * | Ven quit (Read error: No route to host) |
11:42:57 | * | Kingsqueee quit (Quit: http://i.imgur.com/EsXzoum.png) |
11:43:21 | * | Ven joined #nim |
11:59:43 | * | Sembei joined #nim |
12:07:32 | * | vegansk quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше)) |
12:12:24 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
12:30:35 | * | yglukhov_ joined #nim |
12:33:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
12:39:17 | * | lyro joined #nim |
12:47:37 | * | keyle quit (Quit: http://twitter.com/keyle/) |
12:48:13 | * | keyle joined #nim |
12:54:55 | * | FedeOmoto joined #nim |
12:55:26 | * | FedeOmoto quit (Client Quit) |
12:58:08 | * | keyle quit (Quit: http://twitter.com/keyle/) |
12:58:23 | * | FedeOmoto joined #nim |
12:58:28 | * | keyle joined #nim |
12:59:58 | * | keyle quit (Client Quit) |
13:00:22 | * | keyle joined #nim |
13:04:38 | * | NimBot joined #nim |
13:08:35 | * | Ven quit (Ping timeout: 264 seconds) |
13:12:26 | * | yglukhov_ quit (Remote host closed the connection) |
13:13:00 | * | yglukhov joined #nim |
13:19:15 | * | Ven joined #nim |
13:30:42 | * | UberLambda joined #nim |
13:31:11 | * | yglukhov_ joined #nim |
13:33:15 | * | yglukho__ joined #nim |
13:33:15 | * | yglukhov_ quit (Read error: Connection reset by peer) |
13:34:36 | * | yglukhov quit (Ping timeout: 264 seconds) |
13:38:13 | * | ingsoc joined #nim |
13:40:05 | * | bogen quit (Quit: Leaving.) |
13:40:25 | * | bogen joined #nim |
13:43:02 | * | strcmp1 joined #nim |
13:51:15 | * | pregressive joined #nim |
14:01:47 | * | pregressive quit (Remote host closed the connection) |
14:02:30 | * | pregressive joined #nim |
14:04:04 | * | saml joined #nim |
14:14:28 | * | NimBot joined #nim |
14:14:32 | * | keyle quit (Ping timeout: 272 seconds) |
14:20:29 | * | NimBot joined #nim |
14:49:24 | * | gokr quit (Quit: Leaving.) |
14:58:07 | OnO | dom96: hi, any news on multi-threaded async HTTP? |
14:58:35 | * | yglukho__ quit (Remote host closed the connection) |
14:59:11 | * | yglukhov joined #nim |
15:03:12 | * | yglukhov quit (Ping timeout: 244 seconds) |
15:06:06 | * | xcombelle joined #nim |
15:09:12 | * | UberLambda quit (Ping timeout: 272 seconds) |
15:13:31 | * | strcmp1 quit (Ping timeout: 252 seconds) |
15:13:58 | * | strcmp1 joined #nim |
15:14:33 | * | dalarmmst quit (Ping timeout: 244 seconds) |
15:14:46 | * | yglukhov joined #nim |
15:23:57 | * | strcmp1 quit (Ping timeout: 255 seconds) |
15:25:43 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:30:38 | * | raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
15:35:45 | * | raza joined #nim |
15:35:53 | * | strcmp1 joined #nim |
15:44:33 | * | Sembei quit (Max SendQ exceeded) |
15:50:18 | * | golak joined #nim |
15:52:02 | * | Ven joined #nim |
15:56:33 | * | Ven quit (Client Quit) |
16:00:41 | * | bendiken joined #nim |
16:13:13 | * | Matthias247 quit (Read error: Connection reset by peer) |
16:15:15 | * | endragor quit (Ping timeout: 255 seconds) |
16:18:06 | * | FedeOmoto quit (Ping timeout: 260 seconds) |
16:26:38 | * | NimBot joined #nim |
16:27:38 | * | vendethiel joined #nim |
16:30:50 | * | FedeOmoto joined #nim |
16:32:56 | * | NimBot joined #nim |
16:34:59 | * | Demos joined #nim |
16:46:20 | * | enamex joined #nim |
16:47:06 | * | durm quit (Ping timeout: 240 seconds) |
16:55:17 | * | strcmp1 quit (Quit: Leaving) |
16:59:57 | * | enamex quit (Quit: Page closed) |
17:00:05 | * | Enamex joined #nim |
17:01:10 | * | yglukhov quit (Ping timeout: 250 seconds) |
17:04:16 | * | shodan45 joined #nim |
17:04:47 | * | dalarmmst joined #nim |
17:05:58 | * | brson joined #nim |
17:16:20 | * | endragor joined #nim |
17:22:57 | * | endragor quit (Remote host closed the connection) |
17:24:20 | * | endragor joined #nim |
17:24:26 | * | FedeOmoto quit (Read error: Connection timed out) |
17:25:06 | * | FedeOmoto joined #nim |
17:25:14 | * | endragor quit (Remote host closed the connection) |
17:27:37 | * | ingsoc quit (Ping timeout: 256 seconds) |
17:49:27 | * | ^aurora^ joined #nim |
17:51:26 | * | kilon joined #nim |
17:57:49 | * | dalarmmst quit (Ping timeout: 246 seconds) |
17:59:13 | * | dalarmmst joined #nim |
18:00:52 | * | rektide2 left #nim (#nim) |
18:18:59 | * | FedeOmoto quit (Read error: Connection timed out) |
18:19:40 | * | FedeOmoto joined #nim |
18:21:46 | * | Matthias247 joined #nim |
18:27:26 | * | yglukhov joined #nim |
18:30:15 | dom96 | OnO: Sadly no. Currently my priority is stability. |
18:30:21 | dom96 | As well as other projects like Nimble. |
18:30:54 | * | NimBot joined #nim |
18:31:47 | * | Demon_Fox joined #nim |
18:34:31 | * | brson quit (Remote host closed the connection) |
18:36:42 | * | golak quit (Ping timeout: 260 seconds) |
18:43:30 | * | FedeOmoto quit (Read error: Connection timed out) |
18:44:12 | * | aziz joined #nim |
18:44:12 | * | FedeOmoto joined #nim |
18:50:05 | * | brson joined #nim |
18:57:19 | * | Demon_Fox quit (Ping timeout: 246 seconds) |
18:59:31 | * | FedeOmoto_ joined #nim |
18:59:42 | * | darkf quit (Quit: Leaving) |
19:02:25 | * | FedeOmoto quit (Ping timeout: 244 seconds) |
19:04:27 | * | Enamex quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
19:12:50 | * | Raimondii joined #nim |
19:14:34 | * | Enamex joined #nim |
19:14:54 | * | Demon_Fox joined #nim |
19:15:51 | * | Raimondi quit (Ping timeout: 256 seconds) |
19:16:25 | * | jaco60 quit (Ping timeout: 246 seconds) |
19:16:58 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
19:17:24 | * | jaco60 joined #nim |
19:21:21 | * | Raimondii is now known as Raimondi |
19:21:29 | Demos | did c2nim stop tagging enums with {.size: sizeof(cint).}? |
19:34:41 | * | Miruya joined #nim |
19:37:36 | * | FedeOmoto_ quit (Ping timeout: 264 seconds) |
19:38:09 | * | FedeOmoto_ joined #nim |
19:39:21 | * | Enamex quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
19:43:13 | * | Enamex joined #nim |
19:51:02 | * | dalarmmst quit (Ping timeout: 250 seconds) |
20:09:26 | * | brson quit (Quit: leaving) |
20:09:49 | * | golak joined #nim |
20:14:19 | * | xcombelle quit (Ping timeout: 246 seconds) |
20:15:04 | * | strcmp1 joined #nim |
20:16:55 | * | brson joined #nim |
20:17:23 | * | dalarmmst joined #nim |
20:23:13 | * | NimBot joined #nim |
20:23:38 | * | xcombelle joined #nim |
20:28:19 | * | jszymanski quit (Quit: computer sleeps...) |
20:33:36 | * | arzeth joined #nim |
20:37:20 | * | NimBot joined #nim |
20:38:10 | * | bendiken quit () |
20:38:43 | * | ^aurora^ joined #nim |
20:39:00 | * | bendiken joined #nim |
20:43:40 | * | xcombelle quit (Remote host closed the connection) |
20:45:28 | * | golak quit (Changing host) |
20:45:28 | * | golak joined #nim |
20:45:48 | * | X67r joined #nim |
20:51:30 | * | Demos_ joined #nim |
20:54:10 | * | Demos quit (Ping timeout: 240 seconds) |
21:03:03 | * | raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
21:04:44 | * | kilon quit () |
21:08:06 | * | FedeOmoto_ quit (Quit: Leaving) |
21:09:28 | * | dalarmmst quit (Ping timeout: 246 seconds) |
21:13:47 | NimBot | nim-lang/Nim devel e733deb Araq [+1 ±4 -0]: first implementation of write tracking and escape analysis; still disabled |
21:13:47 | NimBot | nim-lang/Nim devel 940b3ce Araq [+0 ±1 -0]: write tracking: leaner code; minor bug fixes (still unusable) |
21:20:24 | * | Matthias247 quit (Read error: Connection reset by peer) |
21:21:41 | * | Trustable quit (Remote host closed the connection) |
21:22:08 | * | Demos_ quit (Read error: Connection reset by peer) |
21:24:00 | * | Matthias247 joined #nim |
21:30:34 | * | Matthias247 quit (Read error: Connection reset by peer) |
21:35:04 | * | gmpreussner|work joined #nim |
21:38:18 | yglukhov | Quick qustion. I want to define nim function delete(a: var seq[T], i: Natural), that is translated to JS as a.splice(0, i). How do i do that? |
21:44:12 | * | vendethiel quit (Ping timeout: 255 seconds) |
21:47:44 | * | golak quit (Quit: leaving) |
21:47:54 | reactormonk | Araq, write tracking is for memory writes? |
21:57:57 | * | boydgreenfield joined #nim |
21:58:53 | * | Kingsquee joined #nim |
22:01:55 | boydgreenfield | Is the `zlib` wrapper the best way to deal with gzip’d files in Nim – or is there a File-alike class w/ related procs (e.g., `readLine`) somewhere in the stdlib or elsewhere? Having a lot of trouble searching for this, but am perhaps looking in the wrong place |
22:03:46 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
22:07:30 | * | keyle joined #nim |
22:12:50 | dom96 | boydgreenfield: only module I'm aware of is the zipfiles module, not sure if it supports gzip'd files. (https://github.com/nim-lang/zip/blob/master/zip/zipfiles.nim) |
22:15:59 | boydgreenfield | dom96: Hmm, I don’t think that does. Thanks though! |
22:17:04 | * | arzeth quit (Quit: Leaving) |
22:17:14 | dom96 | boydgreenfield: no problem :) |
22:20:59 | * | aziz quit (Remote host closed the connection) |
22:21:02 | * | brson quit (Quit: leaving) |
22:21:43 | * | pregressive quit (Remote host closed the connection) |
22:23:23 | * | brson joined #nim |
22:25:48 | * | shodan45 quit (Quit: Konversation terminated!) |
22:27:50 | * | enquora joined #nim |
22:33:11 | * | Enamex quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
22:46:19 | federico3 | dom96: I've updated nimforum #64 |
22:51:00 | * | yglukhov quit (Remote host closed the connection) |
22:53:32 | * | NimBot joined #nim |
22:56:45 | * | yglukhov joined #nim |
23:02:30 | * | strcmp1 quit (Ping timeout: 240 seconds) |
23:06:27 | * | strcmp1 joined #nim |
23:07:28 | * | boydgreenfield quit (Quit: boydgreenfield) |
23:19:30 | * | cyraxjoe quit (Ping timeout: 240 seconds) |
23:20:49 | * | yglukhov quit (Remote host closed the connection) |
23:22:20 | * | NimBot joined #nim |
23:24:45 | * | irrequietus quit () |
23:38:00 | * | brson quit (Quit: leaving) |
23:40:19 | * | jaco60 quit (Ping timeout: 246 seconds) |
23:41:00 | * | X67r quit (Quit: leaving) |