00:27:37 | * | Jakepys joined #nim |
00:27:59 | Jakepys | Hi, i am new in nim :) |
00:38:02 | * | SchweinDeBurg joined #nim |
00:54:21 | * | beholders_eye quit (Ping timeout: 252 seconds) |
00:57:05 | * | Jakepys quit (Quit: Lost terminal) |
01:11:28 | * | beholders_eye joined #nim |
01:19:54 | * | xet7 quit (Remote host closed the connection) |
01:53:48 | * | tiorock joined #nim |
01:53:48 | * | rockcavera is now known as Guest8735 |
01:53:48 | * | Guest8735 quit (Killed (platinum.libera.chat (Nickname regained by services))) |
01:53:48 | * | tiorock is now known as rockcavera |
01:55:54 | * | tiorock joined #nim |
01:55:54 | * | rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
01:55:54 | * | tiorock is now known as rockcavera |
01:56:34 | * | SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev) |
02:26:20 | * | rockcavera quit (Remote host closed the connection) |
04:01:04 | * | SchweinDeBurg joined #nim |
04:01:55 | * | om3ga joined #nim |
04:06:04 | tokyovigilante | If I want to re-reference an object I have passed in to a C callback, is there a best practice? ie I have c_function(void *data), so I call c_function(<nim_object>.addr); then later a callback returns the object as a pointer |
04:06:47 | tokyovigilante | I'd expect to call something like var nimObj = cast[nim_object](data)[] but this isn't workign |
04:09:22 | FromDiscord | <bostonboston> If you're returning a pointer to a Nim type you probably need cast to a ptr before before dereferencing, alternative if you're using importc you can just declare that the function returns a ptr to the Nim type |
04:13:17 | tokyovigilante | thanks, sorry I do mean cast[ptr nim_object](data)[] |
04:13:49 | * | ttkap quit (Ping timeout: 272 seconds) |
04:15:00 | tokyovigilante | oh no, false alarm, seems my pointer is nil |
04:23:01 | * | ttkap joined #nim |
04:26:48 | tokyovigilante | Is there any way to check if a FD is registered with asyncdispatch? |
04:28:32 | tokyovigilante | I'm wrapping libcurl and the socket callback wants to watch a FD for read readiness, then the same FD for write-readiness, and I don't want to have to track them myself |
04:31:50 | tokyovigilante | ah, probably contains(getGlobalDispatcher, fd) |
04:45:13 | * | xet7 joined #nim |
05:42:11 | perr__ | j/join #c |
06:27:54 | * | beholders_eye quit (Ping timeout: 246 seconds) |
06:28:20 | * | beholders_eye joined #nim |
06:36:43 | * | ntat joined #nim |
07:07:38 | * | Guest56 joined #nim |
07:08:07 | * | Guest56 quit (Client Quit) |
07:28:37 | * | om3ga quit (Read error: Connection reset by peer) |
07:30:49 | * | om3ga joined #nim |
07:32:40 | Amun-Ra | you'll have to keep that object alive either way |
08:07:54 | * | ntat quit (Quit: Leaving) |
08:19:29 | * | beholders_eye quit (Ping timeout: 252 seconds) |
10:17:20 | * | tokyovigilante quit (Ping timeout: 272 seconds) |
10:17:29 | * | tokyovigilante joined #nim |
10:31:02 | * | beholders_eye joined #nim |
10:37:44 | * | perr__ quit (Ping timeout: 252 seconds) |
10:39:04 | * | perr__ joined #nim |
11:13:27 | * | om3ga quit (Quit: Bye) |
11:15:43 | * | om3ga joined #nim |
13:28:03 | FromDiscord | <pmunch> In reply to @Jakepys "Hi, i am new": Hi new in Nim, I'm PMunch |
13:29:29 | FromDiscord | <nnsee> i didn't know you were a dad, PMunch |
13:48:12 | * | ntat joined #nim |
14:16:19 | FromDiscord | <odexine> Congrats |
14:43:54 | * | disso-peach joined #nim |
15:50:14 | * | ehmry quit (Ping timeout: 244 seconds) |
17:04:38 | * | SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev) |
18:05:13 | * | xet7 quit (Remote host closed the connection) |
18:06:39 | * | xet7 joined #nim |
19:01:42 | * | xet7 quit (Quit: Leaving) |
20:18:21 | FromDiscord | <pmunch> I honestly wonder sometimes if I have a kid I don't know about somewhere↵(@nnsee) |
20:29:05 | FromDiscord | <nnsee> In reply to @pmunch "I honestly wonder sometimes": is that... is that something that might be true? |
20:31:14 | FromDiscord | <morgan (ping with reply)> blend2d looks neat i might use it for graphics for the vector thing i've been working on |
20:31:44 | FromDiscord | <morgan (ping with reply)> tho probably would be annoying to write a ui in so maybe ill use koi for that |
20:31:53 | FromDiscord | <morgan (ping with reply)> two different vector renderers in one app lol |
20:32:39 | FromDiscord | <morgan (ping with reply)> i was considering some sorta terminal repl which would open windows to preview things. might still have some of that idk, still thinking things over |
20:33:50 | FromDiscord | <morgan (ping with reply)> it's for a font making software but i don't have any near term plans to include direct vector editing. just imported paths and settings for how to turn those into letter shapes in whatever style |
20:54:39 | FromDiscord | <pmunch> In reply to @nnsee "is that... is that": Not very likely, but its not completely impossible |
20:56:45 | FromDiscord | <nnsee> oh my |
21:05:58 | * | beholders_eye quit (Ping timeout: 265 seconds) |
21:32:31 | * | ntat quit (Quit: Leaving) |
21:36:05 | * | rockcavera joined #nim |
21:43:18 | * | tiorock joined #nim |
21:43:18 | * | tiorock quit (Changing host) |
21:43:18 | * | tiorock joined #nim |
21:43:18 | * | rockcavera is now known as Guest1931 |
21:43:18 | * | tiorock is now known as rockcavera |
21:45:25 | * | tiorock joined #nim |
21:45:25 | * | tiorock quit (Changing host) |
21:45:25 | * | tiorock joined #nim |
21:45:25 | * | rockcavera is now known as Guest6409 |
21:45:25 | * | Guest6409 quit (Killed (silver.libera.chat (Nickname regained by services))) |
21:45:25 | * | tiorock is now known as rockcavera |
21:47:00 | * | Guest1931 quit (Ping timeout: 276 seconds) |
22:38:37 | FromDiscord | <dawidek.2137> what are good macro util libraries? so far i found PMunch/macroutils |
22:50:11 | FromDiscord | <dawidek.2137> sent a code paste, see https://play.nim-lang.org/#pasty=SQzIYvyc |
23:16:24 | FromDiscord | <dawidek.2137> sent a code paste, see https://play.nim-lang.org/#pasty=PyCjIbyv |
23:27:10 | FromDiscord | <Elegantbeef> `openArray[char]` needs a converter so it does not work expectedly inside a generic parameter like that |
23:28:44 | FromDiscord | <PATRYK SENS> haCK'yt |