<< 15-07-2025 >>

00:31:26FromDiscord<heysokam> In reply to @hawkey5212 "is there any way": On a similar topic, I'd recommend:↵https://github.com/heysokam/confy/blob/a00cfbe2ae35c10849e36254a160102e50734180/src/confy/flags.nim#L70-L84
00:31:56FromDiscord<heysokam> There are a few more very useful flags
00:40:38*perro quit (Ping timeout: 265 seconds)
00:41:12*perro joined #nim
00:47:02*redj joined #nim
00:52:37*tokyovigilante quit (Remote host closed the connection)
00:55:39*tokyovigilante joined #nim
01:07:22FromDiscord<Robyn [She/Her]> In reply to @leorize "`result` is mostly an": Writh?
01:11:14*perro quit (Ping timeout: 260 seconds)
01:11:52*perro joined #nim
01:23:29*perro quit (Ping timeout: 248 seconds)
01:24:41*perro joined #nim
01:27:16FromDiscord<janakali> Niklaus Wirth: Pascal, Oberon, Modula-2
01:47:48FromDiscord<monkey085395> @heysokam what namespace solution did you end up with?
01:59:03FromDiscord<heysokam> In reply to @monkey085395 "<@186489007247589376> what namespace solution": not sure what you refer to 🤔
02:01:05FromDiscord<litlighilit> findExe is in available in nimscript, how can I use it at compile-time?I wanna find a exe path, assigning it to a const
02:08:33*rockcavera quit (Remote host closed the connection)
02:10:23FromDiscord<litlighilit> I had even copied definition, delete those part that aren't supported at compile... It's urly but worked...till I tried JS backend, it complains more `undeclared`, but I just wanna run at COMPILE time, does nothing with JS
02:13:01FromDiscord<litlighilit> I am always thinking nimvm shall be able to call nimscript's routine [https://nim-lang.org/docs/nimscript.html#findExe%2Cstring](https://nim-lang.org/docs/nimscript.html#findExe%252Cstring)
02:14:10FromDiscord<litlighilit> I've always thought nimvm shall be able to call nimscript's routine [https://nim-lang.org/docs/nimscript.html#findExe%2Cstring](https://nim-lang.org/docs/nimscript.html#findExe%252Cstring)
02:16:55FromDiscord<litlighilit> I've always thought nimvm shall be able to call nimscript's routine [https://nim-lang.org/docs/nimscript.html#findExe%2Cstring](https://nim-lang.org/docs/nimscript.html#findExe%252Cstring)(tho technically speaking I know they are separate runtime)
02:20:24*perro quit (Ping timeout: 276 seconds)
02:21:15*perro joined #nim
02:48:05*perro quit (Ping timeout: 252 seconds)
02:50:04*perro joined #nim
02:51:44FromDiscord<janakali> @litlighilit as a workaround you can use `{.strdefine.}` and put `--define:somevar=findExe("smth")` in config.nims
02:53:07FromDiscord<janakali> https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-compileminustime-define-pragmas
02:54:42FromDiscord<Robyn [She/Her]> In reply to @janakali "Niklaus Wirth: Pascal, Oberon,": aah
06:24:49FromDiscord<.bobbbob> is https://github.com/FedeOmoto/bignum any good? looks like it hasnt gotten a commit in 10 years
06:34:03*skippy8 joined #nim
06:44:33Amun-Ranimble search returns 'gmp' module with last change to src directory within 2y
06:58:23FromDiscord<.bobbbob> tbh the bigint situation in nim seems pretty rough
07:00:24FromDiscord<.bobbbob> https://github.com/fsh/integers seems neat
07:21:35*SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev)
07:22:01*SchweinDeBurg joined #nim
07:30:30*jjido joined #nim
08:08:58*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
08:58:48FromDiscord<pmunch> @.bobbbob, what do you need to do?
08:58:57FromDiscord<pmunch> I've been using MAPM and it works fine
09:02:35FromDiscord<.bobbbob> In reply to @pmunch "<@279797428146929666>, what do you": I need arbitrary precision integers, but I also need to convert them to and from float, a lot of the nim libraries dont seem to have that
09:14:19*beholders_eye joined #nim
09:33:19FromDiscord<pmunch> MAPM should do all that 🙂
09:42:24*beholders_eye quit (Ping timeout: 276 seconds)
10:42:00*om3ga quit (Ping timeout: 244 seconds)
11:06:00*beholders_eye joined #nim
11:33:57*om3ga joined #nim
11:42:59*om3ga quit (Ping timeout: 260 seconds)
11:58:05*om3ga joined #nim
13:15:39*andy-turner joined #nim
13:48:16*skippy8 quit (Quit: WeeChat 4.6.3)
15:02:16FromDiscord<heysokam> In reply to @.bobbbob "tbh the bigint situation": I'd wrap/bind a C library with futhark if I needed big int tools on nim
15:59:54*perr_ joined #nim
16:02:18*perro quit (Ping timeout: 252 seconds)
16:32:33FromDiscord<.bobbbob> In reply to @pmunch "MAPM should do all": looks cool, I think Ill use that, how's the performance?
17:07:24FromDiscord<pmunch> In reply to @heysokam "I'd wrap/bind a C": That's what MAPM is 😁
17:07:57FromDiscord<pmunch> In reply to @.bobbbob "looks cool, I think": Dunno, I needed it for it's capabilities not it's speed
17:08:13FromDiscord<pmunch> So I never benchmarked it
17:08:23FromDiscord<pmunch> But I think it's pretty good
17:42:57FromDiscord<zjfc> sent a code paste, see https://play.nim-lang.org/#pasty=JjWeSGtw
17:54:27FromDiscord<nasuray> https://nimpkgs.dayl.in/#/pkg/stb_image is the actual package no?
17:56:18FromDiscord<Zjfc> In reply to @nasuray "https://nimpkgs.dayl.in/#/pkg/stb_image is the actu": I believe so. I am not sure why it appears to be stbimage on nimble.directory and `nimble install stbimage` did not seem to fail.
17:57:15FromDiscord<Zjfc> @DetermiedNim1 hi I am compiling animdustry ^
17:58:10FromDiscord<Zjfc> (edit) "@DetermiedNim1 hi I am compiling animdustry ^ ... " added "btw ™"
17:58:19FromDiscord<Zjfc> (edit) "btw ™" => "btw™"
18:03:21FromDiscord<lainlaylie> is nimble using identifier equality for package names 😨
18:06:26FromDiscord<DetermiedNim1> huh
18:06:28FromDiscord<DetermiedNim1> oh
18:06:33FromDiscord<DetermiedNim1> In reply to @zjfc "<@758738754100920383> hi I am": Hello
18:07:19FromDiscord<DetermiedNim1> nixos moment
19:01:27FromDiscord<pmunch> In reply to @.bobbbob "looks cool, I think": If you do end up benchmarking it I'd love to see the results 🙂
20:08:05*skippy8 joined #nim
20:26:51*birle joined #nim
20:31:20*andy-turner quit (Quit: Leaving)
20:56:59*rockcavera joined #nim
21:03:53*andy-turner_ joined #nim
21:07:48*andy-turner_ quit (Client Quit)
21:28:33*jjido joined #nim
21:50:49*beholders_eye quit (Ping timeout: 260 seconds)
21:57:33*jn joined #nim
22:36:52*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
22:38:01*jjido joined #nim
22:48:18*skippy8 quit (Quit: WeeChat 4.6.3)
22:59:36FromDiscord<death.kills> https://raw.githubusercontent.com/navid-m/newt/refs/heads/master/src/newt/providers/innertube.nim↵↵I wrote a pytube equivalent in nim, and cant get the innertube request right, (i got it right before youtube went full retard with their internal API changes) lmk if any of you can find the problem because im almost there, its just that downloading streams doesnt work anymore.
23:00:22FromDiscord<.bobbbob> In reply to @pmunch "If you do end": actually im getting an error when importing it, `Error: execution of an external program failed: 'gcc ...` and a long gcc command. do I need to have any libraries installed or any special compiler commands to use it?
23:24:26*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)