<< 24-09-2025 >>

01:38:06*xutaxkamay_ joined #nim
01:39:03*xutaxkamay quit (Ping timeout: 244 seconds)
01:39:03*xutaxkamay_ is now known as xutaxkamay
02:14:23*acidsys quit (*.net *.split)
02:14:24*kasimir_ quit (*.net *.split)
02:14:25*Goodbye_Vincent1 quit (*.net *.split)
02:20:22*acidsys joined #nim
02:20:22*kasimir_ joined #nim
02:20:22*Goodbye_Vincent1 joined #nim
02:26:25*derpydoo joined #nim
02:26:42*derpydoo quit (Client Quit)
02:29:12*derpydoo joined #nim
02:39:09*rockcavera quit (Remote host closed the connection)
02:47:41*derpydoo quit (Ping timeout: 244 seconds)
06:17:26*johuck quit (Ping timeout: 256 seconds)
06:18:00*computerquip quit (Ping timeout: 256 seconds)
06:19:08*GreaseMonkey quit (Ping timeout: 256 seconds)
06:19:11*greaser|q joined #nim
06:20:03*johuck joined #nim
06:20:21*computerquip joined #nim
06:21:03*LuckyMan joined #nim
07:01:50*thunder quit (Remote host closed the connection)
07:02:37*thunder joined #nim
07:19:18*thunder quit (Quit: Leaving)
07:26:06*LuckyMan quit (Quit: LuckyMan)
08:11:25*beholders_eye joined #nim
08:22:18*beholders_eye quit (Quit: WeeChat 4.6.3)
09:35:58FromDiscord<nocturn9x> In reply to @leorize "run with thread sanitizer": replying a little late, but: I already use `useMalloc`, but idk if running with thread sanitizer. The issue only occurs on specific configurations on servers I have no control over, and I can't replicate the 250 threads required to make this occur
09:36:02FromDiscord<nocturn9x> :')
09:36:13FromDiscord<nocturn9x> (edit) "sanitizer." => "sanitizer is feasible."
09:43:19*mahlon quit (Ping timeout: 260 seconds)
10:21:02*mahlon joined #nim
11:08:50*phlox quit (Quit: The Lounge - https://thelounge.chat)
11:09:39*phlox joined #nim
12:01:42*beholders_eye joined #nim
13:04:27FromDiscord<mitranim> I wish more languages used the uniform call syntax (proc = method). It makes things so much simpler.
13:05:11FromDiscord<mitranim> (edit) "syntax" => "syntax, as well as Nim's unified way of declaring functions"
13:08:06FromDiscord<ayex> indeed ucs is very nice 🙂
14:54:50*nils` quit (Ping timeout: 248 seconds)
15:29:04*nils` joined #nim
15:38:01*nils` quit (Read error: Connection reset by peer)
15:54:42*nils` joined #nim
18:40:53FromDiscord<leorize> a lot of times you can catch races with much less sophisticated configuration when using TSan, so never hurt to try↵(@nocturn9x)
19:00:15*frodeaux joined #nim
19:05:51FromDiscord<treeform> In reply to @systemblue_whale "Hey guys what IDE": Cursor
19:16:36*frodeaux quit ()
19:16:56*frodeaux joined #nim
19:18:31*frodeaux left #nim (#nim)
19:21:05FromDiscord<yedco.12> Is nim repl stable?
19:23:07*frodeaux41 joined #nim
19:24:23*frodeaux41 quit (Client Quit)
19:24:55*Frodeaux65 joined #nim
19:27:05*Frodeaux65 quit (Client Quit)
19:39:07FromDiscord<tauruuuuuus> what do you mean by repl stable?
19:39:52FromDiscord<TӨMΛ ☠> What is the way of adding to `seq` so there's no duplicates?
19:43:03FromDiscord<mitranim> For very small seqs, scan linearly. (But _only_ if small size is guaranteed; doing otherwise leaves open a door to non-linear algorithmic complexity.) After that, use a `HashSet` or equivalent.
19:43:47FromDiscord<frodeaux> vscode with nim extension↵I've installed the Nim extension into Vscode, but while editing a .nim source file I get syntax highlighting but none of the other features mention on the "features" tab for the Nim extension. Also on that tab,
19:49:02FromDiscord<nocturn9x> In reply to @leorize "a lot of times": hmm
19:54:03FromDiscord<yedco.12> In reply to @tauruuuuuus "what do you mean": nim secret
19:54:39FromDiscord<yedco.12> (edit) "nim secret" => "``nim secret`` command"
20:07:34FromDiscord<frodeaux> In reply to @frodeaux "vscode with nim extension": I found an answer to get it to work: I had to do ""nimble install nimlangserver"", restarted vscode... seems to work now.
20:11:52*beholders_eye quit (Ping timeout: 244 seconds)
20:12:54FromDiscord<tauruuuuuus> Oh I got it now, you meant if the repl was stanle, not if the language was "repl stable" 🤣
20:13:25FromDiscord<tauruuuuuus> Personally I use https://github.com/inim-repl/INim to mess around with a repl
20:16:54FromDiscord<yedco.12> Okay I'll use inim then
20:17:18FromDiscord<yedco.12> I mean nim official repl is good too, i just used it now
20:20:53FromDiscord<yedco.12> Inim is good 😍
20:21:33FromDiscord<yedco.12> So you still use nim 2.0.8?
20:21:52FromDiscord<leorize> it's called `secret` because it isn't good enough to be called `repl`↵(@yedco.12)
20:28:09FromDiscord<yedco.12> Oh wait inim take 2.2.0
20:28:16FromDiscord<tauruuuuuus> In reply to @yedco.12 "So you still use": I think it just uses whatever it finds on the system, I'm not really sure, never studied how it works
20:28:18FromDiscord<yedco.12> (edit) "take" => "takes" | "takes2.2.0 ... " added "also"
20:28:28FromDiscord<yedco.12> Oh okay
20:28:46FromDiscord<yedco.12> I mean it looks very stable
20:30:51FromDiscord<tauruuuuuus> I mess with it from time to time, just for quick stuff tho, otherwise i generally just use `nim r` and run nim files as "scripts"
20:31:55FromDiscord<yedco.12> That's great 😄
21:44:04*rockcavera joined #nim
21:52:09*Jjp137_ quit (Quit: Leaving)
21:59:14*Jjp137 joined #nim
22:06:13FromDiscord<aintea> In reply to @systemblue_whale "Hey guys what IDE": Neovim
22:06:30FromDiscord<aintea> Or basically anything and the compiler output on the side, reloading when you make a change
22:11:35*_________ quit (Ping timeout: 245 seconds)
22:13:47*_________ joined #nim
22:19:06*_________ quit (Ping timeout: 258 seconds)
22:30:13*_________ joined #nim
22:45:22FromDiscord<Tóth Alfréd> `nim r` is designed to be used for development, not scripting. It compiles the source into a temp folder and runs it, which is slow. If you want to use Nim as a scripting language, you should use [NimScript](https://nim-lang.org/docs/nims.html), which runs the script in a VM. You can just save a file with the `.nims` extension, and run it by using the command `nim ./something.nims` or by adding a shebang.↵(@tauruuuuuus)
22:56:02*Artea joined #nim
23:02:28FromDiscord<nasuray> In reply to @Tóth Alfréd "`nim r` is designed": Albeit with all the limitations of the VM
23:03:00*tiorock joined #nim
23:03:00*tiorock quit (Changing host)
23:03:00*tiorock joined #nim
23:03:01*rockcavera quit (Killed (tungsten.libera.chat (Nickname regained by services)))
23:03:01*tiorock is now known as rockcavera
23:05:55FromDiscord<tauruuuuuus> In reply to @nasuray "Albeit with all the": this ^
23:06:23*_________ quit (*.net *.split)
23:06:24*mahlon quit (*.net *.split)
23:06:27*xtr00 quit (*.net *.split)
23:07:04*_________ joined #nim
23:08:00FromDiscord<tauruuuuuus> plus, it actually does not matter to me that much, that use case has essentially taken over the "python throwaway scripts" for me, so how fast it is is never a concern
23:09:20*mahlon joined #nim
23:09:47FromDiscord<Tóth Alfréd> True, but it's still good for like 85% of use cases↵(@nasuray)
23:10:25*xtr00 joined #nim