| 00:42:22 | * | SchweinDeBurg quit (Quit: WeeChat 4.4.0-dev) |
| 00:52:09 | * | SchweinDeBurg joined #nim |
| 00:57:35 | FromDiscord | <saiplayz1138> anyone know any good image libraries to turn an image transparent? |
| 01:01:22 | FromDiscord | <user2m> In reply to @saiplayz1138 "anyone know any good": maybe pixie? honestly just use python PIL |
| 01:09:26 | FromDiscord | <saiplayz1138> In reply to @user2m "maybe pixie? honestly just": what if i want to use nim |
| 01:10:01 | FromDiscord | <user2m> In reply to @saiplayz1138 "what if i want": try pixie or use nimporter + python PIL |
| 01:10:10 | FromDiscord | <saiplayz1138> In reply to @user2m "try pixie or use": oh right |
| 01:13:00 | FromDiscord | <saiplayz1138> In reply to @user2m "try pixie or use": do you mean nimporter or nimpy |
| 01:14:36 | * | krux02_ quit (Remote host closed the connection) |
| 01:19:18 | FromDiscord | <user2m> In reply to @saiplayz1138 "do you mean nimporter": sorry nimpy |
| 01:20:32 | FromDiscord | <saiplayz1138> alr |
| 01:49:23 | * | dtomato quit (Ping timeout: 256 seconds) |
| 01:49:49 | * | dtomato joined #nim |
| 02:03:37 | FromDiscord | <saiplayz1138> cant get em to work |
| 02:04:03 | FromDiscord | <saiplayz1138> maybe pixie has an eraser or something to make it transparent |
| 03:55:26 | FromDiscord | <ElegantBeef> https://treeform.github.io/pixie/pixie/images.html#draw,Image,Image |
| 03:58:28 | FromDiscord | <ElegantBeef> @saiplayz1138 |
| 04:00:44 | FromDiscord | <saiplayz1138> In reply to @elegantbeef "https://treeform.github.io/pixie/pixie/images.html#": oh thanks |
| 04:01:26 | FromDiscord | <saiplayz1138> does it work with transparent images though? |
| 04:01:27 | FromDiscord | <saiplayz1138> @ElegantBeef |
| 04:02:08 | FromDiscord | <ElegantBeef> It blends between two images so why not |
| 05:31:42 | * | rockcavera quit (Remote host closed the connection) |
| 05:46:12 | * | ntat joined #nim |
| 06:49:45 | * | PMunch joined #nim |
| 07:48:36 | * | derpydoo joined #nim |
| 07:57:38 | * | ntat quit (Quit: Leaving) |
| 08:27:02 | FromDiscord | <nnsee> In reply to @saiplayz1138 "does it work with": transparency is just an extra channel |
| 08:28:26 | FromDiscord | <nnsee> the "alpha" value if you will |
| 09:14:27 | * | m5zs7k quit (Ping timeout: 252 seconds) |
| 09:15:37 | * | m5zs7k joined #nim |
| 09:39:36 | FromDiscord | <Robyn [She/Her]> In reply to @user2m "try pixie or use": Pixie also has Nim bindings :) |
| 09:40:50 | FromDiscord | <Robyn [She/Her]> Wait that's wrong |
| 09:40:56 | FromDiscord | <Robyn [She/Her]> Pixie has Python bindings |
| 09:53:47 | FromDiscord | <nnsee> In reply to @chronos.vitaqua "Pixie also has Nim": :o |
| 09:53:53 | FromDiscord | <nnsee> TIL |
| 09:57:32 | FromDiscord | <Robyn [She/Her]> https://github.com/treeform/pixie-python |
| 10:09:51 | * | gst joined #nim |
| 10:36:55 | * | beholders_eye joined #nim |
| 10:48:05 | * | beholders_eye quit (Ping timeout: 240 seconds) |
| 11:31:41 | * | derpydoo quit (Ping timeout: 240 seconds) |
| 11:33:26 | FromDiscord | <albassort> im working in python right now |
| 11:33:32 | FromDiscord | <albassort> idk |
| 11:33:54 | FromDiscord | <albassort> I think its better than LUA but worse than JS |
| 11:34:09 | FromDiscord | <albassort> although Numpy makes Python so powerful. Python is hard carried |
| 11:39:29 | * | coldfeet joined #nim |
| 11:51:50 | FromDiscord | <Robyn [She/Her]> In reply to @albassort "I think its better": Worse than JS?? |
| 11:52:37 | * | beholders_eye joined #nim |
| 11:54:33 | FromDiscord | <nnsee> .oO( worse than js??? ) |
| 12:00:10 | PMunch | Right.. Trying to get choosenim up and running. Apparently its so old its kinda hard to build with modern Nim.. |
| 12:02:44 | FromDiscord | <odexine> Let’s just finally fork it and redirect everyone to use that |
| 12:03:26 | PMunch | That's what I'm trying to do.. |
| 12:04:15 | FromDiscord | <pmunch> Don't tell anyone, but it's already forked |
| 12:05:05 | FromDiscord | <odexine> Congrats |
| 12:06:04 | FromDiscord | <nnsee> (i also forked it a while ago. even registered a domain for it) |
| 12:06:08 | FromDiscord | <nnsee> i think it was getnim.org or something |
| 12:06:12 | FromDiscord | <ieltan> I'm surprised something like choosenim have been left in the dark for so long... |
| 12:06:28 | FromDiscord | <nnsee> also getnim.com |
| 12:06:31 | FromDiscord | <nnsee> apparently |
| 12:07:06 | FromDiscord | <odexine> Would have been kinda fucked up if we called it gnim and pronounced it the same as Nim |
| 12:07:33 | FromDiscord | <odexine> Hehe 👉👈 |
| 12:08:15 | FromDiscord | <ieltan> Why not make it choosenim2 and create a soft link `choosenim` when it get installed |
| 12:09:26 | FromDiscord | <odexine> What about chooni and we make a mascot that’s just an anime girl with middle school disease |
| 12:09:39 | FromDiscord | <odexine> I’m sorry it’s best I stop |
| 12:10:03 | FromDiscord | <ieltan> Middle school disease? |
| 12:10:14 | FromDiscord | <nnsee> what the fuck is middle school disease |
| 12:10:26 | FromDiscord | <ieltan> Ohhh |
| 12:10:35 | FromDiscord | <ieltan> Chunibyuu |
| 12:10:41 | FromDiscord | <ieltan> I probably spelled that wrong |
| 12:10:45 | FromDiscord | <nnsee> i have no idea what that means |
| 12:11:38 | FromDiscord | <ieltan> sent a code paste, see https://play.nim-lang.org/#pasty=ZRpTBRsn |
| 12:20:08 | * | ignorant_iterlop joined #nim |
| 12:23:52 | * | beholders_eye quit (Ping timeout: 255 seconds) |
| 12:24:32 | FromDiscord | <demotomohiro> `choosenimbyo`. |
| 12:24:45 | * | coldfeet quit (Remote host closed the connection) |
| 12:24:52 | FromDiscord | <odexine> Choose Nim disease I see |
| 12:25:03 | FromDiscord | <asbjorn2> sent a long message, see https://pasty.ee/nQSyVMnS |
| 12:25:19 | FromDiscord | <asbjorn2> Feel free to tell me, if I'm asking the wrong question 😅 |
| 12:31:23 | * | ignorant_iterlop quit (Quit: Client closed) |
| 12:44:46 | * | beholders_eye joined #nim |
| 12:50:10 | * | coldfeet joined #nim |
| 13:05:12 | FromDiscord | <pmunch> In reply to @nnsee "(i also forked it": I meant forked to the nim-lang organization |
| 13:06:34 | FromDiscord | <pmunch> In reply to @asbjorn2 "It's a bit quiet": You can add your `requires` as normal, and then just run `nimble install` manually for the dependency |
| 13:14:46 | * | SEP_ joined #nim |
| 13:17:50 | * | SEP quit (Ping timeout: 268 seconds) |
| 13:24:04 | FromDiscord | <albassort> In reply to @chronos.vitaqua "Worse than JS??": I like JS |
| 13:24:11 | FromDiscord | <albassort> its like C but high level |
| 13:24:29 | FromDiscord | <albassort> boring in a good way |
| 13:32:18 | FromDiscord | <asbjorn2> In reply to @pmunch "You can add your": hmm this works for imperative package management, but I'm trying to build with nix, where that doesnt' really make sense :/ |
| 13:32:45 | FromDiscord | <asbjorn2> I'll try to figure something out. for now using `--path` and listing all of my dependencies twice works |
| 13:34:20 | FromDiscord | <pmunch> Why twice? If you use path then you don't need nimble |
| 13:34:56 | FromDiscord | <asbjorn2> ah but I'm using nimble to specify and fetch external dependencies |
| 13:35:08 | FromDiscord | <asbjorn2> then I can generate a lockfrile from a .nimble file using `nim_lk` |
| 13:35:17 | FromDiscord | <asbjorn2> and it all works with `nix`'s `buildNimPackage` |
| 13:35:55 | FromDiscord | <asbjorn2> so I have a workflow that works well for any package that nimble knows how to fetch from the internet, but I'm having trouble adapting it to also work for a local package |
| 13:36:03 | FromDiscord | <_nenc> In reply to @albassort "I think its better": Nim itself learns from Python…… |
| 13:37:01 | FromDiscord | <albassort> i could write an essay on this message |
| 13:37:37 | FromDiscord | <albassort> sent a long message, see https://pasty.ee/rAsyUcCn |
| 13:41:21 | * | beholders_eye quit (Ping timeout: 272 seconds) |
| 13:42:29 | * | ntat joined #nim |
| 13:45:31 | FromDiscord | <Robyn [She/Her]> In reply to @albassort "boring in a good": Fair, even if I don't see it |
| 13:56:03 | * | beholders_eye joined #nim |
| 14:04:09 | PMunch | @asbjorn2, you can require URLs, so maybe you can require a `file://` URL? |
| 14:05:20 | * | rockcavera joined #nim |
| 14:10:32 | NimEventer | New Nimble package! nimgo - Asynchronous Library Inspired by Go's goroutines, for Nim, see https://github.com/Alogani/NimGo |
| 14:17:56 | FromDiscord | <_nenc> In reply to @albassort "it would boil down": ok, sorry for it |
| 14:18:07 | FromDiscord | <_nenc> (edit) "it" => "my misunderstanding" |
| 14:20:05 | FromDiscord | <saiplayz1138> what editor do you guys use for Nim? |
| 14:20:20 | PMunch | Vim :) |
| 14:20:41 | FromDiscord | <saiplayz1138> I personally use vs code, but I wanna hear you guys' opinion |
| 14:21:08 | FromDiscord | <mratsim> In reply to @saiplayz1138 "what editor do you": vscode and nvim |
| 14:25:28 | * | PMunch quit (Quit: Leaving) |
| 14:31:37 | strogon14 | PMunch: this is what I do to build choosenim for the AUR: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=choosenim |
| 14:32:31 | strogon14 | I'm building proxyexe first, in a separate step. |
| 14:46:57 | FromDiscord | <user2m> sent a code paste, see https://play.nim-lang.org/#pasty=kbMJQGrI |
| 14:51:10 | FromDiscord | <pmunch> In reply to @strogon14 "<@392962235737047041>: this is what": How does that work :S I got a bunch of errors I had to fix to be able to build with newest version of Nim and Nimble.. |
| 14:51:48 | * | inselver joined #nim |
| 14:52:00 | * | inselver left #nim (#nim) |
| 14:52:01 | * | inselver joined #nim |
| 14:52:48 | FromDiscord | <pmunch> In reply to @user2m "does anyone know where": Try `static[string]` instead of that cstring |
| 14:54:53 | FromDiscord | <pmunch> The manual also says that emit with back ticks is deprecated: https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-emit-pragma |
| 15:01:32 | * | ntat quit (Quit: Leaving) |
| 15:05:23 | * | lucasta joined #nim |
| 15:05:46 | FromDiscord | <user2m> sent a code paste, see https://play.nim-lang.org/#pasty=MQdykhud |
| 15:07:56 | FromDiscord | <_nenc> In reply to @user2m "Thanks I'm getting a": try $body ? |
| 15:09:32 | * | beholders_eye quit (Ping timeout: 256 seconds) |
| 15:10:25 | FromDiscord | <user2m> sent a code paste, see https://play.nim-lang.org/#pasty=VrzOyjsm |
| 15:12:30 | * | m5zs7k quit (Ping timeout: 252 seconds) |
| 15:14:21 | strogon14 | pmumch: not sure. but it builds fine here on Manjaro Linux. fwiw, I have --mm:orc and -d:useMalloc in my user's nim.cfg. |
| 15:16:47 | FromDiscord | <_nenc> hmmmmm |
| 15:16:49 | FromDiscord | <odexine> sent a code paste, see https://play.nim-lang.org/#pasty=LiBpFuwG |
| 15:17:00 | FromDiscord | <_nenc> yes yes yes |
| 15:17:07 | FromDiscord | <_nenc> I think you need the body compiled |
| 15:18:31 | FromDiscord | <_nenc> sent a code paste, see https://play.nim-lang.org/#pasty=WpGSRTzF |
| 15:18:37 | FromDiscord | <_nenc> thats it |
| 15:18:43 | FromDiscord | <user2m> sent a code paste, see https://play.nim-lang.org/#pasty=tuMKxKbp |
| 15:18:48 | FromDiscord | <odexine> In reply to @_nenc "i am too stupid": dont worry about it |
| 15:18:57 | FromDiscord | <odexine> youll learn over time |
| 15:24:24 | * | m5zs7k joined #nim |
| 15:27:46 | FromDiscord | <pmunch> In reply to @strogon14 "pmumch: not sure. but": Very strange, I got all sorts of SSL, import issues, and things having been removed from nimble.. |
| 15:28:33 | FromDiscord | <pmunch> I see you have nimble as a makedepend, so it uses Manjaro nimble to build initially? What version is that? |
| 15:28:37 | strogon14 | did you try using an isolated nimble dir, like I do in the PKGBUILD? |
| 15:29:28 | strogon14 | Bootsrap nim/nimble is from the official Arch/Manjaro package: https://archlinux.org/packages/extra/x86_64/nim/ |
| 15:30:12 | strogon14 | But I also tried building with the latest Nim version installed by by choosenim itself. |
| 15:31:16 | strogon14 | Also I should maybe try building in a fresh Arch docker image... |
| 15:45:04 | strogon14 | pmuch: just sucessfully tested building the package in a a fresh Arch docker container: https://cpaste.org/?8a7825c8c62d0958#4N42BZ5HeeizCpymsy5cjx5hNwc1aLmju9ojDPtHvxEN |
| 15:45:11 | strogon14 | *pmunch |
| 15:54:45 | * | krux02 joined #nim |
| 15:58:35 | FromDiscord | <wannabelokesh> nvim setup for nim, need help. |
| 16:00:51 | * | ntat joined #nim |
| 16:03:35 | strogon14 | pmunch: and building the choosenim package with Nim installed via "choosenim stable; export PATH="$HOME/.nimble/bin:$PATH" works too. |
| 16:03:42 | FromDiscord | <odexine> In reply to @wannabelokesh "nvim setup for nim,": help with what exactly? |
| 16:12:58 | FromDiscord | <wannabelokesh> In reply to @odexine "help with what exactly?": I need autocompletion, snipped suggestion, code/document/file formatting with nim conventions on nvim. |
| 16:13:36 | FromDiscord | <wannabelokesh> Hey, btw thanks for replying. I wasn't expecting help. I thought everyone is busy or just don't wanna help. |
| 16:19:23 | FromDiscord | <user2m> sent a code paste, see https://play.nim-lang.org/#pasty=AdRzCCMd |
| 16:21:07 | FromDiscord | <pmunch> `--linedir:off` or something like that? |
| 16:21:15 | FromDiscord | <odexine> darn beat to the punch |
| 16:21:28 | FromDiscord | <odexine> beat to the p(m)unch |
| 16:23:06 | FromDiscord | <user2m> In reply to @pmunch "`--linedir:off` or something like": hmm that doesnt seem to change anything |
| 16:24:51 | FromDiscord | <user2m> `--lineTrace:off` did it! |
| 16:26:13 | FromDiscord | <user2m> @pmunch @odexine Thank you both. this has been so helpful!! |
| 16:28:17 | * | inselver quit (Quit: Leaving.) |
| 16:33:29 | FromDiscord | <wannabelokesh> In reply to @odexine "help with what exactly?": are you up for helping? |
| 16:33:56 | FromDiscord | <odexine> i'm not really sure what troubles you're having |
| 16:33:58 | FromDiscord | <odexine> what have you installed |
| 16:38:04 | FromDiscord | <wannabelokesh> I need ide features in neovim. well not all but mostly. ↵I need snippet suggestion, autocompletion suggestion, file formatting for nim files. |
| 16:38:41 | FromDiscord | <saiplayz1138> has anyone made Doom in Nim? |
| 16:38:54 | FromDiscord | <wannabelokesh> idk let's do it |
| 16:39:22 | FromDiscord | <odexine> In reply to @wannabelokesh "I need ide features": LSP or nim.nvim |
| 16:39:41 | FromDiscord | <odexine> no snippet in either i believe |
| 16:40:02 | FromDiscord | <odexine> formatting is poor personally speaking, use an external tool (nph) that runs on save |
| 17:20:11 | * | m5zs7k quit (Ping timeout: 268 seconds) |
| 17:24:52 | * | m5zs7k joined #nim |
| 17:39:26 | NimEventer | New thread by lscrd: Nimsuggest and Manjaro Nim installation, see https://forum.nim-lang.org/t/11723 |
| 17:48:02 | * | coldfeet quit (Remote host closed the connection) |
| 17:57:35 | FromDiscord | <Robyn [She/Her]> I need to wrap the Ollama API in Nim :/ |
| 17:57:44 | * | gst quit (Quit: Client closed) |
| 18:03:24 | FromDiscord | <Robyn [She/Her]> When wrapping an API with optional params, would y'all say using `Option` types are better? And how about optional lists? Should those be empty? |
| 18:06:13 | FromDiscord | <morgan> ah i found it https://github.com/bkaradzic/bgfx/blob/master/scripts/bindings-zig.lua |
| 18:06:28 | FromDiscord | <morgan> i might actually try doing this |
| 18:06:48 | FromDiscord | <morgan> because it would be so cool to have autogenerated nim bindings |
| 18:19:13 | FromDiscord | <Robyn [She/Her]> What timestamp format is this and can the Nim stdlib parse it? `2023-08-04T08:52:19.385406455-07:00` |
| 18:19:23 | FromDiscord | <Robyn [She/Her]> In reply to @morganalyssa "i might actually try": Good luck! It'd definitely be cool yeah lol |
| 18:21:37 | FromDiscord | <morgan> i think im gonna also poke around in sokol and see if they're doing something similar that i can um borrow some code from |
| 18:22:59 | FromDiscord | <Robyn [She/Her]> XD good luck! |
| 18:23:18 | FromDiscord | <Robyn [She/Her]> I think I already recommended Raylib, right? |
| 18:24:33 | FromDiscord | <morgan> idk |
| 18:24:46 | FromDiscord | <morgan> idk if i looked much into it |
| 18:25:17 | FromDiscord | <morgan> i saw that bgfx had a way to make it render to an existing window handle and i jumped at the opportunity to have a less painful experience lmao |
| 18:25:39 | FromDiscord | <morgan> i'm using this for my audio plugin framework and the plugin host provides a window for me to render into |
| 18:26:27 | FromDiscord | <morgan> and along with that, it has to allow me to do normal gpu rendering stuff |
| 18:26:39 | FromDiscord | <odexine> In reply to @chronos.vitaqua "What timestamp format is": that's ISO 8601 and the standard library can do that easily no? |
| 18:26:41 | FromDiscord | <Robyn [She/Her]> Fair enough |
| 18:26:52 | FromDiscord | <Robyn [She/Her]> In reply to @odexine "that's ISO 8601 and": I didn't know what it was lol |
| 18:27:23 | FromDiscord | <morgan> i do not want to draw a circle, i need to draw a mesh with a shader. finding that with rendering to an existing window has been limiting lol |
| 18:27:45 | FromDiscord | <odexine> me when i have random ISO standards in my head |
| 18:27:56 | FromDiscord | <Robyn [She/Her]> https://nim-lang.org/docs/times.html#parse%2Cstring%2CTimeFormat%2CTimezone%2CDateTimeLocale 😭 |
| 18:28:05 | FromDiscord | <morgan> i remember finding an issue on something else (might've been raylib for all i know) where the dev said it would require an internal restructure of stuff |
| 18:28:12 | FromDiscord | <Robyn [She/Her]> In reply to @morganalyssa "i do not want": Yeah fair enough |
| 18:28:19 | FromDiscord | <Robyn [She/Her]> In reply to @morganalyssa "i remember finding an": To use an existing window handle? |
| 18:28:28 | FromDiscord | <morgan> yeah |
| 18:28:53 | FromDiscord | <Robyn [She/Her]> Rip |
| 18:29:10 | FromDiscord | <Robyn [She/Her]> Oh doesn't BGFX have a C API too? |
| 18:29:15 | FromDiscord | <Robyn [She/Her]> Could just Futhark it |
| 18:29:42 | FromDiscord | <morgan> i could probably do that |
| 18:29:56 | FromDiscord | <morgan> for sokol, the dev was like "here's some code maybe you can figure out how to do it" i spent like most of two weeks doing nothing because it was so overwhelming |
| 18:30:11 | FromDiscord | <Robyn [She/Her]> Rip that's fair |
| 18:31:03 | FromDiscord | <morgan> and that was just the time i wasn't doing anything, it was an issue for a while before too lol |
| 18:37:13 | FromDiscord | <Robyn [She/Her]> @odexine↵So breaking this down: `2023-12-12T14:13:43.416799Z`↵It's `{YYYY}-{MM}-{dd}T{HH}:{mm}:{ss}.{fffffffff}Z`? |
| 18:38:27 | FromDiscord | <odexine> in what format |
| 18:39:03 | FromDiscord | <Robyn [She/Her]> I have no idea, that's all Ollama gives me as an example date |
| 18:39:08 | FromDiscord | <Robyn [She/Her]> Doesn't say what format it is exactly |
| 18:41:22 | FromDiscord | <odexine> times module format `yyyy-MM-dd'T'HH:mm:ss.fffffffffzzz`\ |
| 18:41:23 | FromDiscord | <odexine> (edit) "`yyyy-MM-dd'T'HH:mm:ss.fffffffffzzz`\" => "`yyyy-MM-dd'T'HH:mm:ss.fffffffffzzz`" |
| 18:41:50 | FromDiscord | <Robyn [She/Her]> Oh |
| 18:42:02 | FromDiscord | <Robyn [She/Her]> Thank you aha |
| 18:45:01 | FromDiscord | <Robyn [She/Her]> TimeParseError ;-; |
| 18:45:28 | FromDiscord | <Robyn [She/Her]> Had to do `'.'` so the code is now `parse("2023-12-12T14:13:43.416799Z", "yyyy-MM-dd'T'HH:mm:ss'.'fffffffffzzz")` but I don't see the thing because I understand jack- |
| 18:45:54 | FromDiscord | <odexine> huh periods do need to be quoted |
| 18:46:10 | FromDiscord | <Robyn [She/Her]> Yep |
| 18:46:12 | * | ntat quit (Quit: Leaving) |
| 18:46:39 | FromDiscord | <Robyn [She/Her]> But yeah that's a time parser error, specifically the message is `Error: unhandled exception: Failed to parse '2023-12-12T14:13:43.416799Z' with format 'yyyy-MM-dd'T'HH:mm:ss'.'fffffffffzzz'. Failed on pattern 'fffffffff' [TimeParseError]` |
| 18:47:10 | FromDiscord | <odexine> remove 3 fs |
| 18:47:42 | FromDiscord | <odexine> the amount of fractional digits should match the amount of fs |
| 19:09:42 | FromDiscord | <pmunch> Which is super annoying in some cases.. |
| 19:46:08 | FromDiscord | <Robyn [She/Her]> Ah |
| 19:46:39 | * | redj quit (Ping timeout: 255 seconds) |
| 19:48:45 | * | redj joined #nim |
| 19:54:03 | * | redj quit (Ping timeout: 260 seconds) |
| 19:56:41 | * | redj joined #nim |
| 20:49:56 | * | beholders_eye joined #nim |
| 21:38:08 | FromDiscord | <sOkam! 🫐> what does `rec` stand for in `nnkRecList` and friends? |
| 21:56:38 | FromDiscord | <ElegantBeef> record |
| 22:09:37 | FromDiscord | <sOkam! 🫐> ty |
| 22:10:02 | FromDiscord | <sOkam! 🫐> what does record mean in the context of an object's field list? |
| 22:18:55 | FromDiscord | <ElegantBeef> An object is a record |
| 22:19:00 | FromDiscord | <ElegantBeef> They're synonymous |
| 22:19:15 | FromDiscord | <sOkam! 🫐> is that a CS concept? can look it up |
| 22:19:44 | FromDiscord | <sOkam! 🫐> never heard of them being synonymous, but if its a known CS concept I can research it |
| 22:20:08 | FromDiscord | <ElegantBeef> It's quite literally another name for `struct` or `object` or whatever you want to call named types with fields |
| 22:20:13 | FromDiscord | <sOkam! 🫐> also, what's different between `stmt` and `expr` in Nim's AST? the feel almost equivalent? 🤔 |
| 22:20:24 | FromDiscord | <ElegantBeef> `expr` returns a value |
| 22:20:39 | FromDiscord | <sOkam! 🫐> oh |
| 22:20:48 | FromDiscord | <sOkam! 🫐> In reply to @elegantbeef "It's quite literally another": kkty ✍️ |
| 22:47:37 | FromDiscord | <Robyn [She/Her]> In reply to @elegantbeef "`expr` returns a value": So does a statement list though :P |
| 22:47:43 | FromDiscord | <Robyn [She/Her]> Also, how long has the bridge been down now? |
| 22:47:54 | FromDiscord | <Robyn [She/Her]> Sounds like someone should work on a rewrite |
| 22:51:33 | FromDiscord | <Robyn [She/Her]> Unrelated but for a parser combinator, would a `combinator` macro be a good decision to make? My thought process is that it'd be a pragma that could chain given combinators together at compile-time so that runtime cost is very minimal since you don't need to have chains of 100 combinators |
| 22:51:57 | FromDiscord | <Robyn [She/Her]> Either way this'd come later, a combinator macro could definitely make debugging nicer |
| 22:56:17 | FromDiscord | <morgan> In reply to @chronos.vitaqua "Also, how long has": would also be nice to have the bridge able to do moderation actions so mods awake on one platform can easily take action against a problematic user |
| 22:57:24 | FromDiscord | <Robyn [She/Her]> In reply to @morganalyssa "would also be nice": Yeah that'd probably be a useful thing, iirc Beef has a library for the Matrix API and Dimscord exists for the Discord API, I just can't be arsed to glue them together in a decent way |
| 22:58:48 | FromDiscord | <morgan> i’d offer but i have enough on my plate right now |
| 22:59:28 | FromDiscord | <Robyn [She/Her]> Yeah fair heh |
| 23:05:25 | FromDiscord | <saiplayz1138> by the end of this year, I want my GitHub page to be filled with Nim repositories. I started to learn a couple days ago |
| 23:24:16 | FromDiscord | <ElegantBeef> In reply to @chronos.vitaqua "So does a statement": An expression is a statement that has a value |
| 23:24:23 | FromDiscord | <ElegantBeef> In reply to @chronos.vitaqua "Sounds like someone should": Nah just need to selfhost it |
| 23:26:38 | FromDiscord | <saiplayz1138> someone needs to make an easier discord API wrapper |
| 23:27:27 | FromDiscord | <ElegantBeef> Dimscord was easy the last I used it |
| 23:31:33 | FromDiscord | <Robyn [She/Her]> Dimscord is easy, just feels a tad clunky, but that could just be the limitations of the Discord API and how a lib around it has to be designed |
| 23:42:32 | FromDiscord | <saiplayz1138> In reply to @chronos.vitaqua "Dimscord is easy, just": maybe it's just cuz I'm new then ig |
| 23:42:36 | FromDiscord | <saiplayz1138> and I'm still learning nim |