<< 07-12-2025 >>

01:09:51*beholders_eye quit (Ping timeout: 244 seconds)
01:48:27*th3r00t joined #nim
01:48:45*_th3r00t quit (Ping timeout: 252 seconds)
03:59:17*thunder joined #nim
04:45:35*zero` quit (Ping timeout: 240 seconds)
05:37:52*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
05:46:46*SchweinDeBurg joined #nim
05:51:19*thunder quit (Quit: Leaving)
06:47:52*zero` joined #nim
07:02:25*zero` quit (Ping timeout: 264 seconds)
08:06:39*zero` joined #nim
10:03:58FromDiscord<nocturn9x> quick question
10:04:17FromDiscord<nocturn9x> is there some way to make the utilities in `std/terminal` globally not print color programmatically?
10:04:30FromDiscord<nocturn9x> say if `NO_COLOR` is set, then `styledEcho` does the same as `echo` and ignores color
10:04:39FromDiscord<nocturn9x> trying to avoid a lot of if statements in my TUI
10:12:57FromDiscord<nocturn9x> sent a code paste, see https://play.nim-lang.org/#pasty=jviddZGA
10:13:01FromDiscord<nocturn9x> trying this but it doesn't seem to work
10:14:15FromDiscord<nocturn9x> sent a code paste, see https://play.nim-lang.org/#pasty=eGbhGPiE
10:14:18FromDiscord<nocturn9x> (edit) "https://play.nim-lang.org/#pasty=tcqSGLOg" => "https://play.nim-lang.org/#pasty=bRMGaNpD"
10:19:20FromDiscord<litlighilit> use proc instead of template here
10:20:15FromDiscord<nocturn9x> tried
10:20:29FromDiscord<nocturn9x> sent a code paste, see https://play.nim-lang.org/#pasty=BnXrzrXR
10:20:42FromDiscord<nocturn9x> sent a code paste, see https://play.nim-lang.org/#pasty=NaIRXiUA
10:21:00FromDiscord<litlighilit> my fault
10:21:10FromDiscord<litlighilit> u have to use maceo
10:21:16FromDiscord<litlighilit> u have to use macro
10:21:18FromDiscord<nocturn9x> I don't know how to use macros :')
10:21:58FromDiscord<nocturn9x> I just want a wrapper over `styledWrite` that ignores all color and styling depending on a boolean inpuit
10:22:00FromDiscord<nocturn9x> (edit) "inpuit" => "input"
10:24:39FromDiscord<litlighilit> wait a moment...
10:27:44FromDiscord<sabedoesthings> Hello! I installed Nim on windows and ran the finish.exe it seemed to have gone well but it didn't create the .nimble folder and put in my path.
10:34:08FromDiscord<litlighilit> https://play.nim-lang.org/#pasty=BJlIAbtr
10:34:22FromDiscord<nocturn9x> sweet!
10:37:48FromDiscord<litlighilit> https://play.nim-lang.org/#pasty=BJlIAbtr
10:38:16FromDiscord<litlighilit> https://play.nim-lang.org/#pasty=iCpAwEel
10:38:45FromDiscord<litlighilit> https://play.nim-lang.org/#pasty=qqNxWuah
10:41:14FromDiscord<aethrvmn> I love that nim lets me do.this, but I do feel like I could be tried for this
10:41:15FromDiscord<aethrvmn> Can I just say
10:41:15FromDiscord<aethrvmn> 1000000743.png https://media.discordapp.net/attachments/371759389889003532/1447176123837452318/1000000743.png?ex=6936ab4b&is=693559cb&hm=7c6d9cf601e1af002b02ae79b74b2308088352b6ec5b5d8db21b3a612a1161c8&
10:41:17FromDiscord<aethrvmn> Treating vector norms like a method of Natural
10:41:32FromDiscord<aethrvmn> Treating vector norms like a class method of Natural
10:41:47FromDiscord<nocturn9x> In reply to @litlighilit "https://play.nim-lang.org/#pasty=qqNxWuah": I'm trying to make styledWriteLine and styledEcho wrappers using templates
10:41:55FromDiscord<nocturn9x> sent a code paste, see https://play.nim-lang.org/#pasty=HNuvRemm
10:41:59FromDiscord<nocturn9x> but this doesn't seem to work
10:45:12FromDiscord<litlighilit> imo it's impossible to overload in this way for the two routinues
10:45:29FromDiscord<litlighilit> (not sure yet
10:45:47FromDiscord<nocturn9x> I see
10:45:54FromDiscord<nocturn9x> still many thanks
10:45:58FromDiscord<nocturn9x> your macro works perfectly
10:45:59FromDiscord<nocturn9x> :)
10:51:11FromDiscord<litlighilit> em↵in fact↵in your case, it's better to overwrite instead of overload
10:53:20FromDiscord<nocturn9x> eh, works either way
10:53:55FromDiscord<litlighilit> so no need to pass useColor everywhere
11:03:04FromDiscord<nocturn9x> I prefer the explicit requirement tbh
12:28:59*beholders_eye joined #nim
12:47:27*beholders_eye quit (Ping timeout: 244 seconds)
15:55:22*beholders_eye joined #nim
18:18:41FromDiscord<microssd.> if I use atlas, should I create a src dir or just put files on top dir?
18:38:13FromDiscord<lainlaylie> top dir
18:38:14FromDiscord<lainlaylie> nimble too
18:50:37*przmk quit (Remote host closed the connection)
18:51:02*przmk joined #nim
19:33:32*beholders_eye quit (Quit: WeeChat 4.7.2)
19:33:41*beholders_eye joined #nim
20:15:03FromDiscord<mjsdev> anyone here messed with the experiemental dot operators?
22:03:27*xet7 joined #nim
22:23:45*CypherCat quit (Remote host closed the connection)
22:37:18*CypherCat joined #nim