| 00:00:22 | dom96 | it would be safe but not very efficient |
| 00:14:00 | * | SusWombat_ joined #nim |
| 00:14:48 | * | SusWombat quit (Ping timeout: 240 seconds) |
| 00:19:44 | * | yglukhov joined #nim |
| 00:24:28 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 00:28:01 | FromGitter | <shmup> I want to use the string result of htmlparser.getContent with xmltree's findAll. I'm overlooking what I might use to parse a string into an XmlNode. |
| 00:32:30 | FromGitter | <shmup> OK, I see someone doing a GET scrape by passing the turning the result.body into a Stream, because parseHtml requires aStream. I will just assume that's what I have to do. |
| 00:32:41 | FromGitter | <shmup> re: this thread https://forum.nim-lang.org/t/2566 |
| 00:33:18 | FromGitter | <Varriount> @zacharycarter Looks good? |
| 01:48:41 | * | xikuukawaii joined #nim |
| 01:49:28 | FromGitter | <ephja> May I have write access to the opengl lib? |
| 01:51:26 | * | chemist69 quit (Ping timeout: 272 seconds) |
| 01:52:07 | FromGitter | <ephja> I would like to add a description. it's about time lol |
| 01:54:38 | demi- | open a PR? |
| 01:54:54 | FromGitter | <ephja> wait. yeah I still have write access, but I dunno if anyone other than the owner can change that |
| 01:56:14 | FromGitter | <ephja> demi-: the readme file is part of the repo but not the one line description |
| 01:57:47 | FromGitter | <ephja> it's 4am. I'm outta here. gn |
| 02:04:59 | * | chemist69 joined #nim |
| 02:10:17 | * | BennyElg joined #nim |
| 02:10:17 | * | BennyElg_ quit (Read error: Connection reset by peer) |
| 02:17:50 | chrisheller | in case anyone was interested in the memory dumping that I mentioned before, here is what I came up. https://gist.github.com/chrisheller/1e79aa27ae70dc859ec44c612b315b39 |
| 02:18:36 | chrisheller | It's just a port of this C code, https://gist.github.com/domnikl/af00cc154e3da1c5d965 |
| 02:21:57 | * | yglukhov joined #nim |
| 02:21:58 | * | libman has been banned from the forum for 16 days now over https://forum.nim-lang.org/t/2946 ... |
| 02:26:54 | * | yglukhov quit (Ping timeout: 272 seconds) |
| 02:35:28 | * | brson quit (Ping timeout: 260 seconds) |
| 03:22:54 | * | pilne quit (Quit: Quitting!) |
| 04:04:07 | * | daaf quit (Ping timeout: 240 seconds) |
| 04:20:48 | * | BennyElg quit (Remote host closed the connection) |
| 04:21:23 | * | BennyElg joined #nim |
| 04:23:54 | * | yglukhov joined #nim |
| 04:25:32 | * | BennyElg quit (Ping timeout: 240 seconds) |
| 04:28:18 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 04:42:03 | * | arnetheduck_ quit (Remote host closed the connection) |
| 04:52:04 | * | Kingsquee joined #nim |
| 05:39:47 | * | Trioxin quit (Ping timeout: 240 seconds) |
| 05:57:35 | * | Kingsquee quit (Ping timeout: 240 seconds) |
| 06:01:02 | * | xikuukawaii quit (Ping timeout: 240 seconds) |
| 06:07:08 | FromGitter | <Varriount> @dom96 ^ |
| 06:20:49 | * | nsf joined #nim |
| 06:21:24 | * | jsgrant_ quit (Remote host closed the connection) |
| 06:24:00 | * | yglukhov joined #nim |
| 06:28:07 | * | yglukhov quit (Ping timeout: 240 seconds) |
| 06:34:37 | * | Arrrr joined #nim |
| 06:36:31 | * | BennyElg joined #nim |
| 06:40:43 | * | BennyElg_ joined #nim |
| 06:41:12 | * | gokr joined #nim |
| 06:41:16 | * | BennyElg quit (Read error: Connection reset by peer) |
| 06:52:07 | * | Ven joined #nim |
| 06:52:30 | * | Ven is now known as Guest76515 |
| 06:56:28 | * | Guest76515 quit (Ping timeout: 240 seconds) |
| 07:10:20 | * | yglukhov joined #nim |
| 07:20:28 | * | arnetheduck joined #nim |
| 07:33:01 | * | libman quit (Quit: Connection closed for inactivity) |
| 07:46:50 | * | Neomex quit (Quit: Leaving) |
| 07:53:01 | * | Ven joined #nim |
| 07:53:24 | * | Ven is now known as Guest32731 |
| 07:58:29 | * | Guest32731 quit (Ping timeout: 246 seconds) |
| 08:00:56 | FromGitter | <andreaferretti> @couven92 there is in fact https://github.com/unicredit/nimcuda |
| 08:13:50 | * | chemist69 quit (Quit: WeeChat 1.8) |
| 08:14:20 | * | chemist69 joined #nim |
| 08:38:49 | niv | is there a compile-time define/constant for the current nim compiler version? |
| 08:39:39 | * | Andris_zbx joined #nim |
| 08:40:28 | * | Jesin quit (Quit: Leaving) |
| 08:42:49 | * | Jesin joined #nim |
| 08:44:00 | * | Vladar joined #nim |
| 08:45:23 | * | xet7 joined #nim |
| 08:51:09 | * | xet7 quit (Quit: Leaving) |
| 08:53:00 | FromGitter | <GULPF> https://nim-lang.org/docs/system.html#NimVersion? |
| 08:54:40 | * | PMunch joined #nim |
| 09:06:22 | * | bjz joined #nim |
| 09:18:26 | niv | Thanks! |
| 09:24:54 | * | couven92 joined #nim |
| 09:45:15 | * | couven92 quit (Read error: Connection reset by peer) |
| 09:45:42 | * | couven92 joined #nim |
| 09:55:40 | * | Ven joined #nim |
| 09:56:04 | * | Ven is now known as Guest62023 |
| 10:00:22 | * | Guest62023 quit (Ping timeout: 272 seconds) |
| 10:16:40 | FromGitter | <ephja> should type(T) be used? it's the same as typedesc[T], isn't it? You can't do type(T|U) though |
| 11:06:57 | * | kunev quit (Ping timeout: 240 seconds) |
| 11:08:56 | * | kunev joined #nim |
| 11:22:11 | * | benoliver999 joined #nim |
| 11:24:18 | FromGitter | <mratsim> @ephja, context? |
| 11:41:56 | * | Tiberium joined #nim |
| 11:48:18 | FromGitter | <mratsim> `newSeqOfCap` allocates the capacity but it seems like you have to use sequence.add and not sequence[index] to set its values. How much faster is it than initializing a newSeq with 0 and then use indexing? |
| 11:52:53 | FromGitter | <andreaferretti> I would guess it's the same or possibly a little slower |
| 11:52:56 | FromGitter | <andreaferretti> it is just more conveniente |
| 11:53:08 | FromGitter | <andreaferretti> because you don't have to keep the index yourself |
| 11:53:26 | FromGitter | <andreaferretti> or worry that the sequence contains extraneous zeros |
| 11:55:02 | FromGitter | <mratsim> okay, thanks |
| 12:37:44 | * | Tiberium quit (Remote host closed the connection) |
| 12:40:10 | * | Tiberium joined #nim |
| 13:20:33 | * | BennyElg_ quit (Remote host closed the connection) |
| 13:22:01 | * | Tiberium quit (Remote host closed the connection) |
| 13:23:11 | * | BennyElg joined #nim |
| 13:25:41 | yglukhov | can i get current dir or mainfile dir/path in compile time? |
| 13:27:32 | * | BennyElg quit (Ping timeout: 240 seconds) |
| 13:28:20 | * | Tiberium joined #nim |
| 13:29:12 | demi- | `{.emit: "__FILE__".}` ? |
| 13:36:15 | * | kunev quit (Ping timeout: 260 seconds) |
| 13:37:43 | * | kunev joined #nim |
| 13:46:24 | yglukhov | demi-, no, i want to get current dir or mainfile path as a nim string variable in {.compileTime.} proc |
| 13:49:04 | * | Tiberium quit (Remote host closed the connection) |
| 13:57:42 | * | rauss joined #nim |
| 13:58:01 | * | Tiberium joined #nim |
| 14:08:31 | * | BennyElg joined #nim |
| 14:13:48 | * | Tiberium quit (Remote host closed the connection) |
| 14:14:12 | * | Tiberium joined #nim |
| 14:27:33 | * | nsf quit (Quit: WeeChat 1.7.1) |
| 14:34:07 | * | kunev quit (Ping timeout: 255 seconds) |
| 14:35:21 | * | kunev joined #nim |
| 14:56:47 | * | smt_ quit (Ping timeout: 272 seconds) |
| 15:03:29 | * | rokups joined #nim |
| 15:05:26 | * | smt joined #nim |
| 15:18:16 | * | couven92 quit (Quit: Client disconnecting) |
| 15:27:05 | * | rauss quit (Ping timeout: 240 seconds) |
| 15:28:35 | * | Tiberium quit (Remote host closed the connection) |
| 15:28:39 | * | rauss joined #nim |
| 15:29:28 | * | kunev quit (Ping timeout: 255 seconds) |
| 15:30:26 | * | kunev joined #nim |
| 15:38:06 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 15:38:44 | * | BennyElg quit (Remote host closed the connection) |
| 15:45:10 | def- | yglukhov: template currentFile: string = instantiationInfo(-1, true).filename |
| 15:59:48 | * | Andris_zbx quit (Remote host closed the connection) |
| 16:00:31 | * | rauss quit (Ping timeout: 255 seconds) |
| 16:01:19 | * | rauss joined #nim |
| 16:14:20 | * | nsf joined #nim |
| 16:16:35 | * | pigmej quit (Ping timeout: 240 seconds) |
| 16:21:13 | * | pigmej joined #nim |
| 16:31:00 | * | Matthias247 joined #nim |
| 16:31:31 | * | yglukhov quit (Remote host closed the connection) |
| 16:32:32 | * | yglukhov joined #nim |
| 16:34:20 | * | yglukhov_ joined #nim |
| 16:34:20 | * | yglukhov quit (Read error: Connection reset by peer) |
| 16:36:18 | * | Tiberium joined #nim |
| 16:37:42 | * | Tiberium quit (Remote host closed the connection) |
| 16:38:43 | * | yglukhov_ quit (Ping timeout: 260 seconds) |
| 16:43:34 | * | krux02 joined #nim |
| 16:46:31 | * | yglukhov joined #nim |
| 16:50:45 | * | yglukhov quit (Ping timeout: 258 seconds) |
| 16:54:44 | * | brson joined #nim |
| 16:57:41 | * | pilne joined #nim |
| 16:59:03 | * | Sentreen quit (Ping timeout: 260 seconds) |
| 17:01:11 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 17:11:20 | * | Sentreen joined #nim |
| 17:13:52 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
| 17:25:28 | * | gokr quit (Quit: Leaving.) |
| 17:30:05 | * | kunev quit (Ping timeout: 240 seconds) |
| 17:31:12 | * | freevryheid joined #nim |
| 17:31:18 | * | freevryheid is now known as fvs |
| 17:32:06 | * | kunev joined #nim |
| 17:39:22 | FromGitter | <ephja> https://nim-lang.org/docs/system.html#currentSourcePath.t, ;) |
| 17:50:51 | * | brson quit (Quit: leaving) |
| 17:51:05 | * | brson joined #nim |
| 17:53:12 | * | rokups quit (Quit: Connection closed for inactivity) |
| 18:00:00 | * | yglukhov joined #nim |
| 18:04:05 | * | yglukhov quit (Ping timeout: 240 seconds) |
| 18:10:29 | * | kunev quit (Ping timeout: 255 seconds) |
| 18:12:40 | * | kunev joined #nim |
| 18:26:03 | * | smt quit (Read error: Connection reset by peer) |
| 18:26:58 | * | smt joined #nim |
| 18:29:04 | * | yglukhov joined #nim |
| 18:29:22 | * | Jesin quit (Quit: Leaving) |
| 18:35:27 | * | fvs quit (Quit: leaving) |
| 18:36:26 | * | BennyElg joined #nim |
| 18:37:08 | yglukhov | def-: i don't think that works. it would return the filename of the instantiating module, right? thats neither current dir, nor main module. |
| 18:42:48 | * | yglukhov quit (Remote host closed the connection) |
| 18:42:58 | * | BennyElg quit (Read error: Connection reset by peer) |
| 18:43:29 | * | BennyElg joined #nim |
| 18:46:05 | * | Hekatonkiros joined #nim |
| 18:46:35 | * | Hekatonkiros quit (Client Quit) |
| 18:48:35 | * | Hekatonkiros joined #nim |
| 18:50:21 | * | Hekatonkiros_ joined #nim |
| 18:52:59 | * | Hekatonkiros quit (Ping timeout: 246 seconds) |
| 18:54:12 | * | Hekatonkiros joined #nim |
| 18:54:23 | * | Hekatonkiros quit (Remote host closed the connection) |
| 18:54:37 | * | Hekatonkiros joined #nim |
| 18:55:26 | * | Hekatonkiros_ quit (Ping timeout: 246 seconds) |
| 18:56:03 | * | Hekatonkiros quit (Remote host closed the connection) |
| 18:56:17 | * | Hekatonkiros joined #nim |
| 19:01:15 | * | Hekatonkiros quit (Ping timeout: 272 seconds) |
| 19:01:40 | * | krux02 quit (Remote host closed the connection) |
| 19:05:03 | * | Jesin joined #nim |
| 19:08:13 | * | rauss quit (Ping timeout: 272 seconds) |
| 19:09:40 | * | rauss joined #nim |
| 19:20:15 | * | BennyElg_ joined #nim |
| 19:20:16 | * | BennyElg quit (Read error: Connection reset by peer) |
| 19:21:15 | * | Hekatonkiros joined #nim |
| 19:21:48 | * | Hekatonkiros quit (Client Quit) |
| 19:22:34 | * | Hekatonkiros joined #nim |
| 19:28:58 | * | Hekaton joined #nim |
| 19:29:03 | * | yglukhov joined #nim |
| 19:29:55 | * | Matthias247 joined #nim |
| 19:30:41 | * | couven92 joined #nim |
| 19:31:35 | * | Hekatonkiros quit (Ping timeout: 240 seconds) |
| 19:33:38 | * | jivank_ quit (Ping timeout: 246 seconds) |
| 19:36:18 | * | yglukhov quit (Remote host closed the connection) |
| 19:39:24 | BennyElg_ | what is the different between template and a simple proc |
| 19:40:05 | * | yglukhov joined #nim |
| 19:48:02 | BennyElg_ | I thougt I can do something like: |
| 19:48:32 | def- | BennyElg_: template gets instantiated at compile time by Nim. proc gets passed as a C function to C compiler and will be invoked at runtime (or not depending on C optimizations) |
| 19:48:36 | * | Arrrr quit (Quit: Leaving.) |
| 19:49:00 | BennyElg_ | add new "sign" like template `^*`(a, b: string): bool = { return a == b } than just do "hello" `^*` "hello" |
| 19:49:08 | * | yglukhov quit (Remote host closed the connection) |
| 19:49:19 | * | nsf quit (Quit: WeeChat 1.7.1) |
| 19:50:34 | def- | BennyElg_: yeah, works |
| 19:50:38 | def- | template `^*`(a, b: string): bool = a == b |
| 19:50:38 | def- | echo "hello" ^* "hello" |
| 19:50:50 | BennyElg_ | it doesnt |
| 19:50:59 | * | Neomex joined #nim |
| 19:51:01 | def- | works for me, be more specific |
| 19:51:31 | BennyElg_ | Oh it is working i just removed the `` |
| 19:51:39 | BennyElg_ | Cheers! thanks. |
| 19:53:09 | * | BennyElg joined #nim |
| 19:53:09 | * | BennyElg_ quit (Read error: Connection reset by peer) |
| 19:57:23 | * | kunev quit (Ping timeout: 240 seconds) |
| 19:58:20 | * | kunev joined #nim |
| 20:04:04 | * | yglukhov joined #nim |
| 20:05:40 | * | yglukhov quit (Remote host closed the connection) |
| 20:08:24 | * | sz0 joined #nim |
| 20:13:36 | * | xet7 joined #nim |
| 20:27:47 | Hekaton | I'm a little bit confused, is statement evaluation in nim opposite to c? |
| 20:29:24 | Hekaton | I mean, from left to right instead of right to left? |
| 20:31:19 | FromGitter | <Varriount> Hekaton: No, it's from right to left. |
| 20:31:41 | FromGitter | <Varriount> Operations have varying levels of precedence though, just like in virtually any other programming language |
| 20:31:41 | Hekaton | ah, that's a relief |
| 20:33:07 | FromGitter | <mratsim> @hekaton, here are the precedence rules: https://nim-lang.org/docs/manual.html#syntax-precedence |
| 20:37:36 | Hekaton | thanks |
| 20:40:29 | * | vlad1777d joined #nim |
| 20:41:15 | * | BennyElg quit (Remote host closed the connection) |
| 20:41:18 | * | Hekatonkiros joined #nim |
| 20:43:28 | * | Hekaton quit (Ping timeout: 240 seconds) |
| 20:53:34 | * | rauss quit (Quit: WeeChat 1.8) |
| 21:03:19 | * | nsf joined #nim |
| 21:04:32 | * | smt quit (Read error: Connection reset by peer) |
| 21:04:53 | * | Vladar quit (Remote host closed the connection) |
| 21:04:56 | * | smt joined #nim |
| 21:23:21 | * | brson quit (Quit: leaving) |
| 21:28:09 | * | nsf quit (Quit: WeeChat 1.7.1) |
| 21:28:40 | * | couven92 quit (Remote host closed the connection) |
| 21:29:05 | * | couven92 joined #nim |
| 21:35:46 | * | gokr joined #nim |
| 21:37:03 | * | bjz joined #nim |
| 21:38:12 | * | vlad1777d quit (Remote host closed the connection) |
| 21:39:17 | mindB | Is there an error in "Nim by example"? When I try to compile the code here (https://nim-by-example.github.io/procvars/), I get a "type mismatch" error that I don't understand. |
| 21:40:07 | * | adeohluwa joined #nim |
| 21:42:20 | * | Hekaton joined #nim |
| 21:44:31 | * | Hekatonkiros quit (Ping timeout: 240 seconds) |
| 21:45:44 | mindB | https://pastebin.com/9ZgY5w2C |
| 21:45:48 | * | vlad1777d joined #nim |
| 21:47:44 | * | gokr quit (Quit: Leaving.) |
| 21:48:01 | * | Trioxin joined #nim |
| 21:52:28 | * | Snircle joined #nim |
| 21:57:48 | * | Trustable joined #nim |
| 21:58:08 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 22:01:26 | * | BennyElg joined #nim |
| 22:06:38 | FromGitter | <mratsim> Wow awesome necroing @krux02 https://forum.nim-lang.org/t/217 but interesting, I was really frustrated by the fact that I couldn’t use zipWith with `+``*`built-ins |
| 22:12:42 | * | BennyElg quit (Remote host closed the connection) |
| 22:15:10 | * | brson joined #nim |
| 22:22:02 | * | daaf joined #nim |
| 22:22:37 | * | Hekatonkiros joined #nim |
| 22:22:55 | * | daaf quit (Client Quit) |
| 22:23:10 | * | daaf joined #nim |
| 22:25:43 | * | Hekaton quit (Ping timeout: 268 seconds) |
| 22:39:51 | * | Trustable quit (Remote host closed the connection) |
| 22:44:12 | * | rauss joined #nim |
| 22:49:11 | * | brson quit (Quit: leaving) |
| 22:49:32 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 22:57:30 | * | Jesin quit (Quit: Leaving) |
| 22:59:55 | * | Hekatonkiros quit (Ping timeout: 255 seconds) |
| 23:00:12 | * | brson joined #nim |
| 23:00:35 | * | BennyElg joined #nim |
| 23:00:36 | * | Jesin joined #nim |
| 23:09:24 | FromGitter | <zacharycarter> Could anyone direct me how to use the output from address sanitizer on osx? |
| 23:09:31 | FromGitter | <zacharycarter> what to do with its output / use it to track down memory corruption? |
| 23:30:31 | FromGitter | <zacharycarter> I just get a bunch of addresses with it - no symbols :/ |
| 23:34:23 | FromGitter | <Varriount> @zacharycarter Have you compiled with --debugger:native ? |
| 23:34:32 | FromGitter | <zacharycarter> no let me try that |
| 23:35:49 | FromGitter | <zacharycarter> same result @Varriount |
| 23:36:16 | FromGitter | <Varriount> Hm |
| 23:36:58 | FromGitter | <zacharycarter> I was reading something about a symbolizer in the clang docs but I can't find llvm-symbolizer anywhere on my machine |
| 23:37:05 | FromGitter | <zacharycarter> not even sure if it's a thing anymore |
| 23:42:17 | * | Nobabs27 joined #nim |
| 23:46:31 | FromGitter | <zacharycarter> demi-: any idea? |
| 23:46:47 | * | BennyElg quit (Read error: Connection reset by peer) |
| 23:47:18 | * | BennyElg joined #nim |
| 23:48:06 | * | couven92 quit (Quit: Client Disconnecting) |
| 23:50:13 | FromGitter | <mratsim> Is there a way to output an inline iterator from a template? ⏎ ⏎ My code is littered with ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59261c3500efc2bb3ea097a4] |
| 23:59:18 | * | rauss quit (Quit: WeeChat 1.8) |