<< 22-04-2025 >>

00:14:35FromDiscord<summarity> Hopefully simple template question: the first example (commented out) fails to compile. How can I escape(?) the parameter name? It needs to have the same name as the object field: https://play.nim-lang.org/#pasty=pYXpxFJw
00:16:43FromDiscord<Prestige> How do I set up a project locally to be used by other projects? I thought nimble develop used to do this
00:17:17FromDiscord<Prestige> I am updating the x11 library and want to test the changes with my window manager, but it's just using the official x11 package I have downloaded via nimble
00:21:52FromDiscord<Elegantbeef> @summarity You cannot
00:22:02FromDiscord<Elegantbeef> Templates replace all instances of their parameters
00:22:28FromDiscord<Elegantbeef> @Prestige With the state of modern nimble I just do `--path:/path/to/lib` myself
00:23:18FromDiscord<Prestige> it's also annoying because I can't jump to the correct x11 definitions
00:23:37FromDiscord<Prestige> I remember doing this in the past but I guess nimble broke/removed this feature
00:23:57FromDiscord<Elegantbeef> They changed what `devel` did to reduce the issue of "Hey I tested this and it worked"
00:24:09FromDiscord<Elegantbeef> You can do `nimble develop -g` supposedly but I've never had it work
00:24:32FromDiscord<Prestige> Yeah, that's creating a symlink in the wrong directory so my editor can't find it
00:25:02FromDiscord<Prestige> it also fails to build, lol idk what nimble develop -g is supposed to be doing
00:25:20FromDiscord<Elegantbeef> It was supposed to replicate old develop but yea it's a big "well not"
00:25:38FromDiscord<Prestige> has nothing replaced nimble/
00:25:46FromDiscord<Elegantbeef> Nope
00:25:48FromDiscord<Prestige> it seems like things have gotten even worse over time
00:29:49FromDiscord<devlop_gaming> sent a code paste, see https://play.nim-lang.org/#pasty=cohFjprc
00:29:52FromDiscord<Elegantbeef> heh the new solver really takes time to work so it does seem that way
00:30:28FromDiscord<Robyn [She/Her]> as in, when developing a game? the editor?โ†ต(@devlop_gaming)
00:31:38FromDiscord<Robyn [She/Her]> I'd recommend giving Godot a look, it has relatively low requirements\: https://docs.godotengine.org/en/stable/about/system_requirements.html
00:31:45FromDiscord<devlop_gaming> In reply to @Robyn "as in, when developing": Yea the engine is so heavy it's hard to even perform simple tasks like importing images or even moving objects smoothly due to lag
00:32:08FromDiscord<Robyn [She/Her]> there's also some Nim bindings to Godot's API too
00:32:30FromDiscord<theloserscandy> In reply to @nebulousiris "Have any of you": Did yo uever get this working on your end?
00:32:42FromDiscord<Prestige> @ElegantBeef I just manually created a symlink with a bogus name in `~/.nimble/pkgs2/` - plz tell me things aren't this broken
00:32:45FromDiscord<theloserscandy> (edit) "yo uever" => "you ever"
00:32:47FromDiscord<nebulousiris> In reply to @theloserscandy "Did you ever get": Yeah,
00:32:49FromDiscord<Prestige> at least it's compiling
00:33:07FromDiscord<Elegantbeef> @Prestige I haven't used `develop` since the changes to it
00:33:11FromDiscord<devlop_gaming> In reply to @Robyn "there's also some Nim": Godot is a little laggy andalso it doesn't fit my needs rn
00:33:14FromDiscord<Elegantbeef> I just use path when needed
00:33:31FromDiscord<Robyn [She/Her]> Fair enoughโ†ต(@devlop_gaming)
00:33:34FromDiscord<Elegantbeef> I don't get the proper way to do it, but perhaps it's localdeps or something
00:33:36FromDiscord<devlop_gaming> If i wanted to use godot i wouldn't bother with nim
00:33:36FromDiscord<Prestige> I couldn't get the path working
00:33:39FromDiscord<theloserscandy> In reply to @nebulousiris "Yeah,": I can't count the number of hours it took for me to get it working right
00:34:04FromDiscord<Robyn [She/Her]> Could directly use Raylib (or Naylib, the Nim bindings) if you're going for dev speed, too
00:34:08FromDiscord<Elegantbeef> `nim c --path:/path/to/your/lib/src ...`
00:34:09FromDiscord<Robyn [She/Her]> gotchaโ†ต(@devlop_gaming)
00:34:52FromDiscord<devlop_gaming> In reply to @Robyn "Could directly use Raylib": I'm not going for speed and also raylib kinda strips away the learning process well for the stuff i wanna learn anyway
00:35:13FromDiscord<Prestige> In reply to @Elegantbeef "`nim c --path:/path/to/your/lib/src ...`": yeah, tried for the x11 library and it just said it couldn't find x11. But manually symlinking it in ~/.nimble/pkgs2 worked
00:36:00FromDiscord<Robyn [She/Her]> Fair o7โ†ต(@devlop_gaming)
00:36:05FromDiscord<devlop_gaming> sent a code paste, see https://play.nim-lang.org/#pasty=JBumJOIY
00:36:28FromDiscord<devlop_gaming> I did this in scratch and even in python twice and somehow forgot ๐Ÿคฆโ€โ™‚๏ธ
00:37:47FromDiscord<Elegantbeef> It seems like you might be able to do `nimble develop $URL_TO_YOU_X11_REPO` and it'll clone it in a local folder, but it'd be nice for `-g` to work as it used to
00:38:44FromDiscord<theloserscandy> One issue that just popped up today is autoformatting. Maybe it's cause i'm using the Zed Nightly. Any other Zed users using nph pr nimsuggest having the same issue?
00:40:09FromDiscord<Prestige> In reply to @Elegantbeef "It seems like you": yeah, really want local development to have live changes
00:40:24FromDiscord<devlop_gaming> I can't figure this out
00:42:58FromDiscord<Elegantbeef> @Prestige Perhaps someone should make an issue requesting documenting how to replicate the old develop -g experience. Though I know status is like "That's bad mmk, too error prone"
00:44:46FromDiscord<Elegantbeef> It really shouldn't be this much of a hassle to develop two disjointed packages
00:47:02FromDiscord<Prestige> Yeah, seriously
00:48:16FromDiscord<Elegantbeef> Nudge nudge
00:48:43*amadaluzia_ joined #nim
00:58:18FromDiscord<Prestige> I don't think I'll be the one to do it
00:58:47FromDiscord<Prestige> I've moved away from the language due to the poor developer experience
01:03:50FromDiscord<Elegantbeef> You won't even make an issue to aid it in being slightly more richer
01:09:33FromDiscord<devlop_gaming> https://tenor.com/view/dancing-duck-dance-duck-duck-ooontz-dance-gif-10943740227711557279
01:18:21*amadaluz- joined #nim
01:18:53*derpydoo joined #nim
01:22:01*amadaluzia_ quit (Ping timeout: 276 seconds)
01:35:15FromDiscord<devlop_gaming> My old story engine helped me out๐Ÿ˜ฎ
02:03:26*amadaluz- quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.)
02:32:11*xet7 joined #nim
03:29:35FromDiscord<Laylie> I've managed to get `nimble develop -a:path/to/thing` (or something) working in a localdeps project, but it seems to have a strange dependency on / interaction with lock files
03:29:46FromDiscord<Robyn [She/Her]> In reply to @avahe "I've moved away from": anything specific you can point to? curious and yeah Nim can be a real turn off at times
03:30:29FromDiscord<Robyn [She/Her]> i just need to make my own TOML parser and then I can replace Nimble with something superior ๐Ÿ˜”
03:30:37FromDiscord<Robyn [She/Her]> mostly jk
03:31:15FromDiscord<DetermiedNim1> futhark is so awesome
03:32:28FromDiscord<DetermiedNim1> i remember in my baby nim days looking at <https://github.com/nim-lang/lua> and thinking "wtf am i looking at"
03:53:48FromDiscord<Elegantbeef> Now you do the same thing?
03:56:55FromDiscord<devlop_gaming> In reply to @determiedmech1 "futhark is so awesome": Why use that when you can enjoy the experience of writing wrappers by hand๐Ÿ˜Š
03:58:41FromDiscord<Laylie> designing an idiomatic api on top of the raw bindings is much more interesting
04:00:20FromDiscord<devlop_gaming> Tho I wouldn't write a huge library by hand. I don't need my hands crampin๐Ÿ˜…
04:00:45FromDiscord<DetermiedNim1> In reply to @devlop_gaming "Why use that when": ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜
04:00:56FromDiscord<DetermiedNim1> In reply to @Elegantbeef "Now you do the": yeah
04:01:13FromDiscord<DetermiedNim1> then I was like "lemme try doing this by hand"
04:01:21FromDiscord<DetermiedNim1> and that was kinda tedious
04:01:33FromDiscord<DetermiedNim1> then I thought "oh wait what about futhark"
04:01:42FromDiscord<DetermiedNim1> and I got it working in like 5 seconds
04:02:02FromDiscord<DetermiedNim1> `#define` stuff doesn't seem to work
04:02:06FromDiscord<DetermiedNim1> like pcall
04:02:12FromDiscord<DetermiedNim1> (edit) "`#define` stuff doesn't seem to work ... " added "tho"
04:02:18FromDiscord<DetermiedNim1> and loadstring
04:02:34FromDiscord<DetermiedNim1> so I had to use pcallk and loadlstring
04:02:40FromDiscord<DetermiedNim1> womp womp
04:03:37FromDiscord<devlop_gaming> In reply to @determiedmech1 "๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜": ๐Ÿ‘€
04:04:12FromDiscord<DetermiedNim1> I'll make my own module thing for it at some point
04:04:16FromDiscord<DetermiedNim1> this is just easier
05:24:12FromDiscord<eebahn> In reply to @battery.acid.bubblegum "i just need to": I'd help you with that 100%, but you don't seem committed to the task. So I never offered it before ๐Ÿ™ˆ
05:25:43FromDiscord<eebahn> The part that worries me personally is dependency solving. There is already a sat solver somewhere for nim, but its code style breaks my brain a ton, so it scared me away
05:27:49FromDiscord<sOkam (alt)> I really like the design of cargo too. Its brilliant
05:28:23*SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev)
05:38:12FromDiscord<devlop_gaming> My ram is cooked๐Ÿซ 
06:17:46*SchweinDeBurg joined #nim
06:44:16*delvarus joined #nim
06:50:11*skippy8 joined #nim
07:55:17*skippy8 quit (Quit: WeeChat 4.4.2)
07:55:44*skippy8 joined #nim
08:18:40*amadaluzia quit (Ping timeout: 276 seconds)
08:19:07*amadaluzia joined #nim
08:51:44FromDiscord<litlighilit> Hey why https://github.com/nim-lang/nimforum/issues/126 haven't fixed yet๐Ÿ˜….โ†ตI just changed my email and be thrown as "moderated" again...
08:51:49FromDiscord<litlighilit> Hey why https://github.com/nim-lang/nimforum/issues/126 haven't been fixed yet๐Ÿ˜….โ†ตI just changed my email and was thrown as "moderated" again...
08:55:17FromDiscord<nnsee> In reply to @litlighilit "Hey why https://github.com/nim-lang/nimforum/issues": because nobody's gotten around to it :p
09:09:25*beholders_eye joined #nim
09:14:57*amadaluzia quit (Remote host closed the connection)
09:16:02FromDiscord<tauruuuuuus> In reply to @avahe "How do I set": I think atlas with `atlas link` solves this
10:02:48*derpydoo quit (Quit: derpydoo)
12:02:37FromDiscord<Robyn [She/Her]> In reply to @eebahn "I'd help you with": yeah it's something i struggle with, staying focused i mean :p
12:02:51FromDiscord<Robyn [She/Her]> i am taking inspiration from Cargo tho
12:19:54*delvarus quit (Quit: Leaving)
12:30:40FromDiscord<lainlaylie> ๐Ÿง link to 2.2.4 announcement where
12:32:23FromDiscord<nnsee> wasn't it there just a second ago?
12:40:14FromDiscord<devlop_gaming> Is there an application I can use to detect memory issues?
12:40:25FromDiscord<odexine> valgrind
12:43:17FromDiscord<narimiran> sent a long message, see https://pasty.ee/FvqNOeud
12:52:39*sh4 left #nim (Leaving)
13:12:17FromDiscord<enthus1ast.> In reply to @litlighilit "Hey why https://github.com/nim-lang/nimforum/issues": Why does an email change triggers a rank change in the first place..
13:15:35FromDiscord<nnsee> In reply to @enthus1ast. "Why does an email": because business-logic wise, they need to verify their e-mail again
13:16:17FromDiscord<enthus1ast.> So an moderator or administrator suddenly become moderated role?
13:16:25FromDiscord<enthus1ast.> Makes no sense
13:17:33FromDiscord<nnsee> In reply to @enthus1ast. "So an moderator or": why would that happen? admins should be able to change emails to anything without having to verify
13:17:45FromDiscord<nnsee> but yes - the role should be separate from the email verification status
13:17:54FromDiscord<nnsee> that's why this bug exists :)
13:18:01FromDiscord<enthus1ast.> Yes
13:20:10FromDiscord<enthus1ast.> The thing is, it was unclear to me if the forum is basically on dev pause, since PR got not merged and no new version was rolled out, so I stopped working at the forum ๐Ÿ™‚
13:20:31FromDiscord<enthus1ast.> (edit) "at" => "on"
13:41:52*beholders_eye quit (Ping timeout: 244 seconds)
14:05:02FromDiscord<tauruuuuuus> In reply to @narimiran "**Nim 2.2.4 is out!!**": my AVR stuff seems not to be broken from this release, as always, yay ๐Ÿฅณ thanks for the hard work
14:41:58*skippy8 quit (Quit: WeeChat 4.4.2)
14:42:22*skippy8 joined #nim
15:15:42*amadaluzia joined #nim
15:35:09*delvarus joined #nim
15:47:55*ntat joined #nim
15:50:00FromDiscord<xtrayambak> In reply to @devlop_gaming "Why use that when": I actually like doing handwritten wrappers for some reason. I'm just insane, I guess. Futhark has always been a hit-or-miss for me.
15:50:08*amadaluzia quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.)
16:11:07FromDiscord<Robyn [She/Her]> In reply to @enthus1ast. "The thing is, it": maybe it's time for a new forum atp
16:11:51FromDiscord<enthus1ast.> You mean to replace the current one or in addition?
16:11:54FromDiscord<Robyn [She/Her]> https://freeflarum.com/ Flarum is pretty nice
16:12:06FromDiscord<Robyn [She/Her]> In reply to @enthus1ast. "You mean to replace": To replace the current one, after a migration
16:12:34FromDiscord<enthus1ast.> But dogfooding...
16:12:38FromDiscord<Robyn [She/Her]> Maybe a period where both run at the same time for a bit, just to encourage migration to the new forum
16:13:02FromDiscord<Robyn [She/Her]> In reply to @enthus1ast. "But dogfooding...": what does that mean?
16:13:05FromDiscord<enthus1ast.> I think it's cool that the forum is written in nim as well
16:13:52FromDiscord<enthus1ast.> Eat your own dogfood I meant (if that's the saying)
16:14:13FromDiscord<enthus1ast.> And it's also not too bad
16:15:07FromDiscord<Robyn [She/Her]> In reply to @enthus1ast. "I think it's cool": it's cool but many small issues and bugs are piling up and no-one is really working on it
16:15:54FromDiscord<Robyn [She/Her]> In reply to @enthus1ast. "Eat your own dogfood": I don't really get the meaning, even after searching it up, are you saying that about Flarum or Nim Forum?
16:18:13FromDiscord<enthus1ast.> https://en.m.wikipedia.org/wiki/Eating_your_own_dog_food
16:18:42FromDiscord<enthus1ast.> I meant, we as a community build stuff that we actually use in production
16:19:18FromDiscord<enthus1ast.> Imagine a JS Community would use a PHP forum
16:20:46*beholders_eye joined #nim
16:23:00FromDiscord<Laylie> i like the idea of our forum being written in nim but it seems like we lack the resources to maintain it effectively, both in terms of the software and the administration
16:25:07*xtr00 quit (Ping timeout: 252 seconds)
16:28:34*xtr00 joined #nim
16:31:45*xtr00 quit (Read error: Connection reset by peer)
16:37:24*xtr00 joined #nim
16:42:10*xtr00 quit (Ping timeout: 252 seconds)
16:42:39*xtr00 joined #nim
16:48:14*xtr00 quit (Read error: Connection reset by peer)
16:50:56*xtr00 joined #nim
16:56:14*beholders_eye quit (Ping timeout: 260 seconds)
17:04:59*xtr00 quit (Ping timeout: 245 seconds)
17:12:16*xtr00 joined #nim
17:15:13*zgasma joined #nim
17:30:01*xtr00 quit (Ping timeout: 244 seconds)
17:48:17*xtr00 joined #nim
18:25:44*delvarus quit (Quit: Leaving)
18:51:33*xtr00 quit (Ping timeout: 248 seconds)
18:52:52*xtr00 joined #nim
19:03:28*xtr00 quit (Ping timeout: 276 seconds)
19:04:28FromDiscord<penguinite> I do wonder if it'd be worth it to re-write nimforum but I know that requires far more time and energy than just fixing nimforum's bugs as they show up
19:04:29*xtr00 joined #nim
19:07:53*beholders_eye joined #nim
19:46:10*xtr00 quit (Ping timeout: 265 seconds)
19:48:00*xtr00 joined #nim
20:00:34*void09 quit (Ping timeout: 260 seconds)
20:09:06*void09 joined #nim
20:10:15*void09 quit (Client Quit)
20:10:51*void09 joined #nim
20:33:30*xtr00 quit (Ping timeout: 272 seconds)
20:34:37*amadaluzia joined #nim
20:35:48*amadaluzia quit (Remote host closed the connection)
20:36:07*amadaluzia joined #nim
20:36:08*amadaluzia quit (Remote host closed the connection)
20:36:27*amadaluzia joined #nim
20:39:12*xtr00 joined #nim
20:41:03*amadaluzia quit (Remote host closed the connection)
20:41:23*amadaluzia joined #nim
20:44:46FromDiscord<treeform> What changes did you make?
20:45:12FromDiscord<treeform> In reply to @enthus1ast. "well, i work on": What changes did you make?
20:48:07*amadaluzia quit (Ping timeout: 244 seconds)
20:48:51*ntat quit (Quit: leaving)
20:48:53*amadaluzia joined #nim
20:49:34*amadaluzia quit (Remote host closed the connection)
20:49:56*amadaluzia joined #nim
20:51:04*amadaluzia quit (Remote host closed the connection)
20:51:23*amadaluzia joined #nim
21:06:53*amadaluzia quit (Remote host closed the connection)
21:07:12*amadaluzia joined #nim
21:07:14*beholders_eye quit (Ping timeout: 244 seconds)
21:27:03*void09 quit (Read error: Connection reset by peer)
21:27:17*void09 joined #nim
22:04:43*skippy8 quit (Quit: WeeChat 4.4.2)
22:05:10*skippy8 joined #nim
22:11:07*xtr00 quit (Ping timeout: 252 seconds)
22:11:10FromDiscord<spotlightkid> This.
22:12:24FromDiscord<spotlightkid> atm, the forum is pretty crappy, if you ask me, and not a good figurehead for Nim's web dev capabilities.
22:13:04*xtr00 joined #nim
22:44:02*amadaluzia quit (Read error: Connection reset by peer)
22:44:17*amadaluzia joined #nim
22:48:21*amadaluzia quit (Ping timeout: 248 seconds)
22:48:36*amadaluzia joined #nim
22:54:41*amadaluzia quit (Remote host closed the connection)
22:58:15FromDiscord<Robyn [She/Her]> If `1979-05-27T00:32:00.999999-07:00` is relative to UTC time and `1979-05-27T00:32:00.999999+07:00` is relative to local time
22:58:53FromDiscord<Robyn [She/Her]> How would I set the time for UTC+1 and UTC-1?
23:00:00FromDiscord<Robyn [She/Her]> https://datatracker.ietf.org/doc/html/rfc3339#section-4.3
23:10:02FromDiscord<Robyn [She/Her]> Nvm I misunderstood it: pk!e > If the time in UTC is known, but the offset to local time is unknown, this can be represented with an offset of "-00:00". This differs semantically from an offset of "Z" or "+00:00", which imply that UTC is the preferred reference point for the specified time. RFC2822 [IMAIL-UPDATE] describes a similar convention for email.
23:10:08FromDiscord<Robyn [She/Her]> (edit) "it: pk!e >" => "it:>"
23:10:14FromDiscord<Robyn [She/Her]> (edit) "it:>" => "it:โ†ต>"
23:28:15FromDiscord<devlop_gaming> sent a code paste, see https://play.nim-lang.org/#pasty=GTnkZcvN
23:52:42*skippy8 quit (Quit: WeeChat 4.4.2)
23:53:59*skippy8 joined #nim