00:04:12 | * | krux02_ joined #nim |
00:08:03 | * | krux02 quit (Ping timeout: 268 seconds) |
00:11:40 | * | theelous3 joined #nim |
00:27:06 | * | abm quit (Quit: Leaving) |
00:35:15 | * | luis_ quit (Ping timeout: 272 seconds) |
00:44:01 | * | clyybber joined #nim |
00:45:07 | * | icebattle joined #nim |
00:47:29 | * | krux02_ quit (Remote host closed the connection) |
00:58:33 | * | clyybber quit (Quit: WeeChat 2.7) |
01:07:48 | * | ptdel quit (Ping timeout: 248 seconds) |
01:09:23 | * | solitudesf quit (Ping timeout: 260 seconds) |
01:13:31 | * | ptdel joined #nim |
01:15:27 | * | icebattle quit (Ping timeout: 268 seconds) |
01:35:22 | * | xet7 quit (Quit: Leaving) |
01:50:27 | * | ptdel quit (Ping timeout: 265 seconds) |
01:58:18 | * | ptdel joined #nim |
02:02:56 | * | Hideki_ joined #nim |
02:03:33 | * | lritter quit (Ping timeout: 268 seconds) |
02:23:59 | * | Ven_de_Thiel quit (Quit: Textual IRC Client: www.textualapp.com) |
02:25:39 | * | Ven`` joined #nim |
02:29:07 | * | Hideki_ quit () |
02:33:14 | * | chemist69 quit (Ping timeout: 246 seconds) |
02:34:17 | * | chemist69 joined #nim |
02:38:49 | * | ftsf joined #nim |
03:01:20 | * | cgfuh quit (Ping timeout: 268 seconds) |
03:08:42 | * | Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
03:40:05 | * | muffindrake quit (Ping timeout: 246 seconds) |
03:46:55 | * | muffindrake joined #nim |
04:35:07 | * | rockcavera quit (Remote host closed the connection) |
04:40:22 | * | dddddd quit (Quit: Hasta otra..) |
05:15:12 | * | Hideki_ joined #nim |
05:17:32 | * | greenfork joined #nim |
05:33:39 | * | akitoshi joined #nim |
06:09:36 | * | greenfork quit (Read error: Connection reset by peer) |
06:10:29 | * | greenfork joined #nim |
06:29:04 | * | tefter joined #nim |
06:35:00 | * | ptdel quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
06:53:18 | * | narimiran joined #nim |
06:57:48 | * | ehmry quit (Ping timeout: 245 seconds) |
07:02:38 | * | Hideki_ quit (Ping timeout: 268 seconds) |
07:19:53 | * | ehmry joined #nim |
07:40:22 | FromDiscord_ | <Zachary Carter> +21 |
07:43:24 | * | akitoshi quit (Quit: Connection closed for inactivity) |
07:47:51 | * | solitudesf joined #nim |
07:52:52 | Zevv | 21 whats? |
08:00:00 | * | gmpreussner quit (Quit: kthxbye) |
08:05:10 | * | gmpreussner joined #nim |
08:24:17 | * | nsf joined #nim |
08:44:55 | FromDiscord_ | <Rika> Yes |
08:59:48 | * | Hideki_ joined #nim |
09:04:13 | * | Hideki_ quit (Ping timeout: 260 seconds) |
09:05:27 | ftsf | hmm is there a way to iterate a seq via index but get an editable variable like you would with mitems. eg for i in 0..<a.high: var b = a[i]; and have b not be a copy but actually a[i]? |
09:24:41 | * | Hideki_ joined #nim |
09:48:58 | * | Hideki_ quit (Remote host closed the connection) |
09:49:44 | * | Hideki_ joined #nim |
09:54:41 | * | Hideki_ quit (Ping timeout: 268 seconds) |
09:57:34 | FromDiscord_ | <treeform> I just made it to FOSDEM any wants to Meetup and hangout? |
09:58:35 | FromDiscord_ | <Clyybber> I wish I were there |
10:00:17 | FromDiscord_ | <Clyybber> ftsf: Theres a PR that implements something like that. It kind of falls into the view RFC |
10:00:29 | FromDiscord_ | <Clyybber> for now I dont think theres a way |
10:00:37 | ftsf | ok, thanks |
10:00:42 | ftsf | have fun as fosdem |
10:00:45 | ftsf | *at |
10:00:46 | FromDiscord_ | <Clyybber> you could of course take the address |
10:01:04 | ftsf | i ended up just making an iterator |
10:01:22 | FromDiscord_ | <Clyybber> ah, yeah thats probably best |
10:01:23 | ftsf | not sure why iterators can do it but you can't otherwise |
10:14:05 | * | chemist69 quit (Ping timeout: 265 seconds) |
10:14:55 | * | chemist69 joined #nim |
10:24:51 | * | Hideki_ joined #nim |
10:26:28 | * | solitudesf quit (Ping timeout: 260 seconds) |
10:52:28 | * | Hideki_ quit (Ping timeout: 268 seconds) |
11:00:37 | * | Ven`` joined #nim |
11:03:46 | Zevv | treeform: have Telegram? |
11:07:56 | * | greenfork quit (Remote host closed the connection) |
11:18:15 | FromDiscord_ | <treeform> No but I can get it |
11:20:09 | FromDiscord_ | <treeform> Ok have it now |
11:22:20 | * | treeform joined #nim |
11:23:38 | treeform | Ok irc |
11:24:57 | FromDiscord_ | <treeform> Sent you telegram number |
11:26:54 | FromDiscord_ | <treeform> Through irc msg |
11:34:57 | * | krux02 joined #nim |
11:38:13 | * | treeform quit (Remote host closed the connection) |
11:47:15 | * | luis_ joined #nim |
11:48:22 | * | filcuc joined #nim |
11:50:57 | * | PMunch joined #nim |
11:51:02 | FromDiscord_ | <treeform> My telegram username is @treeform |
11:52:46 | Zevv | treeform: join the "NIM fosdem 2020" group |
11:53:19 | FromDiscord_ | <Rika> Sigh, when will the day that nim allows for tabs come |
11:53:46 | * | Hideki_ joined #nim |
11:55:23 | PMunch | Rika, you can do that with source code filters already :) |
12:03:09 | dom96 | Rika: never. Join the revolution, use spaces. |
12:05:04 | lqdev[m] | @Rika hopefully never |
12:05:18 | lqdev[m] | the documentation clearly states why spaces are preferred |
12:05:25 | * | luis_ quit (Ping timeout: 268 seconds) |
12:05:29 | FromDiscord_ | <Rika> I don't use tabs, but I just discovered elastic tabstops |
12:05:43 | FromDiscord_ | <Rika> I'm still a space lover though, but elastic tabs tops look interesting |
12:06:02 | FromDiscord_ | <Rika> Can I have a link lq? |
12:06:38 | * | xet7 joined #nim |
12:11:46 | Zevv | https://github.com/zevv/nim-arduino |
12:16:12 | * | Hideki_ quit (Remote host closed the connection) |
12:16:50 | * | Hideki_ joined #nim |
12:21:19 | * | Hideki_ quit (Ping timeout: 265 seconds) |
12:28:49 | * | luis_ joined #nim |
12:34:34 | * | luis_ quit (Ping timeout: 265 seconds) |
12:39:14 | * | Hideki_ joined #nim |
12:44:17 | * | nsf quit (Quit: WeeChat 2.7) |
13:01:43 | * | PMunch quit (Quit: Leaving) |
13:06:22 | lqdev[m] | @Rika https://nim-lang.org/docs/nep1.html#introduction-spacing-and-whitespace-conventions |
13:29:41 | * | Ven`` quit (Read error: Connection reset by peer) |
13:41:51 | * | Hideki_ quit (Remote host closed the connection) |
13:42:50 | * | Hideki_ joined #nim |
13:46:31 | * | Hideki_ quit (Remote host closed the connection) |
13:46:48 | * | Hideki_ joined #nim |
13:48:13 | * | rockcavera joined #nim |
13:53:43 | * | dddddd joined #nim |
14:05:20 | * | nsf joined #nim |
14:06:13 | FromDiscord_ | <Chiqqum_Ngbata> ARC isn't in v1.0.6 right? |
14:07:01 | Araq | right |
14:07:37 | FromDiscord_ | <Chiqqum_Ngbata> 1.1 thing? |
14:12:00 | lqdev[m] | 1.2 |
14:12:13 | lqdev[m] | afaik |
14:16:32 | * | filcuc quit (Quit: Konversation terminated!) |
14:24:16 | narimiran | 1.1 = devel, so yes: available in 1.1 |
14:30:16 | lqdev[m] | is incremental compilation usable at this point? |
14:35:15 | FromGitter | <deech> In trying to convert a `cstring` to a Nim `string` I found `strs_v2` which has a proc that converts it to a `NimStringV2`. Is that just a normal `string`? |
14:35:50 | Zevv | strs_v2 is for --newruntime and --gc:arc only |
14:36:51 | FromGitter | <deech> In that case is there a stdlib function that does what I want? |
14:37:49 | Zevv | just use $ |
14:38:50 | FromGitter | <deech> Nice, for some reason I never think to use `$`. Some kind of blindspot. |
14:39:33 | FromGitter | <deech> I guess my followup is if I need to worry about the `cstring` memory after the conversion. |
14:42:22 | * | solitudesf joined #nim |
14:56:56 | * | mal`` quit (Quit: Leaving) |
15:09:35 | lqdev[m] | $ copies the string afaik |
15:13:25 | * | Hideki_ quit (Remote host closed the connection) |
15:14:41 | * | Hideki_ joined #nim |
15:19:33 | * | Hideki_ quit (Ping timeout: 265 seconds) |
15:20:28 | * | mal`` joined #nim |
15:23:52 | * | sagax quit (Remote host closed the connection) |
15:31:13 | FromDiscord_ | <Recruit_main_70007> Error: unhandled exception: index out of bounds, the container is empty [IndexError] |
15:31:13 | FromDiscord_ | <Recruit_main_70007> |
15:31:13 | FromDiscord_ | <Recruit_main_70007> what does these mean, its not giving me more information about the error |
15:34:58 | FromDiscord_ | <demotomohiro> it means you tried to a[i] but a is empty container(array, seq, string, set or etc) |
15:40:10 | * | lritter joined #nim |
15:43:08 | FromGitter | <kristianmandrup> How do I convert between array, sequence and tuples? functions part of standard lib or specialized lib? |
15:44:54 | FromDiscord_ | <Rika> for arr -> seq, there's sequtils.toSeq |
15:45:14 | FromDiscord_ | <Rika> well, also for tup -> seq |
15:46:01 | FromDiscord_ | <Rika> you cannot set the size of arrays in runtime so idk how you'd want seq -> arg, because youll need size checks |
15:46:03 | FromGitter | <kristianmandrup> How to interop with JavaScript array? OpenArray? Sequence? |
15:46:14 | FromDiscord_ | <Rika> i think javascript arrays are seqs |
15:46:30 | FromDiscord_ | <Rika> i dont use the js target, sorry |
15:46:31 | FromGitter | <kristianmandrup> I thought so as well, need to convert it to a tuple though |
15:46:38 | FromGitter | <kristianmandrup> for "destructuring" in Nim |
15:47:02 | FromGitter | <kristianmandrup> sequence -> tuple ?? |
15:47:06 | FromDiscord_ | <Rika> you'd need to ensure the size, because we dont have a spread operator in nim |
15:47:08 | * | nsf quit (Quit: WeeChat 2.7) |
15:47:20 | FromGitter | <kristianmandrup> I know always 2 elements |
15:48:21 | FromDiscord_ | <Rika> then it would simply be `let (a, b) = (sq[0], sq[1])` no? |
15:48:35 | FromGitter | <kristianmandrup> ```proc tuplify(seq[state: auto, setter: auto]) = ⏎ (state, setter)``` [https://gitter.im/nim-lang/Nim?at=5e359dd26f9d3d3498155450] |
15:49:21 | FromDiscord_ | <Rika> uh i'll fix it up |
15:49:23 | FromDiscord_ | <Rika> give me a moment |
15:50:25 | * | Vladar joined #nim |
15:50:40 | FromGitter | <kristianmandrup> ah yeah, needs arg name :P |
15:50:41 | FromDiscord_ | <Rika> https://play.nim-lang.org/#ix=28TG |
15:50:49 | FromDiscord_ | <Rika> please see my link |
15:51:51 | FromGitter | <kristianmandrup> and how do I define the tuple return type? |
15:52:52 | FromDiscord_ | <Rika> i just realized |
15:52:55 | FromDiscord_ | <Rika> i messed up again |
15:53:24 | FromDiscord_ | <Rika> https://play.nim-lang.org/#ix=28TH |
15:53:27 | FromDiscord_ | <Rika> fixed XD |
15:54:13 | FromGitter | <kristianmandrup> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5e359f25d9895b17c3c5deb3] |
15:54:34 | FromGitter | <kristianmandrup> Cannot link to playground, since it relies on JS FFI |
15:55:39 | FromDiscord_ | <Rika> the new link has the fixed version |
15:56:32 | FromGitter | <kristianmandrup> https://play.nim-lang.org/#ix=28TG |
15:56:56 | FromDiscord_ | <Rika> https://play.nim-lang.org/#ix=28TH this one i mean |
15:57:19 | FromGitter | <kristianmandrup> Nice :) |
15:57:31 | FromGitter | <kristianmandrup> Yes, I see it. Looks awesome! Just what I need :) |
15:57:50 | FromDiscord_ | <Rika> just note that state and setter will always be the same type here... |
15:57:53 | FromDiscord_ | <Rika> since it's a seq |
15:58:24 | FromDiscord_ | <Rika> (im not sure anymore regards what JS arrays map to in Nim |
15:59:15 | FromGitter | <kristianmandrup> but the tuple can have different types, right? |
15:59:43 | FromGitter | <kristianmandrup> well, everything in JS is an Object |
16:00:01 | FromGitter | <kristianmandrup> even functions |
16:00:25 | FromDiscord_ | <Rika> tuples can have different types, but this proc makes the tuple have the same two types |
16:00:52 | * | krux02 quit (Remote host closed the connection) |
16:00:59 | * | ftsf quit (Ping timeout: 268 seconds) |
16:01:14 | FromGitter | <kristianmandrup> yes, I will try to change it to auto, or perhaps JsObject |
16:01:26 | FromDiscord_ | <Rika> it's a generic |
16:01:33 | * | krux02 joined #nim |
16:01:42 | FromDiscord_ | <Rika> so it should accept seq[JsObject], and have a tuple of two JsObject s |
16:02:36 | FromGitter | <kristianmandrup> https://play.nim-lang.org/#ix=28TG |
16:02:55 | FromDiscord_ | <Rika> ? |
16:03:00 | FromDiscord_ | <Rika> you didnt change anything |
16:03:09 | FromDiscord_ | <Rika> press share to ix before you copy the link 😛 |
16:04:41 | FromGitter | <kristianmandrup> https://play.nim-lang.org/#ix=28TH |
16:04:48 | FromGitter | <kristianmandrup> I see... |
16:05:13 | FromDiscord_ | <Rika> you still resent my link xd |
16:06:20 | FromGitter | <kristianmandrup> https://play.nim-lang.org/#ix=28TO |
16:08:03 | FromGitter | <kristianmandrup> Trying to get to this... |
16:08:04 | FromGitter | <kristianmandrup> https://play.nim-lang.org/#ix=28TP |
16:08:14 | FromGitter | <kristianmandrup> ie. React 16 Hooks bindings |
16:08:56 | FromGitter | <kristianmandrup> The current react bindings are for "old school" React (no hooks) |
16:10:06 | FromDiscord_ | <Rika> sorry that im slow, im juggling a few things |
16:11:33 | FromDiscord_ | <Rika> kristianmandrup, you dont need the tuplifyState proc, you can just use the tuplify one directly and it should work, unless JsObject isnt an object? |
16:27:54 | FromGitter | <kristianmandrup> https://play.nim-lang.org/#ix=28TU |
16:28:32 | FromGitter | <kristianmandrup> next question about templates... can I return a `var` bound to a target language function and invoke the var? |
16:28:59 | FromGitter | <kristianmandrup> ie. a template can inject a var. Perhaps I need to inject a proc instead? possible? or need macro for this? |
16:29:45 | FromDiscord_ | <Rika> hmm, i dont know |
16:29:51 | FromDiscord_ | <Rika> maybe wait for someone else to answer |
16:34:07 | FromGitter | <Vindaar> @kristianmandrup can you clarify what you mean? |
16:34:38 | FromGitter | <Vindaar> you can simply return a proc, no? |
16:35:55 | * | narimiran quit (Ping timeout: 265 seconds) |
16:47:24 | leorize | is everyone off to fosdem? :P |
16:47:35 | FromDiscord_ | <Rika> prolly? |
16:51:17 | Zevv | leorize: there's a bunch, about ten I guess |
16:51:40 | FromGitter | <deech> I get an error, `invalid type openArray<char> in context ...` from the following type signature: `proc f(...): openArray[char] = ...` but if I change it to `proc f[T:char](...):openArray[T] ...` it compiles. Why does this happen and is that the right workaround? |
16:52:20 | Zevv | that is funny, I think that also should not work |
16:52:55 | Zevv | openArray can only be used in a proc argument context |
16:53:48 | * | greenfork joined #nim |
16:53:58 | FromGitter | <deech> There's this: https://github.com/nim-lang/Nim/blob/devel/lib/system.nim#L2896 |
16:57:32 | Zevv | yeah someone else can explain that to you, so i can listen in and learn how that is supposed to work |
16:58:39 | * | sagax joined #nim |
17:01:38 | leorize | @deech: those are magics |
17:01:53 | leorize | they're possible because the compiler said so |
17:02:10 | leorize | they were created for no-copying slicing |
17:02:34 | leorize | other than those proc you can't return openArray |
17:06:39 | * | msmorgan quit () |
17:06:57 | * | msmorgan joined #nim |
17:09:26 | FromGitter | <deech> Ok, thanks |
17:10:41 | FromGitter | <deech> Is there another type that's just a char buffer with a length field? |
17:10:53 | leorize | string :P |
17:11:25 | leorize | but strings also have a capacity field for optimization purposes |
17:11:45 | leorize | I don't think there are any in the stdlib |
17:12:13 | FromGitter | <deech> Ok, np, easy enough to make one. |
17:14:08 | * | ptdel joined #nim |
17:14:38 | FromGitter | <deech> Also I guess that generics I did to make it compile is a bug? Or is another instance of generics not being instantiated until they're used? |
17:16:20 | leorize | yea, it's just not instantiated until used |
17:16:21 | * | Hideki_ joined #nim |
17:16:55 | FromGitter | <deech> I wish we could change that. |
17:18:23 | * | nsf joined #nim |
17:21:58 | leorize | it's not easy to type check something that's not there, I think |
17:24:10 | FromGitter | <deech> Yeah it does take effort, unfortunately, but IMO it's kind of expected if the language provides generics. |
17:32:04 | * | Hideki_ quit (Ping timeout: 268 seconds) |
17:38:06 | Zevv | deepend: is UncheckedArray what you are looking for, maybe? |
17:42:50 | FromGitter | <deech> I think UncheckedArray doesn't have a length field. |
17:43:47 | * | chemist69 quit (Ping timeout: 272 seconds) |
17:44:12 | * | onionhammer joined #nim |
17:44:22 | * | chemist69 joined #nim |
17:50:49 | Zevv | right. Well, creating a real nim string without copying is simply not possible, as Nim does not own your buffer |
17:51:11 | Zevv | so either you pay the price of copying the data, or you need to keep track of the length yourself |
17:55:09 | shashlick | cstring? |
17:55:21 | leorize | no length field :P |
17:55:41 | shashlick | Ah ok |
17:56:36 | shashlick | Not clear what he wants to do |
18:02:20 | * | krux02 quit (Remote host closed the connection) |
18:08:00 | FromGitter | <deech> Thing is I don't think I want this to be a `string`, it seems like the underlying C lib returns a `const char*` and a `length` implying that the array of `char` is not necessarily null terminated. I don't mind the copying much since I don't think it's much data but I thought there might be a datatype that encapsulated a character buffer. In the end I went ahead and did the naive thing where I converted the `cstring` to a |
18:08:00 | FromGitter | ... seq. |
18:10:47 | * | nsf quit (Quit: WeeChat 2.7) |
18:15:49 | leorize | if it's a const char buffer you are better off copying it anyway |
18:35:02 | * | nuxdie quit () |
18:35:32 | * | nuxdie joined #nim |
19:09:55 | * | sekao joined #nim |
19:11:55 | sekao | has anyone managed to use the hotcodereloading feature? i compiled nimhcr.dll and nimrtl.dll and copied them to nim's bin folder. and it just crashes. |
19:12:56 | * | abm joined #nim |
19:16:26 | * | skrylar joined #nim |
19:17:11 | skrylar | more gifts woo https://git.sr.ht/~skrylar/skmap/tree/c664bf94a695cad0b4df88d1a077052a989c8970/src/skmap/cuckoo.nim altho i found out my spookyhash isn' working right |
19:24:54 | * | Vladar quit (Quit: Leaving) |
19:45:18 | * | muffindrake quit (Quit: muffindrake) |
19:51:29 | * | muffindrake joined #nim |
19:54:54 | * | narimiran joined #nim |
19:55:05 | * | a_b_m joined #nim |
19:56:36 | FromDiscord_ | <inv> I should not copy-and-parse into discord, I should not copy-and-paste into discord ... |
19:57:17 | FromDiscord_ | <inv> Anyone uses nvim + alaviss/nim.nvim? I have some questions about it. |
19:59:02 | * | abm quit (Ping timeout: 265 seconds) |
20:00:19 | FromDiscord_ | <inv> How can I navigate? For example I want to go to module-function definition. ctrl+] and: |
20:00:19 | FromDiscord_ | <inv> E433: No tags file |
20:00:19 | FromDiscord_ | <inv> E426: tag not found: bearerRequest |
20:00:44 | FromDiscord_ | <inv> Do I need any additional plugin for it ? |
20:13:51 | FromDiscord_ | <Clyybber> leorize is the one to ask |
20:14:20 | * | a_b_m quit (Quit: Leaving) |
20:21:11 | * | nsf joined #nim |
20:29:03 | pbb | Hi, I encountered a problem where nim generates invalid c code: https://termbin.com/rmn7 |
20:29:25 | pbb | I'm using nim 1.0.6 and gcc |
20:30:03 | pbb | Is there something problematic about my code or is it just a bug? |
20:30:43 | FromDiscord_ | <Clyybber> Returning the proc typeclass could be part of the problem, but I think you should report it |
20:31:33 | FromDiscord_ | <Clyybber> Even if its not a bug, the missing error message can count as a bug too : ) |
20:31:47 | pbb | if I replace the 'echo param1' with 'echo "foo"' fixes it |
20:32:06 | pbb | it's this very specific setup |
20:32:23 | pbb | I will create an issue |
20:32:38 | FromDiscord_ | <Clyybber> ok, thanks |
20:34:48 | pbb | do you have a suggestion for an issue title? |
20:35:06 | pbb | it's really hard for me to name it because I don't know the names for the internal concepts that are involved |
20:36:30 | FromDiscord_ | <Clyybber> Invalid C code with returning closure |
20:36:40 | FromDiscord_ | <Clyybber> Should be good for now |
20:37:18 | FromDiscord_ | <Clyybber> Doesn't matter so much, we can change it later if it turns out its related to something different : ) |
20:37:46 | pbb | Great, thanks |
20:40:30 | skrylar | i realized earlier that the literature doesn't mention cuckoos derp out if you have too manyhash collisions since they don't have the linear probe step to survive it :b |
20:40:44 | skrylar | wonder if anyone actually tries to detect and stop that or if they just pray it doesn't occur |
20:41:19 | FromDiscord_ | <Clyybber> heh, I just read that in your readme |
20:42:04 | FromDiscord_ | <Clyybber> now, it surely doesn't matter because of the low chances of it happening |
20:42:08 | FromDiscord_ | <Clyybber> but when it happens |
20:42:38 | FromDiscord_ | <Clyybber> oh boy |
20:45:27 | skrylar | malicious inputs happen though |
20:47:02 | shashlick | @inv use g d |
20:48:20 | FromDiscord_ | <inv> shashlick, it works for open file only |
20:48:35 | * | sekao quit (Ping timeout: 260 seconds) |
20:48:39 | shashlick | What version of Nim |
20:48:47 | shashlick | Is nimsuggest running |
20:52:21 | * | abm joined #nim |
21:06:12 | FromDiscord_ | <inv> shashlick, 1.0.6 I do not run it separate, but I hope that nvim+plugin ran it. I did not see anything in on the README to run it manually |
21:06:51 | shashlick | Ya it gets called automatically |
21:06:58 | shashlick | What file are you loading |
21:07:11 | FromDiscord_ | <Chiqqum_Ngbata> Was csize_t backported to 1.0.0 |
21:08:19 | FromDiscord_ | <inv> shashlick, myfile.nim 🙂 |
21:10:06 | FromDiscord_ | <inv> autocomplete works and looks ok |
21:10:40 | FromDiscord_ | <inv> But I cannot enter another lib like I do in vs-code |
21:11:03 | FromDiscord_ | <inv> and no syntax highlight 😦 |
21:12:46 | FromDiscord_ | <Chiqqum_Ngbata> Error: undeclared identifier: 'csize_t' guess not |
21:16:01 | leorize | @inv: save the file |
21:16:08 | leorize | just save it once and it'll work |
21:16:11 | * | muffindrake quit (Quit: muffindrake) |
21:16:20 | leorize | if not, what's your nimsuggest version? |
21:16:35 | leorize | ah 1.0.6 |
21:17:20 | leorize | can I have details of your setup? |
21:19:56 | * | muffindrake joined #nim |
21:23:39 | FromDiscord_ | <inv> Yes, its windows-10 🙂 |
21:24:23 | FromDiscord_ | <inv> file is saved already - did not help |
21:24:36 | leorize | can I get the output of `:messages`? |
21:24:56 | leorize | also what's your neovim version? |
21:25:42 | FromDiscord_ | <inv> Scanning tags\n E433: No tags file\n E426: tag not found: strformat |
21:26:26 | FromDiscord_ | <inv> ah, it was highlited |
21:27:18 | FromDiscord_ | <inv> I removed the import strformat, but error is the same |
21:27:56 | leorize | that error was from the time you tried ctrl-] |
21:28:08 | leorize | not something related to nim.nvim |
21:28:40 | FromDiscord_ | <inv> ok, now it is just tag not found: bearerRequest |
21:28:48 | * | Hideki_ joined #nim |
21:28:51 | FromDiscord_ | <inv> and no tags file |
21:29:05 | leorize | use gD or gd for go-to-file functionality |
21:29:21 | FromDiscord_ | <inv> All I know that tears before - I generated ctags file manually 🙂 |
21:29:25 | leorize | gD splits the screen, gd use goto |
21:29:40 | leorize | why use ctags when you have nimsuggest :P |
21:29:48 | FromDiscord_ | <inv> it does not go into another library |
21:29:57 | leorize | wdym? |
21:30:01 | leorize | it should |
21:30:43 | FromDiscord_ | <inv> it works in open file only |
21:31:09 | FromDiscord_ | <inv> I push gd on newAsyncHttpServer - and nothing |
21:31:32 | leorize | hmm |
21:31:45 | leorize | I'll try on windows, but on *nix it works perfectly |
21:32:05 | FromDiscord_ | <inv> strange for me also. Thank you. |
21:32:06 | leorize | can i have your sample file? |
21:32:23 | FromDiscord_ | <inv> let me remove all tokes from there 🙂 |
21:33:29 | * | Hideki_ quit (Ping timeout: 265 seconds) |
21:34:36 | FromDiscord_ | <inv> leorize, here it is https://gist.github.com/inv2004/f426345b574cf26b271b5b57bfb51d65 |
21:40:47 | * | nsf quit (Quit: WeeChat 2.7) |
21:46:11 | leorize | @inv what version of neovim are you on? |
21:46:41 | leorize | I can't even type a file without neovim crashing on me on windows |
21:48:11 | shashlick | Neovim on windows doesn't work well with nvim.nim |
21:48:48 | leorize | @inv tried your file and it just works |
21:49:28 | shashlick | What version of neovim |
21:49:29 | leorize | hmm, what's the full path to your file? |
21:54:08 | leorize | shashlick: looks like it won't crash on neovim 0.5.0 |
21:54:25 | leorize | @inv I can't reproduce with both stable and latest pre-release of neovim :/ |
22:07:14 | FromDiscord_ | <Chiqqum_Ngbata> Is --define:useSysAssert known to not work with --gc:arc ? |
22:07:33 | * | nixfreak joined #nim |
22:12:22 | shashlick | Neat |
22:12:35 | shashlick | I'm enjoying vscode remote now |
22:12:58 | shashlick | But neovim is on all my systems to make life easy when needed |
22:15:05 | * | xet7 quit (Quit: Leaving) |
22:23:19 | * | narimiran quit (Ping timeout: 268 seconds) |
22:29:18 | * | abm quit (Quit: Leaving) |
22:34:29 | * | Hideki_ joined #nim |
22:47:13 | FromDiscord_ | <inv> leorize, NVIM v0.4.3 |
22:48:55 | FromDiscord_ | <inv> leorize, do you mean that goto another lib works perfect? hm |
22:52:54 | Araq | Chiqqum_Ngbata yeah I know |
22:54:32 | * | azed joined #nim |
22:58:43 | * | solitudesf quit (Ping timeout: 265 seconds) |
22:59:56 | * | sunwukong joined #nim |
23:03:43 | * | azed quit (Quit: WeeChat 2.7) |
23:20:38 | * | sunwukong quit (Remote host closed the connection) |
23:21:43 | * | sekao joined #nim |
23:31:12 | leorize | @inv yes |
23:37:56 | greenfork | where can I see the implementation of {.magic: "StaticExec".}? in compiler/vmgen.nim:1230 it references genBinaryABCD which I guess generates some instruction code, but I'm not sure where the actual implementation is |
23:41:39 | FromGitter | <Varriount> Clyybber: `nims` == `nimscript`? |
23:42:26 | FromDiscord_ | <Clyybber> yep |
23:44:33 | * | sekao quit (Remote host closed the connection) |
23:46:37 | FromGitter | <Varriount> Zevv: Have I ever told you how impressive the railroad diagrams are in NPeg's readme? |