00:02:08 | * | xaltsc joined #nim |
00:33:05 | * | SchweinDeBurg joined #nim |
01:59:11 | * | SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev) |
02:34:36 | * | rockcavera joined #nim |
02:36:57 | * | xet7 quit (Remote host closed the connection) |
03:23:10 | * | krux02_ quit (Remote host closed the connection) |
03:35:10 | FromDiscord | <.tokyovigilante> sent a code paste, see https://play.nim-lang.org/#pasty=gOdsVodu |
03:39:12 | FromDiscord | <Elegantbeef> does it go away if you just do `true` inside the callback? |
03:39:19 | * | madprops left #nim (Leaving) |
03:51:00 | FromDiscord | <.tokyovigilante> nope same error |
03:55:25 | FromDiscord | <Elegantbeef> Works on my machine |
03:56:51 | FromDiscord | <.tokyovigilante> lol |
03:57:02 | FromDiscord | <.tokyovigilante> on musl libc, maybe relevant? |
03:57:16 | FromDiscord | <Elegantbeef> Perhaps |
03:57:24 | FromDiscord | <Elegantbeef> it's getting `-1` there |
03:57:30 | FromDiscord | <Elegantbeef> Thought it was a macro issue earlier |
03:57:39 | FromDiscord | <.tokyovigilante> Although surely I'm not the first to run into this. Looks like literally just a `timerfd_create()` which should work |
03:58:22 | FromDiscord | <.tokyovigilante> sent a code paste, see https://play.nim-lang.org/#pasty=HfhrcVOu |
03:58:23 | FromDiscord | <.tokyovigilante> lol |
04:07:42 | FromDiscord | <.tokyovigilante> Actually maybe I just need to reboot...↵`traps: cmus[11005] general protection fault ip:7f8a39fe2fc0 sp:7f8a3aa9be10 error:0 in libpipewire-module-client-node.so[8fc0,7f8a39fdd000+22000]` |
04:09:06 | * | rockcavera quit (Remote host closed the connection) |
04:13:32 | FromDiscord | <.tokyovigilante> Nope, that didn't help. |
04:18:56 | FromDiscord | <.tokyovigilante> sent a code paste, see https://play.nim-lang.org/#pasty=TmaBjSPu |
04:19:17 | FromDiscord | <.tokyovigilante> This works by itself in a test program, so I'm clearly breaking all my file descriptors somehow. |
04:55:51 | * | SchweinDeBurg joined #nim |
07:25:34 | * | syl quit (Quit: C-x C-c) |
07:28:19 | * | syl joined #nim |
07:30:06 | FromDiscord | <morgan (ping with reply)> so i have a working lil vm which does not yet have function calls/returns, but it does have jumps and math ops. very likely missing some stuff but it's up to 48 instructions between implemented and not implemented and partially implemented https://media.discordapp.net/attachments/371759389889003532/1311957345223442475/image.png?ex=674abefe&is=67496d7e&hm=1a2a7cb9c5199a34174d66ef2b56644610b97c6098c7d820bddfb7ccfe04488d& |
07:30:25 | FromDiscord | <morgan (ping with reply)> that's it counting down a number |
07:31:01 | FromDiscord | <morgan (ping with reply)> 9 ops between setup and final nop to jump to |
08:24:53 | FromDiscord | <odexine> wow nice congrats |
08:36:29 | * | coldfeet joined #nim |
08:53:55 | * | coldfeet quit (Remote host closed the connection) |
09:06:30 | FromDiscord | <morgan (ping with reply)> thanks! |
09:07:07 | FromDiscord | <morgan (ping with reply)> i already have a stack of registers and program counters, so implementing function calls won't be a huge amount of work |
09:07:35 | FromDiscord | <morgan (ping with reply)> i'll use a stack of info on where to write return values, to have that as a nice helpful thing |
09:10:24 | FromDiscord | <morgan (ping with reply)> i like how the spec has turned out |
09:12:11 | FromDiscord | <morgan (ping with reply)> not super risc-y with super simple ops, there's stuff for moving banks of registers, the stack of registers, and calls with returns |
09:12:51 | FromDiscord | <morgan (ping with reply)> anyways, bedtime |
09:37:11 | FromDiscord | <.tokyovigilante> sent a code paste, see https://play.nim-lang.org/#pasty=uuXahywx |
09:37:28 | FromDiscord | <.tokyovigilante> If I comment this out my `libcurl`loop works fine |
11:20:15 | * | coldfeet joined #nim |
11:39:55 | * | xet7 joined #nim |
11:52:29 | * | coldfeet quit (Remote host closed the connection) |
12:51:35 | * | SchweinDeBurg quit (Ping timeout: 260 seconds) |
12:53:59 | * | SchweinDeBurg joined #nim |
13:16:05 | * | SchweinDeBurg quit (Ping timeout: 260 seconds) |
13:17:46 | * | SchweinDeBurg joined #nim |
13:22:25 | * | SchweinDeBurg quit (Ping timeout: 248 seconds) |
13:24:06 | * | SchweinDeBurg joined #nim |
13:32:51 | * | SchweinDeBurg quit (Ping timeout: 265 seconds) |
13:34:26 | * | SchweinDeBurg joined #nim |
14:22:48 | * | DraCMiC joined #nim |
14:32:35 | * | coldfeet joined #nim |
14:42:03 | * | ntat joined #nim |
16:49:00 | FromDiscord | <juancarlospaco> https://x.com/seanbax/status/1707220904382460234 🤔 |
17:06:52 | * | SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev) |
17:14:30 | FromDiscord | <ericksone> sent a long message, see https://pasty.ee/ibkbUpLl |
17:19:35 | FromDiscord | <requiresupport> anyone have experience with converting pure python libraries into nim? how tedious is it? async library |
17:21:02 | FromDiscord | <requiresupport> (edit) "anyone have experience with converting pure python libraries into nim? how tedious is it? ... async" added "anything that can semi-automate this process? what if am converting an" |
17:24:28 | FromDiscord | <djazz> <@&371760044473319454> see long post above |
17:36:48 | * | beholders_eye joined #nim |
17:45:49 | * | beholders_eye quit (Ping timeout: 245 seconds) |
17:53:05 | * | GnuYawk quit (Quit: The Lounge - https://thelounge.chat) |
17:53:29 | * | GnuYawk joined #nim |
18:31:22 | FromDiscord | <tapeda> In reply to @requiresupport "anyone have experience with": Ig you can try to do it piecewise with something like nimpy, but they have really quite different semantics, types just being the tip of the iceberg in differences. |
19:30:51 | * | SchweinDeBurg joined #nim |
19:50:13 | * | SchweinDeBurg quit (Ping timeout: 244 seconds) |
19:52:05 | * | SchweinDeBurg joined #nim |
21:48:44 | * | ntat quit (Quit: Leaving) |
22:32:16 | FromDiscord | <double_spiral> Is there a technical reason we have to `discard` things or is it just for explicitness |
22:33:15 | FromDiscord | <double_spiral> By things I'm specifically referring to unused return values |
22:55:51 | FromDiscord | <zumi.dxy> explicitness I believe↵it's very easy in C to ignore error values when you shouldn't |
22:56:28 | FromDiscord | <bostonboston> I think it's just to remind you. `{.discardable.}` exists too |
22:59:31 | FromDiscord | <Elegantbeef> Nim is expressionful so it's best to force you to handle them |
23:00:25 | * | coldfeet quit (Remote host closed the connection) |
23:00:44 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=jHeaUdhx |
23:46:42 | * | xet7 quit (Remote host closed the connection) |
23:48:08 | * | xet7 joined #nim |