<< 11-07-2022 >>

00:00:01FromDiscord<TryAngle> ah ok
00:00:01FromDiscord<TryAngle> thanks
00:00:18FromDiscord<Elegantbeef> Names dont matter for linking
00:00:25FromDiscord<Sun「無用」> Hello there
00:00:31FromDiscord<Elegantbeef> Procedure type just has to be the same
00:00:38FromDiscord<huantian> Hi
00:01:16FromDiscord<Sun「無用」> I'm kinda new to the lang, any projects recommended to start?
00:06:49FromDiscord<Elegantbeef> What's you field of interest?
00:06:52FromDiscord<Elegantbeef> your field\
00:15:05FromDiscord<ynfle> In reply to @Sun「無用」 "I'm kinda new to": Webapp, Deep learning
00:16:02FromDiscord<Sun「無用」> In reply to @Elegantbeef "What's you field of": none? dunno, lol
00:16:18FromDiscord<Sun「無用」> Ik it's not web.
00:16:23FromDiscord<Sun「無用」> that's all
00:17:25FromDiscord<ynfle> Make a grep clone
00:18:29FromDiscord<Sun「無用」> I'm not as smart as you guys think, lol
00:18:48FromDiscord<Sun「無用」> one said deep learning, other said grep clone T_
00:21:09FromDiscord<ynfle> Basic grep clone is actually easier than it seems, I think
00:21:39FromDiscord<ynfle> You could make a calculator CLI
00:24:58*krux02 quit (Remote host closed the connection)
00:27:55FromDiscord<whee> In reply to @Sun「無用」 "I'm kinda new to": do you have any problems that affect you that you think could be solved by an application?
00:28:57FromDiscord<Sun「無用」> In reply to @whee "do you have any": wdym?
00:29:10*noeontheend quit (Ping timeout: 240 seconds)
00:31:59*noeontheend joined #nim
00:40:55FromDiscord<Sun「無用」> Is there a way to enumerate a iterator?
00:41:13FromDiscord<Elegantbeef> `import std/enumerat` `for i, x in enumerate myIterator`
00:41:20FromDiscord<Elegantbeef> `enumerate` even
00:41:33FromDiscord<Elegantbeef> Nim does have `pairs` for most common iterator
00:41:55FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=442j
00:42:30FromDiscord<Sun「無用」> erm... what.
00:42:53FromDiscord<Elegantbeef> Nim has a `pairs` iterator defined for most common iteration methods
00:43:04FromDiscord<Elegantbeef> pairs is implicitly called when you do `for x, y in ...`
00:43:15FromDiscord<Elegantbeef> `items` is implicitly called when you do `for x in ...`
00:43:39FromDiscord<Elegantbeef> Where the `...` is not an iterator but some expression
00:45:24FromDiscord<Sun「無用」> `for idx, line in lines(cliArgs.file):` doesn't work?
00:45:33FromDiscord<Elegantbeef> that's what enumerate is for
00:46:06FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=442k
00:46:10FromDiscord<Elegantbeef> god dammit i cannot type properly todaty
00:46:12FromDiscord<ynfle> (The import should be `import`)
00:46:29FromDiscord<ynfle> How do I generate a .h file when making a dynlib
00:49:21FromDiscord<Sun「無用」> `\n` doesn't work here?
00:49:32FromDiscord<Elegantbeef> It does
00:49:45FromDiscord<Sun「無用」> `found.add(fmt"Line {idx}: {line}\n")` this doesn't line break though
00:50:01FromDiscord<Elegantbeef> `fmt` does not work with escapes
00:50:09FromDiscord<Elegantbeef> use `&"..."` instead
00:50:19FromDiscord<Elegantbeef> https://nim-lang.org/docs/strformat.html#nimfmt-vsdot-nimamp
00:50:22FromDiscord<Sun「無用」> and what is that...
00:50:33FromDiscord<Elegantbeef> It's identical but works with escaping
00:51:15FromDiscord<Sun「無用」> it's not identical... cause it gave me an error
00:51:42FromDiscord<Sun「無用」> when `fmt` worken
00:51:45FromDiscord<Sun「無用」> (edit) "worken" => "worked"
00:52:19FromDiscord<ynfle> What's the error?
00:52:28FromDiscord<Elegantbeef> It compiles fine
00:52:33FromDiscord<Elegantbeef> So you did something wrong
00:52:39FromDiscord<ynfle> In reply to @ynfle "How do I generate": Beef, any idea?
00:52:54FromDiscord<Elegantbeef> genny or the `--header` deprecated option
00:52:55*noeontheend quit (Ping timeout: 244 seconds)
00:53:06FromDiscord<Sun「無用」> Literally the same code
00:53:07FromDiscord<Sun「無用」> sent a code paste, see https://play.nim-lang.org/#ix=442n
00:53:16FromDiscord<Sun「無用」> just changed `fmt` for `&`
00:53:27FromDiscord<Sun「無用」> (edit)
00:53:40FromDiscord<Elegantbeef> https://play.nim-lang.org/#ix=442o
00:53:43FromDiscord<Elegantbeef> It compiles
00:53:52FromDiscord<Elegantbeef> you do have `strformat` imported right?
00:54:17FromDiscord<Sun「無用」> yea.
00:54:37FromDiscord<Sun「無用」> `from strformat import fmt`
00:54:48FromDiscord<Elegantbeef> No you only imported `fmt`
00:55:09FromDiscord<Elegantbeef> Nim isnt python so it's generally not suggested to use the `from x import y` syntax unless you have ambiguity
00:55:24FromDiscord<Elegantbeef> Most Nim code just does `import mymodule` and goes from there
00:55:46FromDiscord<Sun「無用」> But I don't know where that thing is coming from
00:56:06FromDiscord<Elegantbeef> `&` is defined in `strformat`
00:56:42FromDiscord<Sun「無用」> sent a code paste, see https://play.nim-lang.org/#ix=442p
00:56:46FromDiscord<Elegantbeef> sent a code paste, see https://paste.rs/HKQ
00:56:47FromDiscord<Elegantbeef> Cool Nim isnt python
00:57:24FromDiscord<Sun「無用」> I've never said it is
00:57:26FromDiscord<Sun「無用」> but okay
00:57:39FromDiscord<Elegantbeef> You can always use the pythonlike if you want
00:58:01FromDiscord<Elegantbeef> But most Nim programmers rarely do selective imports cause it turns out if you use part of a module you want most of it
00:59:21FromDiscord<Elegantbeef> Like consider `from strutils import allInSet` you'll probably also want all the top level constants like `Letters, Digits, HexDigits, AllChars, IdentChars, NewLines, Whitespace`
00:59:48FromDiscord<Elegantbeef> It's just unneeded noise as Nim is static and tooling can point you where you need t ogo
01:00:22FromDiscord<Sun「無用」> Not my type of importing
01:00:52FromDiscord<Elegantbeef> For your example it wouldnt even compile cause Nim has a Complex type
01:00:59FromDiscord<Elegantbeef> I mean it would compile rather
01:01:33FromDiscord<Sun「無用」> In reply to @Elegantbeef "For your example it": from which I have no way of knowing...
01:01:43FromDiscord<Elegantbeef> What?
01:01:46FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=442r
01:02:23FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=442s
01:02:24FromDiscord<Elegantbeef> Is it really a mystery what `a` is here?
01:03:05FromDiscord<Sun「無用」> In a small project/file? no.
01:03:07FromDiscord<zhmtzhmt> sent a code paste, see https://play.nim-lang.org/#ix=442t
01:03:19FromDiscord<Sun「無用」> In any big thing, yea, people will get lost
01:03:21FromDiscord<Elegantbeef> Even in a complex project it's not ambiguous
01:03:29FromDiscord<Elegantbeef> Procedures have type annotations
01:03:38FromDiscord<Elegantbeef> So you know what the type is and the operations that operate on it
01:03:51FromDiscord<Elegantbeef> pass `-f` or `--forceBuild`↵(@zhmtzhmt)
01:05:00FromDiscord<zhmtzhmt> It does not make sense to recompile whole project when one file is modified.
01:05:16FromDiscord<zhmtzhmt> No better way?
01:05:23FromDiscord<Sun「無用」> sent a code paste, see https://play.nim-lang.org/#ix=442u
01:05:33FromDiscord<zhmtzhmt> 无用是中国的?
01:06:00FromDiscord<Elegantbeef> Error ambiguous `complex`↵(@Sun「無用」)
01:06:54FromDiscord<Elegantbeef> Sorry actually it's lacking value
01:06:54FromDiscord<Sun「無用」> In reply to @Elegantbeef "Error ambiguous `complex` (<@329770603030642689>)": Yep... that can be evicted, though.
01:07:11FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=442v
01:07:18FromDiscord<Elegantbeef> But this is exactly the point
01:07:25FromDiscord<Elegantbeef> If there is ambiguity you use those mechanisms to remove it
01:07:31FromDiscord<Elegantbeef> There is no reason to use them in a vast majority of code
01:07:59FromDiscord<Sun「無用」> sent a code paste, see https://play.nim-lang.org/#ix=442w
01:08:03FromDiscord<Elegantbeef> It doesnt compile without the type annotation
01:08:09FromDiscord<Elegantbeef> it compiles fine cause there is no ambiguity
01:08:29FromDiscord<Elegantbeef> I didnt realize that `complex` from `std/complex` took floats as i've literally never used it
01:09:04FromDiscord<Elegantbeef> So yes you've introduced visual ambiguity, but the question is "Would anyone actually write this code"
01:09:14FromDiscord<Elegantbeef> If the answer is yes, consider not letting them contribute to your project
01:10:27FromDiscord<Sun「無用」> In reply to @Elegantbeef "it compiles fine cause": and again... no way to know that.
01:10:37FromDiscord<Elegantbeef> What?
01:10:47FromDiscord<Elegantbeef> It complies that means there is not ambiguity
01:10:59FromDiscord<Elegantbeef> Nim does not compile if there is ambiguity
01:11:17FromDiscord<Elegantbeef> make that `proc complex(real, image: float32)` then attempt to invoke it
01:11:25FromDiscord<Elegantbeef> Or should it be `float`
01:12:23FromDiscord<Elegantbeef> Ah actually that's wrong again it prefers the procedure from the module that it calls from
01:12:24FromDiscord<Sun「無用」> If you read the code, all you see is 2 functions that have the same name
01:12:27FromDiscord<Elegantbeef> So it's even less confusing
01:12:35FromDiscord<Elegantbeef> Cool
01:12:44FromDiscord<Sun「無用」> if you need to run a code to know it works... it's not a good code.
01:12:46FromDiscord<Elegantbeef> I was just saying what is idiomatic Nim code
01:12:52FromDiscord<Elegantbeef> Lol
01:13:14FromDiscord<Elegantbeef> If you dont like idiomatic Nim code dont write idiomatic Nim
01:13:48FromDiscord<Elegantbeef> Nim has static assurance so "if you need to run code to know it works" is the exact opposite of Nim
01:14:11FromDiscord<Elegantbeef> `var a: int = 30f` does not compile, is that "running code" i dont care it's good
01:14:49FromDiscord<Elegantbeef> But in the end you do not have to write idiomatic Nim so feel free not to
01:38:34FromDiscord<j-james> can futhark spit out nim bindings to a file?
01:38:34FromDiscord<j-james> ah, haha
01:38:35FromDiscord<Elegantbeef> https://github.com/beef331/wlroots/commit/1b00de6d148c768ace1a54f8977cecf0036becc2
01:38:36FromDiscord<j-james> that's exactly the file i was going to test it out on
01:38:36FromDiscord<Elegantbeef> It does by default
01:38:37FromDiscord<Elegantbeef> Coincidentally i was just going to ping you with "well i got bored"
01:38:37FromDiscord<Elegantbeef> Still missing things from utils and more definitions
01:38:37FromDiscord<Elegantbeef> It didnt like the unions iirc
01:38:59FromDiscord<Elegantbeef> When futhark runs on code it outputs the generated nim inside `.cache/nim/project_releaseFlag/futhar_@.nim`
01:41:21FromDiscord<Elegantbeef> Also if you didnt notice you had some wrong procedure definitions
02:24:09FromDiscord<b1rdf00d> In reply to @dom96 "choosenim almost has support": I saw this last night after doing more reading. Anything that needs a bit of help, or will +1 dev slow it down?
02:28:18FromDiscord<tylerlinuxdev> It shouldn't hurt if you take on easier tasks first and try to get into the flow of how project is done and maybe help with documentation since that is probably by far the biggest and best thing you could contribute to a project you like.
02:46:45FromDiscord<b1rdf00d> I tracked down my incompatibility between arraymancer and nimraylib_now, nimraylib_now sets this flag `{.passC: "-std=c99".}` which causes the inline `asm` in arraymancer to fail to compile. I'm fairly sure that I didn't run into this on my intel machine but I'll double check
02:50:01FromDiscord<Elegantbeef> Are you still using the x86 compiler on your m1?
02:51:25FromDiscord<b1rdf00d> yeah I wanted to debug the problem, if I replace `asm` with `asm` in the c code then it compiles fine with the c99 flag
02:53:46*toluene quit (Read error: Connection reset by peer)
02:55:04*toluene joined #nim
02:58:53*rockcavera quit (Remote host closed the connection)
03:00:31FromDiscord<Prestige> In reply to @Elegantbeef "https://github.com/beef331/wlroots/commit/1b00de6d1": Nice
03:01:10FromDiscord<Elegantbeef> It's not amazing still cannot reimplement tinywl 😛
03:01:27FromDiscord<Prestige> It'll be exciting when we can
03:04:51*arkurious quit (Quit: Leaving)
03:06:55FromDiscord<tylerlinuxdev> I often wondered if it'd be easier if library provided Json formatted file that kind of guide you on how to generate API for that given library.
03:07:25FromDiscord<tylerlinuxdev> Most programming languages have some support for Json, so I figured that by letting developer write an output from provided json would save them time from having to bind library manually
03:07:37FromDiscord<Elegantbeef> I mean it can be, but futhark works well enough
03:07:48FromDiscord<tylerlinuxdev> Yeah, just something I've been thinking about for my projects.
03:08:01FromDiscord<Elegantbeef> I know godot emits a json mapping
03:08:23FromDiscord<Elegantbeef> It's certainly something that makes it easier to get going especially when you have macros
03:22:20FromDiscord<Prestige> Can't wait for godot 4
03:22:55FromDiscord<Elegantbeef> Well if you want to use gdextensions you best get on wrapping it \:P
03:23:21FromDiscord<tylerlinuxdev> Just a little odd that they're still using Mono for C#
03:23:42FromDiscord<Elegantbeef> Luckily no one here would use C#
03:24:11FromDiscord<Prestige> Yeah when 4.0 drops I'll work to get Nim set up with it again
03:24:40FromDiscord<Prestige> Beef do you do any smart home device stuff?
03:27:48FromDiscord<Elegantbeef> Yea i have a light switch that has a lever, quite smart
03:28:18FromDiscord<Prestige> Lol
03:28:26FromDiscord<tylerlinuxdev> Looks like it's very easy to bind to Godot
03:29:51*rockcavera joined #nim
03:29:51*rockcavera quit (Changing host)
03:29:51*rockcavera joined #nim
03:30:32*TakinOver joined #nim
03:34:25FromDiscord<Elegantbeef> Prestige i dont know if it's evident but i'm quite against IOT and "home automation"
03:34:33FromDiscord<Elegantbeef> I dont have anything i need automated nor have wanted automated
03:35:21FromDiscord<Prestige> what about security cams?
03:35:33FromDiscord<Elegantbeef> I dont have any
03:35:51FromDiscord<Prestige> but are you against them?
03:35:56FromDiscord<Prestige> I'm going to hard wire mine
03:36:16FromDiscord<Elegantbeef> I dont mind the premise of security cameras that work locally or remotely to a privately owned server
03:36:29FromDiscord<tylerlinuxdev> It's a different experience when you live in a tightly integrated home like tiny house where I live, my floor is heated, so every morning, my computer would check the time and see that it's time for me to get up, the alarm would goes off, roll up the window to let in the light and then heat up the floor, all of this is done automatically every morning.
03:36:33FromDiscord<Elegantbeef> I do not like those dumb "rent a camera" solutions people seem to be happily to join
03:36:45FromDiscord<Elegantbeef> Ok but tyler i have working hands
03:36:53FromDiscord<tylerlinuxdev> \:P
03:37:00FromDiscord<Elegantbeef> I dont see the benefit in having an electrified home
03:37:12FromDiscord<Elegantbeef> I say electrified but i mean automated \:P
03:37:47FromDiscord<tylerlinuxdev> It just saving time, rather than you having to fiddle with everything or make stuff like coffee, you just have it delivered to you from the get go, so you can spend more time enjoying what you want to enjoy.
03:37:59FromDiscord<Elegantbeef> But i enjoy that stuff
03:38:01FromDiscord<Elegantbeef> So checkmate
03:38:09FromDiscord<tylerlinuxdev> Fair enough, just not for everyone haha
03:38:25FromDiscord<Elegantbeef> It's like living in the moment bruuuuuh, why do you have to complicate the moment
03:38:48FromDiscord<tylerlinuxdev> If anything, it doesn't really complicate it, because that the point of automation.
03:39:04FromDiscord<Prestige> Yeah I agree
03:39:24FromDiscord<Elegantbeef> I mean i was jokingly pretending to be the embodiement of a blunt
03:39:42FromDiscord<Elegantbeef> But i dont mind manually doing stuff, even if it's' reptitive
03:39:56FromDiscord<Prestige> I want to have some code processing live video from my cameras to detect movement
03:40:17FromDiscord<Prestige> and maybe set up a notification service
03:40:51FromDiscord<Elegantbeef> Sure that's not automation though that's just cognisant security
03:41:54FromDiscord<tylerlinuxdev> @Prestige\: Many camera have some level of motion detections, from where I live, I have electric fences to keep bears and wolves away.
03:43:36FromDiscord<tylerlinuxdev> Still require to have 12 guage shotgun on you out in the wood though
03:44:14FromDiscord<Prestige> I need to get a good rifle for the bears out here
03:44:24FromDiscord<Prestige> can shoot if they're destroying property
03:44:43FromDiscord<tylerlinuxdev> I would suggest shotgun for that actually, would stop them dead in their track when getting hit by 12 guage
03:46:18FromDiscord<Elegantbeef> Until you forgot you went bird hunting and grabbed the bird shot
03:46:30FromDiscord<Elegantbeef> "All i'm doing is pissing him off"
03:47:07FromDiscord<tylerlinuxdev> "Wait a minute, i still have bear pepper spray, that'll work!" - Gravestone
03:47:44FromDiscord<tylerlinuxdev> If you want an idea how big of a hole 12 guage would make\:
03:47:53FromDiscord<tylerlinuxdev> image.png https://media.discordapp.net/attachments/371759389889003532/995899200611024936/image.png
03:47:53FromDiscord<tylerlinuxdev> Pumpkin didn't do well
03:54:49*noeontheend joined #nim
04:03:47FromDiscord<j-james> the TopLevel procedures? they seem to take an XdgSurface in the headers
04:03:54FromDiscord<j-james> which is weird
04:04:02FromDiscord<Elegantbeef> Might be a Nim type safety issue then?
04:04:12FromDiscord<j-james> did they not run for you?
04:04:23FromDiscord<Elegantbeef> The compiler didnt like the code
04:04:41FromDiscord<j-james> oh, huh
04:04:56FromDiscord<Elegantbeef> Also prestige i swear to what ever diety i believe in, why the hell did you star my fork of wlroots
04:04:59FromDiscord<j-james> i've got some free time tonight to take a look at it
04:05:17FromDiscord<Elegantbeef> https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/tinywl/tinywl.c#L133 for reference
04:05:19FromDiscord<j-james> i'll play around with your wayland wrappers too 😛
04:05:35FromDiscord<Elegantbeef> Feel free to merge them
04:06:24FromDiscord<Elegantbeef> Dont know if i'll get at it more, perhaps with enough back and forth i will
04:06:31FromDiscord<j-james> i was planning on making them separate packages on nimble
04:06:57FromDiscord<Elegantbeef> Ah yea makes sense
04:07:00FromDiscord<j-james> although wlroots pretty much is just a part of wayland at this point
04:07:19FromDiscord<Elegantbeef> Right now wayland + xkb are the last two needed things i think to get tinywl reimplemented
04:07:43FromDiscord<j-james> what do you think about the Wlr and Wl prefixes, by the way
04:07:48FromDiscord<Elegantbeef> I fucking despise them
04:07:59FromDiscord<j-james> there's some overlap, so i can't remove both 🙁
04:08:23FromDiscord<Elegantbeef> I mean you can but it requires prefixing with `wayland` or `wlroots` instead
04:08:44FromDiscord<j-james> yea, which is worse 💀
04:08:58FromDiscord<Elegantbeef> Yea it's a shitty spot
04:09:02FromDiscord<j-james> i think currently all the Wlr prefixes are removed just since there's more of them
04:09:15FromDiscord<Elegantbeef> Until you start writing code
04:09:19FromDiscord<Prestige> In reply to @Elegantbeef "Also prestige i swear": To see if you'd notice and say something about it
04:09:28FromDiscord<Elegantbeef> lol
04:09:55FromDiscord<Elegantbeef> Also james is there any reason we cannot make all the Wlroots `ptr object` aswell?
04:10:04FromDiscord<Elegantbeef> It makes writing the code much much nicer
04:10:25FromDiscord<j-james> was planning on it
04:10:31FromDiscord<Elegantbeef> Ah ok
04:10:50FromDiscord<Elegantbeef> I do really wish more libraries did the "bring your own allocator" approach
04:10:56FromDiscord<Elegantbeef> Makes life so much nicer
04:11:05FromDiscord<Elegantbeef> Miniaudio is fantastic due to this imo
04:11:53FromDiscord<j-james> i'm just not 100% clear on how ptr stuff works
04:12:07FromDiscord<j-james> i just want to avoid calling `addr` on a bunch of stuff
04:12:11FromDiscord<Elegantbeef> Well if you have questions ask
04:12:37FromDiscord<Elegantbeef> Bring your own allocator is so nice cause you can just use `ref T`
04:13:04FromDiscord<Elegantbeef> But i guess with waylands/design we'd have to `GcUnref` and `GcRef` a lot
04:13:23*noeontheend quit (Ping timeout: 244 seconds)
04:13:55FromDiscord<Elegantbeef> The only time the `ptr T` will cut us is if we need to call a proc that takes `T` we need to manually derefernce for it
04:14:11FromDiscord<Elegantbeef> My observation is that they're almost all `ptr T` parameters though
04:14:54FromDiscord<Prestige> Elegantbeef what issues are remaining for the wayland wrapper?
04:14:56FromDiscord<Elegantbeef> They dont explicitly state they're pointers though with an opaque typdef which is a bit odd
04:15:24FromDiscord<Elegantbeef> Wayland/s utils and xkb need wrapped
04:15:44FromDiscord<Elegantbeef> And like i said to james even if futhark worked i'd much prefer a concrete API for something like wayland
04:15:50FromDiscord<Prestige> oh I was thinking xcb, what's xkb
04:16:06FromDiscord<Elegantbeef> Keyboard handling
04:16:07FromDiscord<Elegantbeef> https://xkbcommon.org/
04:16:46FromDiscord<Prestige> This font is actually distracting
04:17:02FromDiscord<Prestige> and wtf is this lol https://media.discordapp.net/attachments/371759389889003532/995906537300168775/unknown.png
04:17:19FromDiscord<Elegantbeef> greek
04:17:32FromDiscord<Elegantbeef> I know it's not what you meant
04:17:37FromDiscord<Prestige> lol
04:18:19FromDiscord<Elegantbeef> The libwayland stuff and xkb is all that's really required for reimplementing tinywl i think
04:19:37FromDiscord<Prestige> Would be nice if we wrote a little document of the features we'd want for the compositor
04:20:39FromDiscord<Elegantbeef> Planning before starting a project, the fuck is this
04:21:05FromDiscord<Prestige> Ikr
04:21:29FromDiscord<Prestige> I want to be able to implement the compiz cubes workspaces thing via our plugin system
04:21:30FromDiscord<Prestige> or whatever
04:22:06FromDiscord<Elegantbeef> Jeez way to make it difficult
04:23:04FromDiscord<Prestige> I miss the cube
04:24:01FromDiscord<Elegantbeef> I was thinking the layout plugin system would be a simple procedure that takes in an array of windows then lays them out
04:24:17FromDiscord<Prestige> hm yeah I think that's good
04:24:38FromDiscord<Prestige> but would be awesome if we also had another way to allow the user to manipulate the compositing
04:24:41FromDiscord<Elegantbeef> Thought it might also have to handle the window/focus movement
04:25:31FromDiscord<Elegantbeef> I mean is there really a need for something else?
04:25:58FromDiscord<Prestige> maybe fancy animations if they want it
04:26:09FromDiscord<Elegantbeef> Well use wayfire
04:26:20FromDiscord<Prestige> I need to read about it
04:26:35FromDiscord<Elegantbeef> wayfire is compiz but for wayland
04:26:50FromDiscord<Elegantbeef> I just want to make a dynamtic tiling window manager
04:27:54FromDiscord<Prestige> me too
04:28:24FromDiscord<Prestige> but also allow them to manipulate like, the final render pass
04:28:55*kenran joined #nim
04:31:06FromDiscord<Elegantbeef> Could probably implement custom shaders and userdata for that
04:31:14FromDiscord<Elegantbeef> But i'm speaking out my arse
04:32:22FromDiscord<Prestige> I think you're correct
04:33:35*toluene quit (Quit: Ping timeout (120 seconds))
04:33:36FromDiscord<Elegantbeef> One thing i do like is a carosel instead of labelled/numbered workspaces
04:34:31FromDiscord<Elegantbeef> meta + monitor number + up to move up the carosel is just a nice API
04:34:49FromDiscord<Elegantbeef> "Application programmer interface" here 😀
04:35:06*kenran quit (Quit: WeeChat info:version)
04:35:40*toluene joined #nim
04:41:25FromDiscord<Prestige> Yeah I like that too
04:41:39FromDiscord<Elegantbeef> Fuck i need to wake up, prestige agreeing with me
04:42:06FromDiscord<Elegantbeef> Can you say "Multiple inheritance is a mistake"
04:43:13FromDiscord<Prestige> multiple inheritance is nirvana
04:43:24FromDiscord<Elegantbeef> Ok so this isnt a fever dream
04:43:33FromDiscord<Prestige> We'll get there one day
04:47:59FromDiscord<Prestige> It would make some gamedev stuff really nice
04:52:22FromDiscord<Elegantbeef> You keep saying that but i've never once felt the need
04:55:59FromDiscord<Prestige> How do you architect your objects? or do you just not make games where things can have shared attributes?
04:56:28FromDiscord<Prestige> So far in Nim I've just had to be very careful to make everything with very shallow inheritance, which works with small games.. mostly
04:56:47FromDiscord<Elegantbeef> In Unity i used EC
04:57:29FromDiscord<Elegantbeef> In Nim I've made specifically designed code for what i'm working on
04:58:57FromDiscord<Prestige> I think https://www.youtube.com/watch?v=JxI3Eu5DPwE illustrates the issues I'm facing more
04:59:03FromDiscord<Prestige> pretty good talk
04:59:17FromDiscord<Elegantbeef> I'm not talking about ECS
04:59:28FromDiscord<Elegantbeef> EC is a fantastic method of having composition without complexity
04:59:52FromDiscord<Prestige> Yeah the talk isn't on ECS
05:01:41*_________ quit (Quit: Reconnecting)
05:02:00*_________ joined #nim
05:04:18FromDiscord<j-james> okay, some questions about futhark\:↵what's all the `when not declared()` code, and can i have it not wrap-around lines?
05:04:18FromDiscord<Elegantbeef> Isnt this talk going directly into how you'd implement a solution without MI?
05:04:44FromDiscord<Elegantbeef> Nope
05:06:16FromDiscord<Prestige> In reply to @Elegantbeef "Isnt this talk going": Yeah, but I still think it'd be a lot simpler if we had MI
05:06:21FromDiscord<Elegantbeef> Lol
05:06:33FromDiscord<Elegantbeef> "Here's a talk that summarizes my issues and proposes solutions that go against my thesis"
05:06:49FromDiscord<Elegantbeef> The futhark when defines is some required wrapping to support futharks capabillities
05:06:49FromDiscord<Prestige> eh they're more work-arounds than anything
05:07:43FromDiscord<Prestige> Idk what you have against MI other than, it could be slow if MI were poorly implemented into the language
05:07:57FromDiscord<Elegantbeef> It encourages messy inheritance trees
05:08:25FromDiscord<Prestige> Messy inheritance is already possible
05:08:36FromDiscord<Prestige> but giving programmers tools I think is good
05:08:54FromDiscord<Prestige> I don't want to play with kid scissors
05:09:07FromDiscord<Prestige> I want the sharp dangerous ones
05:09:13FromDiscord<Elegantbeef> Sure but i think traits solve the problem better than MI
05:11:14FromDiscord<Elegantbeef> A lot of these inheritance trees are more "I want to have X features implemented but i'll implement them myself"
05:11:42FromDiscord<xflywind> Is there a way to find the cause of higher memory usage of the Nim compiler?
05:13:40FromDiscord<xflywind> Compiling the Nim compiler with orc consumes more(~200 mb) than with refc.
05:14:21FromDiscord<xflywind> `nim c --mm:orc compiler/nim.nim` vs `nim c --mm:refc compiler/nim.nim`
05:17:39FromDiscord<Prestige> I thought orc uses more memory in general for compiling
05:17:59FromDiscord<Elegantbeef> I mean that's what they're trying to find why
06:01:16FromDiscord<ajusa> does treeform have a library to swap endianess? I could have sworn I've seen code to do that somewhere
06:01:37FromDiscord<Elegantbeef> `import std/endians`
06:02:40FromDiscord<ajusa> that doesn't work on the js backend or at compile time, right?
06:03:06FromDiscord<ajusa> though I guess it is technically in the standard library
06:09:49FromDiscord<Elegantbeef> It does not work there
06:11:48FromDiscord<ajusa> it uses pointers. found the treeform library though, I think it is called binny
06:12:01*oddish quit (*.net *.split)
06:12:01*nullsh quit (*.net *.split)
06:12:01*notchris quit (*.net *.split)
06:12:01*ormiret quit (*.net *.split)
06:12:01*NimEventer quit (*.net *.split)
06:12:01*nisstyre quit (*.net *.split)
06:12:11*NimEventer joined #nim
06:12:30*notchris joined #nim
06:12:30FromDiscord<Elegantbeef> binny wont work on js/nimscript either
06:12:34*nisstyre joined #nim
06:12:50FromDiscord<Elegantbeef> Atleast the swap shouldnt
06:12:58FromDiscord<ajusa> jsbinny should, I should have clarified
06:13:14FromDiscord<Elegantbeef> Didnt realize there was a js variant
06:13:18*ormiret joined #nim
06:13:30FromDiscord<ajusa> Yeah, treeform is pretty solid with the JS support
06:13:41FromDiscord<ajusa> though it seems like Pixie doesn't have it yet
06:13:55FromDiscord<huantian> If you’re using pixie in js I’m worried
06:13:56*nullsh joined #nim
06:14:08FromDiscord<Elegantbeef> Just use the web canvas
06:14:11FromDiscord<ajusa> the goal isn't to use it in JS, just that it'd be nice if I could use it to decode a PNG for me
06:15:06FromDiscord<Elegantbeef> If you just want that you can probably find a decoder and wrap it in like .3s
06:16:11FromDiscord<ajusa> yep, found it: https://developer.mozilla.org/en-US/docs/Web/API/ImageData/data
06:16:43FromDiscord<ajusa> I'll likely just wrap that part with the existing web api, and leave the rest of the logic in Nim
06:21:47*nisstyre quit (Changing host)
06:21:47*nisstyre joined #nim
07:04:18*CyberTailor joined #nim
07:04:22*rockcavera quit (Remote host closed the connection)
08:17:49FromDiscord<d4rckh> is there any way i can make this so it doesnt block the while loop?
08:17:56FromDiscord<d4rckh> sent a code paste, see https://play.nim-lang.org/#ix=443k
08:18:00FromDiscord<d4rckh> maybe there's a bool indicating if i should or not accept an addr?
08:21:14FromDiscord<d4rckh> like `shouldAccept` or something
08:37:14FromDiscord<dom96> put that loop in an async proc and then run that async proc with `asyncCheck`
08:41:58FromDiscord<lantos> hey @treeform could you please help me with some jsony things? I found some strange behaviour. can I dm you?
08:53:33FromDiscord<d4rckh> In reply to @dom96 "put that loop in": that wouldnt work because acceptAddr still blocks that
08:53:40FromDiscord<d4rckh> i want to close the tcp server while its listening for addreses
08:53:46FromDiscord<d4rckh> (edit) "addreses" => "new connections\"
08:54:26FromDiscord<d4rckh> (edit) "connections\" => "connections"
08:54:47FromDiscord<d4rckh> because i keep getting `Error: unhandled exception: The I/O operation has been aborted because of either a thread exit or ↵an application request.` when i do that
08:54:50FromDiscord<d4rckh> \
09:59:02*gsalazar joined #nim
10:44:50FromDiscord<dom96> In reply to @d4rckh "that wouldnt work because": acceptAddr only "blocks" the async proc its in, if you don't await that async proc then you can do other async IO
10:50:59FromDiscord<d4rckh> In reply to @dom96 "acceptAddr only "blocks" the": but it would still throw that error if i close the tcp server while its await for a new connection?
11:00:46*xet7 quit (Quit: Leaving)
12:19:19FromDiscord<laker31> Has anyone else who is on an M1 ran into a similar issue?↵I get the following when trying to compile the [nimx demo code](https://github.com/yglukhov/nimx#usage):↵↵`ld: warning: ignoring file /opt/homebrew/cellar/sdl2/2.0.22/lib/libSDL2.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64`
12:19:28FromDiscord<laker31> (edit) "[nimx" => "nimx" | "code](https://github.com/yglukhov/nimx#usage):↵↵`ld:" => "code(https://github.com/yglukhov/nimx#usage):↵↵`ld:"
12:19:34FromDiscord<laker31> (edit) "code(https://github.com/yglukhov/nimx#usage):↵↵`ld:" => "code (https://github.com/yglukhov/nimx#usage):↵↵`ld:"
12:25:37FromDiscord<HJarausch (HJarausch)> Does anybody know how to contact the developer Menduist. I need to ask him about his recent commit about recursive closure iterators.
12:26:35FromDiscord<xflywind> They are on discord.
12:27:16FromDiscord<laker31> In reply to @HJarausch (HJarausch) "Does anybody know how": See the latest message in #internals
12:30:18FromDiscord<vestel> do spawnpool uses native threads under the hood?
12:45:44FromDiscord<xflywind> In reply to @HJarausch (HJarausch) "Does anybody know how": https://discord.com/channels/371759389889003530/768367394547957761/995970703876685896
12:51:49*dtomato quit (Quit: The Lounge - https://thelounge.chat)
12:52:36*dtomato joined #nim
12:53:52*dtomato quit (Client Quit)
12:54:14*dtomato joined #nim
13:23:38*wallabra_ joined #nim
13:24:18*wallabra quit (Ping timeout: 240 seconds)
13:25:16*wallabra_ is now known as wallabra
13:30:24*krux02 joined #nim
13:46:48*derpydoo joined #nim
14:00:04NimEventerNew thread by V2a91: How to copy a file to a remote host, let it run, and delete afterwards using wmi (winim/com)?, see https://forum.nim-lang.org/t/9297
14:03:15FromDiscord<Yardanico> average malware programmer 🤔
14:06:01FromDiscord<Rika> Sus
14:09:51FromDiscord<tylerlinuxdev> Particularly weird, definitely would avoid helping this individual
14:12:33FromDiscord<Zodey> does anybody has an open source project which is parsing html?
14:12:58FromDiscord<Zodey> (edit) "does anybody has an open source project which is ... parsingi" added "about" | "aboutparsing html? ... " added "i don't really understand the usage of the std/htmlparser"
14:13:17FromDiscord<Yardanico> i mean, its usage is quite simple, it treats DOM exactly the way it is - a tree
14:13:29FromDiscord<Yardanico> if you want to search for specific elements easier, there are packages like nimquery
14:14:04FromDiscord<vestel> In reply to @Yardanico "average malware programmer 🤔": Malware programmer would figure this out easily 🙂
14:14:14FromDiscord<Yardanico> In reply to @vestel "Malware programmer would figure": you would think
14:16:01*rockcavera joined #nim
14:16:01*rockcavera quit (Changing host)
14:16:01*rockcavera joined #nim
14:16:04FromDiscord<Rika> In reply to @vestel "Malware programmer would figure": A good one would
14:17:06FromDiscord<Zodey> In reply to @Yardanico "i mean, its usage": okay, but sadly i have zero experience with those
14:17:14FromDiscord<Yardanico> In reply to @Zodey "okay, but sadly i": but what exactly do you want to do?
14:17:21FromDiscord<Zodey> that's why i have no idea how to start
14:17:24FromDiscord<Yardanico> I mean, it's not like htmlparser invented it's own way, you should first know what HTML is
14:17:30FromDiscord<Yardanico> and it's a hierarchical structure
14:17:39FromDiscord<Zodey> i know
14:17:51FromDiscord<Zodey> there is like <div> </div>
14:17:55FromDiscord<Zodey> so its need to be closed
14:18:11FromDiscord<vestel> In reply to @Rika "A good one would": cmon it's just a simple loader
14:18:23FromDiscord<Zodey> <head> <div> </div> </head>
14:18:24FromDiscord<Yardanico> In reply to @vestel "cmon it's just a": a lot of skiddies don't know the most basic stuff
14:18:26FromDiscord<Zodey> something like this
14:18:34*noeontheend joined #nim
14:18:59FromDiscord<Rika> I guess “good” is a stretch yeah, but we mainly mean that the average is nearer “bad” than “good”
14:21:41FromDiscord<tylerlinuxdev> I would refer those people as script kiddie when they display no foundational knowledge.↵(@Rika)
14:22:33FromDiscord<hotdog> In reply to @Zodey "that's why i have": What are you trying to do?
14:22:52FromDiscord<Yardanico> i replied in the thread, tried to not appear very rude since it's a bit hurtful when someone accuses you of writing malware out of the blue
14:23:40FromDiscord<vestel> In reply to @Yardanico "i replied in the": Btw could be just a remote deploy
14:23:44FromDiscord<Zodey> In reply to @hotdog "What are you trying": parsing html? 😂
14:23:47FromDiscord<Yardanico> yeah of course I know
14:23:53FromDiscord<Yardanico> In reply to @Zodey "parsing html? 😂": well, htmlparser does exactly that
14:24:01FromDiscord<Yardanico> the actual question is - what do you want to do with that result?
14:24:20FromDiscord<Yardanico> again, since it's a tree, you can traverse it like a nested table or a JsonNode (if you've used those in Nim)
14:24:36FromDiscord<Yardanico> just usual indexing, `attrs` and stuff for attributes, `innerText`to get text inside an element
14:25:04FromDiscord<Zodey> so far i just only need 1 data
14:25:11FromDiscord<Zodey> just in a pure string
14:25:14FromDiscord<Zodey> nothing more
14:25:51FromDiscord<hotdog> In reply to @Zodey "parsing html? 😂": Parsing what html and why?\
14:26:03FromDiscord<Yardanico> yes, so you just find out where it is in the structure of the HTML, go there with usual indexing/attribute access, and extract the string
14:26:26FromDiscord<Yardanico> maybe it's a bit unclear, but htmlparser gives you a tree of XmlNode s
14:26:27FromDiscord<Yardanico> https://nim-lang.org/docs/xmltree.html
14:26:35FromDiscord<Zodey> In reply to @Yardanico "yes, so you just": yeah, but thats the problem, i have no idea how to do that
14:26:46FromDiscord<Zodey> In reply to @Yardanico "https://nim-lang.org/docs/xmltree.html": ohh
14:26:47FromDiscord<Yardanico> as I said, you use it almost the same as you'd use the json module
14:26:52FromDiscord<Yardanico> indexing for example
14:26:53FromDiscord<Yardanico> `[0]`
14:27:05FromDiscord<Yardanico> iterating over children with the usual `for` loop
14:28:46FromDiscord<tylerlinuxdev> The part that sucks is when they change HTML and break your ability to parse it.
14:28:57FromDiscord<tylerlinuxdev> Or requiring Javascript to load the information first
14:29:19FromDiscord<Zodey> i tried to look at private api
14:29:21FromDiscord<hotdog> @Zodey figure out a query selector that gets that element (you can do this in browser devtools easily) then use https://github.com/GULPF/nimquery to get it
14:29:24FromDiscord<hotdog> It's what I'd do
14:29:30FromDiscord<Zodey> In reply to @Zodey "i tried to look": but not an option in this case
14:30:26FromDiscord<Zodey> In reply to @Yardanico "as I said, you": yeah, sooo i didnt worked with json as well 😅 ↵but give me some time, i will try to do something based what you wrote
14:32:12FromDiscord<Zodey> can i load html from buffer?
14:32:33FromDiscord<Yardanico> yes
14:33:46FromDiscord<Zodey> ohh, i need to use something "stream"
14:38:12FromDiscord<Zodey> uhhmm
14:38:19FromDiscord<Zodey> i got it i think
14:38:30FromDiscord<Zodey> but
14:38:36FromDiscord<Zodey> its not supports utf8
14:39:13FromDiscord<HJarausch (HJarausch)> @xflywind)
14:40:25FromDiscord<xflywind> the internals channel
14:41:32FromDiscord<xflywind> In reply to @HJarausch (HJarausch) "> See the latest": https://github.com/nim-lang/Nim/wiki#bridged-real-time-chats
14:43:11*krux02 quit (Remote host closed the connection)
14:43:30FromDiscord<treeform> In reply to @lantos "hey <@107140179025735680> could": Sure, create an issue or some thing, and I will take a look.
14:43:45FromDiscord<enthus1ast> do you see anything that is obviously slow in this algo?↵https://play.nim-lang.org/#ix=444z
14:43:51*krux02 joined #nim
14:44:09FromDiscord<enthus1ast> some random c version just crushes mine in terms of speed
14:44:44FromDiscord<tylerlinuxdev> SIMD is probably the factor
14:44:59FromDiscord<Rika> Have you profiled the thing?
14:44:59FromDiscord<enthus1ast> i see so simd in the c source
14:45:18FromDiscord<treeform> do you have the c version?
14:45:25FromDiscord<enthus1ast> https://github.com/redvw/mime-encoding
14:46:25FromDiscord<enthus1ast> image.png↵(@Rika) https://media.discordapp.net/attachments/371759389889003532/996064928458866828/image.png
14:46:48FromDiscord<Rika> Weird
14:46:51FromDiscord<enthus1ast> my encoder is better, since i can just use a const lookup table
14:46:52FromDiscord<Rika> String character addition is slow
14:46:59FromDiscord<treeform> oh I have seen that before
14:47:03FromDiscord<treeform> because you do cap
14:47:13FromDiscord<treeform> you can just do result[i] = char
14:47:15FromDiscord<tylerlinuxdev> @Rika\: Probably reallocating everytime character is added
14:47:24FromDiscord<tylerlinuxdev> You need to make sure string is allocated or is a mutable one
14:47:30FromDiscord<Rika> In reply to @treeform "you can just do": Really? That’s cap and not length
14:47:35FromDiscord<enthus1ast> the issue is, i cannot know beforehand how large the output blows up↵(@treeform)
14:47:36FromDiscord<treeform> no it does not reallocate because of newStringOfCap
14:47:39FromDiscord<Yardanico> In reply to @treeform "you can just do": no
14:47:44FromDiscord<Rika> In reply to @tylerlinuxdev "<@259277943275126785>\: Probably reallocating every": No? It’s capacity lreallocated
14:47:47FromDiscord<Rika> Pre allocated
14:47:48FromDiscord<Yardanico> you're mistaking `newString` for `newStringOfCap`
14:47:58FromDiscord<Yardanico> the former also changes length, the latter doesn't
14:48:02FromDiscord<Rika> In reply to @enthus1ast "the issue is, i": Guesstimate
14:48:05FromDiscord<tylerlinuxdev> Ok, because seeing that big drop in speed seems odd
14:48:07FromDiscord<Yardanico> so for the former you need to use index assignments, while `add` is needed for the latter
14:48:10FromDiscord<treeform> its faster to allocate a big string, then cut the buffer
14:48:24FromDiscord<treeform> then allocate small string and expand it every for loop
14:51:27FromDiscord<enthus1ast> even if i do a large allocation is about the same
14:51:47FromDiscord<Zodey> sent a code paste, see https://play.nim-lang.org/#ix=444B
14:51:59FromDiscord<Zodey> (edit) "https://play.nim-lang.org/#ix=444B" => "https://play.nim-lang.org/#ix=444C"
14:52:50FromDiscord<tylerlinuxdev> You have to dig a bit further than that, because div[7] would also have it's own div under it, and then you have to go further down to div[11] and so on and so forth... it's all div the way down
14:53:02FromDiscord<Zodey> yeah, ik
14:53:18FromDiscord<Zodey> ohh wait
14:53:20FromDiscord<tylerlinuxdev> Does API offers XPath selector?
14:53:22FromDiscord<Zodey> do i know?
14:53:39FromDiscord<Zodey> In reply to @tylerlinuxdev "Does API offers XPath": i just copied it from the dev tools in firefox
14:54:07FromDiscord<treeform> In reply to @enthus1ast "even if i do": what is your input data to get the timings?
14:54:34FromDiscord<Phil> In reply to @Zodey "okey, this code will": I'm just skimming over the chat, is this for webscraping or are you building your own webpage and have control over how the HTML shall look like?
14:54:52FromDiscord<Zodey> In reply to @Isofruit "I'm just skimming over": just scraping
14:54:57FromDiscord<Phil> Ah, hm
14:55:30FromDiscord<Zodey> i just want to learn it
14:55:32FromDiscord<tylerlinuxdev> Yeah, Nim probably want to add API for XPath selection
14:55:34FromDiscord<Zodey> not like copy
14:55:41FromDiscord<enthus1ast> sent a code paste, see https://play.nim-lang.org/#ix=444E
14:55:52FromDiscord<Zodey> (edit) "not like ... copy" added "just use a lib"
14:55:55FromDiscord<Zodey> (edit) removed "copy"
14:55:59FromDiscord<Yardanico> @tylerlinuxdev nimquery already has a CSS selector api
14:56:05FromDiscord<Yardanico> It's a package in nimble
14:56:14FromDiscord<tylerlinuxdev> I meant for XML/HTML XPath
14:56:19FromDiscord<tylerlinuxdev> CSS is different, no?
14:57:07FromDiscord<treeform> In reply to @enthus1ast "<@107140179025735680>\: this is my": `quotedPrintables`?
14:57:23FromDiscord<enthus1ast> and quotedPrintables is this nimble package\: https://github.com/enthus1ast/nimQuotedPrintables
14:57:41FromDiscord<enthus1ast> but for testing i have patched unQuoted to accept the allocator size
14:57:51FromDiscord<Yardanico> @tylerlinuxdev yes it's different, but the usecases are the same in practice
14:58:03FromDiscord<Yardanico> You can copy CSS selectors in dev tools as well
14:58:13NimEventerNew thread by Hubdev: Creating a vb6 dll compatible and Returning String, see https://forum.nim-lang.org/t/9298
14:58:13FromDiscord<Yardanico> nimquery just has CSS selectors so I've been using those
14:58:37FromDiscord<Zodey> In reply to @Zodey "okey, this code will": soo, is it correct?
14:59:12FromDiscord<tylerlinuxdev> Alright, i was looking at ParseHtml and XMLNode API in Nim documentation, so that where I noticed that XPath is absent↵(@Yardanico)
14:59:25FromDiscord<Yardanico> In reply to @Zodey "okey, this code will": The most basic way yes
14:59:33FromDiscord<Zodey> oh cool
14:59:40FromDiscord<Yardanico> With nimquery you can search for the element itself by some ID or clads
14:59:42FromDiscord<Zodey> okay, i can implement it in a better way i think
14:59:45FromDiscord<Yardanico> (edit) "clads" => "class"
14:59:50FromDiscord<Zodey> i just needed to get in the track xD
14:59:55FromDiscord<treeform> sent a code paste, see https://play.nim-lang.org/#ix=444F
15:00:06FromDiscord<enthus1ast> yeah quite sad
15:00:22FromDiscord<Zodey> thank you very much @Yardanico !↵you dropped this: :nim1:
15:00:32FromDiscord<tylerlinuxdev> Got it, wasn't aware of all of the libraries for Nim↵(@Yardanico)
15:00:43FromDiscord<treeform> In reply to @enthus1ast "yeah quite sad": Your input has no `=` ?
15:01:22FromDiscord<treeform> sorry I was wrong
15:01:23FromDiscord<treeform> nvm
15:01:53FromDiscord<tylerlinuxdev> NimQuery would solve the issue
15:09:47FromDiscord<treeform> In reply to @enthus1ast "yeah quite sad": ok got it from 0.363 ms to 0.296 ms using the cut string at the end trick
15:10:44FromDiscord<enthus1ast> What's that?
15:13:18FromDiscord<treeform> https://play.nim-lang.org/#ix=444M
15:13:49FromDiscord<treeform> I think the str can never be smaller then output because hex so big compared to char
15:17:58FromDiscord<treeform> not using `skipWhile` takes another 0.20ms off
15:20:12FromDiscord<enthus1ast> just skip then?
15:29:44FromDiscord<enthus1ast> sent a code paste, see https://play.nim-lang.org/#ix=444P
15:30:09FromDiscord<enthus1ast> https://play.nim-lang.org/#ix=444Q
15:31:27FromDiscord<enthus1ast> i've created a macro that also builds a string table for 2 byte hex, in isolation it is faster then parseHex (nearly twice as fast) but when i stuck it in my algo it was horrible slow, prolly did something wrong
15:43:49FromDiscord<Zodey> In reply to @Zodey "okey, this code will": its not good
15:44:08FromDiscord<Zodey> it shouldn't be done like that
15:48:30*noeontheend quit (Ping timeout: 260 seconds)
15:53:47FromDiscord<treeform> In reply to @enthus1ast "just skip then?": I think I got nim beating C now, will clean this up
15:54:28FromDiscord<enthus1ast> nice, eager to see it↵(@treeform)
15:54:43FromDiscord<enthus1ast> (my fastes version, is faster, but incorrect ...)
15:56:28FromDiscord<treeform> I would have to make more tests to check for errors
15:57:01FromDiscord<enthus1ast> i'll build a small testsuite anyhow↵(@treeform)
15:58:00FromDiscord<Zodey> In reply to @hotdog "<@460785667820224512> figure out a": how can i get the query selector?
16:06:21FromDiscord<gibson> Why is there no osx binary for download on the nim site? I've tried searching for this answer, and asked before without answer. Just curious, but also it would make my life easier when I start people on nim. Yes, choosenim is also great.
16:07:05FromDiscord<gibson> If it's a PR to update some autobuild YAML I could probably do that.
16:12:41FromDiscord<hotdog> In reply to @Zodey "how can i get": You need to find a unique combination of id, class, parent etc
16:12:53*sagax quit (Remote host closed the connection)
16:13:04FromDiscord<hotdog> If you post a link to the html I can try to find it for you
16:13:32FromDiscord<Zodey> i wont learn it in that way
16:17:37FromDiscord<treeform> sent a code paste, see https://play.nim-lang.org/#ix=4452
16:17:48FromDiscord<treeform> 0.086 ms with mine doing 0.073 ms
16:18:01FromDiscord<treeform> But there is probably error case I don't check? Test suite would help
16:25:45FromDiscord<enthus1ast> @treeform\: nice
16:26:15FromDiscord<System64 ~ Flandre Scarlet> can std/json parse arrays of strings?
16:26:29FromDiscord<enthus1ast> Currently the only tests exist are the ones in the repo
16:26:42*noeontheend joined #nim
16:27:18FromDiscord<treeform> In reply to @enthus1ast "<@107140179025735680>\: nice": https://play.nim-lang.org/#ix=4455
16:27:28FromDiscord<enthus1ast> https://github.com/enthus1ast/nimQuotedPrintables/blob/6f8899449e07e59e9c8ccbcd9a3afc5b6e3e492b/src/quotedPrintables.nim#L58
16:28:25*lnxw37 joined #nim
16:29:56FromDiscord<enthus1ast> @treeform\: I'm unsure if testing for 13 10 is robust between the systems, I can imagine it isnt
16:30:34FromDiscord<treeform> I don't know what the spec is
16:30:47FromDiscord<treeform> your only did 13 and 10 and 10 and 13?
16:30:52FromDiscord<hotdog> In reply to @Zodey "i wont learn it": Open browser devtools and in the console use document query selector https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector
16:30:57FromDiscord<treeform> I don't think any one uses 10 13
16:31:12FromDiscord<hotdog> Figure out a query that returns your required element
16:31:20FromDiscord<hotdog> You can then use that with nimquery
16:32:33*TakinOver quit (Ping timeout: 276 seconds)
16:32:43*lnxw37 quit (Ping timeout: 260 seconds)
16:33:17FromDiscord<hotdog> You’ll need to read up on some html stuff to figure out how to do the queries @Zodey
16:33:39FromDiscord<Zodey> In reply to @hotdog "You’ll need to read": thank you
16:33:42FromDiscord<enthus1ast> But only 10 in case of unix↵(@treeform)
16:33:51FromDiscord<treeform> In reply to @enthus1ast "<@107140179025735680>\: nice": Next optimization might be reading in 64 chunks instead of one char at a time, then doing writing in 64 chunks
16:34:40FromDiscord<treeform> In reply to @enthus1ast "But only 10 in": Supporting 10 is easy to add but I though this email? stuff was always windows ending in the spec
16:34:58FromDiscord<treeform> Does the C version do it?
16:35:03FromDiscord<treeform> Every branch has a cost
16:35:17FromDiscord<hotdog> In reply to @Zodey "thank you": No problem, if you have any questions please ask
16:36:05FromDiscord<enthus1ast> True, I don't know exactly↵(@treeform)
16:36:58FromDiscord<treeform> In reply to @enthus1ast "True, I don't know": I think really old power pc os9 Macs did just 13?
16:38:43FromDiscord<alehander42> hey: i get some crashes for createthread if i use the developer compiler commit 8a344 from 28 6 2022
16:38:49FromDiscord<alehander42> (edit) "createthread" => "createThread"
16:39:10FromDiscord<alehander42> it often seems to crash with SIGSEGV like that:
16:39:37FromDiscord<treeform> In reply to @enthus1ast "True, I don't know": Skipping ord now I get `0.068 ms` way faster then C
16:40:10FromDiscord<alehander42> https://gist.github.com/alehander92/d40c572b8b92458476ccd1350c4ba2fb
16:40:42FromDiscord<alehander42> (using `--mm:refc --threads:on` and others)
16:40:51FromDiscord<alehander42> is this something that happens to anyone else?
16:41:25FromDiscord<alehander42> i dont understand how thrd->dataFn becomes NULL
16:41:40FromDiscord<enthus1ast> @treeform\: yes crlf
16:41:45FromDiscord<treeform> In reply to @enthus1ast "True, I don't know": support for unix single 10 costs 0.010 ms
16:42:04FromDiscord<treeform> like more then 10% of the run time
16:44:01FromDiscord<Zodey> sent a code paste, see https://play.nim-lang.org/#ix=445d
16:46:40FromDiscord<treeform> In reply to @enthus1ast "<@107140179025735680>\: yes crlf": best I got: https://play.nim-lang.org/#ix=445e
16:47:37FromDiscord<treeform> Nim version 23% faster then C version
16:47:47FromDiscord<alehander42> @treeform wow
16:47:52FromDiscord<alehander42> i think this https://discord.com/channels/371759389889003530/371759389889003532/6663045138161336i62
16:47:56FromDiscord<alehander42> worked around it
16:47:57FromDiscord<alehander42> ?!
16:48:11FromDiscord<alehander42> i created a global array of threads
16:48:17FromDiscord<alehander42> and using them instead of a local variable seems to fix it (?)
16:48:55FromDiscord<alehander42> is this because dropping the local variable is a problem(or because its memory isnt available somehow to the thread clone)
16:48:59FromDiscord<alehander42> (edit) "thread clone)" => "threaded code)"
16:51:11FromDiscord<alehander42> this explains it all, also my other crashes
16:51:15FromDiscord<alehander42> (edit) "this explains it all, also my other ... crashes" added "createThread"
16:51:34*sagax joined #nim
16:53:23FromDiscord<alehander42> In reply to @treeform "I am getting really": sorry tried to link this message ^
16:54:21FromDiscord<treeform> yeah nim's threads are strange
16:54:58FromDiscord<treeform> I try to solve some problems here https://github.com/treeform/thready it is still open research
16:56:38FromDiscord<Zodey> In reply to @Zodey "is it looks like": damm https://media.discordapp.net/attachments/371759389889003532/996097701223612427/unknown.png
16:56:48FromDiscord<hotdog> In reply to @Zodey "is it looks like": Yeah something like that. You probably want to find a query that’s a bit simpler as it will be more robust. It looks like google there is using some obfuscated class names that probably will change in the future
16:57:19FromDiscord<hotdog> In reply to @Zodey "damm": Have you added nimquery to your nimble deps?
16:57:26FromDiscord<hotdog> And installed it obviously
16:57:29FromDiscord<Zodey> i installed it
16:57:33FromDiscord<Zodey> but didnt added
16:57:40FromDiscord<Zodey> can you help me with that? ;D
16:57:55FromDiscord<hotdog> Sure, do you have a .nimble file in your project?
16:58:01FromDiscord<Zodey> yup
16:58:17FromDiscord<hotdog> In there you should have some lines that start with “require”
16:59:15FromDiscord<Zodey> yeah, the dependencoes
16:59:19FromDiscord<Zodey> (edit) "dependencoes" => "dependencies"
16:59:26FromDiscord<hotdog> You need to add a line, something like this ‘requires "nimquery >= 1.0"’
16:59:40FromDiscord<acca> whats nim
16:59:42FromDiscord<hotdog> Insert the proper version number
17:00:00FromDiscord<hotdog> In reply to @acca "whats nim": https://nim-lang.org
17:00:41FromDiscord<acca> wow
17:01:43FromDiscord<ezquerra> In reply to @treeform "I try to solve": How does thready compare to nim-tasks and weave?
17:02:00FromDiscord<Zodey> In reply to @hotdog "Insert the proper version": succeed, now i just need to get the right selector 😅 https://media.discordapp.net/attachments/371759389889003532/996099047926530138/unknown.png
17:02:01FromDiscord<treeform> In reply to @ezquerra "How does thready compare": I don't know
17:02:24FromDiscord<treeform> Mine only has 3 functions?
17:02:35FromDiscord<alehander42> In reply to @treeform "I try to solve": thank you
17:02:42FromDiscord<alehander42> i use refc tho
17:02:54FromDiscord<alehander42> it seems i have some problems with arc/orc and strings
17:03:05FromDiscord<alehander42> but otherwise your api seems well thought
17:03:32FromDiscord<hotdog> In reply to @Zodey "succeed, now i just": Nice 🙂 what happens if you just use “.SwHCTb:first-child”?
17:03:47FromDiscord<ezquerra> I think mratsim proposed a common interface that different threading libraries could support so that you could choose among different backends? I don’t really I own the details but Am interested in the topic…
17:04:36FromDiscord<Zodey> In reply to @hotdog "Nice 🙂 what happens": it outputs nothing
17:04:50FromDiscord<Zodey> but np
17:04:56FromDiscord<Zodey> i will try experimenting with it
17:06:42FromDiscord<treeform> In reply to @alehander42 "but otherwise your api": My main goal is: "Threading is complex, that is the simplest/non invasive threading one can do?"
17:07:31*noeontheend quit (Ping timeout: 272 seconds)
17:11:30FromDiscord<retkid> dumb idea
17:11:34FromDiscord<retkid> i want a circular cache like seq
17:11:43FromDiscord<retkid> is this already a thing
17:13:49FromDiscord<retkid> delete(0) . add()
17:14:19FromDiscord<Phil> Why circular?
17:14:33FromDiscord<retkid> idk i just want to have the last 10
17:15:39FromDiscord<enthus1ast> @treeform\: this is a cool trick\:↵`num = cast[uint8](ch) - cast[uint8]('0')`
17:15:54FromDiscord<treeform> need for speed
17:16:00FromDiscord<Phil> 10 entries in the seq? You could make distinct seq and change the procs that manipulate the sequence to take that into account
17:16:28FromDiscord<retkid> sent a code paste, see https://play.nim-lang.org/#ix=445n
17:16:33FromDiscord<retkid> see
17:17:01FromDiscord<Phil> Ah, explicitly float 32, not generally
17:17:07FromDiscord<acca> guys hoa hack alien ship
17:17:29FromDiscord<retkid> In reply to @Isofruit "Ah, explicitly float 32,": well we just have a very specific use
17:17:41FromDiscord<retkid> i dont know why else i would want thtis
17:17:53FromDiscord<enthus1ast> @treeform i would use your code in the repo ok?
17:18:04FromDiscord<treeform> ofc I made that for you
17:18:18FromDiscord<enthus1ast> thank you \:)
17:19:23FromDiscord<Phil> In reply to @retkid "i dont know why": Either way, why not just makea type alias and define your own "add" and"new" procs for it?
17:20:36FromDiscord<Phil> Under the covers it then still is a seq etc, but you can treat it there must always be 10 entries inside of it
17:21:18FromDiscord<alehander42> In reply to @treeform "My main goal is:": makes sense
17:21:22FromDiscord<Phil> And all your logic as to where that stuff comes from can be tied into procs for this alias type
17:22:56FromDiscord<retkid> i dont really need much of anything
17:23:12FromDiscord<retkid> like yea, maybe if i had more than 1 use
17:24:22*noeontheend joined #nim
17:43:18*noeontheend quit (Ping timeout: 260 seconds)
17:46:17*noeontheend joined #nim
17:47:35NimEventerNew thread by EnteryName: 'go to declaration' for nim extension (JetBrains), see https://forum.nim-lang.org/t/9299
17:49:06FromDiscord<Lanky Lemur> sent a code paste, see https://play.nim-lang.org/#ix=445s
17:50:02*xet7 joined #nim
17:54:50FromDiscord<hotdog> In reply to @Lanky Lemur "Is there a way": Something like this I suppose: https://play.nim-lang.org/#ix=445v
17:55:11FromDiscord<hotdog> In reply to @acca "guys hoa hack alien": `import std/hackingtools`
17:59:17FromDiscord<Lanky Lemur> Damn, that looks pretty cursed
17:59:19FromDiscord<Lanky Lemur> Thank you
18:02:32*arkurious joined #nim
18:02:33FromDiscord<hotdog> @Lanky Lemur check out iterators in the manual - https://nim-lang.org/docs/manual.html#iterators-and-the-for-statement-firstminusclass-iterators
18:12:45FromDiscord<huantian> sent a code paste, see https://play.nim-lang.org/#ix=445A
18:40:41FromDiscord<ripluke> In reply to @NimEventer "New thread by EnteryName:": Nimlsp
19:11:59*NeoCron joined #nim
19:34:30*tomboh joined #nim
19:35:09*syl quit (Quit: ZNC 1.8.2 - https://znc.in)
19:37:20*syl joined #nim
19:43:11*kenran joined #nim
19:43:15*kenran quit (Client Quit)
19:46:58FromDiscord<enthus1ast> sent a code paste, see https://play.nim-lang.org/#ix=445Z
19:47:12FromDiscord<enthus1ast> https://play.nim-lang.org/#ix=445Y
19:50:43FromDiscord<treeform> In reply to @enthus1ast "now i'm at optimizing": You might go faster by not using a lookup table. I love tables, but hex digit stuff is very fast. You are trading off CPU speed vs RAM/cache occupation speed.
19:51:13FromDiscord<enthus1ast> mhh
19:51:28FromDiscord<treeform> Your lookup table will make it into cache, but then other stuff will not.
19:51:38FromDiscord<enthus1ast> worth a try
19:51:39FromDiscord<treeform> its a balance
19:51:53FromDiscord<treeform> my hunch bit stuff will be faster
19:52:41*noeontheend quit (Ping timeout: 244 seconds)
19:53:04FromDiscord<jan0809> sup
19:53:17FromDiscord<jan0809> your what
19:55:21FromDiscord<treeform> In reply to @enthus1ast "now i'm at optimizing": oh another one here `array[256, string] ` you are using for encode table, it might be faster to use tuple of two chars instead `array[256, (char, char)]` as strings give you another indirection.
19:58:30FromDiscord<treeform> Another one your string `result = newString( ... str.len 3 )` is huge. If its going to live for a long time its roughly x3 what it needs to be on avg. You might want to copy/slice it to a different smaller string. But it it will live for a short time not doing that is faster.
19:59:30FromDiscord<treeform> Basically you can "leak memory" by always allocating x3 buffers on avg then what you need.
20:01:27FromDiscord<treeform> what is the C speed on this? Are you beating it?
20:01:45FromDiscord<enthus1ast> the lib i've used before has no encode unfortunately
20:02:00FromDiscord<treeform> then you are always faster 🙂
20:02:05FromDiscord<enthus1ast> \:)
20:02:38FromDiscord<enthus1ast> i think, since it could be part of an application, i should slice the string
20:05:13*LuxuryMode joined #nim
20:20:53FromDiscord<treeform> in order not to allocate too much you could use like 4k buffers
20:20:53*dtomato quit (Remote host closed the connection)
20:20:59FromDiscord<treeform> but I don't know if it matters
20:21:10*dtomato joined #nim
20:21:10*dtomato quit (Remote host closed the connection)
20:21:27*dtomato joined #nim
20:21:27*dtomato quit (Remote host closed the connection)
20:22:00*dtomato joined #nim
20:22:00*dtomato quit (Read error: Connection reset by peer)
20:22:32*dtomato joined #nim
20:22:32*dtomato quit (Read error: Connection reset by peer)
20:22:49*dtomato joined #nim
20:22:49*dtomato quit (Remote host closed the connection)
20:23:05*dtomato joined #nim
20:23:05*dtomato quit (Remote host closed the connection)
20:23:21*dtomato joined #nim
20:23:21*dtomato quit (Remote host closed the connection)
20:23:54*dtomato joined #nim
20:23:54*dtomato quit (Read error: Connection reset by peer)
20:24:42*dtomato joined #nim
20:24:42*dtomato quit (Read error: Connection reset by peer)
20:24:59*dtomato joined #nim
20:24:59*dtomato quit (Read error: Connection reset by peer)
20:25:15*dtomato joined #nim
20:25:15*dtomato quit (Remote host closed the connection)
20:25:32*dtomato joined #nim
20:25:32*dtomato quit (Remote host closed the connection)
20:25:47*dtomato joined #nim
20:25:47*dtomato quit (Remote host closed the connection)
20:26:03*dtomato joined #nim
20:26:03*dtomato quit (Remote host closed the connection)
20:26:19*dtomato joined #nim
20:26:19*dtomato quit (Remote host closed the connection)
20:26:51*dtomato joined #nim
20:26:51*dtomato quit (Remote host closed the connection)
20:27:08*dtomato joined #nim
20:27:08*dtomato quit (Read error: Connection reset by peer)
20:27:25*dtomato joined #nim
20:27:25*dtomato quit (Remote host closed the connection)
20:27:42*dtomato joined #nim
20:27:42*dtomato quit (Remote host closed the connection)
20:28:14*dtomato joined #nim
20:28:14*dtomato quit (Remote host closed the connection)
20:28:30*dtomato joined #nim
20:28:30*dtomato quit (Remote host closed the connection)
20:29:02*dtomato joined #nim
20:29:02*dtomato quit (Remote host closed the connection)
20:29:18*dtomato joined #nim
20:29:18*dtomato quit (Remote host closed the connection)
20:29:34*dtomato joined #nim
20:29:34*dtomato quit (Read error: Connection reset by peer)
20:29:50*dtomato joined #nim
20:29:50*dtomato quit (Read error: Connection reset by peer)
20:30:06*dtomato joined #nim
20:30:06*dtomato quit (Read error: Connection reset by peer)
20:30:38*dtomato joined #nim
20:30:38*dtomato quit (Read error: Connection reset by peer)
20:31:11*dtomato joined #nim
20:31:11*dtomato quit (Read error: Connection reset by peer)
20:31:28*dtomato joined #nim
20:31:28*dtomato quit (Remote host closed the connection)
20:31:45*dtomato joined #nim
20:31:45*dtomato quit (Remote host closed the connection)
20:32:01*dtomato joined #nim
20:32:01*dtomato quit (Remote host closed the connection)
20:32:17*dtomato joined #nim
20:32:17*dtomato quit (Remote host closed the connection)
20:32:32*dtomato joined #nim
20:32:32*dtomato quit (Remote host closed the connection)
20:32:48*dtomato joined #nim
20:32:48*dtomato quit (Read error: Connection reset by peer)
20:33:04*dtomato joined #nim
20:33:04*dtomato quit (Remote host closed the connection)
20:33:20*dtomato joined #nim
20:33:20*dtomato quit (Remote host closed the connection)
20:33:37*dtomato joined #nim
20:33:37*dtomato quit (Remote host closed the connection)
20:33:54*dtomato joined #nim
20:33:54*dtomato quit (Remote host closed the connection)
20:34:10*dtomato joined #nim
20:34:10*dtomato quit (Remote host closed the connection)
20:34:26*dtomato joined #nim
20:34:26*dtomato quit (Remote host closed the connection)
20:34:43*dtomato joined #nim
20:34:43*dtomato quit (Read error: Connection reset by peer)
20:35:16*dtomato joined #nim
20:35:16*dtomato quit (Remote host closed the connection)
20:35:32*dtomato joined #nim
20:35:32*dtomato quit (Read error: Connection reset by peer)
20:35:47*dtomato joined #nim
20:35:47*dtomato quit (Read error: Connection reset by peer)
20:36:04*dtomato joined #nim
20:36:04*dtomato quit (Remote host closed the connection)
20:36:20*dtomato joined #nim
20:36:20*dtomato quit (Read error: Connection reset by peer)
20:36:53*dtomato joined #nim
20:36:53*dtomato quit (Read error: Connection reset by peer)
20:37:26*dtomato joined #nim
20:37:26*dtomato quit (Remote host closed the connection)
20:37:43*dtomato joined #nim
20:37:43*dtomato quit (Remote host closed the connection)
20:38:00*dtomato joined #nim
20:38:00*dtomato quit (Remote host closed the connection)
20:38:16*dtomato joined #nim
20:38:16*dtomato quit (Remote host closed the connection)
20:38:32*dtomato joined #nim
20:38:32*dtomato quit (Read error: Connection reset by peer)
20:38:49*dtomato joined #nim
20:38:49*dtomato quit (Read error: Connection reset by peer)
20:39:06*dtomato joined #nim
20:39:06*dtomato quit (Read error: Connection reset by peer)
20:39:22*dtomato joined #nim
20:39:22*dtomato quit (Remote host closed the connection)
20:39:38*dtomato joined #nim
20:39:38*dtomato quit (Read error: Connection reset by peer)
20:39:54*dtomato joined #nim
20:39:55*dtomato quit (Read error: Connection reset by peer)
20:40:11*dtomato joined #nim
20:40:11*dtomato quit (Remote host closed the connection)
20:40:27*dtomato joined #nim
20:40:27*dtomato quit (Remote host closed the connection)
20:40:44*dtomato joined #nim
20:40:44*dtomato quit (Read error: Connection reset by peer)
20:41:01*dtomato joined #nim
20:41:01*dtomato quit (Read error: Connection reset by peer)
20:41:33*dtomato joined #nim
20:41:33*dtomato quit (Read error: Connection reset by peer)
20:42:06*dtomato joined #nim
20:42:06*dtomato quit (Read error: Connection reset by peer)
20:42:22*dtomato joined #nim
20:42:22*dtomato quit (Read error: Connection reset by peer)
20:42:38*dtomato joined #nim
20:42:38*dtomato quit (Remote host closed the connection)
20:42:54*dtomato joined #nim
20:42:54*dtomato quit (Read error: Connection reset by peer)
20:43:10*dtomato joined #nim
20:43:10*dtomato quit (Read error: Connection reset by peer)
20:43:58*dtomato joined #nim
20:43:58*dtomato quit (Remote host closed the connection)
20:44:31*dtomato joined #nim
20:44:31*dtomato quit (Read error: Connection reset by peer)
20:44:47*dtomato joined #nim
20:44:47*dtomato quit (Read error: Connection reset by peer)
20:45:03*dtomato joined #nim
20:45:03*dtomato quit (Read error: Connection reset by peer)
20:45:19*dtomato joined #nim
20:45:19*dtomato quit (Remote host closed the connection)
20:45:54bigbytdoes nim have a django yet?
20:46:07*dtomato joined #nim
20:46:07*dtomato quit (Read error: Connection reset by peer)
20:46:40*dtomato joined #nim
20:46:40*dtomato quit (Read error: Connection reset by peer)
20:46:57*dtomato joined #nim
20:46:57*dtomato quit (Read error: Connection reset by peer)
20:47:14*dtomato joined #nim
20:47:14*dtomato quit (Read error: Connection reset by peer)
20:47:30*dtomato joined #nim
20:47:30*dtomato quit (Remote host closed the connection)
20:48:33*dtomato joined #nim
20:48:33*dtomato quit (Read error: Connection reset by peer)
20:48:50*dtomato joined #nim
20:48:50*dtomato quit (Remote host closed the connection)
20:49:06*dtomato joined #nim
20:49:06*dtomato quit (Read error: Connection reset by peer)
20:49:22*dtomato joined #nim
20:49:22*dtomato quit (Remote host closed the connection)
20:49:38*dtomato joined #nim
20:49:38*dtomato quit (Read error: Connection reset by peer)
20:49:54*dtomato joined #nim
20:49:54*dtomato quit (Read error: Connection reset by peer)
20:50:10*dtomato joined #nim
20:50:10*dtomato quit (Remote host closed the connection)
20:50:43*dtomato joined #nim
20:50:43*dtomato quit (Remote host closed the connection)
20:51:00*dtomato joined #nim
20:51:00*dtomato quit (Read error: Connection reset by peer)
20:51:17*dtomato joined #nim
20:51:17*dtomato quit (Remote host closed the connection)
20:51:33*dtomato joined #nim
20:51:33*dtomato quit (Remote host closed the connection)
20:51:49*dtomato joined #nim
20:51:49*dtomato quit (Remote host closed the connection)
20:52:05*dtomato joined #nim
20:52:05*dtomato quit (Read error: Connection reset by peer)
20:53:07*dtomato joined #nim
20:53:07*dtomato quit (Read error: Connection reset by peer)
20:53:23*dtomato joined #nim
20:53:23*dtomato quit (Remote host closed the connection)
20:53:39*dtomato joined #nim
20:53:39*dtomato quit (Read error: Connection reset by peer)
20:53:55*dtomato joined #nim
20:53:55*dtomato quit (Remote host closed the connection)
20:54:12*dtomato joined #nim
20:54:12*dtomato quit (Remote host closed the connection)
20:54:29matt_13377it has web frameworks.
20:54:29*dtomato joined #nim
20:54:29*dtomato quit (Remote host closed the connection)
20:55:01*dtomato joined #nim
20:55:01*dtomato quit (Remote host closed the connection)
20:55:34*dtomato joined #nim
20:55:34*dtomato quit (Remote host closed the connection)
20:55:51*dtomato joined #nim
20:55:51*dtomato quit (Read error: Connection reset by peer)
20:56:08*dtomato joined #nim
20:56:08*dtomato quit (Remote host closed the connection)
20:56:24*dtomato joined #nim
20:56:24*dtomato quit (Read error: Connection reset by peer)
20:56:40*dtomato joined #nim
20:56:40*dtomato quit (Remote host closed the connection)
20:57:28*dtomato joined #nim
20:57:28*dtomato quit (Remote host closed the connection)
20:57:44*dtomato joined #nim
20:57:44*dtomato quit (Remote host closed the connection)
20:58:01*dtomato joined #nim
20:58:01*dtomato quit (Read error: Connection reset by peer)
20:58:17*dtomato joined #nim
20:58:17*dtomato quit (Remote host closed the connection)
20:58:33*dtomato joined #nim
20:58:33*dtomato quit (Read error: Connection reset by peer)
20:58:49*dtomato joined #nim
20:58:49*dtomato quit (Remote host closed the connection)
20:59:22*dtomato joined #nim
20:59:22*dtomato quit (Remote host closed the connection)
20:59:38*dtomato joined #nim
20:59:38*dtomato quit (Read error: Connection reset by peer)
21:00:11*dtomato joined #nim
21:00:11*dtomato quit (Remote host closed the connection)
21:00:27*dtomato joined #nim
21:00:27*dtomato quit (Remote host closed the connection)
21:00:44*dtomato joined #nim
21:00:44*dtomato quit (Read error: Connection reset by peer)
21:01:01*dtomato joined #nim
21:01:01*dtomato quit (Read error: Connection reset by peer)
21:01:32*dtomato joined #nim
21:01:32*dtomato quit (Remote host closed the connection)
21:01:49*dtomato joined #nim
21:01:49*dtomato quit (Remote host closed the connection)
21:02:21*dtomato joined #nim
21:02:21*dtomato quit (Read error: Connection reset by peer)
21:02:37*dtomato joined #nim
21:02:37*dtomato quit (Remote host closed the connection)
21:02:52*dtomato joined #nim
21:02:52*dtomato quit (Remote host closed the connection)
21:03:09*dtomato joined #nim
21:03:09*dtomato quit (Remote host closed the connection)
21:03:25*dtomato joined #nim
21:03:25*dtomato quit (Read error: Connection reset by peer)
21:04:27*dtomato joined #nim
21:04:27*dtomato quit (Remote host closed the connection)
21:04:44*dtomato joined #nim
21:04:44*dtomato quit (Remote host closed the connection)
21:05:01*dtomato joined #nim
21:05:01*dtomato quit (Read error: Connection reset by peer)
21:05:17*dtomato joined #nim
21:05:17*dtomato quit (Remote host closed the connection)
21:05:33*dtomato joined #nim
21:05:33*dtomato quit (Remote host closed the connection)
21:05:49*dtomato joined #nim
21:05:49*dtomato quit (Remote host closed the connection)
21:06:20FromDiscord<vestel> Are there any GUI nim debuggers or I am forced to use gdb/x64dbg?
21:06:21*dtomato joined #nim
21:06:21*dtomato quit (Read error: Connection reset by peer)
21:06:38*dtomato joined #nim
21:06:38*dtomato quit (Read error: Connection reset by peer)
21:06:55*dtomato joined #nim
21:06:55*dtomato quit (Remote host closed the connection)
21:07:12*dtomato joined #nim
21:07:12*dtomato quit (Read error: Connection reset by peer)
21:07:29*dtomato joined #nim
21:07:29*dtomato quit (Remote host closed the connection)
21:07:45*dtomato joined #nim
21:07:45*dtomato quit (Remote host closed the connection)
21:08:01*dtomato joined #nim
21:08:01*dtomato quit (Read error: Connection reset by peer)
21:08:49*dtomato joined #nim
21:08:49*dtomato quit (Read error: Connection reset by peer)
21:09:05*dtomato joined #nim
21:09:05*dtomato quit (Remote host closed the connection)
21:09:21*dtomato joined #nim
21:09:21*dtomato quit (Read error: Connection reset by peer)
21:09:37*dtomato joined #nim
21:09:37*dtomato quit (Remote host closed the connection)
21:09:54*dtomato joined #nim
21:09:54*dtomato quit (Read error: Connection reset by peer)
21:10:26*dtomato joined #nim
21:10:26*dtomato quit (Remote host closed the connection)
21:10:42*dtomato joined #nim
21:10:42*dtomato quit (Remote host closed the connection)
21:10:59*dtomato joined #nim
21:10:59*dtomato quit (Remote host closed the connection)
21:11:16*dtomato joined #nim
21:11:16*dtomato quit (Remote host closed the connection)
21:11:33*dtomato joined #nim
21:11:33*dtomato quit (Remote host closed the connection)
21:11:38*noeontheend joined #nim
21:11:50*dtomato joined #nim
21:11:50*dtomato quit (Remote host closed the connection)
21:12:22*dtomato joined #nim
21:12:22*dtomato quit (Remote host closed the connection)
21:13:09*dtomato joined #nim
21:13:09*dtomato quit (Read error: Connection reset by peer)
21:13:25*dtomato joined #nim
21:13:25*dtomato quit (Remote host closed the connection)
21:13:42*dtomato joined #nim
21:13:42*dtomato quit (Remote host closed the connection)
21:13:59*dtomato joined #nim
21:13:59*dtomato quit (Remote host closed the connection)
21:14:46*dtomato joined #nim
21:14:46*dtomato quit (Remote host closed the connection)
21:15:02*dtomato joined #nim
21:15:02*dtomato quit (Remote host closed the connection)
21:15:18*dtomato joined #nim
21:15:18*dtomato quit (Remote host closed the connection)
21:15:35*dtomato joined #nim
21:15:35*dtomato quit (Read error: Connection reset by peer)
21:15:51*dtomato joined #nim
21:15:51*dtomato quit (Read error: Connection reset by peer)
21:16:07*dtomato joined #nim
21:16:07*dtomato quit (Read error: Connection reset by peer)
21:16:55*dtomato joined #nim
21:16:55*dtomato quit (Read error: Connection reset by peer)
21:17:04FromDiscord<dom96> bigbyt: nope.
21:17:23FromDiscord<Elegantbeef> https://github.com/rohanrhu/gdb-frontend does work
21:17:27*dtomato joined #nim
21:17:27*dtomato quit (Remote host closed the connection)
21:17:43*dtomato joined #nim
21:17:43*dtomato quit (Remote host closed the connection)
21:17:59*dtomato joined #nim
21:17:59*dtomato quit (Read error: Connection reset by peer)
21:18:16*dtomato joined #nim
21:18:16*dtomato quit (Remote host closed the connection)
21:18:32*dtomato joined #nim
21:18:32*dtomato quit (Read error: Connection reset by peer)
21:19:05*dtomato joined #nim
21:19:05*dtomato quit (Read error: Connection reset by peer)
21:19:37*dtomato joined #nim
21:19:37*dtomato quit (Read error: Connection reset by peer)
21:19:53*dtomato joined #nim
21:19:53*dtomato quit (Read error: Connection reset by peer)
21:20:09*dtomato joined #nim
21:20:09*dtomato quit (Read error: Connection reset by peer)
21:20:25*dtomato joined #nim
21:20:25*dtomato quit (Remote host closed the connection)
21:20:42*dtomato joined #nim
21:20:42*dtomato quit (Read error: Connection reset by peer)
21:21:14*dtomato joined #nim
21:21:14*dtomato quit (Remote host closed the connection)
21:21:30*dtomato joined #nim
21:21:30*dtomato quit (Remote host closed the connection)
21:22:02*dtomato joined #nim
21:22:02*dtomato quit (Read error: Connection reset by peer)
21:22:18*dtomato joined #nim
21:22:18*dtomato quit (Remote host closed the connection)
21:22:34*dtomato joined #nim
21:22:34*dtomato quit (Remote host closed the connection)
21:22:50*dtomato joined #nim
21:22:50*dtomato quit (Read error: Connection reset by peer)
21:23:06*dtomato joined #nim
21:23:06*dtomato quit (Remote host closed the connection)
21:23:38*dtomato joined #nim
21:23:38*dtomato quit (Read error: Connection reset by peer)
21:24:10*dtomato joined #nim
21:24:10*dtomato quit (Read error: Connection reset by peer)
21:24:26*dtomato joined #nim
21:24:26*dtomato quit (Read error: Connection reset by peer)
21:24:43*dtomato joined #nim
21:24:43*dtomato quit (Remote host closed the connection)
21:25:00*dtomato joined #nim
21:25:00*dtomato quit (Remote host closed the connection)
21:25:16*dtomato joined #nim
21:25:16*dtomato quit (Read error: Connection reset by peer)
21:25:32*dtomato joined #nim
21:25:32*dtomato quit (Remote host closed the connection)
21:25:49*dtomato joined #nim
21:25:49*dtomato quit (Remote host closed the connection)
21:26:21FromDiscord<vestel> In reply to @Elegantbeef "https://github.com/rohanrhu/gdb-frontend does work": Thanks
21:26:21*dtomato joined #nim
21:26:21*dtomato quit (Remote host closed the connection)
21:26:37*dtomato joined #nim
21:26:37*dtomato quit (Remote host closed the connection)
21:26:54*dtomato joined #nim
21:26:54*dtomato quit (Read error: Connection reset by peer)
21:27:11*dtomato joined #nim
21:27:11*dtomato quit (Remote host closed the connection)
21:27:43*dtomato joined #nim
21:27:43*dtomato quit (Remote host closed the connection)
21:27:59*dtomato joined #nim
21:27:59*dtomato quit (Remote host closed the connection)
21:28:32*dtomato joined #nim
21:28:32*dtomato quit (Remote host closed the connection)
21:28:49*dtomato joined #nim
21:28:49*dtomato quit (Read error: Connection reset by peer)
21:29:06*dtomato joined #nim
21:29:06*dtomato quit (Read error: Connection reset by peer)
21:29:22*dtomato joined #nim
21:29:22*dtomato quit (Remote host closed the connection)
21:29:38*dtomato joined #nim
21:29:38*dtomato quit (Remote host closed the connection)
21:30:10*dtomato joined #nim
21:30:10*dtomato quit (Read error: Connection reset by peer)
21:30:42*dtomato joined #nim
21:30:42*dtomato quit (Remote host closed the connection)
21:30:58*dtomato joined #nim
21:30:58*dtomato quit (Read error: Connection reset by peer)
21:31:14*dtomato joined #nim
21:31:14*dtomato quit (Read error: Connection reset by peer)
21:31:30*dtomato joined #nim
21:31:30*dtomato quit (Remote host closed the connection)
21:31:46*dtomato joined #nim
21:31:46*dtomato quit (Read error: Connection reset by peer)
21:32:02*dtomato joined #nim
21:32:02*dtomato quit (Remote host closed the connection)
21:32:19*dtomato joined #nim
21:32:19*dtomato quit (Read error: Connection reset by peer)
21:32:51*dtomato joined #nim
21:32:51*dtomato quit (Read error: Connection reset by peer)
21:33:07*dtomato joined #nim
21:33:07*dtomato quit (Remote host closed the connection)
21:33:23*dtomato joined #nim
21:33:23*dtomato quit (Read error: Connection reset by peer)
21:33:39*dtomato joined #nim
21:33:39*dtomato quit (Remote host closed the connection)
21:34:57*dtomato joined #nim
21:34:57*dtomato quit (Read error: Connection reset by peer)
21:35:13*dtomato joined #nim
21:35:13*dtomato quit (Remote host closed the connection)
21:35:30*dtomato joined #nim
21:35:30*dtomato quit (Remote host closed the connection)
21:35:46*dtomato joined #nim
21:35:46*dtomato quit (Read error: Connection reset by peer)
21:36:03*dtomato joined #nim
21:36:03*dtomato quit (Remote host closed the connection)
21:36:51*dtomato joined #nim
21:36:51*dtomato quit (Remote host closed the connection)
21:37:07*dtomato joined #nim
21:37:07*dtomato quit (Remote host closed the connection)
21:37:24*dtomato joined #nim
21:37:24*dtomato quit (Remote host closed the connection)
21:37:41*dtomato joined #nim
21:37:41*dtomato quit (Read error: Connection reset by peer)
21:37:57*dtomato joined #nim
21:37:57*dtomato quit (Remote host closed the connection)
21:38:13*dtomato joined #nim
21:38:13*dtomato quit (Remote host closed the connection)
21:39:31*dtomato joined #nim
21:39:31*dtomato quit (Read error: Connection reset by peer)
21:39:48*dtomato joined #nim
21:39:48*dtomato quit (Remote host closed the connection)
21:40:05*dtomato joined #nim
21:40:05*dtomato quit (Remote host closed the connection)
21:40:22*dtomato joined #nim
21:40:22*dtomato quit (Remote host closed the connection)
21:40:54*dtomato joined #nim
21:40:54*dtomato quit (Remote host closed the connection)
21:41:42*dtomato joined #nim
21:41:42*dtomato quit (Remote host closed the connection)
21:41:59*dtomato joined #nim
21:41:59*dtomato quit (Remote host closed the connection)
21:42:16*dtomato joined #nim
21:42:16*dtomato quit (Remote host closed the connection)
21:42:32*dtomato joined #nim
21:42:32*dtomato quit (Remote host closed the connection)
21:43:04*dtomato joined #nim
21:43:04*dtomato quit (Read error: Connection reset by peer)
21:43:20*dtomato joined #nim
21:43:20*dtomato quit (Read error: Connection reset by peer)
21:43:36*dtomato joined #nim
21:43:36*dtomato quit (Read error: Connection reset by peer)
21:43:41FromDiscord<Zeantar> Hello. I'm new in Nim and how I can start cmd process so it will not block main thread?
21:43:53FromDiscord<Elegantbeef> `osproc.startProcess`
21:43:53*dtomato joined #nim
21:43:53*dtomato quit (Remote host closed the connection)
21:44:10*dtomato joined #nim
21:44:10*dtomato quit (Remote host closed the connection)
21:44:27*dtomato joined #nim
21:44:27*dtomato quit (Read error: Connection reset by peer)
21:44:43*dtomato joined #nim
21:44:43*dtomato quit (Read error: Connection reset by peer)
21:44:47FromDiscord<Zeantar> Hello. I'm new in Nim and how I can start cmd process so it will not block main thread?↵I need to start webdriver server so I will be able to send requests to this server in code.
21:44:59*dtomato joined #nim
21:44:59*dtomato quit (Remote host closed the connection)
21:45:16*dtomato joined #nim
21:45:16*dtomato quit (Read error: Connection reset by peer)
21:46:03*dtomato joined #nim
21:46:03*dtomato quit (Remote host closed the connection)
21:46:20*dtomato joined #nim
21:46:20*dtomato quit (Remote host closed the connection)
21:46:23FromDiscord<Elegantbeef> The answer doesnt change
21:46:37*dtomato joined #nim
21:46:37*dtomato quit (Remote host closed the connection)
21:46:53*dtomato joined #nim
21:46:53*dtomato quit (Read error: Connection reset by peer)
21:47:56*dtomato joined #nim
21:47:56*dtomato quit (Read error: Connection reset by peer)
21:48:12*dtomato joined #nim
21:48:12*dtomato quit (Remote host closed the connection)
21:48:29*dtomato joined #nim
21:48:29*dtomato quit (Remote host closed the connection)
21:48:46*dtomato joined #nim
21:48:46*dtomato quit (Read error: Connection reset by peer)
21:49:03*dtomato joined #nim
21:49:03*dtomato quit (Remote host closed the connection)
21:49:19*dtomato joined #nim
21:49:19*dtomato quit (Read error: Connection reset by peer)
21:49:36*dtomato joined #nim
21:49:36*dtomato quit (Remote host closed the connection)
21:49:53*dtomato joined #nim
21:49:53*dtomato quit (Remote host closed the connection)
21:50:10*dtomato joined #nim
21:50:10*dtomato quit (Remote host closed the connection)
21:50:27*dtomato joined #nim
21:50:27*dtomato quit (Read error: Connection reset by peer)
21:50:44*dtomato joined #nim
21:50:44*dtomato quit (Remote host closed the connection)
21:51:00*dtomato joined #nim
21:51:00*dtomato quit (Read error: Connection reset by peer)
21:51:16*dtomato joined #nim
21:51:16*dtomato quit (Remote host closed the connection)
21:51:32*dtomato joined #nim
21:51:32*dtomato quit (Read error: Connection reset by peer)
21:51:48*dtomato joined #nim
21:51:48*dtomato quit (Read error: Connection reset by peer)
21:52:20*dtomato joined #nim
21:52:20*dtomato quit (Remote host closed the connection)
21:52:36*dtomato joined #nim
21:52:36*dtomato quit (Remote host closed the connection)
21:52:53*dtomato joined #nim
21:52:53*dtomato quit (Read error: Connection reset by peer)
21:53:09*dtomato joined #nim
21:53:09*dtomato quit (Remote host closed the connection)
21:53:25*dtomato joined #nim
21:53:25*dtomato quit (Read error: Connection reset by peer)
21:53:42*dtomato joined #nim
21:53:42*dtomato quit (Remote host closed the connection)
21:53:59*dtomato joined #nim
21:53:59*dtomato quit (Remote host closed the connection)
21:55:01*dtomato joined #nim
21:55:01*dtomato quit (Remote host closed the connection)
21:55:17*dtomato joined #nim
21:55:17*dtomato quit (Remote host closed the connection)
21:55:33*dtomato joined #nim
21:55:33*dtomato quit (Remote host closed the connection)
21:55:49*dtomato joined #nim
21:55:49*dtomato quit (Remote host closed the connection)
21:56:05*dtomato joined #nim
21:56:05*dtomato quit (Remote host closed the connection)
21:57:07*dtomato joined #nim
21:57:07*dtomato quit (Read error: Connection reset by peer)
21:57:24*dtomato joined #nim
21:57:24*dtomato quit (Remote host closed the connection)
21:57:40*dtomato joined #nim
21:57:40*dtomato quit (Remote host closed the connection)
21:57:57*dtomato joined #nim
21:57:57*dtomato quit (Remote host closed the connection)
21:58:14*dtomato joined #nim
21:58:14*dtomato quit (Remote host closed the connection)
21:59:31*dtomato joined #nim
21:59:31*dtomato quit (Read error: Connection reset by peer)
21:59:48*dtomato joined #nim
21:59:48*dtomato quit (Read error: Connection reset by peer)
22:00:05*dtomato joined #nim
22:00:05*dtomato quit (Read error: Connection reset by peer)
22:00:21*dtomato joined #nim
22:00:21*dtomato quit (Read error: Connection reset by peer)
22:00:37*dtomato joined #nim
22:00:37*dtomato quit (Read error: Connection reset by peer)
22:00:53*dtomato joined #nim
22:00:53*dtomato quit (Remote host closed the connection)
22:01:10*dtomato joined #nim
22:01:10*dtomato quit (Remote host closed the connection)
22:01:42*dtomato joined #nim
22:01:42*dtomato quit (Remote host closed the connection)
22:01:58*dtomato joined #nim
22:01:58*dtomato quit (Remote host closed the connection)
22:02:15*dtomato joined #nim
22:02:15*dtomato quit (Remote host closed the connection)
22:02:32*dtomato joined #nim
22:02:32*dtomato quit (Remote host closed the connection)
22:02:48*dtomato joined #nim
22:02:48*dtomato quit (Remote host closed the connection)
22:03:04*dtomato joined #nim
22:03:04*dtomato quit (Remote host closed the connection)
22:03:20*dtomato joined #nim
22:03:20*dtomato quit (Read error: Connection reset by peer)
22:03:52*dtomato joined #nim
22:03:52*dtomato quit (Read error: Connection reset by peer)
22:04:08*dtomato joined #nim
22:04:08*dtomato quit (Read error: Connection reset by peer)
22:04:24*dtomato joined #nim
22:04:24*dtomato quit (Read error: Connection reset by peer)
22:04:40*dtomato joined #nim
22:04:40*dtomato quit (Read error: Connection reset by peer)
22:04:56*dtomato joined #nim
22:04:56*dtomato quit (Read error: Connection reset by peer)
22:05:57*dtomato joined #nim
22:05:57*dtomato quit (Read error: Connection reset by peer)
22:05:59*noeontheend quit (Ping timeout: 244 seconds)
22:06:13*dtomato joined #nim
22:06:13*dtomato quit (Read error: Connection reset by peer)
22:06:29*dtomato joined #nim
22:06:29*dtomato quit (Read error: Connection reset by peer)
22:06:45*dtomato joined #nim
22:06:45*dtomato quit (Read error: Connection reset by peer)
22:07:02*dtomato joined #nim
22:07:02*dtomato quit (Remote host closed the connection)
22:07:34*dtomato joined #nim
22:07:34*dtomato quit (Remote host closed the connection)
22:07:50*dtomato joined #nim
22:07:50*dtomato quit (Remote host closed the connection)
22:08:06*dtomato joined #nim
22:08:06*dtomato quit (Read error: Connection reset by peer)
22:08:23*dtomato joined #nim
22:08:23*dtomato quit (Remote host closed the connection)
22:08:39*dtomato joined #nim
22:08:39*dtomato quit (Remote host closed the connection)
22:08:56*dtomato joined #nim
22:08:56*dtomato quit (Remote host closed the connection)
22:09:13*dtomato joined #nim
22:09:13*dtomato quit (Remote host closed the connection)
22:10:15*dtomato joined #nim
22:10:15*dtomato quit (Remote host closed the connection)
22:10:32*dtomato joined #nim
22:10:32*dtomato quit (Remote host closed the connection)
22:10:49*dtomato joined #nim
22:10:49*dtomato quit (Read error: Connection reset by peer)
22:11:05*dtomato joined #nim
22:11:05*dtomato quit (Read error: Connection reset by peer)
22:11:21*dtomato joined #nim
22:11:21*dtomato quit (Remote host closed the connection)
22:11:54*dtomato joined #nim
22:11:54*dtomato quit (Read error: Connection reset by peer)
22:12:42*dtomato joined #nim
22:12:42*dtomato quit (Read error: Connection reset by peer)
22:12:58*dtomato joined #nim
22:12:58*dtomato quit (Remote host closed the connection)
22:13:15*dtomato joined #nim
22:13:15*dtomato quit (Read error: Connection reset by peer)
22:14:03*dtomato joined #nim
22:14:03*dtomato quit (Read error: Connection reset by peer)
22:14:19*dtomato joined #nim
22:14:19*dtomato quit (Read error: Connection reset by peer)
22:14:35*LuxuryMode quit (Quit: Connection closed for inactivity)
22:14:36*dtomato joined #nim
22:14:36*dtomato quit (Remote host closed the connection)
22:14:53*dtomato joined #nim
22:14:53*dtomato quit (Remote host closed the connection)
22:15:10*dtomato joined #nim
22:15:10*dtomato quit (Remote host closed the connection)
22:15:26*dtomato joined #nim
22:15:26*dtomato quit (Read error: Connection reset by peer)
22:15:43*dtomato joined #nim
22:15:43*dtomato quit (Read error: Connection reset by peer)
22:15:58*dtomato joined #nim
22:15:58*dtomato quit (Remote host closed the connection)
22:16:13*dtomato joined #nim
22:16:13*dtomato quit (Remote host closed the connection)
22:16:30*dtomato joined #nim
22:16:30*dtomato quit (Remote host closed the connection)
22:17:02*dtomato joined #nim
22:17:02*dtomato quit (Remote host closed the connection)
22:17:19*dtomato joined #nim
22:17:19*dtomato quit (Remote host closed the connection)
22:17:36*dtomato joined #nim
22:17:36*dtomato quit (Remote host closed the connection)
22:17:52*dtomato joined #nim
22:17:52*dtomato quit (Remote host closed the connection)
22:18:40*dtomato joined #nim
22:18:40*dtomato quit (Remote host closed the connection)
22:19:12*dtomato joined #nim
22:19:12*dtomato quit (Remote host closed the connection)
22:19:29*dtomato joined #nim
22:19:29*dtomato quit (Read error: Connection reset by peer)
22:19:45*dtomato joined #nim
22:19:45*dtomato quit (Remote host closed the connection)
22:20:01*dtomato joined #nim
22:20:01*dtomato quit (Remote host closed the connection)
22:20:17*dtomato joined #nim
22:20:17*dtomato quit (Remote host closed the connection)
22:20:33*dtomato joined #nim
22:20:33*dtomato quit (Remote host closed the connection)
22:21:06*dtomato joined #nim
22:21:06*dtomato quit (Remote host closed the connection)
22:21:23*dtomato joined #nim
22:21:23*dtomato quit (Remote host closed the connection)
22:21:39*dtomato joined #nim
22:21:39*dtomato quit (Read error: Connection reset by peer)
22:21:56*dtomato joined #nim
22:21:56*dtomato quit (Remote host closed the connection)
22:22:12*dtomato joined #nim
22:22:12*dtomato quit (Remote host closed the connection)
22:22:28*dtomato joined #nim
22:22:28*dtomato quit (Read error: Connection reset by peer)
22:22:44*dtomato joined #nim
22:22:44*dtomato quit (Read error: Connection reset by peer)
22:23:00*dtomato joined #nim
22:23:00*dtomato quit (Read error: Connection reset by peer)
22:23:17*dtomato joined #nim
22:23:17*dtomato quit (Remote host closed the connection)
22:23:33*dtomato joined #nim
22:23:33*dtomato quit (Remote host closed the connection)
22:23:50*dtomato joined #nim
22:23:50*dtomato quit (Read error: Connection reset by peer)
22:24:06*dtomato joined #nim
22:24:06*dtomato quit (Remote host closed the connection)
22:24:23*dtomato joined #nim
22:24:23*dtomato quit (Read error: Connection reset by peer)
22:25:25*dtomato joined #nim
22:25:25*dtomato quit (Remote host closed the connection)
22:25:41*dtomato joined #nim
22:25:41*dtomato quit (Remote host closed the connection)
22:25:57*dtomato joined #nim
22:25:57*dtomato quit (Read error: Connection reset by peer)
22:26:14*dtomato joined #nim
22:26:14*dtomato quit (Remote host closed the connection)
22:26:31*dtomato joined #nim
22:26:31*dtomato quit (Remote host closed the connection)
22:26:48*dtomato joined #nim
22:26:48*dtomato quit (Remote host closed the connection)
22:27:20*dtomato joined #nim
22:27:20*dtomato quit (Remote host closed the connection)
22:27:36*dtomato joined #nim
22:27:36*dtomato quit (Remote host closed the connection)
22:27:52*dtomato joined #nim
22:27:52*dtomato quit (Remote host closed the connection)
22:28:09*dtomato joined #nim
22:28:09*dtomato quit (Remote host closed the connection)
22:28:26*dtomato joined #nim
22:28:26*dtomato quit (Remote host closed the connection)
22:28:43*dtomato joined #nim
22:28:43*dtomato quit (Remote host closed the connection)
22:29:30*dtomato joined #nim
22:29:30*dtomato quit (Read error: Connection reset by peer)
22:30:03*dtomato joined #nim
22:30:03*dtomato quit (Remote host closed the connection)
22:30:05FromDiscord<voidwalker> what would be the way to somehow assign a procedure to be called, to a certain key in a table let's say. I have this code:
22:30:12FromDiscord<voidwalker> sent a code paste, see https://play.nim-lang.org/#ix=446v
22:30:20*dtomato joined #nim
22:30:20*dtomato quit (Remote host closed the connection)
22:30:37*dtomato joined #nim
22:30:37*dtomato quit (Remote host closed the connection)
22:30:47FromDiscord<Elegantbeef> you could have a `Table[string, proc(tsv, key: string)]`
22:30:53*dtomato joined #nim
22:30:53*dtomato quit (Remote host closed the connection)
22:31:01FromDiscord<voidwalker> and I have a custom procedure depending on the key. I'd like to get rid of the case statement, do the (not present in the code - create db schema), download procedure, and import procedure.
22:31:05FromDiscord<voidwalker> so I only have to do one call
22:31:09*dtomato joined #nim
22:31:09*dtomato quit (Remote host closed the connection)
22:31:14FromDiscord<voidwalker> (edit) "procedure." => "procedure, all in one proc"
22:31:25*dtomato joined #nim
22:31:25*dtomato quit (Remote host closed the connection)
22:32:13*dtomato joined #nim
22:32:13*dtomato quit (Read error: Connection reset by peer)
22:32:29*dtomato joined #nim
22:32:29*dtomato quit (Read error: Connection reset by peer)
22:32:31FromDiscord<voidwalker> and how exactly would I assign a value in this case?
22:32:37FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=446w
22:32:45*dtomato joined #nim
22:32:45*dtomato quit (Read error: Connection reset by peer)
22:33:01*dtomato joined #nim
22:33:01*dtomato quit (Remote host closed the connection)
22:33:17*dtomato joined #nim
22:33:17*dtomato quit (Read error: Connection reset by peer)
22:33:18FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=446x
22:33:33*dtomato joined #nim
22:33:33*dtomato quit (Remote host closed the connection)
22:33:50*dtomato joined #nim
22:33:50*dtomato quit (Read error: Connection reset by peer)
22:34:22*dtomato joined #nim
22:34:22*dtomato quit (Remote host closed the connection)
22:34:22FromDiscord<voidwalker> hah this I have not considered, to add the download part to it (which is universal for all keys)
22:34:39*dtomato joined #nim
22:34:39*dtomato quit (Remote host closed the connection)
22:34:42FromDiscord<voidwalker> I was thinking to add just the custom proc to the proc table, and then have another proc to call all 3 of them
22:34:56*dtomato joined #nim
22:34:56*dtomato quit (Read error: Connection reset by peer)
22:35:12*dtomato joined #nim
22:35:12*dtomato quit (Read error: Connection reset by peer)
22:35:18FromDiscord<voidwalker> otherwise I'd have to repeat import_schema(key); downloadImdbTSV(key), importwhatever(key)
22:35:23FromDiscord<voidwalker> for each key in the myProcTable
22:35:29*dtomato joined #nim
22:35:29*dtomato quit (Read error: Connection reset by peer)
22:36:01*dtomato joined #nim
22:36:01*dtomato quit (Remote host closed the connection)
22:36:33*dtomato joined #nim
22:36:33*dtomato quit (Remote host closed the connection)
22:36:49*dtomato joined #nim
22:36:49*dtomato quit (Read error: Connection reset by peer)
22:37:05*dtomato joined #nim
22:37:05*dtomato quit (Read error: Connection reset by peer)
22:37:21*dtomato joined #nim
22:37:21*dtomato quit (Read error: Connection reset by peer)
22:37:37*dtomato joined #nim
22:37:37*dtomato quit (Read error: Connection reset by peer)
22:37:42FromDiscord<voidwalker> from where do you copy the nim code so that it ends up coloured here?
22:37:53*NeoCron quit (Remote host closed the connection)
22:38:05FromDiscord<Elegantbeef> It's the same as markdown
22:38:22FromDiscord<huantian> sent a code paste, see https://play.nim-lang.org/#ix=446y
22:38:39*dtomato joined #nim
22:38:39*dtomato quit (Remote host closed the connection)
22:38:54FromDiscord<voidwalker> yeah well i did the 3x `, copied it from vscodium where it's coloured, but not here
22:38:56*dtomato joined #nim
22:38:56*dtomato quit (Read error: Connection reset by peer)
22:39:12*dtomato joined #nim
22:39:12*dtomato quit (Remote host closed the connection)
22:39:16FromDiscord<voidwalker> (edit) "yeah well i did the 3x `, copied it from vscodium where it's coloured, but ... notcoloured" added "it's" | "it'snot ... here(discord)" added "coloured" | "notcolouredhere ... " added "(discord)"
22:39:23FromDiscord<voidwalker> ohhhh
22:39:23FromDiscord<huantian> sent a code paste, see https://play.nim-lang.org/#ix=446z
22:39:27*dtomato joined #nim
22:39:27*dtomato quit (Read error: Connection reset by peer)
22:39:44*dtomato joined #nim
22:39:44*dtomato quit (Remote host closed the connection)
22:40:00*dtomato joined #nim
22:40:00*dtomato quit (Remote host closed the connection)
22:40:10FromDiscord<Elegantbeef> I like that it was highlighted fine over here in element
22:40:23FromDiscord<huantian> yeah I think element has auto language detection
22:40:31FromDiscord<Elegantbeef> It does indeed
22:40:47*dtomato joined #nim
22:40:47*dtomato quit (Remote host closed the connection)
22:40:50FromDiscord<Elegantbeef> Open source software only copies proprietary software -jblow
22:41:03FromDiscord<voidwalker> Ok, so elegantness opinion. Have just 1 proc defined in the myProcTable for each key (the custom one), and have an extra proc to bundle the 3 total needed procs to be ran, so I only have one line in the end ?
22:41:04*dtomato joined #nim
22:41:05*dtomato quit (Remote host closed the connection)
22:41:20*dtomato joined #nim
22:41:20*dtomato quit (Read error: Connection reset by peer)
22:41:30FromDiscord<voidwalker> or have them all 3 defined to be called for each key in myProcTable ?
22:41:37*dtomato joined #nim
22:41:37*dtomato quit (Remote host closed the connection)
22:41:42FromDiscord<voidwalker> there's seven of them, so that would be... 21
22:41:52*dtomato joined #nim
22:41:52*dtomato quit (Remote host closed the connection)
22:42:09*dtomato joined #nim
22:42:09*dtomato quit (Read error: Connection reset by peer)
22:42:25FromDiscord<Elegantbeef> It's up to you, if you want multiple tables you can, if you want a single table you can
22:42:25*dtomato joined #nim
22:42:25*dtomato quit (Remote host closed the connection)
22:42:41*dtomato joined #nim
22:42:41*dtomato quit (Read error: Connection reset by peer)
22:43:00FromDiscord<voidwalker> what would Elegantbeef nimjesus do ?
22:43:05FromDiscord<Elegantbeef> You also could have a `(proc(s: string), proc(a, b: string))`
22:43:08FromDiscord<Elegantbeef> I mean it's up to you
22:43:12FromDiscord<Elegantbeef> I dont know what i'd do
22:43:13*dtomato joined #nim
22:43:13*dtomato quit (Remote host closed the connection)
22:43:25FromDiscord<Elegantbeef> I only pretend i can write Nim i dont design things 😛
22:43:29*dtomato joined #nim
22:43:29*dtomato quit (Remote host closed the connection)
22:43:45*dtomato joined #nim
22:43:45*dtomato quit (Read error: Connection reset by peer)
22:44:01*dtomato joined #nim
22:44:01*dtomato quit (Remote host closed the connection)
22:44:17*dtomato joined #nim
22:44:17*dtomato quit (Remote host closed the connection)
22:44:43FromDiscord<voidwalker> In reply to @Elegantbeef "You also could have": what's this ?a proc tuple ?
22:44:49FromDiscord<Elegantbeef> Yes
22:44:50*dtomato joined #nim
22:44:50*dtomato quit (Remote host closed the connection)
22:45:15FromDiscord<voidwalker> I have never considered this possible. How would it work ?
22:45:22*dtomato joined #nim
22:45:22*dtomato quit (Read error: Connection reset by peer)
22:45:29FromDiscord<Elegantbeef> The same way as the above you just manually call each
22:45:39*dtomato joined #nim
22:45:39*dtomato quit (Read error: Connection reset by peer)
22:45:56*dtomato joined #nim
22:45:56*dtomato quit (Remote host closed the connection)
22:46:12*dtomato joined #nim
22:46:12*dtomato quit (Read error: Connection reset by peer)
22:46:16FromDiscord<Elegantbeef> sent a code paste, see https://paste.rs/S5c
22:46:21FromDiscord<Elegantbeef> whoops should be `(a, b)`
22:46:27*dtomato joined #nim
22:46:27*dtomato quit (Read error: Connection reset by peer)
22:46:42*dtomato joined #nim
22:46:42*dtomato quit (Read error: Connection reset by peer)
22:46:59*dtomato joined #nim
22:46:59*dtomato quit (Read error: Connection reset by peer)
22:47:12FromDiscord<Elegantbeef> It's not really any better, just giving options
22:47:16*dtomato joined #nim
22:47:16*dtomato quit (Remote host closed the connection)
22:47:33*dtomato joined #nim
22:47:33*dtomato quit (Remote host closed the connection)
22:47:50*dtomato joined #nim
22:47:50*dtomato quit (Read error: Connection reset by peer)
22:48:06*dtomato joined #nim
22:48:06*dtomato quit (Remote host closed the connection)
22:48:22*dtomato joined #nim
22:48:22*dtomato quit (Remote host closed the connection)
22:48:38*dtomato joined #nim
22:48:38*dtomato quit (Read error: Connection reset by peer)
22:49:41*dtomato joined #nim
22:49:41*dtomato quit (Remote host closed the connection)
22:49:58*dtomato joined #nim
22:49:58*dtomato quit (Read error: Connection reset by peer)
22:50:14*dtomato joined #nim
22:50:14*dtomato quit (Read error: Connection reset by peer)
22:50:19FromDiscord<voidwalker> what if I don't want an anonymous function in the table that calls whatever_import(db,key), can I have like a pointer to the actual proc itself?
22:50:26FromDiscord<voidwalker> (edit) "function" => "proc"
22:50:30*dtomato joined #nim
22:50:30*dtomato quit (Remote host closed the connection)
22:50:34FromDiscord<Elegantbeef> That's what the tuple solution gives you
22:50:42FromDiscord<Elegantbeef> In Nim all procs are pointer procs
22:50:46*dtomato joined #nim
22:50:46*dtomato quit (Remote host closed the connection)
22:50:47FromDiscord<Elegantbeef> Or rather can be
22:51:02*dtomato joined #nim
22:51:02*dtomato quit (Read error: Connection reset by peer)
22:51:26*noeontheend joined #nim
22:51:50*dtomato joined #nim
22:51:50*dtomato quit (Read error: Connection reset by peer)
22:51:51FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=446B
22:52:06*dtomato joined #nim
22:52:06*dtomato quit (Remote host closed the connection)
22:52:20FromDiscord<voidwalker> I guess I haven't really understood this assignment
22:52:21*dtomato joined #nim
22:52:21*dtomato quit (Read error: Connection reset by peer)
22:52:27FromDiscord<voidwalker> ` let (a, b) = procTable[key]`
22:52:29FromDiscord<voidwalker> what happens here ?
22:52:37*dtomato joined #nim
22:52:37*dtomato quit (Read error: Connection reset by peer)
22:52:53*dtomato joined #nim
22:52:53*dtomato quit (Read error: Connection reset by peer)
22:53:13FromDiscord<Elegantbeef> You unpack the tuple
22:53:25*dtomato joined #nim
22:53:25*dtomato quit (Read error: Connection reset by peer)
22:53:38FromDiscord<Elegantbeef> So you get `(myProcTable[key][0], myProcTable[key][1])`
22:53:41*dtomato joined #nim
22:53:41*dtomato quit (Remote host closed the connection)
22:53:47FromDiscord<Elegantbeef> Without the double access
22:53:58*dtomato joined #nim
22:53:58*dtomato quit (Read error: Connection reset by peer)
22:54:14FromDiscord<voidwalker> huh.. and what is the [0], [1] supposed to be ?
22:54:14*dtomato joined #nim
22:54:14*dtomato quit (Read error: Connection reset by peer)
22:54:19FromDiscord<voidwalker> which procs
22:54:30*dtomato joined #nim
22:54:30*dtomato quit (Remote host closed the connection)
22:54:34FromDiscord<Rika> The first one in the tuple you got
22:54:36FromDiscord<Rika> The second
22:54:47*dtomato joined #nim
22:54:47*dtomato quit (Read error: Connection reset by peer)
22:55:03*dtomato joined #nim
22:55:03*dtomato quit (Read error: Connection reset by peer)
22:55:19*dtomato joined #nim
22:55:19*dtomato quit (Remote host closed the connection)
22:55:46FromDiscord<Elegantbeef> The first and second element of a tuple
22:55:46FromDiscord<Elegantbeef> fieldless tuples use array access to get fields
22:55:51*dtomato joined #nim
22:55:51*dtomato quit (Remote host closed the connection)
22:55:52FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=446D
22:56:11FromDiscord<voidwalker> ok this makes sense but
22:56:19FromDiscord<voidwalker> sent a code paste, see https://play.nim-lang.org/#ix=446E
22:56:23*dtomato joined #nim
22:56:23*dtomato quit (Read error: Connection reset by peer)
22:56:24FromDiscord<voidwalker> I thought I only had one element for a key
22:56:34FromDiscord<voidwalker> what are the [0], and [1], in this case?
22:56:39*dtomato joined #nim
22:56:39*dtomato quit (Read error: Connection reset by peer)
22:56:46FromDiscord<Elegantbeef> `myProcTable["title.basics.tsv.gz"] = (downloadImDbTsv, importMoviesTitles)`
22:56:54FromDiscord<Elegantbeef> Is the alterntaive to a pointer proc
22:56:55*dtomato joined #nim
22:56:55*dtomato quit (Read error: Connection reset by peer)
22:57:06FromDiscord<Elegantbeef> I mean anonymous
22:57:12*dtomato joined #nim
22:57:12*dtomato quit (Remote host closed the connection)
22:57:19FromDiscord<voidwalker> ahhh so you mean it to be written in that form
22:57:44FromDiscord<voidwalker> ok that doesn't look so bad
22:57:59*dtomato joined #nim
22:57:59*dtomato quit (Read error: Connection reset by peer)
22:58:16*dtomato joined #nim
22:58:16*dtomato quit (Read error: Connection reset by peer)
22:58:32*dtomato joined #nim
22:58:32*dtomato quit (Read error: Connection reset by peer)
22:58:48*dtomato joined #nim
22:58:48*dtomato quit (Remote host closed the connection)
22:59:03*dtomato joined #nim
22:59:03*dtomato quit (Remote host closed the connection)
22:59:20*dtomato joined #nim
22:59:20*dtomato quit (Read error: Connection reset by peer)
22:59:36*dtomato joined #nim
22:59:36*dtomato quit (Read error: Connection reset by peer)
23:00:39*dtomato joined #nim
23:00:39*dtomato quit (Read error: Connection reset by peer)
23:00:55*dtomato joined #nim
23:00:55*dtomato quit (Read error: Connection reset by peer)
23:01:11*dtomato joined #nim
23:01:11*dtomato quit (Read error: Connection reset by peer)
23:01:58*dtomato joined #nim
23:01:58*dtomato quit (Remote host closed the connection)
23:02:30*dtomato joined #nim
23:02:30*dtomato quit (Remote host closed the connection)
23:02:47*dtomato joined #nim
23:02:47*dtomato quit (Remote host closed the connection)
23:03:04*dtomato joined #nim
23:03:04*dtomato quit (Remote host closed the connection)
23:03:21*dtomato joined #nim
23:03:21*dtomato quit (Read error: Connection reset by peer)
23:03:37*dtomato joined #nim
23:03:37*dtomato quit (Remote host closed the connection)
23:04:25*dtomato joined #nim
23:04:25*dtomato quit (Read error: Connection reset by peer)
23:04:57*dtomato joined #nim
23:04:57*dtomato quit (Remote host closed the connection)
23:05:13*dtomato joined #nim
23:05:13*dtomato quit (Read error: Connection reset by peer)
23:05:29*dtomato joined #nim
23:05:29*dtomato quit (Remote host closed the connection)
23:05:46*dtomato joined #nim
23:05:46*dtomato quit (Remote host closed the connection)
23:06:02*dtomato joined #nim
23:06:02*dtomato quit (Read error: Connection reset by peer)
23:06:18*dtomato joined #nim
23:06:18*dtomato quit (Remote host closed the connection)
23:06:34*dtomato joined #nim
23:06:34*dtomato quit (Read error: Connection reset by peer)
23:06:50*dtomato joined #nim
23:06:50*dtomato quit (Remote host closed the connection)
23:07:06*dtomato joined #nim
23:07:06*dtomato quit (Remote host closed the connection)
23:07:23*dtomato joined #nim
23:07:23*dtomato quit (Read error: Connection reset by peer)
23:07:39*dtomato joined #nim
23:07:39*dtomato quit (Remote host closed the connection)
23:07:56*dtomato joined #nim
23:07:56*dtomato quit (Remote host closed the connection)
23:08:13*dtomato joined #nim
23:08:13*dtomato quit (Read error: Connection reset by peer)
23:09:00*dtomato joined #nim
23:09:00*dtomato quit (Remote host closed the connection)
23:09:16*dtomato joined #nim
23:09:16*dtomato quit (Read error: Connection reset by peer)
23:09:33*dtomato joined #nim
23:09:33*dtomato quit (Read error: Connection reset by peer)
23:09:50*dtomato joined #nim
23:09:50*dtomato quit (Remote host closed the connection)
23:10:07*dtomato joined #nim
23:10:07*dtomato quit (Remote host closed the connection)
23:10:23*dtomato joined #nim
23:10:23*dtomato quit (Remote host closed the connection)
23:10:39*dtomato joined #nim
23:10:39*dtomato quit (Remote host closed the connection)
23:10:55*dtomato joined #nim
23:10:55*dtomato quit (Remote host closed the connection)
23:11:28*dtomato joined #nim
23:11:28*dtomato quit (Remote host closed the connection)
23:11:44*dtomato joined #nim
23:11:44*dtomato quit (Read error: Connection reset by peer)
23:12:01*dtomato joined #nim
23:12:01*dtomato quit (Read error: Connection reset by peer)
23:12:18*dtomato joined #nim
23:12:18*dtomato quit (Remote host closed the connection)
23:12:34*dtomato joined #nim
23:12:34*dtomato quit (Remote host closed the connection)
23:13:22*dtomato joined #nim
23:13:22*dtomato quit (Remote host closed the connection)
23:13:38*dtomato joined #nim
23:13:38*dtomato quit (Read error: Connection reset by peer)
23:13:55*dtomato joined #nim
23:13:55*dtomato quit (Remote host closed the connection)
23:14:12*dtomato joined #nim
23:14:12*dtomato quit (Read error: Connection reset by peer)
23:14:29*dtomato joined #nim
23:14:29*dtomato quit (Remote host closed the connection)
23:14:45*dtomato joined #nim
23:14:45*dtomato quit (Remote host closed the connection)
23:15:01*dtomato joined #nim
23:15:01*dtomato quit (Read error: Connection reset by peer)
23:15:34*dtomato joined #nim
23:15:34*dtomato quit (Remote host closed the connection)
23:15:51*dtomato joined #nim
23:15:51*dtomato quit (Remote host closed the connection)
23:16:23*dtomato joined #nim
23:16:23*dtomato quit (Read error: Connection reset by peer)
23:16:39*dtomato joined #nim
23:16:39*dtomato quit (Read error: Connection reset by peer)
23:16:55*dtomato joined #nim
23:16:55*dtomato quit (Read error: Connection reset by peer)
23:17:11*dtomato joined #nim
23:17:11*dtomato quit (Read error: Connection reset by peer)
23:17:27*dtomato joined #nim
23:17:27*dtomato quit (Read error: Connection reset by peer)
23:17:43*dtomato joined #nim
23:17:43*dtomato quit (Read error: Connection reset by peer)
23:18:31*dtomato joined #nim
23:18:31*dtomato quit (Remote host closed the connection)
23:18:48*dtomato joined #nim
23:18:48*dtomato quit (Remote host closed the connection)
23:19:04*dtomato joined #nim
23:19:04*dtomato quit (Remote host closed the connection)
23:19:21*dtomato joined #nim
23:19:21*dtomato quit (Remote host closed the connection)
23:19:53*dtomato joined #nim
23:19:53*dtomato quit (Remote host closed the connection)
23:20:41*dtomato joined #nim
23:20:41*dtomato quit (Remote host closed the connection)
23:20:58*dtomato joined #nim
23:20:58*dtomato quit (Remote host closed the connection)
23:21:14*dtomato joined #nim
23:21:14*dtomato quit (Remote host closed the connection)
23:21:31*dtomato joined #nim
23:21:31*dtomato quit (Remote host closed the connection)
23:22:03*dtomato joined #nim
23:22:03*dtomato quit (Read error: Connection reset by peer)
23:22:19*dtomato joined #nim
23:22:19*dtomato quit (Read error: Connection reset by peer)
23:22:35*dtomato joined #nim
23:22:35*dtomato quit (Read error: Connection reset by peer)
23:22:51*dtomato joined #nim
23:22:51*dtomato quit (Read error: Connection reset by peer)
23:23:07*dtomato joined #nim
23:23:07*dtomato quit (Read error: Connection reset by peer)
23:23:23*dtomato joined #nim
23:23:23*dtomato quit (Remote host closed the connection)
23:23:39*dtomato joined #nim
23:23:39*dtomato quit (Remote host closed the connection)
23:23:55*dtomato joined #nim
23:23:55*dtomato quit (Read error: Connection reset by peer)
23:24:42*dtomato joined #nim
23:24:42*dtomato quit (Remote host closed the connection)
23:24:58*dtomato joined #nim
23:24:58*dtomato quit (Read error: Connection reset by peer)
23:24:59FromDiscord<voidwalker> one more thing. for each key(string) I have a certain sql query I use to create a database table. Now the queries are stored in the source file. How would you store them in a separate file so that they can easily be matched/retrieved by "key" ?
23:25:01FromDiscord<voidwalker> An ini file maybe?
23:25:15*dtomato joined #nim
23:25:15*dtomato quit (Read error: Connection reset by peer)
23:25:31*dtomato joined #nim
23:25:31*dtomato quit (Remote host closed the connection)
23:25:47*dtomato joined #nim
23:25:47*dtomato quit (Read error: Connection reset by peer)
23:26:03*dtomato joined #nim
23:26:03*dtomato quit (Read error: Connection reset by peer)
23:26:34*dtomato joined #nim
23:26:34*dtomato quit (Read error: Connection reset by peer)
23:27:07*dtomato joined #nim
23:27:07*dtomato quit (Remote host closed the connection)
23:27:23*dtomato joined #nim
23:27:23*dtomato quit (Remote host closed the connection)
23:27:39*dtomato joined #nim
23:27:39*dtomato quit (Read error: Connection reset by peer)
23:27:56*dtomato joined #nim
23:27:56*dtomato quit (Read error: Connection reset by peer)
23:28:12*dtomato joined #nim
23:28:12*dtomato quit (Remote host closed the connection)
23:28:29*dtomato joined #nim
23:28:29*dtomato quit (Read error: Connection reset by peer)
23:28:46*dtomato joined #nim
23:28:46*dtomato quit (Remote host closed the connection)
23:29:33*dtomato joined #nim
23:29:33*dtomato quit (Remote host closed the connection)
23:29:50*dtomato joined #nim
23:29:50*dtomato quit (Read error: Connection reset by peer)
23:30:06*dtomato joined #nim
23:30:06*dtomato quit (Read error: Connection reset by peer)
23:30:22*dtomato joined #nim
23:30:22*dtomato quit (Read error: Connection reset by peer)
23:30:38*dtomato joined #nim
23:30:38*dtomato quit (Read error: Connection reset by peer)
23:30:55*dtomato joined #nim
23:30:55*dtomato quit (Read error: Connection reset by peer)
23:31:11*dtomato joined #nim
23:31:11*dtomato quit (Remote host closed the connection)
23:31:27*dtomato joined #nim
23:31:27*dtomato quit (Read error: Connection reset by peer)
23:31:44*dtomato joined #nim
23:31:44*dtomato quit (Read error: Connection reset by peer)
23:32:00*dtomato joined #nim
23:32:00*dtomato quit (Remote host closed the connection)
23:32:17*dtomato joined #nim
23:32:17*dtomato quit (Read error: Connection reset by peer)
23:32:34*dtomato joined #nim
23:32:34*dtomato quit (Remote host closed the connection)
23:33:06*dtomato joined #nim
23:33:06*dtomato quit (Remote host closed the connection)
23:33:38*dtomato joined #nim
23:33:38*dtomato quit (Read error: Connection reset by peer)
23:33:55*dtomato joined #nim
23:33:55*dtomato quit (Read error: Connection reset by peer)
23:34:11*dtomato joined #nim
23:34:11*dtomato quit (Remote host closed the connection)
23:34:28*dtomato joined #nim
23:34:28*dtomato quit (Read error: Connection reset by peer)
23:34:44*dtomato joined #nim
23:34:44*dtomato quit (Remote host closed the connection)
23:35:00*dtomato joined #nim
23:35:00*dtomato quit (Remote host closed the connection)
23:35:47*dtomato joined #nim
23:35:47*dtomato quit (Remote host closed the connection)
23:36:03*dtomato joined #nim
23:36:03*dtomato quit (Remote host closed the connection)
23:36:20*dtomato joined #nim
23:36:20*dtomato quit (Read error: Connection reset by peer)
23:36:36*dtomato joined #nim
23:36:36*dtomato quit (Read error: Connection reset by peer)
23:36:53*dtomato joined #nim
23:36:53*dtomato quit (Remote host closed the connection)
23:37:10*dtomato joined #nim
23:37:10*dtomato quit (Remote host closed the connection)
23:37:42*dtomato joined #nim
23:37:42*dtomato quit (Read error: Connection reset by peer)
23:38:14*dtomato joined #nim
23:38:14*dtomato quit (Read error: Connection reset by peer)
23:38:29*dtomato joined #nim
23:38:29*dtomato quit (Read error: Connection reset by peer)
23:38:46*dtomato joined #nim
23:38:46*dtomato quit (Remote host closed the connection)
23:39:02*dtomato joined #nim
23:39:02*dtomato quit (Read error: Connection reset by peer)
23:39:19*dtomato joined #nim
23:39:19*dtomato quit (Read error: Connection reset by peer)
23:39:35*dtomato joined #nim
23:39:35*dtomato quit (Read error: Connection reset by peer)
23:39:51*ad-absurdum joined #nim
23:40:08*dtomato joined #nim
23:40:08*dtomato quit (Remote host closed the connection)
23:40:40*dtomato joined #nim
23:40:40*dtomato quit (Remote host closed the connection)
23:40:57*dtomato joined #nim
23:40:57*dtomato quit (Remote host closed the connection)
23:41:13*dtomato joined #nim
23:41:13*dtomato quit (Read error: Connection reset by peer)
23:41:30*dtomato joined #nim
23:41:30*dtomato quit (Read error: Connection reset by peer)
23:42:17*dtomato joined #nim
23:42:17*dtomato quit (Remote host closed the connection)
23:42:49*dtomato joined #nim
23:42:49*dtomato quit (Remote host closed the connection)
23:43:05*dtomato joined #nim
23:43:05*dtomato quit (Read error: Connection reset by peer)
23:43:22*dtomato joined #nim
23:43:22*dtomato quit (Read error: Connection reset by peer)
23:43:39*dtomato joined #nim
23:43:39*dtomato quit (Read error: Connection reset by peer)
23:43:54*dtomato joined #nim
23:43:54*dtomato quit (Read error: Connection reset by peer)
23:44:04ad-absurdumI was trying to run the very first graphics examples from the beginning of the new Mastering Nim book. The pixels library seemed to install without problems, and the example program compiled, but when I ran it I got:
23:44:33ad-absurdumlibSDL2.so: cannot open shared object file: No such file or directory
23:44:39ad-absurdumcould not load: libSDL2.so
23:44:56*dtomato joined #nim
23:44:56*dtomato quit (Read error: Connection reset by peer)
23:45:12*dtomato joined #nim
23:45:12*dtomato quit (Read error: Connection reset by peer)
23:45:29*dtomato joined #nim
23:45:29*dtomato quit (Read error: Connection reset by peer)
23:45:45*dtomato joined #nim
23:45:45*dtomato quit (Read error: Connection reset by peer)
23:46:00ad-absurdumI have a recent version of SDL2 installed (Debian Linux), and libSDL2.so is in the /usr/local/lib/ directory, so I don't understand what the problem here is. Does anyone have any ideas?
23:46:01*dtomato joined #nim
23:46:01*dtomato quit (Read error: Connection reset by peer)
23:46:49*dtomato joined #nim
23:46:49*dtomato quit (Read error: Connection reset by peer)
23:47:21*dtomato joined #nim
23:47:21*dtomato quit (Remote host closed the connection)
23:47:37*dtomato joined #nim
23:47:37*dtomato quit (Read error: Connection reset by peer)
23:47:46*noeontheend quit (Ping timeout: 244 seconds)
23:47:53*dtomato joined #nim
23:47:53*dtomato quit (Remote host closed the connection)
23:48:10*dtomato joined #nim
23:48:10*dtomato quit (Read error: Connection reset by peer)
23:48:42*dtomato joined #nim
23:48:42*dtomato quit (Read error: Connection reset by peer)
23:49:29*dtomato joined #nim
23:49:29*dtomato quit (Remote host closed the connection)
23:49:46*dtomato joined #nim
23:49:46*dtomato quit (Remote host closed the connection)
23:50:02*dtomato joined #nim
23:50:02*dtomato quit (Read error: Connection reset by peer)
23:50:19*dtomato joined #nim
23:50:19*dtomato quit (Read error: Connection reset by peer)
23:51:36*dtomato joined #nim
23:51:36*dtomato quit (Remote host closed the connection)
23:51:53*dtomato joined #nim
23:51:53*dtomato quit (Remote host closed the connection)
23:52:09*dtomato joined #nim
23:52:09*dtomato quit (Read error: Connection reset by peer)
23:52:26*dtomato joined #nim
23:52:26*dtomato quit (Read error: Connection reset by peer)
23:52:41*dtomato joined #nim
23:52:41*dtomato quit (Remote host closed the connection)
23:52:58*dtomato joined #nim
23:52:58*dtomato quit (Read error: Connection reset by peer)
23:54:00*dtomato joined #nim
23:54:00*dtomato quit (Remote host closed the connection)
23:54:17*dtomato joined #nim
23:54:17*dtomato quit (Read error: Connection reset by peer)
23:54:33*dtomato joined #nim
23:54:33*dtomato quit (Remote host closed the connection)
23:54:50*dtomato joined #nim
23:54:50*dtomato quit (Read error: Connection reset by peer)
23:55:37*dtomato joined #nim
23:55:37*dtomato quit (Read error: Connection reset by peer)
23:56:09*dtomato joined #nim
23:56:09*dtomato quit (Read error: Connection reset by peer)
23:56:26*dtomato joined #nim
23:56:26*dtomato quit (Read error: Connection reset by peer)
23:56:42*dtomato joined #nim
23:56:42*dtomato quit (Read error: Connection reset by peer)
23:56:58*dtomato joined #nim
23:56:58*dtomato quit (Read error: Connection reset by peer)
23:57:14*dtomato joined #nim
23:57:14*dtomato quit (Remote host closed the connection)
23:57:30*dtomato joined #nim
23:57:30*dtomato quit (Read error: Connection reset by peer)
23:57:41FromDiscord<zhmtzhmt> sent a code paste, see https://play.nim-lang.org/#ix=446N
23:57:46*dtomato joined #nim
23:57:46*dtomato quit (Read error: Connection reset by peer)
23:58:03*dtomato joined #nim
23:58:03*dtomato quit (Remote host closed the connection)
23:58:20*dtomato joined #nim
23:58:20*dtomato quit (Read error: Connection reset by peer)
23:58:37*dtomato joined #nim
23:58:37*dtomato quit (Remote host closed the connection)
23:58:53*dtomato joined #nim
23:58:53*dtomato quit (Read error: Connection reset by peer)
23:59:10*dtomato joined #nim
23:59:10*dtomato quit (Remote host closed the connection)
23:59:24FromDiscord<zhmtzhmt> sent a code paste, see https://play.nim-lang.org/#ix=446O
23:59:42*dtomato joined #nim
23:59:42*dtomato quit (Remote host closed the connection)