<< 26-11-2025 >>

01:19:15*beholders_eye quit (Ping timeout: 240 seconds)
02:04:49*SchweinDeBurg quit (Ping timeout: 264 seconds)
02:59:29*SchweinDeBurg joined #nim
03:19:28*rockcavera quit (Remote host closed the connection)
07:59:16*tokyovigilante joined #nim
08:20:01*beholders_eye joined #nim
09:00:22*beholders_eye quit (Ping timeout: 255 seconds)
09:15:28*Guest58 joined #nim
09:16:24*Guest58 quit (Client Quit)
10:21:30*beholders_eye joined #nim
10:51:43*beholders_eye quit (Ping timeout: 240 seconds)
11:19:13*syl quit (Ping timeout: 264 seconds)
11:19:33*syl joined #nim
11:29:58*beholders_eye joined #nim
11:41:50*vsantana joined #nim
12:23:32*vsantana left #nim (#nim)
12:23:35*beholders_eye quit (Ping timeout: 240 seconds)
12:52:20FromDiscord<russ4806> sent a code paste, see https://play.nim-lang.org/#pasty=pQhNBvDH
12:52:26FromDiscord<russ4806> (edit) "https://play.nim-lang.org/#pasty=OrdvGBRa" => "https://play.nim-lang.org/#pasty=etiqDkWe"
12:54:46*Mister_Magister quit (Excess Flood)
12:58:10*Mister_Magister joined #nim
13:07:15FromDiscord<saint._._.> In reply to @russ4806 "I am trying to": They’re all BiggestInt
13:08:24FromDiscord<saint._._.> Return type is another callback I think? i don’t know what the closure pragma is. But yeah for what the values actually show I think you’ll probably have to test them out
13:12:05FromDiscord<nnsee> In reply to @russ4806 "I am trying to": when you have a signature where there's no types set for some arguments, they're all the type of the next type that is defined (in this case BiggestInt)
13:12:47*beholders_eye joined #nim
13:12:53FromDiscord<russ4806> Interesting... is that a defined nim thing that you can skip types for common types up until the last of the chain?
13:17:47FromDiscord<nnsee> In reply to @russ4806 "Interesting... is that a": it's part of the syntax
13:17:50FromDiscord<nnsee> here in the manual: https://nim-lang.org/docs/manual.html#procedures
13:18:11FromDiscord<nnsee> > A parameter is given a type by : typename. The type applies to all parameters immediately before it, until either the beginning of the parameter list, a semicolon separator, or an already typed parameter, is reached.
13:18:20FromDiscord<nnsee> (edit) ": typename." => "`: typename`."
13:19:59FromDiscord<nervecenter> sent a code paste, see https://play.nim-lang.org/#pasty=LkkggcLO
13:20:39FromDiscord<nervecenter> (edit) "https://play.nim-lang.org/#pasty=eRrMRHuA" => "https://play.nim-lang.org/#pasty=NeNNQwRk"
13:20:43FromDiscord<nnsee> the semicolon is more of a visual thing than anything else, but it's very much encouraged
13:20:56FromDiscord<nervecenter> (edit) "https://play.nim-lang.org/#pasty=kPCTWRGp" => "https://play.nim-lang.org/#pasty=pemGIrNO"
13:21:20FromDiscord<russ4806> In reply to @nervecenter "The syntax is that,": Oh awesome... that makes sense.
13:22:19FromDiscord<russ4806> sent a code paste, see https://play.nim-lang.org/#pasty=mlGKmxxb
13:22:28FromDiscord<russ4806> And that only ticks once per second. 🙁
13:23:07FromDiscord<nnsee> i think for a speedtest, you would want to _not_ save it to disk and instead discard the data immediately
13:23:20FromDiscord<nnsee> otherwise your network speed test would potentially be capped by your disk speed
13:23:58FromDiscord<russ4806> Also unclear is how things are handled when the path doesn't exist, what exceptions can be thrown and when, etc.↵↵Before I wrap this up into something that handles things a bit more clearly, and hits callbacks faster (which may get ugly 🙁 )... is tehre already a good lib that handles downloads better than httpclient?
13:24:42FromDiscord<russ4806> In reply to @nnsee "i think for a": Wasn't doing a speedtest. That was an investigative test of how `httpclient` behaves, since it isn't clearly documented.
13:24:53FromDiscord<nnsee> ah, fair
13:41:02FromDiscord<saint._._.> In reply to @russ4806 "And that only ticks": Why sad?
13:41:58FromDiscord<russ4806> In reply to @saint._._. "Why sad?": Because I want faster/smoother callbacks. Doesn't seem configurable.
13:42:08FromDiscord<saint._._.> In reply to @russ4806 "Because I want faster/smoother": Ohh I see
13:42:25FromDiscord<saint._._.> I think there are other http clients
13:43:37FromDiscord<saint._._.> You wanna do http downloading specifically right?
13:43:53FromDiscord<saint._._.> I checked out puppy, which i’ve used before but doesn’t seem like it’s better for downloading
13:45:37FromDiscord<saint._._.> Custom Implementation for Faster Reporting↵The recommended approach is to use a method like getContent or downloadFile that allows you to access the response stream (ResponseHeadersRead in other libraries is similar) and read the data in a loop, updating your progress indicator as each chunk is processed
13:45:50FromDiscord<saint._._.> AI response but it makes sense @russ4806
15:52:04*beholders_eye quit (Ping timeout: 246 seconds)
17:13:49*cornfeedhobo quit (Ping timeout: 264 seconds)
17:18:59*hygo quit (Ping timeout: 240 seconds)
17:18:59*Mister_Magister quit (Ping timeout: 240 seconds)
17:19:41*Mister_Magister joined #nim
17:20:24*hygo joined #nim
17:21:11*cornfeedhobo joined #nim
19:00:03FromDiscord<planetis_m> In reply to @d1_trainstation_01.bsp "I don’t see it": can you search copr repos on dnf?
19:01:09FromDiscord<d1_trainstation_01.bsp> In reply to @planetis_m "can you search copr": I just looked up how to do it
19:01:22FromDiscord<d1_trainstation_01.bsp> I’ll try it again later
19:08:31FromDiscord<planetis_m> Hmm on the nim-lang website it offers other ways to install nim on fedora with terra but it's bloated and it can even build the docs. That's why I made my own.
19:08:52FromDiscord<planetis_m> Can't
20:38:55*beholders_eye joined #nim
21:31:03*rockcavera joined #nim
22:15:19*om3ga quit (Ping timeout: 264 seconds)
22:58:37*beholders_eye quit (Read error: Connection reset by peer)
23:11:20*beholders_eye joined #nim
23:52:07*rockcavera quit (Read error: Connection reset by peer)
23:52:27*rockcavera joined #nim