<< 22-06-2024 >>

00:39:41*krux02_ joined #nim
00:42:15*krux02 quit (Ping timeout: 264 seconds)
02:05:25*lucasta joined #nim
02:25:35*krux02_ quit (Remote host closed the connection)
02:31:29*rockcavera quit (Remote host closed the connection)
03:04:12FromDiscord<usawiniko> In reply to @Elegantbeef "It did provide typesafety": lol i remember starting w nim, new to programming and being super confused as to what tainted strings were
03:04:21FromDiscord<usawiniko> (edit) "w" => "with"
03:12:42FromDiscord<Elegantbeef> Yea it is a good idea but terrible UX
03:12:42FromDiscord<Elegantbeef> A prime example is that there should be a bit of thought from `socket.readStr` and `execShellCmd`
03:25:59*lucasta quit (Quit: Leaving)
05:54:36*disso-peach quit (Quit: Leaving)
06:34:58*ntat joined #nim
06:47:10FromDiscord<Phil> sent a long message, see https://pasty.ee/eNobVuyj
06:47:40FromDiscord<Elegantbeef> `nnkCallKinds` is a set of enums
06:48:01FromDiscord<Phil> Ah, that.... might suck a lot then
06:48:19FromDiscord<Phil> Okay yeah that contains infix
06:51:14FromDiscord<Phil> @can.l does owlkettle make use of infix operator calls? Like, does that work?
06:51:49FromDiscord<Phil> I'm trying to evaluate whether I can just add special case handling for infix if it's not working in any other case anyway, I can't recall any owlkettle syntax where I ever used infix thus I'm wondering if that'd actually break anything
06:54:15FromDiscord<Elegantbeef> `of nnkCallKinds - {nnkInfix}` and find out
06:58:24FromDiscord<Phil> Compiling the examples says everything still compiles if you do that
07:00:17FromDiscord<Elegantbeef> the test suite passes!
07:00:18FromDiscord<Elegantbeef> πŸ˜›
07:06:46FromDiscord<Phil> Man, messing with other folks DSL is rough, which is why I tend to go over-documentative on whenever I do macros
07:40:22*xet7 joined #nim
07:47:32FromDiscord<Phil> Alright, I don't get the structure, can will need to educate me here
07:59:40FromDiscord<nnsee> In reply to @isofruit "Alright, I don't get": took me a moment to parse the second part of that sentence
08:04:01*ntat quit (Quit: Leaving)
08:17:00*coldfeet joined #nim
08:24:37FromDiscord<sarharmiha> sent a long message, see https://pasty.ee/nQquzOXB
08:26:00FromDiscord<leorize> Phil (he/him)
08:27:45*redj quit (Quit: No Ping reply in 180 seconds.)
08:29:12*redj joined #nim
08:33:14FromDiscord<nnsee> <@&371760044473319454>
08:33:23FromDiscord<nnsee> In reply to @leorize "Phil (he/him)": pretty sure that didn't ping
08:35:33FromDiscord<leorize> it does, on matrix
08:35:40FromDiscord<nnsee> ah
08:35:40FromDiscord<leorize> it just that Phil is not a matrix user
08:36:06FromDiscord<nnsee> i love what the spammer said in #science, so inspiring https://media.discordapp.net/attachments/371759389889003532/1253991890228084776/Screenshot_20240622-113503_Firefox.png?ex=6677de74&is=66768cf4&hm=849994bf33022babd3f4afc0db7d72031db60e0a5564fb1b7daa6cd95b964e84&
08:36:44FromDiscord<leorize> lmao it's probably because I banned them faster than the bridge receiving message
09:01:45FromDiscord<sirius_3x> does anyone know if illwill also works on ios or android?
09:06:31*ntat joined #nim
09:07:03*beholders_eye joined #nim
09:07:22FromDiscord<demotomohiro> I never used it but It might work on termux as it works like linux terminal.
09:11:45*beholders_eye quit (Ping timeout: 252 seconds)
09:28:18FromDiscord<ieltan> In reply to @leorize "past discussions about stdlib\:": That was one hell of a read to say the least 😬
09:30:12FromDiscord<ieltan> In reply to @leorize "my head canon is": I think it looked like the people are interested but they just don't want their work to be for nothing/rejected/not-used
10:31:25*nyeaa49284230101 quit (Quit: The Lounge - https://thelounge.chat)
10:34:09*nyeaa49284230101 joined #nim
10:45:29*xtr00 joined #nim
11:24:04FromDiscord<Phil> sent a code paste, see https://play.nim-lang.org/#pasty=tIjtAifM
11:24:21FromDiscord<Phil> (edit) "https://play.nim-lang.org/#pasty=ZIhmKwYg" => "https://play.nim-lang.org/#pasty=NajyjeFQ"
11:29:41FromDiscord<rakgew> nice - congrats!! \:-D
11:31:59FromDiscord<Phil> I mean, still needs can.l's seal of approval if we event want this syntax
11:32:56FromDiscord<Phil> (as in, the entire `<Widget> as <someStateRefVariable>` for "capturing" a reference to the GtkWidget instance of ScrolledWindow here)
13:09:18*coldfeet quit (Remote host closed the connection)
13:10:01*lucasta joined #nim
13:27:29*lucasta quit (Quit: Leaving)
14:02:51*xaltsc_ is now known as xaltsc
14:03:21*xaltsc is now known as Guest6536
14:03:57*Guest6536 quit (Changing host)
14:03:57*Guest6536 joined #nim
14:12:08FromDiscord<leorize> Phil, a spammer entered the room on matrix side
14:12:34FromDiscord<leorize> I just cleaned it up on game dev but can't do it here
14:25:40FromDiscord<Phil (he/him)> leorize\: Which one is it?
14:26:32FromDiscord<Phil (he/him)> Found them, it was like\_kate009
14:28:37FromDiscord<leorize> nim really needs a mjolnir instance...
14:35:13FromDiscord<melmass> Hello, is there a way to ignore nimble's lock file?
14:36:54FromDiscord<melmass> I'm trying to do `nimble install -f nimlangserver@#master` but it complains about nim mismatch (I use devel that apparently got removed from the [lock](https://github.com/nim-lang/langserver/commit/fd4519158566d1247e58b1cc6febce6ddb6bf0b5))
14:37:18FromDiscord<melmass> sent a code paste, see https://play.nim-lang.org/#pasty=FOAGbjPE
14:37:33FromDiscord<melmass> (edit) "https://play.nim-lang.org/#pasty=sXJLagjN" => "https://play.nim-lang.org/#pasty=OCVPNqyF"
14:37:46FromDiscord<leorize> clone the git repo, remove the lock file
14:37:50FromDiscord<leorize> then nimble build it
14:38:03FromDiscord<melmass> Thanks
14:41:11FromDiscord<melmass> Is there a local install command?
14:41:24FromDiscord<leorize> yes
14:41:31FromDiscord<leorize> nimble install
14:41:40FromDiscord<melmass> Oh no arg! πŸ˜… nice thanks
14:42:00FromDiscord<melmass> I tried `.` instinctively
14:42:09FromDiscord<melmass> Success! Thanks
14:42:12FromDiscord<leorize> locally installing is just copying the built executable to bin \:p
14:42:28FromDiscord<melmass> sent a code paste, see https://play.nim-lang.org/#pasty=GNbFhcOp
14:43:29FromDiscord<melmass> In reply to @leorize "locally installing is just": Yes like most "install" step but it's a nice QOL imo
15:34:54FromDiscord<Robyn [She/Her]> Is `asdf` a good alternative to `choosenim`? As long as I can install multiple Nim versions and switch between them with ease, that'd be great tbh
15:35:55FromDiscord<Phil> never used it, only choosenim and gitnim
15:36:07FromDiscord<Phil> gitnim was pretty alright, but choosenim also worked for me so I kept using that
15:41:11FromDiscord<Robyn [She/Her]> Fair
15:49:14FromDiscord<kots> Asdf in general has worked well for me, but I haven't used asdf-nim. If it works at all, it's probably better than choosenim
15:49:35FromDiscord<leorize> anything is better than choosenim \:p
15:51:01FromDiscord<leorize> idk if `asdf-nim` works but `asdf-nimskull` sure does xd
15:51:20FromDiscord<Robyn [She/Her]> Also fair lol
15:58:38*ntat quit (Quit: Leaving)
16:28:05*coldfeet joined #nim
16:49:30*Jhonny2x4 quit (Quit: Jhonny2x4)
16:50:22*Jhonny2x4 joined #nim
16:55:42*Jhonny2x4 quit (Quit: Jhonny2x4)
16:55:51*Jhonny2x4 joined #nim
16:56:06FromDiscord<tauruuuuuus> In reply to @leorize "idk if `asdf-nim` works": Hey! I see you talk a lot about the nimskull fork, are you in the skull team?
16:56:18*Jhonny2x4 quit (Client Quit)
16:56:27*Jhonny2x4 joined #nim
16:56:39FromDiscord<tauruuuuuus> If so, am I correct in my understanding of that skull does not support "minor" architectures such as AVR and similar MCU families?
16:59:11*ntat joined #nim
17:02:31*Jjp137 quit (Ping timeout: 268 seconds)
17:18:34*Jjp137 joined #nim
17:43:54FromDiscord<leorize> not officially supported, as in we can't be sure that it will work↡(@tauruuuuuus)
17:44:17FromDiscord<leorize> but we will provide help to get things working if there's interest
18:06:03FromDiscord<Robyn [She/Her]> Should operator precedence (and operators in general) be stored using the `ParserState` object?
18:33:03FromDiscord<leorize> you tell me
18:33:23FromDiscord<leorize> it's a parser combinator, so you just combine parsers
18:42:14FromDiscord<Robyn [She/Her]> In reply to @leorize "you tell me": It'd make parsing easier since I want to be able to define custom operators in the language, so probably yes?
18:43:10FromDiscord<Robyn [She/Her]> In reply to @leorize "it's a parser combinator,": I can't define a concept for states unfortunately so I have to use a parser state I define myself
18:45:00FromDiscord<leorize> why concept
18:45:06FromDiscord<leorize> concept is not composable
18:45:32FromDiscord<Robyn [She/Her]> In reply to @leorize "why concept": To avoid references
18:45:54FromDiscord<Robyn [She/Her]> Though ig `sink` also means I don't need to care about ref semantics
18:45:58FromDiscord<leorize> why avoid references?
18:46:04FromDiscord<Robyn [She/Her]> Mostly, at least
18:48:10FromDiscord<Robyn [She/Her]> In reply to @leorize "why avoid references?": `numParser or strParser`, makes it so restoring the state is as easy as saving it in a variable, but I guess with the way I designed it, since the state is always returned anyway, it doesn't matter
18:49:34FromDiscord<leorize> you can always define your own base type with a clone method, like java
18:55:03*NimEventer quit (Ping timeout: 268 seconds)
18:56:51FromDiscord<Robyn [She/Her]> In reply to @leorize "you can always define": True, but eh, not that big of a deal
19:00:40*NimEventer joined #nim
19:22:48*coldfeet quit (Remote host closed the connection)
20:03:34*ntat quit (Quit: Leaving)
21:26:23*krux02 joined #nim
22:53:39*xet7 quit (Ping timeout: 264 seconds)
23:06:01*xet7 joined #nim
23:27:28*xtr00 quit (Ping timeout: 250 seconds)
23:57:42*xet7 quit (Quit: Leaving)