<< 09-01-2025 >>

01:16:51FromDiscord<heysokam> In reply to @sys64 "Hi, is there a": nope, but there is one from treeform that is better than miniaudio
01:18:49FromDiscord<heysokam> I started a miniaudio wrapper myself, and found treeform's audio wrapper for another lib with positional audio (cant remember the name), and quickly discovered that he already solved the problem of audio for nim
01:22:42*m5zs7k quit (Ping timeout: 265 seconds)
01:24:12*m5zs7k joined #nim
01:45:10FromDiscord<System64 ~ Flandre Scarlet> In reply to @heysokam "I started a miniaudio": https://github.com/treeform/slappy↵This?
02:22:06FromDiscord<heysokam> In reply to @sys64 "https://github.com/treeform/slappy This?": yep
02:34:56FromDiscord<System64 ~ Flandre Scarlet> In reply to @heysokam "yep": oh↵does it allow audio callback like SDL2?
02:44:54FromDiscord<heysokam> 🤷‍♂️ I don't know sdl at all
02:49:45*SchweinDeBurg quit (Quit: WeeChat 4.6.0-dev)
03:11:37*rockcavera quit (Remote host closed the connection)
03:34:59*SchweinDeBurg joined #nim
05:20:44*xet7 joined #nim
05:29:29*krux02 quit (Quit: Leaving)
07:56:21*xet7_ joined #nim
07:59:40*xet7 quit (Ping timeout: 260 seconds)
08:03:20*xet7_ quit (Remote host closed the connection)
08:50:03*PMunch joined #nim
11:43:37FromDiscord<michael.lenz.> Just found another tool for allocations debug, called heapusage. Works both on x86_64 and arm64
11:47:10FromDiscord<bosinski2023> In reply to @michael.lenz. "Just found another tool": nice https://github.com/d99kris/heapusage works on macOS as well. Though i'd prefer the `leaks`-tool which is always avail.
11:58:02FromDiscord<michael.lenz.> In reply to @bosinski2023 "nice https://github.com/d99kris/heapusage works on": Yeah, tried leaks right now , but output makes me cry
11:58:48FromDiscord<michael.lenz.> It’s unfortunate that leak sanitizer isn’t supposed on arm64 yet
12:22:28FromDiscord<bosinski2023> In reply to @michael.lenz. "It’s unfortunate that leak": ups, was not aware of this. But the `leaks`-output is ok ? wdym is wrong with it ?
12:33:25*krux02 joined #nim
12:57:25*ehmry quit (Ping timeout: 244 seconds)
12:58:15*xet7 joined #nim
13:40:12FromDiscord<michael.lenz.> In reply to @bosinski2023 "ups, was not aware": I mean leaks not reporting nim type names and objects names
13:41:14FromDiscord<michael.lenz.> Idk how others debug using these hexadecimal addresses
13:44:12FromDiscord<bosinski2023> In reply to @michael.lenz. "I mean leaks not": ic, i'm not looking for nim-names. Can heapusage report nim identifiers ? that would be cool..
13:45:42FromDiscord<michael.lenz.> In reply to @bosinski2023 "ic, i'm not looking": Yeah, it can, very handy
14:55:54*ehmry joined #nim
16:33:55*ntat joined #nim
20:22:02FromDiscord<whorf> sent a code paste, see https://play.nim-lang.org/#pasty=lZxUdUwH
20:40:42*FromDiscord quit (Remote host closed the connection)
20:40:55*FromDiscord joined #nim
20:43:51FromDiscord<Robyn [She/Her]> Tbh, I'm looking at NimForUE and kinda sad it uses a lot of macros
20:54:34FromDiscord<Robyn [She/Her]> Is there a way to lazily bind to `expr`? This is the code: `let expr = ((plus | minus) -> digits) | (digits -> op -> digits) | between(expr, openParen, closeParen)`
20:55:30FromDiscord<Robyn [She/Her]> Hm if I declare it as a variable and make a function called `lazy` that accepts a `var Parser`, then maybe...
21:01:32FromDiscord<Robyn [She/Her]> It does not work like that, I have realised
21:11:40*ntat quit (Quit: Leaving)
21:42:12*rockcavera joined #nim
21:43:23*rockcavera quit (Remote host closed the connection)
21:53:53*rockcavera joined #nim
22:24:47*tiorock joined #nim
22:24:47*tiorock quit (Changing host)
22:24:47*tiorock joined #nim
22:24:47*rockcavera is now known as Guest8338
22:24:47*Guest8338 quit (Killed (copper.libera.chat (Nickname regained by services)))
22:24:47*tiorock is now known as rockcavera
22:32:21*oprypin quit (Quit: Bye)
22:32:32*oprypin joined #nim
22:51:19*beholders_eye joined #nim
23:31:38FromDiscord<mikenew> In reply to @michael.lenz. "I don't know if": Would you be interested in opening a github issue on this? I'm trying to keep a webserver running on a droplet with half a gig of ram, and it eventually gets killed because it eats too much memory (even though the heap is stable according to `GC_getStatistics()`).
23:32:36FromDiscord<mikenew> I think I have things stable with musl and -d:useMalloc, but it's definitely a problem for a long running nim process