<< 16-05-2026 >>

00:08:20*shanoaice quit (Quit: The Lounge - https://thelounge.chat)
00:08:34*shanoaice joined #nim
02:41:51*xet7 quit (Remote host closed the connection)
02:43:59*xet7 joined #nim
02:51:27*mal`` quit (Ping timeout: 255 seconds)
03:03:06*rockcavera joined #nim
03:06:52*mal`` joined #nim
03:47:09*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
04:53:24*SchweinDeBurg joined #nim
07:01:26*tiorock joined #nim
07:01:26*tiorock quit (Changing host)
07:01:26*tiorock joined #nim
07:01:26*rockcavera is now known as Guest8964
07:01:26*tiorock is now known as rockcavera
07:03:55*Guest8964 quit (Ping timeout: 244 seconds)
07:08:27*kick455 quit (Ping timeout: 246 seconds)
07:09:58*oculux joined #nim
08:32:57FromDiscord<lluevtyvn> I need help. Generic doesn't work . https://media.discordapp.net/attachments/371759389889003532/1505125894916669440/EEB023A9-F7C5-4583-80B3-5FBDF8554AF7.png?ex=6a097d39&is=6a082bb9&hm=570ab49831277a3cb5335f7b03d7b1157b32ab69c8dcfbde8884fca77dc081a7&
08:33:15FromDiscord<lluevtyvn> https://media.discordapp.net/attachments/371759389889003532/1505125970451890176/D8F36C5A-2552-41EF-B759-51A84B025957.png?ex=6a097d4b&is=6a082bcb&hm=3d2c890e9d2646599bb938eb4cce487b867d996be9cfa1425424bbc89aa7a72a&
08:35:19FromDiscord<lluevtyvn> https://media.discordapp.net/attachments/371759389889003532/1505126488800759988/B383C11C-D34C-41FF-88EA-BC128F8FF393.png?ex=6a097dc6&is=6a082c46&hm=6d512ec42ae59d89819e1eed55059f2a0bdd1ff1de1df977a7246ae20d10db54&
08:40:11FromDiscord<mratsim> In reply to @lluevtyvn "I need help. Generic": you cannot deduce based on return value and you should use `[T: int32 or uint32]`
08:40:37FromDiscord<mratsim> you will need to do `read[:uint32]()` if you use method call syntax
08:40:58FromDiscord<mratsim> (edit) "`read[:uint32]()`" => "`br.read[:uint32]()`"
08:41:13FromDiscord<mratsim> This is for parsing disambiguation.
08:41:38FromDiscord<mratsim> In reply to @lluevtyvn "I need help. Generic": you have proper primitives in stew/endians2 though
08:42:33FromDiscord<mratsim> sent a code paste, see https://play.nim-lang.org/#pasty=RsswuOzq
08:43:50FromDiscord<lluevtyvn> In reply to @mratsim "you cannot deduce based": oh , it worked, thank you
09:19:38FromDiscord<nevillegg> In reply to @lluevtyvn "I need help. Generic": manually managing memoery?
09:26:48FromDiscord<asviest> In reply to @lluevtyvn "I need help. Generic": Btw unsafeAddr deprecated, `addr` replaces it
09:27:00FromDiscord<asviest> (edit) "In reply to @lluevtyvn "I need help. Generic": Btw unsafeAddr deprecated, `addr` ... replaces" added "in modern nim versions"
09:33:02FromDiscord<nevillegg> sent a code paste, see https://play.nim-lang.org/#pasty=MctmNnHN
10:06:04FromDiscord<lluevtyvn> In reply to @nevillegg "manually managing memoery?": no , memory is still managed by nim default memory manager
10:29:59*tk quit (Remote host closed the connection)
10:31:07*tk joined #nim
10:34:43*beholders_eye joined #nim
11:42:39*rockcavera quit (Read error: Connection reset by peer)
11:42:58*rockcavera joined #nim
11:42:58*rockcavera quit (Changing host)
11:42:58*rockcavera joined #nim
12:15:11*beholders_eye quit (Quit: WeeChat 4.9.0)
12:55:23*rockcavera quit (Remote host closed the connection)
13:40:24*deavmi quit (Quit: Eish, load shedding!)
13:58:31*rockcavera joined #nim
14:02:38*rockcavera quit (Read error: Connection reset by peer)
14:02:57*rockcavera joined #nim
14:02:57*rockcavera quit (Changing host)
14:02:57*rockcavera joined #nim
14:07:52*deavmi joined #nim
14:10:50*kick455 joined #nim
14:12:28*oculux quit (Ping timeout: 276 seconds)
15:08:05*rockcavera quit (Read error: Connection reset by peer)
15:08:25*rockcavera joined #nim
15:08:25*rockcavera quit (Changing host)
15:08:25*rockcavera joined #nim
16:33:21FromDiscord<manekobox> Hello Nim communityyyy, I'm thinking of using Nim but I was wondering how well you guys would say Nim works in a fully offline environment?
17:12:13FromDiscord<mr_rowboto> In reply to @manekobox "Hello Nim communityyyy, I'm": `nim` will definitely wotk.↵`nimble` won't.
17:14:23FromDiscord<mratsim> In reply to @nevillegg "I wonder if we": There was a nim syntax skin that allowed this
17:15:15FromDiscord<mratsim> In reply to @manekobox "Hello Nim communityyyy, I'm": as long as you don't need to connect to the internet you'' be fine
17:15:52FromDiscord<manekobox> In reply to @mr_rowboto "`nim` will definitely wotk.": Well is there a way to manually install libraries without using Nim's package manager?
17:16:06FromDiscord<mr_rowboto> yes
17:16:23FromDiscord<manekobox> In reply to @mratsim "as long as you": Yeah my phone can connect but my PC can't so I technically don't need to
17:16:37FromDiscord<mr_rowboto> you can git clone, or download and set `--path:the-path` as an arg for `nim`
17:16:51FromDiscord<mr_rowboto> (edit) "you can git clone, or download ... and" added "your dependency"
17:16:52FromDiscord<mratsim> In reply to @manekobox "Well is there a": you can clone repo to an USB key, copy it on your machine and call nimble develop in each so it points to the local clone.↵↵And atlas can surely do something about it as well
17:17:05FromDiscord<mr_rowboto> (edit) "`--path:the-path`" => "`--path:the/path`"
17:17:17FromDiscord<mratsim> ah yeah the path thing for the compiler too
17:17:39FromDiscord<mr_rowboto> yeah I honestly ditched package managers for building...
17:18:31FromDiscord<mratsim> In reply to @mr_rowboto "yeah I honestly ditched": I ditched dependencies
17:18:59FromDiscord<mr_rowboto> What I do is setting several `--path`s on a `nim.cfg`, then have a custom tool to build things.
17:19:16FromDiscord<mr_rowboto> In reply to @mratsim "I ditched dependencies": for real? what's your strategy?
17:19:40FromDiscord<manekobox> In reply to @mratsim "you can clone repo": Yeah I think that solves my worries with my setup thanks for the infoooo
17:19:51FromDiscord<manekobox> In reply to @mratsim "I ditched dependencies": -# you can do that?
17:20:12FromDiscord<mr_rowboto> well... you can always `git submodule`
18:49:30FromDiscord<mratsim> In reply to @mr_rowboto "for real? what's your": Well, I wrote Arryamancer and Constantine both from scratch
18:49:46FromDiscord<mratsim> ah Arraymancer does have a BLAS dependency which still bugs me
18:59:08FromDiscord<mr_rowboto> Yeah, I see
18:59:20FromDiscord<mr_rowboto> BLAS as in "Bottom Level Acceleration Structure"?