<< 18-04-2021 >>

00:28:44*a_chou joined #nim
00:45:24*njoseph quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
00:45:43*njoseph joined #nim
00:47:17*a_chou quit (Remote host closed the connection)
00:47:37*a_chou joined #nim
00:48:04*natrys quit (Quit: natrys)
00:51:49ForumUpdaterBotNew thread by Xioren: Nim convention for multiple imports?, see https://forum.nim-lang.org/t/7814
01:15:52ForumUpdaterBotNew thread by Sdmcallister: Hashing stored passwords, see https://forum.nim-lang.org/t/7815
01:38:08*arecaceae quit (Remote host closed the connection)
01:38:29*arecaceae joined #nim
01:57:54*sz0 joined #nim
02:07:15*bomb joined #nim
02:19:03FromGitter<xflywind> https://github.com/nordlow/compiler-benchmark/issues/8
02:42:24*a_chou quit (Quit: a_chou)
03:06:04*spiderstew_ joined #nim
03:06:59*spiderstew quit (Ping timeout: 250 seconds)
03:08:16*riceman joined #nim
03:09:35ricemanhey, I'm having a bit of trouble getting Jester redirects to work without errors. Anybody I can bounce this off of?
03:09:50*wasted_youth2 quit (Quit: Leaving)
03:12:26FromDiscord<ElegantBeef> What are the errors, what are you trying?
03:12:45*rockcavera quit (Ping timeout: 260 seconds)
03:12:57FromDiscord<ElegantBeef> This is a big ol' forum of shoot you question and hope you get a response(you will tend to eventually get one)
03:14:44ricemanhey, thanks! Got some outsider pages, pre-login, that I'd like to redirect to /home, logged, if the user has a cookie-based auth session
03:14:57riceman*/home, logged in,
03:15:04ricemanget "/register":
03:15:04riceman var (response, loggedUser) = checkCookie(request.headers)
03:15:04riceman if response == true: redirect "/home"
03:15:04riceman else: resp(htmlReg)
03:15:14FromDiscord<ElegantBeef> You can post code here https://play.nim-lang.org/
03:15:19FromDiscord<ElegantBeef> Then share it
03:15:27ricemanGreat, thank you I'll do that rn
03:16:46ricemanHere's that snippet in a cleaner format: https://play.nim-lang.org/#ix=2Wsa
03:17:13FromDiscord<ElegantBeef> What's the error?
03:17:21ricemanGetting "Error: undeclared identifier: 'allRoutes'" when I try to use that 'redirect "/home"' bit anywhere
03:17:58*bomb quit (Quit: I quit.)
03:18:28ricemanCan't post my full code as I have secrets scattered about in it that I'd like to avoid posting publicly. Basically just wondering if the "redirect" bit of Jester is deprecated or if something I'm doing is breaking it.
03:22:09FromDiscord<ElegantBeef> It's declared in a `routes:` block?
03:25:03ricemanYep, just a basic "routes:" block. If a user hits a "logged out" endpoint like '/register', my checkCookie() proc grabs cookie headers, tries any cookies against a redis db of active cookies, and upon matching, I'd like to funnel them back to "/home" instead of "/register"
03:26:11ricemancurrently I'm using resp(pageTemplate) to redirect, but that's just putting different content in front of them, not actually redirecting them somewhere else.
03:26:59FromDiscord<ElegantBeef> I've never used jester before so i'm currently trying to figure out how you get the code to report that `allRoutes` doesnt exist
03:27:38ricemanThanks for helping out! I really appreciate it.
03:28:00FromDiscord<ElegantBeef> any chance you can minify this to some code i could run then?
03:29:03ricemanMaybe... It's tricky since the checkCookies() proc queries redis, but I can probably modify that into a simple random true/false return and get the same result.
03:29:21ricemanLet me throw that together quick.
03:29:24FromDiscord<ElegantBeef> yea removing redis would be fine, just something so i can repro it
03:39:35ricemanUh oh. Redirect works fine now with the db and stuff stripped away...
03:40:15ricemanMust be a me problem. Let me comb through commenting stuff out until I can track down what's breaking Jester. Thanks for being willing to consult!
03:40:17FromDiscord<ElegantBeef> Odd, seems it's now a case of "what's interacting with what"
03:40:33FromDiscord<ElegantBeef> Yea no problem, not that i did anything 😛
03:40:59ricemanYes, I'm sure I messed something up somewhere, or perhaps it's the waiting for redis that's doing it in. Still, appreciate the sense of guidance! :)
03:51:01ricemanAha! Solved.
03:52:19ricemanJester allows routing error pages, and I had "error Http404:", but it seems that those are coded differently than any others. Taking out the "if else" statement for routing them un-broke my project.
03:52:59ricemanPerhaps that's a bug.
03:56:34FromDiscord<ElegantBeef> Well can always wait and hope, or just make an issue and hope it's
03:57:01FromDiscord<ElegantBeef> Wait and hope for someone that knows
04:25:31*teiresias quit (Quit: ZNC - https://znc.in)
05:18:14*Vladar joined #nim
06:16:36ForumUpdaterBotNew thread by Archnim: Nim on raspberry PI, see https://forum.nim-lang.org/t/7816
06:25:54*NimBot joined #nim
06:43:16*teiresias joined #nim
07:00:08FromDiscord<Marcin(MrogaM)> In reply to @Goel "<@!645893452164235285> https://nim-lang.org/docs/m": Thank You
07:39:37FromDiscord<jtiai> sent a code paste, see https://play.nim-lang.org/#ix=2Wua
07:41:01FromDiscord<ElegantBeef> `.=` is `CpuFlags, CpuFlags, val`
07:41:27FromDiscord<jtiai> Well note: it worked before adding `using`-keyword.
07:42:24FromDiscord<jtiai> So I could write `cpu.flags.C = true` and `if cpu.flags.C:`
07:42:49*blaumetallic[m] joined #nim
07:44:17FromDiscord<ElegantBeef> is fetched a field of CpuRef?
07:44:24FromDiscord<jtiai> Yes.
07:44:28FromDiscord<ElegantBeef> Exported?
07:44:39FromDiscord<jtiai> Err.. no... 😄
07:44:46FromDiscord<ElegantBeef> Is that the issue?
07:45:25FromDiscord<jtiai> Hard to tell without testing but when I have to use public/exported fields and when not?
07:45:41FromDiscord<ElegantBeef> If you're accessing a field from another module it has to be exported
07:45:50FromDiscord<ElegantBeef> Otherwise this is a bug
07:46:03FromDiscord<jtiai> Aha. And all my types are in separate module due cross referencing.
07:48:10FromDiscord<ElegantBeef> Yep nim defaults to private, so top level symbols you want need to be exported, unless you "abuse" macrocache
07:49:57FromDiscord<jtiai> I want to be good boy and do it right.
07:54:44FromDiscord<longterm> sent a code paste, see https://play.nim-lang.org/#ix=2Wuc
07:55:09FromDiscord<longterm> (edit) "https://play.nim-lang.org/#ix=2Wuc" => "https://play.nim-lang.org/#ix=2Wud"
08:01:23FromDiscord<jtiai> Given number of languages I've been trying out and working with in my long and glorious career and as a hobbyist I must put Nim at very top of my language list. Python still wins but hey - I've been writing Python code for ~15 years and Nim like.. 2 weeks...
08:02:39FromDiscord<ElegantBeef> Nim being beat by python, damn time to pack it up
08:03:29FromDiscord<Rika> yall the projects being archived weve lost to python
08:03:42FromDiscord<Rika> gotta reallocate the resources to improving that
08:15:01*teiresias quit (Quit: ZNC - https://znc.in)
08:27:45FromDiscord<mlokis> how do i deal with template imports?
08:28:43FromDiscord<Rika> whats the issue?
08:29:55FromDiscord<mlokis> well i have module a that imports b and b is used in template, if module c imports a and use template, b has to be imported manually
08:30:12FromDiscord<mlokis> (edit) "use" => "uses"
08:31:05FromDiscord<Rika> export b in module a?
08:31:19FromDiscord<Rika> or export the template only `export templateName` in module a
08:31:24FromDiscord<Rika> if you want only the template
08:32:56FromDiscord<mlokis> thenx
08:38:47*teiresias joined #nim
09:03:56*Blocklisted joined #nim
09:07:57*Blocklisted quit (Client Quit)
09:12:12*jess quit (Quit: back soon)
09:22:52FromDiscord<mlokis> sent a code paste, see https://play.nim-lang.org/#ix=2Wuy
09:32:37*krux02 joined #nim
09:32:48*cyraxjoe quit (Ping timeout: 268 seconds)
09:53:04FromGitter<ShalokShalom> I just try to install Nim on the phone, and setup Emacs on Termux to do so.
09:53:32FromGitter<ShalokShalom> The next step is to install nimlsp, and it complains that nimsuggest isnt there.
09:55:06FromGitter<ShalokShalom> I read from couple of issues, that koch can build it and that one gives me always the same error message, anyway with what I call it (unless --help)
09:55:10FromGitter<ShalokShalom> koch nimsuggest ⏎ oserr.nim(94) raiseOSError ⏎ Error: unhandled exception: No such file or directory ⏎ Additional info: "lib" [OSError] [https://gitter.im/nim-lang/Nim?at=607c01fea9dd556843e666be]
09:55:28FromGitter<ShalokShalom> Can anybody help me? :)
09:57:23FromGitter<ShalokShalom> Oh, koch is expecting a source code directory?
09:59:35FromGitter<ShalokShalom> No, the docs say, this is the correct command.
10:00:00FromGitter<ShalokShalom> https://nim-lang.org/1.4.0/nimsuggest.html
10:04:15*natrys joined #nim
10:05:40FromGitter<ShalokShalom> Ah, I think I have to compile it with the sources extra, since I used the Termux package manager and got no sources with it. 🤭
10:16:09FromGitter<ShalokShalom> No, still doesnt work.
10:17:45FromGitter<ShalokShalom> ``````
10:18:17FromGitter<ShalokShalom> .
10:19:01FromGitter<ShalokShalom> Gitter is pure pain...
10:19:07ForumUpdaterBotNew thread by Alexeypetrushin: Post process string formatted with `fmt`, see https://forum.nim-lang.org/t/7817
10:19:50FromDiscord<Rika> so whos calling technisha to help this poor lad
10:34:37*l1x quit (Quit: Connection closed for inactivity)
10:35:14FromDiscord<ShalokShalom> sent a code paste, see https://play.nim-lang.org/#ix=2WuV
10:35:18FromDiscord<ShalokShalom> (edit)
10:36:50*teal joined #nim
10:39:48*teal quit (Client Quit)
10:44:39FromDiscord<jtiai> Can I forward declare procs nim?
10:44:47FromDiscord<Rika> yes
10:44:54FromDiscord<jtiai> (edit) "Can I forward declare procs ... nim?" added "in"
10:45:11FromDiscord<Rika> how: copy the proc, remove everything after the equals sign including the equals sign
10:45:12FromDiscord<Rika> done
10:46:15FromDiscord<jtiai> So just signature?
10:46:20FromDiscord<Rika> yes
10:50:06*nisstyre quit (Ping timeout: 258 seconds)
10:55:01FromDiscord<jtiai> Or could I declare variable (static array) somwhere at the top and define array at the bottom?
11:00:33FromDiscord<haxscramper> Yes, this is just a global variable
11:00:40FromDiscord<haxscramper> No magic here either
11:01:08FromDiscord<haxscramper> Though you would have to make it `var` in this case since `let` must be initialialized
11:01:14FromDiscord<haxscramper> (edit) "initialialized" => "initialized"
11:02:14*nisstyre joined #nim
11:10:40ForumUpdaterBotNew Nimble package! ansiwave - ANSI art + MIDI music editor, see https://github.com/oakes/ansiwave
11:16:19*clyybber joined #nim
11:17:54FromDiscord<jtiai> sent a code paste, see https://play.nim-lang.org/#ix=2Wv3
11:18:04FromDiscord<haxscramper> `var foo: seq[<youir type>]`
11:18:21FromDiscord<haxscramper> (edit) "seq[<youir" => "seq[<your"
11:18:33FromDiscord<Rika> bare var must have type
11:45:41*lritter joined #nim
12:33:06*riceman quit (Quit: Leaving)
12:43:12FromDiscord<Goel> So chars can't be used to check if a line of text is empty?↵`""` works `''` doesn't work
12:45:40FromDiscord<Rika> what is an "empty char"?
12:53:59Oddmonger\0
12:54:07Oddmonger(this is not a smiley)
12:55:00FromDiscord<Rika> thats a null character, not necessarily empty
12:55:10FromDiscord<Rika> might not be what goel wants
12:56:08FromDiscord<Solitude> In reply to @Goel "So chars can't be": no, they cant, no such thing as `''`
13:00:57*nc-x joined #nim
13:01:34nc-xAnybody has any idea what this error means "IO error has occurred in the BIO layer [OSError]"?
13:02:57nc-xI am getting this error when using httpclient get function
13:03:32FromDiscord<Rika> something went wrong with openssl's BIO
13:03:56FromDiscord<Rika> what version of openssl do you have? it might be too old
13:04:13nc-xi am on windows, and openssl comes from the dlls.zip file uploaded on the website
13:04:34nc-xhttps://nim-lang.org/download/dlls.zip
13:20:50*nc-x quit (Quit: Connection closed)
13:27:05*nisstyre quit (Ping timeout: 250 seconds)
13:29:19*nisstyre joined #nim
14:35:13*rockcavera joined #nim
14:52:00*letto quit (Quit: Konversation terminated!)
14:56:46giaco__when writing functions that takes an array/varargs, I'm not sure if I should prefer writing it for openarray or varargs
14:57:20giaco__also not sure if it is just an idiomatic matter or there's more under the hood
14:59:12FromDiscord<dk> it doesn't matter
14:59:42FromDiscord<dk> varargs is a sugar for openarray, but pretending to be multiple arguments
15:00:21FromDiscord<dk> unless you want to use implicit conversion like `echo` does
15:01:27*letto joined #nim
15:02:02giaco__thanks
15:25:08ForumUpdaterBotNew question by Alex Craft: Macro to generate function implementation by its definition?, see https://stackoverflow.com/questions/67150226/macro-to-generate-function-implementation-by-its-definition
15:27:15giaco__what's wrong with this trivial function? https://play.nim-lang.org/#ix=2WwI
15:30:13FromDiscord<jtiai> sent a code paste, see https://play.nim-lang.org/#ix=2WwJ
15:31:54FromDiscord<Rika> just cast it?
15:32:06FromDiscord<Rika> cast[uint8](isOfCPUFlags)
15:32:07FromDiscord<Rika> ?
15:33:00FromDiscord<jtiai> Ah, I need unsafe cast.
15:34:03FromDiscord<Rika> .T is not cast, its convert
15:34:09FromDiscord<Rika> cast is cast, convert is convert
15:34:14FromDiscord<Rika> all casts are unsafe
15:36:20FromDiscord<Rika> giaco: i think the issue is that it is a statement since not all branches have a return type
15:36:28FromDiscord<Rika> aka: an else branch is needed
15:36:33FromDiscord<jtiai> Aand more complex issue...
15:37:38FromDiscord<Rika> ?
15:39:22giaco__Rika, I think it's about this https://github.com/nim-lang/Nim/issues/16078
15:39:38FromDiscord<Rika> huh okay
15:41:12FromDiscord<jtiai> sent a code paste, see https://play.nim-lang.org/#ix=2WwP
15:42:48FromDiscord<jtiai> (edit) "https://play.nim-lang.org/#ix=2WwP" => "https://play.nim-lang.org/#ix=2WwQ"
15:42:52FromDiscord<Rika> you have to do lookup[0] = Ins...
15:42:53FromDiscord<Rika> yes
15:43:04FromDiscord<Solitude> you are assigning 1 element array to 255 element array
15:43:04FromDiscord<Rika> you dont need to "redefine the array"
15:43:09FromDiscord<Solitude> (edit) "255" => "256"
15:43:09*wasted_youth2 joined #nim
15:43:10FromDiscord<Rika> since its already defaulted
15:43:12ForumUpdaterBotNew question by Alex Craft: How to get function name as string in macro/template?, see https://stackoverflow.com/questions/67150392/how-to-get-function-name-as-string-in-macro-template
15:43:14FromDiscord<Rika> unlike seqs
15:43:28FromDiscord<jtiai> Can I specify default value for array?
15:43:47FromDiscord<Solitude> no
15:44:27FromDiscord<jtiai> So what it will contain in by default my case where value is an object?
15:44:42FromDiscord<Solitude> zeroes
15:46:03FromDiscord<jtiai> A bit confusin but array apparently can have multiple types in it then?
15:46:54FromDiscord<Rika> no?
15:46:54FromDiscord<Solitude> no
15:50:33FromDiscord<jtiai> is "nil" same as 0 or is it just equal to 0? or not equal nor same...?
15:50:50FromDiscord<Rika> in terms of?
15:51:30FromDiscord<Rika> by "zero" solitude means binary 0, not the number 0; so if you have pointer array, they default as nil, int default as 0, float 0.0, etc
15:51:38FromDiscord<Rika> string "", bool false
15:53:21FromDiscord<jtiai> I mean that if I do `if nil == 0` that would evaluate true...
15:54:16FromDiscord<Rika> !eval echo nil == 0
15:54:18NimBotCompile failed: /usercode/in.nim(1, 10) Error: type mismatch: got <typeof(nil), int literal(0)>
15:54:18FromDiscord<Rika> compile error.
15:54:27FromDiscord<Rika> theyre different types
15:54:31FromDiscord<Rika> so they cannot be compared
15:54:44FromDiscord<Rika> well, unless you make a comparator proc
15:55:18FromDiscord<jtiai> That's what I was after that they are different types 🙂
15:57:29FromDiscord<jtiai> Now more stupid questions but what is advantage of `let` compared to `var` ?
15:57:35FromDiscord<haxscramper> `let` is immutable
15:58:04FromDiscord<jtiai> does it means that it is way faster than var?
15:58:08FromDiscord<Rika> no
15:58:10FromDiscord<haxscramper> no
15:58:31FromDiscord<haxscramper> Though there might be some subtle optimizations that I'm not aware of
15:58:31FromDiscord<Rika> there are no guarantees that let is faster than var and vice versa
15:58:45FromDiscord<Rika> there might be speed gains, but they are not guaranteed
15:59:19FromDiscord<jtiai> So why I would use `let` instead of `var` ?
15:59:46FromDiscord<haxscramper> when you need immutable variable
16:00:02FromDiscord<dk> for convenience of the reader
16:00:06*Simon[m]6 quit (Quit: Idle for 30+ days)
16:00:18FromDiscord<haxscramper> `let` has a subset of `var` features
16:00:19FromDiscord<Solitude> for your convenience
16:00:25FromDiscord<haxscramper> can't assign, can't take address
16:00:29FromDiscord<haxscramper> (edit) "assign," => "reassign,"
16:00:37FromDiscord<haxscramper> everything else is a the same
16:01:43FromDiscord<Rika> if you want to ensure the var doesnt change
16:01:50FromDiscord<Rika> i mean, the value
16:02:23*tane joined #nim
16:13:44FromDiscord<flywind> https://github.com/nordlow/compiler-benchmark
16:15:08FromDiscord<flywind> nim build time seems slower than rust and c++ in the benchmark
16:16:26FromDiscord<jtiai> Is that test reliable?
16:29:31Amun_Rathe only slowness regarding Nim I encountered was while using unittest
16:31:10Amun_Ra(iirc ~20 seconds build time for a file containing ~50 tests)
16:44:12federico3@flywind Nim is usually much faster
16:45:44Amun_RaI'd read it as "rust is usually the slowest"
16:45:52FromDiscord<haxscramper> Maybe it was caused by linear increase in codes size? I.e. for each line of nim code there are more lines of C that is minimally necessary
16:46:30FromDiscord<haxscramper> Because `nim check` is quite fast
16:47:24FromDiscord<haxscramper> But `nim c` is much slower, which means this is the main reason
16:48:28*letto quit (Quit: Konversation terminated!)
16:50:26FromDiscord<zetashift> But these are compile times right? Nim should still win out from C++ / Rust unless it's extremely basic code
16:50:43Amun_Raindeed
16:50:58FromDiscord<haxscramper> It is extremely basic code
16:51:21FromDiscord<haxscramper> sent a code paste, see https://play.nim-lang.org/#ix=2Wxj
16:51:26FromDiscord<haxscramper> At least judging from C example
16:52:10FromDiscord<haxscramper> So this is the classic "repeat-1000000-times" benchmark
16:52:24FromDiscord<haxscramper> (edit) ""repeat-1000000-times"" => ""repeat-1000000-times-see-who-is-faster""
16:54:06FromDiscord<Rika> 1 million echo line flashbacks
16:54:13FromDiscord<Rika> sorry, 1.2 million
16:57:00FromDiscord<no name fits> enums: plural or singular? I'm so confused
16:57:16FromDiscord<no name fits> ``Color`` or ``Colors``
16:57:27FromDiscord<no name fits> (edit) removed "or ``Colors``"
16:59:24FromDiscord<Rika> enums are singular
17:13:32*letto joined #nim
17:15:26*natrys quit (Quit: natrys)
17:24:12ForumUpdaterBotNew thread by Alexeypetrushin: Error in macro, `int` is not evaluated as `int`., see https://forum.nim-lang.org/t/7818
17:40:16ForumUpdaterBotNew thread by Masiarek2: Python: print(x, end=" ") , see https://forum.nim-lang.org/t/7819
17:55:48FromDiscord<dom96> huh, the Vox github repo seems to be gone
17:55:53FromDiscord<dom96> Is it still a language that exists?
18:01:58FromDiscord<Anuke> interesting coincidence, I just got recommended the vox repo: <https://github.com/MrSmith33/vox>
18:05:54FromGitter<bung87> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=607c7502a9dd556843e77052]
18:06:33FromGitter<bung87> help me correct this, I want convert nsstring to cstring, this not work
18:11:31FromGitter<bung87> oh, found solution.
19:17:13FromDiscord<clyybber> In reply to @Anuke "interesting coincidence, I just": huh, I also found it yesterday through xflywinds mention of the compile time benchmarks :D
19:34:52*vicfred joined #nim
19:35:41*filcuc joined #nim
19:39:08*lritter quit (Ping timeout: 265 seconds)
20:01:13FromDiscord<jtiai> I do get interesting `Error: unhandled exception: semcall.nim(228, 18) ``nArg != nil\`` [AssertionDefect]` error.
20:07:51FromDiscord<ElegantBeef> What are you doing
20:08:01FromDiscord<ElegantBeef> Though seems like a compiler assertion
20:09:37FromDiscord<jtiai> I have no clue. There is no other messages.
20:16:31FromDiscord<haxscramper> This is a bug
20:16:48FromDiscord<haxscramper> But try to move generics around this helps sometimes
20:16:52FromDiscord<haxscramper> (edit) "But try" => "Try"
20:17:10FromDiscord<haxscramper> One a more serious note -
20:18:08FromDiscord<haxscramper> it really is an internal compiler assertion that you should not see. You can run `koch temp yourfile.nim` to get full backtrace of compiler invocation
20:18:25FromDiscord<jtiai> Okay, let's see...
20:18:35*krux02 quit (Remote host closed the connection)
20:18:48FromDiscord<jtiai> where I'm supposed to find koch?
20:19:01FromDiscord<haxscramper> It should be bundled with default installation
20:19:20FromDiscord<haxscramper> I think
20:19:44FromDiscord<jtiai> at least powershell doesn't recgonize it.
20:20:04*krux02 joined #nim
20:20:30FromDiscord<willyboar> I think is not if you install nim through choosenim
20:21:29FromDiscord<jtiai> It's there just not in `bin` but root of `nim`-dir.
20:22:20FromDiscord<jtiai> And it doesn't work. 😦 tries to read something from d:\A...
20:22:28FromDiscord<haxscramper> You can also clone nim repo and compile it using `./build_all.bat` - it will generate the latest version of the koch too. Though I suppose there should be an easier way around this, I just don't exactly know about
20:22:28FromDiscord<haxscramper> https://nim-lang.org/docs/intern.html#rebuilding-the-compiler
20:34:43FromDiscord<jtiai> sent a code paste, see https://paste.rs/8Yh
20:42:50ForumUpdaterBotNew thread by Jrenner: When to use nim.cfg vs config.nims?, see https://forum.nim-lang.org/t/7820
20:42:53FromDiscord<haxscramper> Can you share the code btw?
20:43:09FromDiscord<jtiai> Just a sec, I'll push it to github.
20:45:11FromDiscord<haxscramper> I also realized that `koch` is not located in `~/.nimble/bin` but instead is placed in `~./choosenim/toolcharins/nim-1.4.4/koch`
20:47:13FromDiscord<jtiai> <https://github.com/jtiai/nimoric> there it is.
20:47:42FromDiscord<jtiai> Code actually doesn't do anything when run (or when I was able to run it)
20:56:16FromDiscord<haxscramper> From what I can tell the compiler somehow manages to fail the type resolution and thinks you have a `kTypeMismatch, kVarNeeded` error, but there are not enough arguments https://github.com/nim-lang/Nim/blob/2ff517462bf8609b30e6134c96658aa7912b628a/compiler/semcall.nim#L212 , so it fails internal assertion. You can try to localize the source of the error using `static: echo "compiled until here"` and file a bug report when you have thi
20:57:52FromDiscord<haxscramper> About possible causes/fixes - I don't know, but it seems like a strange bug to be honest, because there is not a lot of generics involved (they are known to cause some issues, though I'm yet to run into direct compiler crash)
21:06:12FromDiscord<jtiai> Yep. That was a bit unexpected... Have to do digging tomorrow.
21:22:48*Vladar quit (Quit: Leaving)
21:39:31*hyiltiz quit (Ping timeout: 260 seconds)
21:44:44*hyiltiz joined #nim
21:47:33ForumUpdaterBotNew Nimble package! minecraft_server_status - Check minecraft server status, see https://github.com/GabrielLasso/minecraft_server_status
21:51:31*tane quit (Quit: Leaving)
21:59:03ForumUpdaterBotNew thread by Dullbananas: ArrayBuffer, see https://forum.nim-lang.org/t/7821
22:11:19*filcuc quit (Quit: Konversation terminated!)
22:14:11*clyybber quit (Quit: WeeChat 3.1)
22:26:37*jess joined #nim
22:42:44*azed joined #nim
23:20:06*azed quit (Quit: WeeChat 3.1)