<< 05-10-2024 >>

00:00:12*albe quit (Quit: The Lounge - https://thelounge.chat)
00:03:25*albe joined #nim
01:21:01FromDiscord<Nlits (Ping on reply)> How would i get the nimble/bin directory from within a nimble file
02:41:04*def- quit (Quit: -)
02:41:16*def- joined #nim
02:53:55FromDiscord<random.visitor> sent a code paste, see https://play.nim-lang.org/#pasty=HvAIttbC
02:54:31FromDiscord<Elegantbeef> `template`?
03:04:38FromDiscord<Nlits (Ping on reply)> In reply to @nlits "How would i get": Wasn't there like a nimble info command or something that i could grep to get this? I remember asking something similar before
03:10:45FromDiscord<random.visitor> template looks like it gets me closer to what I want to do rather than macros etc
03:10:55FromDiscord<random.visitor> let me read docs more carefully
03:16:44FromDiscord<random.visitor> so template looks good, now I'm stuck on the examine proc to pull out arguments it takes and insert it into the generated function, but introspection should get me at least half way there
03:22:58FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=jCkFyuAG
03:24:55FromDiscord<Elegantbeef> Tangentially related for anonymous procs I did really like this macro I recently wrote https://play.nim-lang.org/#pasty=OdQfFPUs
03:28:44*cnx quit (Ping timeout: 265 seconds)
03:32:27*cnx joined #nim
04:12:47FromDiscord<eightbit_dboy> I need to get back to work on that raylib4consoles wrapper.
04:20:23FromDiscord<determiedmech1> quick question chat
04:20:29FromDiscord<determiedmech1> in https://nim-lang.org/docs/tut2.html#templates
04:20:42FromDiscord<determiedmech1> it says this https://media.discordapp.net/attachments/371759389889003532/1291978347731226737/image.png?ex=67021019&is=6700be99&hm=c90f4d98f315f26664f84e56d39b61766bed3343b85c8adaf6087f9477c6058a&
04:21:58FromDiscord<determiedmech1> actually nvm
04:33:21*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
04:44:57*SchweinDeBurg joined #nim
05:50:15*m5zs7k quit (Ping timeout: 276 seconds)
06:13:41*m5zs7k joined #nim
08:40:20FromDiscord<random.visitor> thanks for the macro link - that's helped a lot
08:40:32*coldfeet joined #nim
08:44:17FromDiscord<random.visitor> https://play.nim-lang.org/#pasty=JolrpFph is getting close to what I want. now to add the body part
10:07:38*mahlon quit (Ping timeout: 255 seconds)
10:10:52*mahlon joined #nim
10:23:18*mahlon quit (Ping timeout: 252 seconds)
10:26:02*mahlon joined #nim
10:26:15FromDiscord<k7v.> hi
10:26:26FromDiscord<k7v.> i need t change my mb uuid
10:26:37FromDiscord<k7v.> i tried in dmi editor it wont save
10:26:47FromDiscord<k7v.> my mb is asus prime 650m-a
10:26:54FromDiscord<k7v.> anyone can help?
10:35:48FromDiscord<random.visitor> it could be a read only field. however - this is a nim programming channel, I'm not sure you're in the right place
10:56:35FromDiscord<random.visitor> https://play.nim-lang.org/#pasty=EEezsYgI - closer it seems, albeit the "Error: "this.func1(arg1)' has nil child at index 1". was hoping the seq[NimNode] is equiv for a varargs[NimNode] but probably not..
13:01:10*xet7 quit (Ping timeout: 260 seconds)
13:01:52*xet7 joined #nim
13:04:32*xet7 quit (Remote host closed the connection)
14:21:33*ntat joined #nim
15:52:12*xet7 joined #nim
16:44:57*beholders_eye joined #nim
17:43:34*beholders_eye quit (Ping timeout: 252 seconds)
18:26:20*ntat quit (Remote host closed the connection)
18:26:43*ntat joined #nim
19:29:22*ntat quit (Quit: Leaving)
19:54:25*coldfeet quit (Remote host closed the connection)
20:18:42*xet7 quit (Quit: Leaving)
20:29:44*xet7 joined #nim
20:46:36*Onionhammer joined #nim
20:50:46FromDiscord<aurelian5014> sent a code paste, see https://play.nim-lang.org/#pasty=xwjrdkWr
20:57:14FromDiscord<Elegantbeef> Yes
20:57:29FromDiscord<aurelian5014> `case arg1:` works
21:01:36FromDiscord<aurelian5014> sent a code paste, see https://play.nim-lang.org/#pasty=jNlkNjRt
21:07:12FromDiscord<Elegantbeef> What an odd bug you've found
21:08:06FromDiscord<aurelian5014> sent a code paste, see https://play.nim-lang.org/#pasty=HLYUJjUn
21:15:29*xet7 quit (Ping timeout: 252 seconds)
21:16:17FromDiscord<aurelian5014> it's my fault
21:16:35FromDiscord<aurelian5014> the checks on the string should have been `elif`
21:16:51FromDiscord<aurelian5014> so dumb
22:31:50FromDiscord<kiloneie> Whats the opinion on Geany editor ?
22:32:21FromDiscord<kiloneie> (besides setting up a dark theme being too much of a hassle...)
22:34:50FromDiscord<Elegantbeef> It does not have LSP support so if you do not need tooling it's fine
22:35:04FromDiscord<kiloneie> i was wondering about that...
22:35:18FromDiscord<Elegantbeef> The same applies to elementary's code
22:36:03FromDiscord<Elegantbeef> I guess I am wrong now https://github.com/techee/geany-lsp
22:37:45FromDiscord<aurelian5014> seems like a lot of chrome I wouldn't use
22:38:03FromDiscord<Elegantbeef> Uhh
22:38:45FromDiscord<kiloneie> i have no idea how to set dark mode on geany and i guess i gotta go manual to get the lsp... kind of ancient. Im just giving it a try since it seems very fast
22:39:16FromDiscord<aurelian5014> from the FAQ:↵↵Why does Vimode suck so much?↵Well, it simulates the Vim behavior - what did you expect?
22:40:43FromDiscord<aurelian5014> hopefully one day we'll have a real vim clone with smooth scrolling
22:41:11FromDiscord<Elegantbeef> Download a theme, then go to view -\> change color scheme
22:41:13FromDiscord<kiloneie> oh lol, instead of a plugin downloader they just ship all of them into an exe... that's bizzare
22:41:38FromDiscord<kiloneie> In reply to @Elegantbeef "Download a theme, then": https://media.discordapp.net/attachments/371759389889003532/1292255404876632115/image.png?ex=67031221&is=6701c0a1&hm=121986ab86572f02e5cb54df9285ad84e7a6f30765522c48863bc56f838966e5&
22:41:54FromDiscord<Elegantbeef> It uses your gtk theme for the GUI
22:42:01FromDiscord<Elegantbeef> So change your default gtk theme
22:42:31FromDiscord<kiloneie> how ? i am on windows
22:43:03FromDiscord<Elegantbeef> Fuck if I know for windows
22:43:25FromDiscord<kiloneie> i followed their instructions, but... nothing.
22:43:50FromDiscord<kiloneie> hmm maybe it's a command line arguments thing like with qbitorrent
22:45:10FromDiscord<Elegantbeef> Set the GTK\_THEME environment variable to be `adwaita.dark` and it might work
22:45:12FromDiscord<Elegantbeef> I don't recall
23:00:43FromDiscord<kiloneie> What about intelliJ Fleet ?
23:01:02FromDiscord<Elegantbeef> It's proprietary so I stay away
23:04:37FromDiscord<Elegantbeef> I can suggest using Kate though it wants nimlsp over nimlangserver so if you use the latter you need to manually move nimlangserver
23:05:35FromDiscord<kiloneie> i was giving it a try earlier today
23:06:30FromDiscord<kiloneie> it is quite fast, absolutely faster than vs code, though im pretty sure my extensions are making it much slower... im not sure which, since most of them shouldn't be active at all, only on certain filetype
23:06:55FromDiscord<kiloneie> i kinda love and kinda hate sublime text
23:07:02FromDiscord<kiloneie> which is even faster
23:07:14FromDiscord<kiloneie> fastest one i've tried by far
23:07:49FromDiscord<Elegantbeef> Go use zed and have an editor that is "as fast as thought" or whatever dumb marketing terms they use
23:08:23FromDiscord<kiloneie> No windows version 😛
23:08:33FromDiscord<Elegantbeef> Well then stop using winblows
23:08:41FromDiscord<kiloneie> and i wanna stab everyone who uses AI as marketing for such things
23:08:51FromDiscord<kiloneie> im waiting for pop os cosmic BETA
23:11:25FromDiscord<aurelian5014> neovim
23:12:08FromDiscord<aurelian5014> or emacs with native comp
23:12:55FromDiscord<aurelian5014> In reply to @Elegantbeef "Go use zed and": I wanted to like zed but the UI is annoying and I can't go back to identpended buffers per pane
23:13:09FromDiscord<aurelian5014> (edit) "identpended" => "independent"
23:13:46FromDiscord<aurelian5014> and it's been year and they still don't hide the mouse when typing
23:15:50FromDiscord<kiloneie> does this mean how much it affects startup of ANY vs code launch? https://media.discordapp.net/attachments/371759389889003532/1292264011215142994/image.png?ex=67031a25&is=6701c8a5&hm=24f8bba692dcf6be36ab42f1024206bfcfc9ed11beef40a4d5bc48d974e16c2d&
23:17:07FromDiscord<aurelian5014> yes, unless disabled for that workspace
23:17:31FromDiscord<kiloneie> so ALL of them get loaded on ALL vs code opens ?
23:17:40FromDiscord<aurelian5014> I think so
23:17:57FromDiscord<kiloneie> imma use my brain to check the diff
23:18:09FromDiscord<aurelian5014> actually probably not, but if the number is there then how did it measure
23:18:34FromDiscord<aurelian5014> you can right click and disable for workspace
23:18:45FromDiscord<aurelian5014> unless they got rid of that, I uninstalled vscode a long time ago
23:22:44FromDiscord<kiloneie> luckily my extensions are like tiny things
23:23:12FromDiscord<kiloneie> it takes about 10 seconds from vsc launch to nim c -r happening
23:23:24FromDiscord<kiloneie> not too bad
23:24:09FromDiscord<Elegantbeef> Do you close your editor a lot in a coding session?
23:24:15FromDiscord<kiloneie> and you can start typing within 1.5 seconds... you aren't gonna go all ham immediately
23:24:32FromDiscord<kiloneie> In reply to @Elegantbeef "Do you close your": No, but if it takes 30 seconds, im out
23:25:08FromDiscord<kiloneie> for quick text and similar files, i think im just gonna keep sublime text
23:25:10FromDiscord<Elegantbeef> If a text editor takes 30 seconds to open, the fuck is it doing loading an entire game?
23:25:32FromDiscord<kiloneie> this was more of a call back to IDEs of old
23:29:01FromDiscord<kiloneie> i am curious if people on windows just use VSC for everything(telemetry off), or have a faster opening text editor for quick files. It seems to me, they simply go either VSC or sublime fully
23:34:12FromDiscord<majortrips1763> are parens truly only used to help group arguments to things? They seem to be fundementally optional.
23:34:33FromDiscord<Elegantbeef> Command syntax has limiations
23:34:37FromDiscord<Elegantbeef> So no they're not optional
23:35:41FromDiscord<majortrips1763> Is there a way to make Nim complain about using command syntax?
23:35:48FromDiscord<Elegantbeef> Nope
23:36:47FromDiscord<majortrips1763> Are there any formatting projects for Nim similar to Black?
23:37:00FromDiscord<Elegantbeef> nph