<< 24-10-2024 >>

01:16:23FromDiscord<zumi.dxy> what is staticRead relative to?โ†ตand should it stop compilation when it can't find a file?
01:20:51FromDiscord<Elegantbeef> Think it's relative to the file being compiled, and probably
01:29:30FromDiscord<nervecenter> What's the preferred way to read and write from/to stdin and stdout these days?
01:30:34FromDiscord<demotomohiro> In reply to @nervecenter "What's the preferred way": Probably syncio module: https://nim-lang.org/docs/syncio.html
01:32:47FromDiscord<nervecenter> Ah thanks
01:54:23*rockcavera quit (Remote host closed the connection)
06:38:27FromDiscord<ayex> thank you for your helpful comment - if I uninstall inim and nois and reinstall first noise then inim, I get a newer noise version (0.1.10 instead of 0.1.8) and inim works ๐ŸŽ‰ ๐Ÿ˜€โ†ต(@ringabout)
06:40:22FromDiscord<ringabout> no problem ๐Ÿ˜„
06:41:13FromDiscord<ayex> thank you for your helpful comment - if I uninstall inim and noise and reinstall first noise then inim, I get a newer noise version (0.1.10 instead of 0.1.8) and inim works ๐ŸŽ‰ ๐Ÿ˜€
07:27:34*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
07:27:56*SchweinDeBurg joined #nim
07:51:44FromDiscord<basilajith> Is there anything similar to https://streamlit.io in the Nim ecosystem?
11:24:57*ryuukk quit (Remote host closed the connection)
11:28:28*ryuukk joined #nim
11:51:02*beholders_eye joined #nim
12:32:26*disso-peach joined #nim
13:12:24*ryuukk quit (Ping timeout: 246 seconds)
13:13:11*ryuukk joined #nim
13:26:44FromDiscord<pmunch> Don't think so, would be cool though
13:32:19*disso-peach quit (Remote host closed the connection)
13:33:48*ntat joined #nim
13:37:23*ryuukk_ joined #nim
13:39:45*ryuukk quit (Ping timeout: 260 seconds)
13:51:25FromDiscord<Robyn [She/Her]> would be a pain to make, no?
14:14:02*beholders_eye quit (Ping timeout: 265 seconds)
14:22:01*beholders_eye joined #nim
14:37:27*beholders_eye quit (Ping timeout: 246 seconds)
15:44:46FromDiscord<Robyn [She/Her]> also you'd probably want that to run in the VM so you have HCR
16:09:38*lucasta joined #nim
16:42:45*cornfeedhobo quit (Quit: ZNC - https://znc.in)
16:44:07*cornfeedhobo joined #nim
17:06:53Amun-Rayes, staticread is related to the file it's run in
17:07:02Amun-Rarelative*
18:13:29*beholders_eye joined #nim
18:20:39*ntat quit (Remote host closed the connection)
18:20:57*ntat joined #nim
18:30:04*beholders_eye quit (Ping timeout: 260 seconds)
18:34:45*beholders_eye joined #nim
19:15:12*zgasma quit (Quit: Lost terminal)
20:04:31FromDiscord<morgan (ping with reply)> sent a code paste, see https://play.nim-lang.org/#pasty=ViLgbYiI
20:06:31FromDiscord<Elegantbeef> `static int` instead of just `int`
20:20:40*ntat quit (Quit: Leaving)
20:27:08FromDiscord<morgan (ping with reply)> ohh ok
20:34:44*coldfeet joined #nim
20:37:22FromDiscord<pmunch> In reply to @chronos.vitaqua "would be a pain": Seems to mostly be markdown with some fancy rendering on top
20:53:42FromDiscord<ara78> hi, I started Nim today and I face an error with the monotimes.nim module
20:53:59FromDiscord<ara78> be it in the playground: '/playground/nim/lib/std/monotimes.nim(110, 13) Error: cannot 'importc' variable at compile time; clock_gettime'
20:54:07FromDiscord<ara78> (edit) "'/playground/nim/lib/std/monotimes.nim(110," => "`/playground/nim/lib/std/monotimes.nim(110," | "clock_gettime'" => "clock_gettime`"
20:54:34FromDiscord<ara78> or on own machine (windows 11): `D:\Sources\Nim\nim-2.2.0\lib\std\monotimes.nim(115, 5) Error: cannot 'importc' variable at compile time; QueryPerformanceCounter`
20:54:49FromDiscord<ara78> is it a known issue?
20:55:31FromDiscord<griffith1deadly> dont use `const` for anything that internally calling importc procs
20:56:03FromDiscord<griffith1deadly> currently nim vm doesn't support importc at compiletime
20:56:48FromDiscord<ara78> wow, you rock, not even showing code and your found the issue, thanks !
20:58:09FromDiscord<ara78> so is there a roadmap somewhere ? milestones on github ?
21:00:28FromDiscord<griffith1deadly> idk, i only remember time when core developer give us choise, better vm with compiletime importc calling or anything else
21:01:22FromDiscord<ara78> sounds like fun/frustrating time with polls ๐Ÿ˜›
21:02:02FromDiscord<griffith1deadly> In reply to @ara78 "so is there a": https://forum.nim-lang.org/t/10594#70808
21:02:09FromDiscord<griffith1deadly> as i see that is work in progress
21:02:22FromDiscord<griffith1deadly> `A new VM that offers a REPL which has superb interop with native code.`
21:03:08FromDiscord<ara78> damn, that was almost a year ago ๐Ÿ’€
21:03:32FromDiscord<griffith1deadly> nim has not that many core developers and like nothing on sponsoring
21:04:19FromDiscord<ara78> good to know, thanks for your time!
21:05:00FromDiscord<griffith1deadly> np
21:06:44FromDiscord<morgan (ping with reply)> In reply to @morganalyssa "is it possible to": i think iโ€™m gonna replace this with data inside it and use a a ptr uncheckedarray, or ref maybe since i donโ€™t think i need c interop here
21:08:50FromDiscord<morgan (ping with reply)> i realized i do need a runtime size, even tho it wonโ€™t change
21:10:42FromDiscord<morgan (ping with reply)> or iโ€™m pretty confident it wonโ€™t need to change, and if it does iโ€™ll basically have to create a new one and copy data over since itโ€™s 2d, i could have a seq of seqs for that part but the bit array will require copying over anyways
21:20:17*rockcavera joined #nim
21:30:13FromDiscord<Robyn [She/Her]> In reply to @pmunch "Seems to mostly be": The main thing is the design for scripting and stuff i think
21:41:27*coldfeet quit (Remote host closed the connection)
21:54:58FromDiscord<Elegantbeef> Just hook up potato and go to town ๐Ÿ˜„
21:55:24FromDiscord<Elegantbeef> I say that but I think it's still a bit crashy
22:33:19*rockcavera quit (Ping timeout: 260 seconds)
22:38:19*rockcavera joined #nim
22:38:19*rockcavera quit (Changing host)
22:38:19*rockcavera joined #nim
22:50:57*beholders_eye quit (Ping timeout: 246 seconds)