<< 20-09-2022 >>

00:00:08FromDiscord<retkid> it seems that the first two numbers in 32bit are some kind of signal
00:00:28FromDiscord<Elegantbeef> Yes they need to do `[SBase[string, int](b), c , a]`↵(@Bung)
00:00:52FromDiscord<Elegantbeef> Otherwise it attempts to make a `seq[SRC]`
00:04:20FromDiscord<Bung> what about `var x = [a, b, c]` , it implicit casting to base type ? so it accept ?
00:07:31FromDiscord<Elegantbeef> Correct
00:08:33FromDiscord<Elegantbeef> It's no different to `var a: SRC = SBase[string, int]()` versus `var a: SBase[string, int] = SRC()`
00:10:03FromDiscord<Bung> so I think this one should close , relevant issues are closed
00:17:05FromDiscord<Elegantbeef> Indeed
00:17:23FromDiscord<Patitotective> do arrays have tuple-like unpacking?
00:17:30FromDiscord<Elegantbeef> No
00:17:32FromDiscord<Elegantbeef> But macros do give it
00:17:56FromDiscord<Elegantbeef> https://metagn.github.io/assigns/docs/assigns.html for instance
00:24:53FromDiscord<Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=4aYx
00:25:16FromDiscord<Patitotective> (edit) "https://paste.rs/yiD" => "https://paste.rs/10i"
00:26:14FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=4aYy
00:26:21FromDiscord<Patitotective> :]
00:26:24FromDiscord<Elegantbeef> Macros do have dispatch woes so dont overload it too much
00:27:02FromDiscord<Patitotective> :p
00:27:18FromDiscord<Elegantbeef> https://github.com/beef331/kashae/blob/master/src/kashae.nim Might be a reference on what you're doing
00:28:20FromDiscord<Patitotective> :]
00:28:25FromDiscord<Elegantbeef> lines 204..214
00:34:25FromDiscord<!!sharpcdf!!> and the like
00:34:25FromDiscord<!!sharpcdf!!> sent a code paste, see https://play.nim-lang.org/#ix=4aYA
00:35:37FromDiscord<Elegantbeef> libwebkit
00:35:49FromDiscord<!!sharpcdf!!> let me try it
00:36:06FromDiscord<Elegantbeef> https://github.com/marcomq/nimview/blob/main/nimview.nimble#L17-L20
00:38:21*rockcavera quit (Ping timeout: 250 seconds)
00:38:36FromDiscord<!!sharpcdf!!> In reply to @Elegantbeef "https://github.com/marcomq/nimview/blob/main/nimvie": dnf says that its already installed :/
00:39:19FromDiscord<Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=4aYC
00:39:30FromDiscord<Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=4aYD
00:40:04FromDiscord<Patitotective> static typedesc?
00:41:29FromDiscord<Elegantbeef> `NimNode` my guy
00:41:51FromDiscord<Patitotective> hm
00:42:57FromDiscord<Elegantbeef> You need a proc to handle the code
00:43:11FromDiscord<Elegantbeef> You cannot just call a macro cause a macro is a macro not a proc
00:43:20FromDiscord<Elegantbeef> So you pass in `NimNode`s
00:43:25FromDiscord<!!sharpcdf!!> sent a code paste, see https://play.nim-lang.org/#ix=4aYF
00:43:28FromDiscord<Patitotective> In reply to @Elegantbeef "You cannot just call": made sense in my head
00:43:28FromDiscord<Elegantbeef> Look at my `cacheImpl` and `cacheOptImpl`
00:43:37FromDiscord<!!sharpcdf!!> some more errors, looks like gtk+ is the problem but ive tried installing and updating it
00:43:58FromDiscord<Patitotective> btw there's no way to `{.parsing: arg1, arg2.}` instead of `{.parsing(arg1, arg2).}`
00:44:11FromDiscord<Elegantbeef> No it's just command syntax
00:44:17FromDiscord<Patitotective> :[
00:44:29FromDiscord<Elegantbeef> I mean it'
00:44:35FromDiscord<Elegantbeef> s ambiguous otherwise
00:45:12FromDiscord<Elegantbeef> `{.a: b, c.}` vs \`{. a(b), c.}
00:45:36FromDiscord<Patitotective> thats where semicolons come in ;]
00:45:50FromDiscord<Elegantbeef> ...
00:46:33FromDiscord<Patitotective> `{.a: b; c.}`
00:47:31FromDiscord<Rika> I don’t think you can convince anyone to make this change
00:47:54FromDiscord<Patitotective> :p
00:51:01FromDiscord<!!sharpcdf!!> can someone with linux try to reproduce a basic build with nimview to see if its just me?
00:52:56FromDiscord<Patitotective> sent a code paste, see https://paste.rs/Ebg
00:54:51FromDiscord<Patitotective> In reply to @sharpcdf "can someone with linux": ubuntu 22.04↵doesnt work either
00:55:05FromDiscord<Patitotective> let me install webkit
00:55:52FromDiscord<!!sharpcdf!!> ok
00:56:02FromDiscord<!!sharpcdf!!> do you have the same error messages with the linker?
00:56:23FromDiscord<!!sharpcdf!!> ive also tried neel before and that also didnt work, pretty sure it was a separate error
00:56:52FromDiscord<Patitotective> for me it says `gcc: warning: webkit2gtk-4.0: linker input file unused because linking not done`
00:57:08FromDiscord<!!sharpcdf!!> bingo
00:57:11FromDiscord<!!sharpcdf!!> same error
00:57:33FromDiscord<Patitotective> actually i didnt install webkit2gtk4 on sec
00:57:40FromDiscord<!!sharpcdf!!> except i dont think i have one for webkit, just gtk+, pkg-config and something else
00:57:53FromDiscord<Patitotective> In reply to @sharpcdf "except i dont think": not same error then 💀
00:58:07FromDiscord<!!sharpcdf!!> well the thing is i have gtk+-3.0 installed
00:58:14FromDiscord<!!sharpcdf!!> i have no clue what the problem here is
00:58:54FromDiscord<Patitotective> installing libwebkit2gtk worked
00:59:00FromDiscord<!!sharpcdf!!> and apparently according to dnf theres no package called gtk+-3.0
00:59:04FromDiscord<!!sharpcdf!!> damn it
00:59:18FromDiscord<!!sharpcdf!!> i guess i just need to keep looking for related packages?
00:59:24FromDiscord<Rika> look for a package that provides gtk+
00:59:33FromDiscord<Rika> doesnt your manager have that capabilit
00:59:34FromDiscord<Rika> (edit) "capabilit" => "capability"
00:59:36FromDiscord<Rika> many do
01:00:18FromDiscord<Rika> "For C programming with Gtk+ you need to install the development version of the important GNOME libraries. Those contain the header files and additional linker information:↵↵sudo dnf install gtk3-devel gstreamer1-devel clutter-devel webkit2gtk3-devel libgda-devel gobject-introspection-devel"
01:00:19FromDiscord<!!sharpcdf!!> In reply to @Rika "look for a package": i already have it installed
01:00:46FromDiscord<!!sharpcdf!!> trying all those packages
01:01:12FromDiscord<!!sharpcdf!!> nope
01:01:34FromDiscord<!!sharpcdf!!> sent a code paste, see https://play.nim-lang.org/#ix=4aUp
01:01:38FromDiscord<!!sharpcdf!!> on repeat
01:01:40FromDiscord<Patitotective> look for libgtk
01:04:12FromDiscord<Rika> your c compiler is misconfigured
01:04:15FromDiscord<Rika> somehow
01:04:22FromDiscord<!!sharpcdf!!> gtk+, gtk4, gtk4-devel gtk4-devel-tools gtk+-devel, gonna try all these
01:05:13FromDiscord<!!sharpcdf!!> yep no fix
01:05:24FromDiscord<!!sharpcdf!!> In reply to @Rika "your c compiler is": should i just dnf remove and then reinstall?
01:05:46FromDiscord<Rika> no i dont think that would help
01:06:04FromDiscord<!!sharpcdf!!> what could help then?
01:06:20FromDiscord<!!sharpcdf!!> i havent done anything with gcc so i dont know how it could have been misconfigured
01:06:50FromDiscord<!!sharpcdf!!> ill try reinstalling rq
01:07:17FromDiscord<!!sharpcdf!!> probably wont work but might as well try
01:07:30FromDiscord<!!sharpcdf!!> yea no fix
01:11:20*rockcavera joined #nim
01:11:21*rockcavera quit (Changing host)
01:11:21*rockcavera joined #nim
01:28:20*Jjp137 quit (Quit: Leaving)
01:45:39FromDiscord<Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=4aYQ
01:47:46FromDiscord<Elegantbeef> `echo result.repr` is a hell of a debug method
01:48:28FromDiscord<Patitotective> compile error before that, so it doesnt print it :[
01:48:36FromDiscord<Elegantbeef> what?
01:48:54FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=4aYU
01:49:06*Jjp137 joined #nim
01:50:02FromDiscord<Patitotective> hmm dont know whats happening, it doesnt print it for `match`
01:52:40FromDiscord<Elegantbeef> No clue
02:02:31FromDiscord<Patitotective> seems to be some problem with overloading, if i rename one of the parsing macros it works
02:14:31FromDiscord<Patitotective> `{.foo[T]().}` is not allowed either :[
02:25:32FromDiscord<Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=4aZ0
02:25:43FromDiscord<Rika> What did you write LMAO
02:25:46FromDiscord<Elegantbeef> `getType` on `void`
02:26:18FromDiscord<Patitotective> i trusted your `distinct void`
02:26:29FromDiscord<Elegantbeef> Dont blame me
02:26:46FromDiscord<Patitotective> :p
02:47:00*rockcavera quit (Read error: Connection reset by peer)
05:09:41*hochata quit (Ping timeout: 268 seconds)
05:31:54NimEventerNew question by flo: Can&#39;t get Pretty Printers to work for debugging Nim code in Codium (VSCode) with GDB (nim-gdb.py), see https://stackoverflow.com/questions/73782010/cant-get-pretty-printers-to-work-for-debugging-nim-code-in-codium-vscode-with
06:57:57FromDiscord<ravinder387> # create tables↵var a = initTable[cstring, JsObject]()↵a["name"] = toJs(cstring("ravi"))↵a["age"] = 28
06:58:06FromDiscord<ravinder387> err9r]
06:58:34FromDiscord<ravinder387> sent a long message, see http://ix.io/4aZw
06:59:18FromDiscord<ravinder387> sent a code paste, see https://play.nim-lang.org/#ix=4aZx
06:59:31FromDiscord<ravinder387> when isMainModule:↵ console.log(a)
07:01:37FromDiscord<Elegantbeef> `toJs 28`
07:22:45FromDiscord<ravinder387> sent a code paste, see https://play.nim-lang.org/#ix=4aZB
07:23:00FromDiscord<ravinder387> how to represent this js object in nim by jsffi
07:25:56FromDiscord<ravinder387> default nim's object convert into js and i can write nim object. but little-bit time consuming. and I also call JSON.parse js function. but i find issue to generate random number seq to attach at json string """ @[1,2,3] """
07:38:31*LuxuryMode quit (Quit: Connection closed for inactivity)
08:11:20*arkurious joined #nim
08:21:31*Vladar joined #nim
08:25:18FromDiscord<ravinder387> var a = @[1,2,3]
08:25:50FromDiscord<ravinder387> fmt(""" { "data": {a} } """
08:25:52FromDiscord<ravinder387> error
08:27:34NimEventerNew Nimble package! dimage - Pure Nim, no external dependencies, image mime type and dimension reader for images, see https://github.com/accodeing/dimage
08:53:58FromDiscord<ravinder387> suppose i have string "@[1,2,3]" --> how to remove @ symbol from string by regex
09:25:13FromDiscord<Forest [She/Her]> In reply to @David "Any particular reason you're": @David ah sorry, didn't see this until now, the reason why I'm outputting Jasmin instead of Java now is because it's going to be a lot easier to output low level code instead of direct Java source code, i may work on outputting Java source code like i originally wanted to but, it's not really sensible
09:25:37FromDiscord<Forest [She/Her]> In reply to @David "<@909883978717204561>\: Sorry one last": I'll look into that rn
09:27:57FromDiscord<Forest [She/Her]> Hm, I'll try to figure this out
09:28:23FromDiscord<Forest [She/Her]> I can always work on outputting the JVM bytecode specifically too, if Jasmin ends up limiting me too much
10:08:54*jmdaemon quit (Ping timeout: 244 seconds)
10:27:28FromDiscord<jmgomez> sent a code paste, see https://paste.rs/d6e
10:35:06FromDiscord<Yardanico> In reply to @ravinder387 "how to represent this": you don't need stringification at all!
10:35:38FromDiscord<Yardanico> just use std/jsffi
10:41:05FromDiscord<Bung> I don't use for years, doesn't it deprecated ?
10:41:16FromDiscord<Bung> (edit) "I don't use ... for" added "`method`"
10:43:58FromDiscord<jmgomez> In reply to @Bung "I don't use `method`": Didnt know that. So if you need something with a vtable what do you use instead?
10:44:33FromDiscord<Bung> proc is enough I think
10:45:06FromDiscord<jmgomez> procs are statically dispatched, arent they?
10:45:42FromDiscord<Rika> In reply to @jmgomez "Didnt know that. So": I don’t think they’re deprecated
10:46:00FromDiscord<Rika> In reply to @jmgomez "procs are statically dispatched,": Do you use inheritance?
10:47:49FromDiscord<jmgomez> Yes, is not that I like it but I do use it in the code above. That's how I know it works for the two methods below
10:48:24FromDiscord<jmgomez> It seems to get confused when using type classes
10:48:44FromDiscord<jmgomez> and it calls the base instead of the more concrete implementation
10:48:59FromDiscord<Rika> I don’t know then, I don’t think type classes like that work with methods well, not sure
10:49:17FromDiscord<jmgomez> Ok, thanks
10:50:08FromDiscord<Bung> what's the first case error, nim repo's issues may already have /
10:50:13FromDiscord<jmgomez> https://forum.nim-lang.org/t/4921↵Found this, they said generic methods are deprecated
10:53:03FromDiscord<Bung> oh, good to know, still there are 134 issues opened labeled as Generics
10:53:54FromDiscord<jmgomez> From what they say there, it's a common problem in other langs to mix generics with dynamic dispatching
10:56:33FromDiscord<Forest [She/Her]> In reply to @jmgomez "Didnt know that. So": Vtable?
10:57:00FromDiscord<Forest [She/Her]> Isn't a proc just returning `self.getEntities()` enough?
10:58:22FromDiscord<jmgomez> That's just something that illustrates the issue, the goal would be to achieve something like interfaces on generic types
11:00:30FromDiscord<Forest [She/Her]> Wdym by interfaces? I don't think i understand
11:02:10FromDiscord<jmgomez> interfaces like in other langs, concepts may work but they start to fail when you push them with too many types. ↵I got a workaround to the problem above by doing the "code substitution" myself by wrapping the methods definitions with a template that gets invoked by both implementations
11:13:34FromDiscord<Bung> https://github.com/nim-lang/Nim/issues/19546 `type ExampleObj = object ArrayName : array` does this valid ?
11:13:46FromDiscord<Forest [She/Her]> Ah fair
11:14:20FromDiscord<Forest [She/Her]> In reply to @Bung "https://github.com/nim-lang/Nim/issues/19546 `type ": No don't think so
11:14:46FromDiscord<Forest [She/Her]> You can do `type ExampleObj = array[YourType]` tho
11:15:42FromDiscord<Bung> hmm, me neither, but the auther assuming only one place is wrong
11:27:24FromDiscord<vestel> Why `const` and `static` blocks runs before macros expansion?
11:27:40FromDiscord<vestel> though macro calls are before `static` and `const` blocks
11:34:55*Vladar quit (Quit: Leaving)
11:46:35*Goodbye_Vincent quit (Read error: Connection reset by peer)
11:51:15FromDiscord<Forest [She/Her]> Do `seq`s automatically initialise like `Table`s?
11:51:15FromDiscord<planetis> There are plenty of 'interface' libraries in nimble
11:51:15FromDiscord<planetis> You can do it yourself though it's not hard
11:51:15*oz quit (Ping timeout: 240 seconds)
11:51:16*TrueBlue[m] quit (*.net *.split)
11:51:16*droidrage quit (*.net *.split)
11:51:16*meowray quit (*.net *.split)
11:51:16*fallback quit (*.net *.split)
11:51:17*wallabra quit (*.net *.split)
11:51:17*genpaku quit (*.net *.split)
11:51:17*m5zs7k quit (*.net *.split)
11:51:17*arkurious quit (*.net *.split)
11:51:17*disso_peach quit (*.net *.split)
11:51:17*dv^_^ quit (*.net *.split)
11:51:17*def- quit (*.net *.split)
11:51:17*dtomato quit (*.net *.split)
11:51:17*MightyJoe quit (*.net *.split)
11:51:17*lumidify quit (*.net *.split)
11:51:17*rb quit (*.net *.split)
11:51:17*_________ quit (*.net *.split)
11:51:18*tinytoast quit (*.net *.split)
11:51:18*lain quit (*.net *.split)
11:51:18*blackbeard420 quit (*.net *.split)
11:51:18*via__ quit (*.net *.split)
11:51:18*euantorano quit (*.net *.split)
11:51:18*qwr quit (*.net *.split)
11:51:18*neceve quit (*.net *.split)
11:51:18*attah quit (*.net *.split)
11:51:18*tk quit (*.net *.split)
11:51:18*ldlework quit (*.net *.split)
11:51:18*cornfeedhobo quit (*.net *.split)
11:51:18*arkanoid quit (*.net *.split)
11:51:18*qwestion quit (*.net *.split)
11:51:18*Amun-Ra quit (*.net *.split)
11:51:19*alice quit (*.net *.split)
11:51:19*jkl quit (*.net *.split)
11:51:19*reversem3[m] quit (*.net *.split)
11:51:19*om3ga quit (*.net *.split)
11:51:19*LyndsySimon quit (*.net *.split)
11:51:19*xaltsc quit (*.net *.split)
11:51:19*ixmpp quit (*.net *.split)
11:51:19*notchris quit (*.net *.split)
11:51:19*oprypin quit (*.net *.split)
11:51:19*drewr quit (*.net *.split)
11:51:19*sforman quit (*.net *.split)
11:51:20*noeontheend quit (*.net *.split)
11:51:20*Freneticks quit (*.net *.split)
11:51:20*mronetwo quit (*.net *.split)
11:51:20*djanatyn quit (*.net *.split)
11:51:20*systemdsucks quit (*.net *.split)
11:51:20*redj quit (*.net *.split)
11:51:20*nisstyre quit (*.net *.split)
11:51:20*DixieFlatline quit (*.net *.split)
11:51:20*mal`` quit (*.net *.split)
11:51:20*gshumway quit (*.net *.split)
11:51:20*Yardanico quit (*.net *.split)
11:51:20*madprog quit (*.net *.split)
11:51:20*vicecea quit (*.net *.split)
11:51:20*syl quit (*.net *.split)
11:51:20*NimEventer quit (*.net *.split)
11:51:20*crem quit (*.net *.split)
11:51:20*termer quit (*.net *.split)
11:53:46*Onionhammer quit (Quit: Ping timeout (120 seconds))
11:54:12*ox joined #nim
11:54:12*arkurious joined #nim
11:54:12*qwr joined #nim
11:54:12*neceve joined #nim
11:54:12*disso_peach joined #nim
11:54:12*wallabra joined #nim
11:54:12*attah joined #nim
11:54:12*dv^_^ joined #nim
11:54:12*genpaku joined #nim
11:54:12*vicecea joined #nim
11:54:12*def- joined #nim
11:54:12*meowray joined #nim
11:54:12*fallback joined #nim
11:54:12*dtomato joined #nim
11:54:12*syl joined #nim
11:54:12*sforman joined #nim
11:54:12*noeontheend joined #nim
11:54:12*Freneticks joined #nim
11:54:12*mronetwo joined #nim
11:54:12*m5zs7k joined #nim
11:54:12*MightyJoe joined #nim
11:54:12*reversem3[m] joined #nim
11:54:12*arkanoid joined #nim
11:54:12*tinytoast joined #nim
11:54:12*lain joined #nim
11:54:12*alice joined #nim
11:54:12*NimEventer joined #nim
11:54:12*tk joined #nim
11:54:12*crem joined #nim
11:54:12*termer joined #nim
11:54:12*_________ joined #nim
11:54:12*rb joined #nim
11:54:12*lumidify joined #nim
11:54:12*Amun-Ra joined #nim
11:54:12*qwestion joined #nim
11:54:12*cornfeedhobo joined #nim
11:54:12*ldlework joined #nim
11:54:12*euantorano joined #nim
11:54:12*via__ joined #nim
11:54:12*blackbeard420 joined #nim
11:54:12*jkl joined #nim
11:54:12*ixmpp joined #nim
11:54:12*xaltsc joined #nim
11:54:12*LyndsySimon joined #nim
11:54:12*om3ga joined #nim
11:54:12*drewr joined #nim
11:54:12*oprypin joined #nim
11:54:12*notchris joined #nim
11:54:12*redj joined #nim
11:54:12*systemdsucks joined #nim
11:54:12*djanatyn joined #nim
11:54:12*madprog joined #nim
11:54:12*Yardanico joined #nim
11:54:12*gshumway joined #nim
11:54:12*mal`` joined #nim
11:54:12*DixieFlatline joined #nim
11:54:12*nisstyre joined #nim
11:54:16*Onionhammer joined #nim
11:54:50*TrueBlue[m] joined #nim
11:54:50*droidrage joined #nim
11:55:12*FromDiscord quit (*.net *.split)
11:55:12*mahlon quit (*.net *.split)
11:55:12*adium quit (*.net *.split)
11:55:12*nyeaa4 quit (*.net *.split)
11:58:59*reversem3[m] quit (Ping timeout: 248 seconds)
12:00:05*FromDiscord joined #nim
12:00:05*mahlon joined #nim
12:00:05*adium joined #nim
12:00:05*nyeaa4 joined #nim
12:10:09FromDiscord<Rika> In reply to @Dreamer (Previously Forest) "Do `seq`s automatically initialise": Sequences are empty by default ues
12:10:10FromDiscord<Rika> Yes
12:10:13FromDiscord<Rika> They have no nil
12:16:12FromDiscord<Forest [She/Her]> Okay neat
12:23:04*reversem3[m] joined #nim
13:05:25FromDiscord<Forest [She/Her]> @David it seems like Jasmin does support emitting line numbers, though since Nim is gonna be compiling many objects from one file into multiple jasmin files, it may not work out as i want it to
13:05:34FromDiscord<aph> is nim playground down? or is it just me
13:06:16FromDiscord<Forest [She/Her]> In reply to @aph "is nim playground down?": It's down
13:06:28FromDiscord<aph> In reply to @Dreamer (Previously Forest) "It's down": rip
13:06:37FromDiscord<Forest [She/Her]> PMunch (person who runs it) is busy or on vacation so hasn't been able to get it up
13:07:29FromDiscord<aph> ah ill have to use inim then thanks for the info
13:07:42FromDiscord<Kiloneie> i was just about to ask myself
13:07:46FromDiscord<Kiloneie> dang it
13:08:01FromDiscord<Rika> "why would you ask yourself a question"
13:08:05FromDiscord<Rika> i am joking
13:09:57FromDiscord<Kiloneie> Oh this is horrible... ugh... https://justpaste.it/7053v↵Does anyone know what the first {.base.} pragma on attack method is throwing me an Error: invalid pragma: base ?
13:12:48FromDiscord<Kiloneie> Even if i switch them up, it's still the "bandit" one, my knowledge of pragmas is weak.
13:16:30FromDiscord<Kiloneie> Ignore me, i am blind
13:16:43FromDiscord<Kiloneie> i somehow had proc there
13:22:03FromDiscord<David> sent a long message, see https://paste.rs/rBl
13:23:44FromDiscord<Yardanico> In reply to @Kiloneie "Oh this is horrible...": please use other paste services in the future
13:24:39FromDiscord<Kiloneie> Yeah... it's gross xD...
13:24:40FromDiscord<Yardanico> yours is not an method
13:25:07FromDiscord<ravinder387> sent a code paste, see https://paste.rs/lbz
13:25:10FromDiscord<Kiloneie> i know, i was blind, already said so.
13:25:21FromDiscord<ravinder387> how to wrap this by jsffi
13:25:39FromDiscord<David> I suspect jnim may be the easier route than creating the java generation server and have lower performance overhead.
13:45:30FromDiscord<Forest [She/Her]> In reply to @David "In that case maybe": Hm I'll look into using Roaster then, thank you ^^
14:00:46FromDiscord<AmjadHD> sent a code paste, see https://paste.rs/pUv
14:01:24FromDiscord<AmjadHD> sent a code paste, see https://paste.rs/JHD
14:01:44FromDiscord<AmjadHD> Is this a known bug ?
14:03:58FromDiscord<Phil> Bug?↵I don't think that's a bug. At least from what I'm seeing I'm not convinced toOpenArray does a copy
14:04:12FromDiscord<Phil> And if it doesn't do a copy then it's performing a side-effect
14:05:03FromDiscord<Rika> its a bug, it shouldnt sigsegv
14:05:19FromDiscord<Rika> then again youre using two experimentals
14:06:17FromDiscord<Phil> In reply to @Rika "its a bug, it": Fair
14:07:51FromDiscord<Phil> In unrelated news, I wish async error logs were not so absolutely useless↵> nswebserver | Exception message: field 'key' is not accessible for type 'NodeObj' using 'isLeaf = 109'↵This followed by, I kid you not, over 200 lines of BS async logs, none of which have anything to do with the actual error whose starting point I'm still looking for because the message itself doesn't tell me where its exploding, neither does the flipping
14:08:38FromDiscord<Phil> (edit) "logs," => "stacktrace,"
14:10:35*LuxuryMode joined #nim
14:16:16FromDiscord<untoreh> sent a code paste, see https://paste.rs/dCu
14:19:33FromDiscord<AmjadHD> In reply to @Isofruit "Bug? I don't think": https://nim-lang.github.io/Nim/manual_experimental.html#strict-funcs↵> Any mutation to an object does count as a side effect if that object is reachable via a parameter that is not declared as a `var` parameter.↵the parameter a is declared `var`, so this is not a sideeffect.
14:20:44FromDiscord<AmjadHD> `v` should be a mutable view, and this should fine IMO.
14:20:59FromDiscord<AmjadHD> (edit) "should be" => "is"
14:21:50FromDiscord<AmjadHD> (edit) "and this" => "mutating a via it" | "fine IMO." => "not be an error."
14:58:04*rockcavera joined #nim
14:58:05*rockcavera quit (Changing host)
14:58:05*rockcavera joined #nim
15:08:58FromDiscord<Kiloneie> Is Nimprof good enough or should i use valgrind for proper results?
15:11:38FromDiscord<Kiloneie> Also if i get an empty results file, why is that?
15:11:55FromDiscord<Require Support> In reply to @Isofruit "In unrelated news, I": this annoys me too, had some code that broke when using `orc` but was fine with `gc` and the error was related to httpclient and async. No idea how to begin tracing it and finding why it destroys itself.
15:12:04FromDiscord<Require Support> (edit) "`gc`" => "`refc`"
15:13:42FromDiscord<Phil> @flywind How do I actually swap out the http server in prologue?↵I see Server Settings but they don't explain how to do so. ↵I'm having the faint hope I can figure out my bug if I use a sync-http server
15:13:53FromDiscord<Phil> And escape all this async stacktrace nightmare
15:14:18FromDiscord<flywind> In reply to @Isofruit "<@658563905425244160> How do I": It doesn't support sync server.
15:14:41FromDiscord<Phil> I dunno how to react to that so I'll just say to imagine a kicked puppy
15:15:04FromDiscord<flywind> You can try this to get a better stacktrace => https://github.com/nim-lang/Nim/issues/19931#issuecomment-1167658160
15:15:05FromDiscord<Phil> Alright, time to think how else I can figure out where that error comes from
15:15:57qwrafaik there are some problems with closures and orc (have some examples myself that should be made into bug report probably)
15:19:51FromDiscord<Phil> sent a long message, see https://paste.rs/Dup
15:19:52qwrRequire Support: and one thing you might want to check is, if you're having any closure in for cycles - then you have to use https://nim-lang.org/docs/sugar.html#capture.m%2Cvarargs%5Btyped%5D%2Cuntyped with current nim
15:20:31FromDiscord<Phil> (edit) "https://paste.rs/HLm" => "https://paste.rs/dMW"
15:20:32FromDiscord<flywind> In reply to @Isofruit "Sadly it's not the": What about switching to asynchttpserver?
15:20:41FromDiscord<flywind> `-d:useStd` or so
15:21:43FromDiscord<Phil> I'll try it out. The issue only occurs when I'm (in like 1-second intervals) swap webpages, each of which send 2 HTTP requests to my application.
15:21:53FromDiscord<Phil> And then only after the 10th pageload or so
15:22:38FromDiscord<Phil> God I love that I set up a nimble task that does everything from compile, to creating image, to composing it all up
15:23:29FromDiscord<Shiba> yes WHAT! https://media.discordapp.net/attachments/371759389889003532/1021803792104177755/Screenshot_2022-09-20_16-22-55.png https://media.discordapp.net/attachments/371759389889003532/1021803792544563310/Screenshot_2022-09-20_16-21-38.png https://media.discordapp.net/attachments/371759389889003532/1021803793098227712/Screenshot_2022-09-20_16-06-44.png
15:26:23FromDiscord<flywind> In reply to @Isofruit "Sadly it's not the": Yeah, it seems to be related with the route
15:27:14FromDiscord<flywind> sent a code paste, see https://paste.rs/sPJ
15:28:17FromDiscord<Phil> In reply to @flywind "Yeah, it seems to": Hmmm given that I didn't give you much to work with, here the stacktrace, maybe that can harden your suspicion
15:28:43FromDiscord<flywind> Probably some URLs are not handled well
15:28:44FromDiscord<Phil> Wait, no fuck I restarted the server
15:29:13FromDiscord<Phil> I mean, the URLs generally work well, it's flipping fast through the pages that triggers the issue
15:29:44FromDiscord<Phil> Though I failed to trigger the same behaviour with asynchttpserver
15:30:11FromDiscord<Phil> Give me another 5 minutes, I need to recompile with the correct server etc. ^^'
15:30:52FromDiscord<Rika> In reply to @Shiba "yes WHAT!": ptr array[NN, T]...
15:33:19FromDiscord<Phil> In reply to @flywind "Yeah, it seems to": Can't replicate anymore for some reason =/↵Shall I send you the stacktrace if I do?
15:33:39FromDiscord<flywind> In reply to @Isofruit "Can't replicate anymore for": yeah, ok better to make an issue though
15:34:07FromDiscord<flywind> httpbeast could have some bugs though, did you put it under nginx?
15:34:35FromDiscord<Phil> Just honestly not sure where, from my position this could be anywhere between prologue, httpx or std lib async
15:35:02FromDiscord<Phil> In reply to @flywind "httpbeast could have some": Set up was 2 docker containers, one nginx as reverse proxy, the other prologue with httpx
15:36:21FromDiscord<Phil> All running on localhost as I used entries in /etc/hosts to resolve calls to my domain to localhost
15:37:11FromDiscord<Shiba> In reply to @Rika "ptr array[N*N, T]...": thanks , where can i study those advanced stuff
15:37:26FromDiscord<Shiba> or what should i read
15:38:25FromDiscord<Shiba> (edit) "In reply to @Rika "ptr array[N*N, T]...": thanks , where can i study those advanced stuff ... " added "about pinters"
15:38:36FromDiscord<Shiba> (edit) "pinters" => "pounters"
15:38:44FromDiscord<Shiba> (edit) "pounters" => "pointers"
15:38:50FromDiscord<Rika> In reply to @Shiba "thanks , where can": This isn’t a pointer issue
15:38:56FromDiscord<Rika> You allocated too small of an array
15:39:06FromDiscord<Rika> Just size of N when you meant the square
15:39:43FromDiscord<Rika> Why a pointer to an array anyway
15:40:18FromDiscord<Phil> In reply to @flywind "yeah, ok better to": Hah! Replicated!↵In this scenario: Opening webpage triggers 2 HTTP calls that arrive in the backend and both trigger the same error with the same stacktrace.↵One endpoint is `/sessionaudio/Aldrune/1/72/` the other `/timestamp/Aldrune/1/72/` https://media.discordapp.net/attachments/371759389889003532/1021808028678373517/Untitled_Document_1
15:42:41FromDiscord<flywind> did y7ou use threadpool + ORC?
15:42:45FromDiscord<Phil> Where would the best place be for that kind of bug?
15:42:46FromDiscord<flywind> (edit) "y7ou" => "you"
15:43:30FromDiscord<Phil> sent a code paste, see https://paste.rs/byU
15:44:23FromDiscord<flywind> In reply to @Isofruit "Hah! Replicated! In this": So `-d:useStd` works?
15:45:40FromDiscord<Phil> In reply to @flywind "So `-d:useStd` works?": I can't say with 100% certainty as even when using httpx I can only 80% of the time reproduce the bug:↵With usestd I could not trigger the bug so far whatsoever, but it might be that with useStd it's just more difficult.
15:46:03FromDiscord<Phil> The server seems to behave somewhat more stable to rapid-fire requests like what I was just testing with though
15:46:16FromDiscord<Phil> (edit) removed "just" | "though" => "just now"
15:46:26FromDiscord<Phil> (The one with -d:usestd I mean)
15:46:36FromDiscord<flywind> Would it work with `refc` though?
15:47:03FromDiscord<Phil> Ah, want me to throw out the mm:orc flag?
15:47:25FromDiscord<Phil> Alrighty, recompiling
15:47:57FromDiscord<Phil> In reply to @flywind "Would it work with": Wait, if I compile with devel, do I need to explicitly do `--mm:refc`?
15:48:13FromDiscord<Phil> I recall devel swapping default mm
15:48:22FromDiscord<Phil> Or rather the plan is for nim 2.0 to swap default
15:48:24FromDiscord<flywind> In reply to @Isofruit "Wait, if I compile": The devel still defaults to refc
15:48:28FromDiscord<Phil> Alrighty
15:51:12FromDiscord<Phil> In reply to @flywind "The devel still defaults": So far I'm struggling to replicate, that's for sure
15:52:36FromDiscord<flywind> Yeah, that sucks
15:53:00FromDiscord<Phil> Still can't replicate, for now I'll say "It works with refc"
15:53:32FromDiscord<Phil> Does that mean the bug is some sort of obscure interaction problem between orc and httpx, which is the worst kind of bug?
15:58:55FromDiscord<Shiba> In reply to @Rika "Why a pointer to": no idea , its someone else's 3d engine
15:59:43FromDiscord<Shiba> iam trying to understand what the code , since there is no docs for it
15:59:52FromDiscord<Shiba> (edit) "iam trying to understand what the code ... ," added "does"
16:10:59NimEventerNew thread by drkameleon: Internal error: cannot map the empty seq type to a C type, see https://forum.nim-lang.org/t/9481
16:24:46FromDiscord<flywind> In reply to @Isofruit "Does that mean the": Yeah weird, why `isLeaf` can be 255
16:24:56FromDiscord<flywind> It should be true or false
16:27:59FromDiscord<flywind> In reply to @Isofruit "Hah! Replicated! In this": Btw httpx has a new verision 0.3.0
16:29:39FromDiscord<flywind> sent a code paste, see https://paste.rs/VbQ
16:29:49FromDiscord<flywind> it seems to be the key error messages
16:31:11FromDiscord<Phil> I tend to ignore literally everything that isn't my own code because typically they're just results of me screwing up previously, just this time I can't see an obvious place for a mistake, particularly since it does work most of the time
16:31:43FromDiscord<Phil> In reply to @flywind "Btw httpx has a": I'll do a nimble install and see if that bombs anything
16:32:25FromDiscord<Phil> Compile is running
16:32:36FromDiscord<flywind> A guess, if it is a ORC problem, then `isLeaf` can be wrongly reset to false.
16:34:25FromDiscord<flywind> add `--cursorinference:off` for safety
16:34:43FromDiscord<Phil> First things first
16:35:18FromDiscord<Phil> Okay, I can trigger the same issue with 0.3.0
16:35:30FromDiscord<Phil> Let's see if the cursorinference flag does anything
16:36:42FromDiscord<Require Support> In reply to @flywind "add `--cursorinference:off` for safety": TIL, will try it out
16:39:34FromDiscord<flywind> sent a code paste, see https://paste.rs/3f9
16:40:03FromDiscord<Phil> In reply to @flywind "add `--cursorinference:off` for safety": I managed to still trigger this issue with the flag being active, so not sure it's that
16:40:04FromDiscord<flywind> (edit) "https://paste.rs/z0g" => "https://paste.rs/46E"
16:40:20FromDiscord<flywind> (edit) "https://paste.rs/xUZ" => "https://paste.rs/kDK"
16:43:04FromDiscord<Phil> In reply to @flywind "Yeah, my first step": So what would be the prediction here?↵Is your assumption the controller ends too soon and that causes the error or sth?
16:43:22FromDiscord<Phil> And the hope is that by not destroying that piece of memory it doesn't cause the error?
16:44:03FromDiscord<flywind> In reply to @Isofruit "So what would be": https://github.com/nim-lang/Nim/blob/4a1bda667c74361c121460ca7d80cfcbf003d8d7/lib/pure/collections/critbits.nim#L69
16:47:16FromDiscord<flywind> According to the error, when execute the Line 69, `isLeaf` evaluates to `true`. So it enters the second branch. However, somehow `it` get reset, now `isLeaf` evaluates to `false` and you cannot visit the `key` attribute which only exists when `isLeaf` is `true`.
16:47:27FromDiscord<flywind> (edit) "execute" => "executing"
16:47:43FromDiscord<flywind> (edit) "get" => "gets"
16:48:23FromDiscord<flywind> Here is the error from the stacktrace ` ERROR FieldDefect: field 'key' is not accessible for type 'NodeObj' using 'isLeaf = false'`
16:48:25FromDiscord<Phil> In reply to @flywind "https://github.com/nim-lang/Nim/blob/4a1bda667c7436": How do you know it's that piece of code where the isLeaf fails?
16:48:45FromDiscord<flywind> In reply to @Isofruit "How do you know": Because the stack trace showed it
16:49:12FromDiscord<Phil> The stacktrace has it as this though:↵> nswebserver | ERROR FieldDefect: field 'key' is not accessible for type 'NodeObj' using 'isLeaf = 255'
16:49:51FromDiscord<flywind> https://media.discordapp.net/attachments/371759389889003532/1021825528686182510/unknown.png
16:49:56FromDiscord<Phil> And just managed to replicate the bug, so having `nodestroy` pragma on `findHandler` does not prevent it (if it even should)
16:50:34FromDiscord<Phil> In reply to @flywind "": Ahhhh yeah, fair
16:51:17FromDiscord<flywind> In reply to @Isofruit "And just managed to": Sorry my bad, I think `rawGet` is more suspicious.
16:52:10FromDiscord<Phil> Shall I keep the nodestroy on both or just one?
16:52:35FromDiscord<flywind> put it on the `rawGet` i think
16:53:49FromDiscord<Phil> Alright, recompiling
16:56:21FromDiscord<Phil> sent a long message, see https://paste.rs/hjt
16:56:43FromDiscord<Phil> (It keeps repeating because docker-compose keeps restarting the container on failure, I posted the same thing twice mostly for demonstrative purposes
16:57:06FromDiscord<Phil> (edit) "long message," => "code paste," | "https://paste.rs/B1w" => "https://paste.rs/S4F"
16:58:44FromDiscord<Phil> sent a code paste, see https://paste.rs/KiD
16:58:55FromDiscord<flywind> It is quite nasty
16:59:05FromDiscord<flywind> sent a code paste, see https://paste.rs/4hE
16:59:16FromDiscord<flywind> to replace
16:59:22FromDiscord<flywind> sent a code paste, see https://paste.rs/MHf
16:59:53FromDiscord<flywind> and remove `noDestroy`
16:59:57FromDiscord<flywind> (edit) "`noDestroy`" => "`nodestroy`"
17:00:57FromDiscord<flywind> I guess ORC doesn't like complex expressions.
17:01:20FromDiscord<Phil> sent a code paste, see https://paste.rs/YS8
17:02:08FromDiscord<flywind> yeah
17:02:11FromDiscord<Phil> (edit) "https://paste.rs/ISt" => "https://paste.rs/a3k"
17:02:20FromDiscord<Phil> Alrighty, compiling then
17:03:04FromDiscord<Phil> Fun fact, a full debug compile and deploy takes only around 40-45 seconds!↵Pretty fast given the project size
17:06:08FromDiscord<Phil> In reply to @flywind "yeah": That appears to have fixed it, can't replicate the error
17:06:36FromDiscord<flywind> In reply to @Isofruit "That appears to have": Finally, thanks for your efforts!
17:07:38FromDiscord<Phil> Thanks for your effort! I understood very little of what I did there ^^↵With all the knowledge we now amassed, shall I do something with it or are you just going to open a PR?
17:08:00FromDiscord<Phil> Like, suggestions for further plan of action?
17:09:30FromDiscord<flywind> Better to have reduced cases, then make a PR to fix the root problem. If that is too hard, we can simply apply this workaround. Probably made an issue on the Nim issue tracker first.
17:10:22*LuxuryMode quit (Quit: Connection closed for inactivity)
17:10:23FromDiscord<flywind> (edit) "made" => "make"
17:11:10FromDiscord<flywind> Then feel free to open a PR to apply this workaround.
17:14:02FromDiscord<Phil> I'm honestly not too sure how to reduce the problem, figuring out what specifically broke here would likely take longer than the time we spent to fix it.↵Mostly because it has something to do with timing etc.↵This issue only occurs sometimes when I click through a list of entries from one to the next and only under specific circumstances that I don't quite understand.↵So I guess I could open up just an issue with a vague descriptio
17:14:38FromDiscord<flywind> Yes
17:15:50FromDiscord<flywind> `return if it.key == key: it else: nil` I guess the root cause is that `it` get moved wrongly in the while loop and this if statement.
17:16:40FromDiscord<flywind> In reply to @Isofruit "I'm honestly not too": Yeah, reducing a test case is not easy when having so many dependencies and conditions
17:16:56FromDiscord<flywind> (edit) "get" => "gets"
17:19:27*jmdaemon joined #nim
17:21:19FromDiscord<flywind> Gotta go, 🌃 bye
17:23:40FromDiscord<Phil> bye!
17:44:25*derpydoo joined #nim
18:10:06*tiorock joined #nim
18:10:07*tiorock quit (Changing host)
18:10:07*tiorock joined #nim
18:10:07*rockcavera quit (Killed (molybdenum.libera.chat (Nickname regained by services)))
18:10:07*tiorock is now known as rockcavera
18:15:30*derpydoo quit (Quit: derpydoo)
18:17:20*ox is now known as oz
18:36:07*derpydoo joined #nim
19:09:17*krux02 joined #nim
19:16:13FromDiscord<Kiloneie> By using valgrind, if example A has twice the calls than example B, example A is surely slower then ? Double checking xD...
19:19:53FromDiscord<Elegantbeef> It means it's a hot path it doesnt mean it's slower
19:19:55FromDiscord<Elegantbeef> percentage of program spent in code or time spent is more important
19:20:11FromDiscord<Kiloneie> is that the Incl. blue square ?
19:20:41FromDiscord<Elegantbeef> What?
19:21:24FromDiscord<Kiloneie> https://media.discordapp.net/attachments/371759389889003532/1021863667047858326/unknown.png
19:22:20FromDiscord<Elegantbeef> What tool did you use to profile?
19:22:28FromDiscord<Kiloneie> valgrind
19:22:43FromDiscord<Kiloneie> wait
19:22:52FromDiscord<Kiloneie> i forgot to turn of debug and stuff sht
19:23:10FromDiscord<Elegantbeef> You used callgrind correct?
19:23:38FromDiscord<Kiloneie> yeh from dom's guide but i forgot to turn of debug, doing it now
19:23:42FromDiscord<Forest [She/Her]> Does Nim let you initialise empty objects? (Not ref objects)
19:24:11FromDiscord<Forest [She/Her]> nvm doesn't matter
19:24:19FromDiscord<Elegantbeef> Of course it does
19:24:22FromDiscord<Elegantbeef> Nim 0 init's memory
19:25:00FromDiscord<Kiloneie> wait, what flags should be set for profiling ?
19:25:36FromDiscord<Elegantbeef> `--debugger:native -d:release`
19:26:03FromDiscord<Kiloneie> the flags nimprof wants turned off too ?
19:26:08FromDiscord<Kiloneie> stacktrace and profiler
19:26:29FromDiscord<Elegantbeef> No dont use nimrpof
19:26:29FromDiscord<Elegantbeef> then to get a call graph you can do `vallgrind --tool=callgrind` for a cache profile you can do `--tool=cachegrind` and for a better profiler you'll want to use perf
19:27:23FromDiscord<Elegantbeef> nimprof even
19:28:02FromDiscord<Kiloneie> no i meant if i turn off stacktrace and profiler, i have them set because i tried nim prof, but sometimes it gave me no output at all...
19:29:00FromDiscord<Forest [She/Her]> In reply to @Elegantbeef "Of course it does": Cool
19:31:13FromDiscord<Elegantbeef> You only need to turn on `--debugger:native` to use debuggers/profilers
19:31:27FromDiscord<Kiloneie> whats a cache profile ?
19:31:30FromDiscord<Elegantbeef> Worth noting it's pointless to profile a debug release and realistically you also should pass `--passC:"-flto" --passL:"-flto"`
19:31:51FromDiscord<Elegantbeef> https://www.cs.cmu.edu/afs/cs.cmu.edu/project/cmt-40/Nice/RuleRefinement/bin/valgrind-3.2.0/docs/html/cg-manual.html
19:33:45FromDiscord<Kiloneie> documentation says those flags are to optimize for size...
19:34:17FromDiscord<Elegantbeef> LTO can benefit speed aswell
19:37:14*derpydoo quit (Ping timeout: 244 seconds)
19:37:28FromDiscord<Kiloneie> Got both open, now to figure out what anything means...
19:39:14FromDiscord<demotomohiro> LTO allows inlining procedures defined in different module.
19:51:15*LuxuryMode joined #nim
20:13:52FromDiscord<vestel> How do I delete debug lines from executable `--debugInfo:off` doesn't works
20:14:01FromDiscord<vestel> (edit) "executable" => "executable?"
20:16:32FromDiscord<Bung> -d:release
20:16:48FromDiscord<Elegantbeef> `--stackTrace:off --lineTrace:off --lineDir:off` should remove most if not all
20:21:02FromDiscord<Kiloneie> youtube has barely anything at all for Kcachegrind, the one i watched had tabs or info columns that i don't have, learned nothing xD
20:22:08FromDiscord<Elegantbeef> Well dont use youtube for learning software
20:22:41FromDiscord<Kiloneie> well since it's a visual program, i thought it would be the best idea
20:23:07FromDiscord<Kiloneie> but i got more info from the program's help instead... not that i understand more than a few % more...
20:23:10FromDiscord<Elegantbeef> It's a very simple program so I dont see needing much
20:23:54FromDiscord<Kiloneie> Well im not too familiar with all the terms there
20:24:31FromDiscord<Kiloneie> like first column is named Incl. which means inclusive time, no tool tip for that, had to use help to know what the hell that means D:...
20:25:36FromDiscord<Elegantbeef> Yea what a world using the programs documentation!
20:29:31FromDiscord<sOkam!> separate documentation is less intuitive that tooltips in-app. give the guy some slack
20:38:09NimEventerNew thread by amark159: Is a Java-style GC possible?, see https://forum.nim-lang.org/t/9482
20:41:35FromDiscord<Kiloneie> Beef always strives to create beef.
20:43:08FromDiscord<huantian> hm I wonder if those benchmarks are slower than they should be because of orc + threads?
20:50:24FromDiscord<Yardanico> In reply to @huantian "hm I wonder if": threads is only enabled on devel
20:50:34FromDiscord<Yardanico> also the benchmarks there seem to compile with orc and danger + panics already
20:50:51FromDiscord<Yardanico> but yeah, mimalloc can maybe speed it up anyway
20:51:06FromDiscord<huantian> yeah they use the flags defined here https://github.com/hanabi1224/Programming-Language-Benchmarks/blob/main/bench/bench_nim.yaml
20:56:03FromDiscord<huantian> oh they do enable threads too
20:56:08FromDiscord<Patitotective> beef, to inject a symbol through a macro do i still use `genSym`? or just `let symbol {.inject.}`?
20:56:58FromDiscord<Kiloneie> where are the discord logs for main ?
20:57:10FromDiscord<Patitotective> https://irclogs.nim-lang.org/
20:57:54FromDiscord<Kiloneie> you probably can't search the entire log ?
20:58:04FromDiscord<Patitotective> you can search in discord
20:58:25FromDiscord<Kiloneie> the top right search box ?
20:58:32FromDiscord<Patitotective> yes or Ctrl+F
20:58:56FromDiscord<Kiloneie> okay thanks
21:06:33FromDiscord<praise01> Thank me later https://t.me/+kaz97seJgx9jNTNh
21:08:15FromDiscord<Kiloneie> uhm ? scam/spam ?
21:11:29*jjido joined #nim
21:18:32FromDiscord<Elegantbeef> Yes
21:19:50FromDiscord<Elegantbeef> Eh moreso i strive to make sense 😛↵(@Kiloneie)
22:02:58FromDiscord<Patitotective> In reply to @Patitotective "beef, to inject a": anything beef? is `result[^1].insert(0, quote do: (let before {.inject.} = parser.current))` okay?
22:03:19FromDiscord<Elegantbeef> I mean i'd do it like a sane person but yea
22:03:49FromDiscord<Elegantbeef> sent a code paste, see https://paste.rs/oh0
22:04:42FromDiscord<Patitotective> but why genast, its an import far↵doesnt quote do work?
22:04:52FromDiscord<Patitotective> In reply to @Elegantbeef "I mean i'd do": im one-line person
22:05:11FromDiscord<Elegantbeef> I mean it works but it's not the best tool imo
22:05:29FromDiscord<Elegantbeef> Well if you're going to ignore me then dont ask me mmmmk? 😄
22:05:33FromDiscord<Patitotective> whats wrong with it
22:06:11FromDiscord<Elegantbeef> You have to declare symbols before and have tedious backticks for binding
22:06:19FromDiscord<Patitotective> In reply to @Elegantbeef "Well if you're going": i was asking if it was okay, i could be doing something wrong :p
22:06:30FromDiscord<Elegantbeef> If the code works then it's okay
22:06:38FromDiscord<Patitotective>
22:06:47FromDiscord<Elegantbeef> And you are doing something wrong you have 2 statements on a single line
22:07:19FromDiscord<Elegantbeef> That's unequivocally wrong in my world
22:07:30FromDiscord<Patitotective> fine ill change it
22:07:35FromDiscord<Elegantbeef> It's your code
22:07:36FromDiscord<Elegantbeef> You do you
22:07:45FromDiscord<Elegantbeef> Just let me jokingly insult you and carry on!
22:08:29FromDiscord<Patitotective> :]
22:10:45*LuxuryMode quit (Quit: Connection closed for inactivity)
22:42:44*arkurious quit (Quit: Leaving)
22:51:33*krux02 quit (Remote host closed the connection)