00:53:23 | FromDiscord | <Robyn [She/Her]> This is a bizarre issue? https://github.com/Luyten-Orion/Supernovae/actions/runs/8530980439/job/23369770102#step:5:77↵↵Was looking through the tests (they fail locally but I don't have access to my laptop currently) and for some reason, the account in the database has a different ID from the one stored locally? The database has `01HTGKMRT E YWBB32DBR7FVDA7C` (I put spaces around the discrepancy I noticed) while the variable co |
00:53:34 | FromDiscord | <Robyn [She/Her]> (edit) "`01HTGKMRTFYWBB32DBR7FVDA7C`" => "`01HTGKMRT F YWBB32DBR7FVDA7C`" |
00:55:53 | FromDiscord | <Robyn [She/Her]> https://github.com/Luyten-Orion/Supernovae/blob/main/tests/tsqliterepository.nim#L33 this is the tests and I can't see any obvious issues |
00:56:53 | FromDiscord | <Robyn [She/Her]> In reply to @chronos.vitaqua "This is a bizarre": Oh yeah, the 'E' instead of the 'F' means that the timestamp is 1 ms different (if I remember the UNIX timestamp format correctly) |
00:58:03 | * | jmdaemon quit (Ping timeout: 272 seconds) |
01:40:59 | * | ursa-major quit (Ping timeout: 260 seconds) |
01:40:59 | * | mronetwo_ quit (Ping timeout: 260 seconds) |
01:42:09 | * | casaca quit (Ping timeout: 255 seconds) |
01:43:33 | * | mronetwo joined #nim |
01:43:46 | * | ursa-major joined #nim |
01:54:46 | * | SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev) |
02:25:42 | * | krux02_ quit (Remote host closed the connection) |
03:05:09 | NimEventer | New thread by dwhall256: Invoking a macro from a template?, see https://forum.nim-lang.org/t/11344 |
03:41:00 | * | SchweinDeBurg joined #nim |
04:51:30 | * | ntat joined #nim |
05:41:07 | * | advesperacit joined #nim |
05:45:20 | * | computerquip quit (Ping timeout: 256 seconds) |
05:49:21 | * | computerquip joined #nim |
05:50:35 | FromDiscord | <arnetheduck> In reply to @michaelb.eth "not sure if /": we include the mozilla cert store for convenience but apps using chronos/bearssl can choose their own strategy as well (including loading OS stores).. there's room for improvement here though, it's just one thing we haven't gotten to |
05:51:05 | FromDiscord | <arnetheduck> (edit) "In reply to @michaelb.eth "not sure if /": we include the mozilla cert store for convenience but apps using chronos/bearssl can choose their own strategy as well (including loading OS stores).. there's room for improvement here though, it's just one thing we haven't gotten to ... " added "- ie it would probably be nice to have some baked-in functionality for getting those OS stores in there" |
06:25:41 | * | PMunch joined #nim |
06:57:36 | * | PMunch_ joined #nim |
07:00:19 | * | PMunch quit (Ping timeout: 255 seconds) |
07:09:18 | * | ntat quit (Quit: Leaving) |
08:33:27 | * | pmp-p joined #nim |
08:56:21 | * | ntat joined #nim |
09:26:25 | FromDiscord | <wannabelokesh> sent a long message, see https://pasty.ee/cehUWJrponQp |
09:31:31 | FromDiscord | <tapeda> In reply to @wannabelokesh "I just visited the": Check the chrome console, is there an error? |
09:32:54 | FromDiscord | <tapeda> Look at the snake program source and see where it is designed to output? |
09:45:33 | * | KhazAkar joined #nim |
09:49:37 | FromDiscord | <s3cur3th1ssh1t> sent a long message, see https://pasty.ee/axUpzikecerC |
10:06:18 | Amun-Ra | I wonder whether #pragma comment(linker, "/export:origfunc=newfunc") and #pragma comment(linker, "/export:myfunc=origfunc") |
10:06:25 | Amun-Ra | …would work |
10:07:40 | Amun-Ra | otherwise not without compiling to dll and playing with dlopen |
10:09:27 | Amun-Ra | dynlib* |
10:11:35 | * | PMunch_ is now known as PMunch |
10:13:38 | PMunch | @wannabelokesh, https://github.com/dom96/snake |
10:14:25 | FromDiscord | <s3cur3th1ssh1t> In reply to @Amun-Ra "I wonder whether #pragma": In an emmit block? Or pure nim? |
10:17:10 | Amun-Ra | s3cur3th1ssh1t: these are msvc pragmas |
10:17:22 | Amun-Ra | so emmit |
10:17:58 | * | ntat quit (Quit: Leaving) |
10:19:29 | NimEventer | New thread by beckx: How to get current loop counter from for loop in a module?, see https://forum.nim-lang.org/t/11346 |
10:43:38 | NimEventer | New thread by ninovanhooff: How to use inherited Object type as return type?, see https://forum.nim-lang.org/t/11347 |
11:19:08 | FromDiscord | <TӨMΛ ☠> sent a code paste, see https://play.nim-lang.org/#pasty=jseqxoiBSVVg |
11:19:34 | FromDiscord | <s3cur3th1ssh1t> In reply to @Amun-Ra "<@605765004796362820>: these are msvc": Did not work |
11:20:10 | FromDiscord | <TӨMΛ ☠> Which is a bit harder for me to grasp, because it doesn't seem to have any `\0` that would allow me to know where it ends↵It has fixed length though, so it's not like I can predetermine bytes that I need to read https://media.discordapp.net/attachments/371759389889003532/1225042154074673182/image.png?ex=661fb069&is=660d3b69&hm=cb98f458040a43a6a00fd307269611b04c3c84b8dcdf386a17ffd8efa3a35779& |
11:21:03 | FromDiscord | <TӨMΛ ☠> In example here, BNAM string ends literally where CNAM keyword starts, to my parser includes field name inside string |
11:21:19 | FromDiscord | <TӨMΛ ☠> (edit) "to" => "so" |
11:21:30 | FromDiscord | <TӨMΛ ☠> (edit) "In example here, BNAM string ends literally where CNAM keyword starts, so my parser includes field name inside ... string" added "previous" |
11:22:49 | FromDiscord | <TӨMΛ ☠> Of course I can counter that by checking if CNAM exists in string, but it'd work for single case - not with scaling this to proper parser, where there are various combinations of keywords used (second case where that happens is INDX keyword merging with CNAM string, at the very end of image) |
11:23:04 | FromDiscord | <TӨMΛ ☠> (edit) "keyword" => "field" |
11:32:51 | * | krux02 joined #nim |
11:41:29 | PMunch | There is probably a size field somewhere for you to read |
11:43:40 | PMunch | So they both seem to be preceded by a number, in this case 14 and 15 (32-bit big endian), and the strings appear to be 24 and 25 characters long respectively |
11:43:51 | PMunch | Not sure what's up with that +10 thing though.. |
11:43:52 | * | ntat joined #nim |
12:12:21 | FromDiscord | <TӨMΛ ☠> Thank you so much, that was it exactly 😍 |
12:12:47 | FromDiscord | <TӨMΛ ☠> I was actually wondering what was that lone byte after each field name, now that makes a lot more sense |
12:14:15 | PMunch | Haha, nice. Very common to see length delimited fields like that :) |
12:53:42 | * | lucasta joined #nim |
13:10:23 | * | PMunch_ joined #nim |
13:13:03 | * | PMunch quit (Ping timeout: 260 seconds) |
13:41:49 | * | ntat quit (Ping timeout: 246 seconds) |
13:42:55 | * | ntat joined #nim |
14:16:32 | * | PMunch_ quit (Quit: Leaving) |
14:50:13 | FromDiscord | <Robyn [She/Her]> In reply to @chronos.vitaqua "Oh yeah, the 'E'": Still confused about this, on my PC and can't see why this wuld happen |
14:54:15 | FromDiscord | <Robyn [She/Her]> Just verified my code for ID generation isn't the issue, it can parse and output IDs as bytes without any fault |
15:03:30 | * | lucasta quit (Quit: Leaving) |
16:12:05 | * | ntat quit (Quit: Leaving) |
16:31:03 | FromDiscord | <wannabelokesh> In reply to @tapeda "Look at the snake": unfortunately, I don't know js and I'm a newbie to nim. |
16:58:26 | * | SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev) |
17:24:34 | FromDiscord | <Robyn [She/Her]> Oh |
17:24:37 | FromDiscord | <Robyn [She/Her]> I'm just stupid |
17:24:43 | FromDiscord | <Robyn [She/Her]> I was comparing the wrong ID lmao |
17:33:12 | * | om3ga quit (Ping timeout: 260 seconds) |
17:38:54 | FromDiscord | <Robyn [She/Her]> Huh, Mummy's routing API feels a bit weird? `/api` and `/api/` are different |
17:39:09 | FromDiscord | <Robyn [She/Her]> Which does makes sense, just pretty sure other libraries treat them as the same |
17:39:33 | FromDiscord | <Phil> In reply to @chronos.vitaqua "Huh, Mummy's routing API": It's in fact a mixed bag |
17:39:45 | FromDiscord | <Phil> A lot of libs treat it as the same, a lot provide options, some require explicitness |
17:40:03 | FromDiscord | <Phil> The "technical default" is definitely treating them as separate, |
17:40:05 | FromDiscord | <Phil> (edit) "separate," => "separate" |
17:40:10 | FromDiscord | <Robyn [She/Her]> Hm fair enough |
18:42:45 | * | ntat joined #nim |
18:50:48 | * | om3ga joined #nim |
18:51:27 | FromDiscord | <cineration> I can't remember how to get the nico game engine to load SDL2.dll on windows. I copied the dll to my project folder after running nicoboot. Anybody have any advice? |
18:53:12 | FromDiscord | <cineration> (edit) "" => "I keep getting "could not load: SDL2.dll" when I try to compile." |
18:55:53 | FromDiscord | <cineration> Ah, nvm it was my SDL2 version. |
18:58:54 | FromDiscord | <.bobbbob> when I do nimble test how can I get it to change the working directory to the tests/ dir so it can load files in that dir? |
19:15:19 | FromDiscord | <.bobbbob> figured it out, made a custom task and put a nimscript cd command before doing the nim r command on the files, unless there's a better way to do it? |
19:26:34 | * | krux02_ joined #nim |
19:26:40 | * | ntat quit (Quit: Leaving) |
19:29:01 | * | krux02 quit (Ping timeout: 246 seconds) |
19:30:02 | Amun-Ra | provide paths relative to the nim file |
19:39:32 | FromDiscord | <solitudesf> In reply to @.bobbbob "when I do nimble": `setCurrentDir getAppDir()` |
19:39:53 | FromDiscord | <solitudesf> in the test itself |
20:05:44 | * | advesperacit quit () |
20:11:31 | * | GreaseMonkey quit (Remote host closed the connection) |
20:15:07 | FromDiscord | <Robyn [She/Her]> Defining endpoints with Mummy right now seems like such a tedious job |
20:21:42 | FromDiscord | <saint.___.> What's mummy? |
20:21:58 | FromDiscord | <Elegantbeef> Robyn time to make your own router |
20:22:26 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Robyn time to make": Don't think I can do that, Mummy's router is probably tightly put into the code :P |
20:22:34 | FromDiscord | <Robyn [She/Her]> Might be time to make my own HTTP server though /j |
20:22:45 | FromDiscord | <Elegantbeef> `import mummy {.all.}` 😛 |
20:22:51 | FromDiscord | <Robyn [She/Her]> In reply to @saint.___. "What's mummy?": A HTTP server that uses multi threading instead of async |
20:22:53 | FromDiscord | <Elegantbeef> Do not do that |
20:23:29 | FromDiscord | <Elegantbeef> What's the tedious part though Robyn? |
20:23:48 | FromDiscord | <saint.___.> In reply to @chronos.vitaqua "A HTTP server that": Oh interesting yeah i was just reading |
20:23:54 | FromDiscord | <saint.___.> Why are people moving away from async? |
20:24:11 | FromDiscord | <saint.___.> Other than wasn't there some issue regarding async and nim 1.6 to 2? Like stuff that used async broke? |
20:25:22 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "*Do not do that*": Lmao |
20:26:27 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "What's the tedious part": The way you return responses (but I'm pretty sure that's made to be wrapped around in a template or something) and adding endpoints to the router |
20:26:44 | FromDiscord | <Robyn [She/Her]> I'm thinking of just making a template that uses a pragma for that |
20:29:25 | FromDiscord | <saint.___.> In reply to @saint.___. "Why are people moving": Ok this question in answered in Mummy's readme |
20:29:26 | FromDiscord | <saint.___.> https://cdn.discordapp.com/attachments/713760162460074034/906235599231533056/giggle-emote.png |
20:41:06 | FromDiscord | <zumi.dxy> how common is it for servers to just defer static file uploads to another server i.e. amazon s3 or minio?↵vs just hosting everything as a single binary and let that one serve directly from the file system |
20:41:41 | FromDiscord | <Elegantbeef> Big data is cheap so I imagine very common |
20:43:24 | FromDiscord | <Elegantbeef> Getting a server with large storage is way more costly than just using one of the pay as you go storage solutions |
20:43:25 | FromDiscord | <zumi.dxy> i saw a thread about how streaming requests can't be done using existing nim web frameworks alone, and that it was an apparent shortcoming of the ecosystem at present |
20:44:56 | FromDiscord | <Elegantbeef> Yea I don't talk about servers so this is where I smokebomb out |
20:47:11 | FromDiscord | <zumi.dxy> "you wish to do everything in $NEWLANG but infrastructure is not sexy so you couldn't" |
20:48:05 | FromDiscord | <Elegantbeef> I always just say "be the change you want in the world" and grin |
20:48:42 | FromDiscord | <zumi.dxy> true↵but i've been burnt out by it many times |
20:49:35 | FromDiscord | <zumi.dxy> i always say that to myself but ultimately get angry because oftentimes i either don't have the time, can't figure something out, or flat-out lose interest before not too long |
20:50:10 | FromDiscord | <zumi.dxy> but that saying frequently drives what I do |
20:50:47 | FromDiscord | <zumi.dxy> I think it's especially frustrating if what you want in the world involves other people |
20:51:20 | FromDiscord | <Elegantbeef> Everyone always complains about language ecosystems when there is lacking specific libraries, very few spend the time to expand the libraries |
20:51:52 | FromDiscord | <zumi.dxy> you can try to be the change but ultimately no one's gonna care if you don't go through the right channels |
20:52:13 | FromDiscord | <zumi.dxy> yeah again that's true but interest is key |
21:08:28 | FromDiscord | <Robyn [She/Her]> How does the `async` pragma change the name of a function to be `functionName (Async)`? Beef, would you know? :p |
21:09:42 | FromDiscord | <Elegantbeef> What do you mean? |
21:11:35 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=nDowJFYmpwBr |
21:12:44 | FromDiscord | <Robyn [She/Her]> https://media.discordapp.net/attachments/371759389889003532/1225191277092409374/image.png?ex=66203b4b&is=660dc64b&hm=1d6d64b718392b58a12c2e790620381030ec93ea611342e746cbe62ac55b8003& |
21:13:19 | FromDiscord | <Robyn [She/Her]> But then this hasn't changed https://media.discordapp.net/attachments/371759389889003532/1225191425399066624/image.png?ex=66203b6e&is=660dc66e&hm=d139b0f7fed4b3a9bc3a4493f2fa556e4994bbb5d0856f6ba2da2527b6fc3c43& |
21:14:36 | FromDiscord | <Elegantbeef> Right cause Nim wraps the procedure body inside of a closure |
21:15:26 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=fdXSHGFFTkJA |
21:15:33 | FromDiscord | <Elegantbeef> `--expandMacro: async` |
21:17:41 | FromDiscord | <Robyn [She/Her]> Aaah okay thanks! |
21:28:46 | FromDiscord | <sOkam! 🫐> In reply to @chronos.vitaqua "": #dracula 🩷💚💜 |
21:31:26 | FromDiscord | <Robyn [She/Her]> In reply to @heysokam "#dracula 🩷💚💜": It's great! |
22:10:15 | FromDiscord | <michaelb.eth> Zenburn 4 evah! |
22:16:54 | FromDiscord | <Robyn [She/Her]> `Zenburn Dark Matter Theme` is looking nice 👀 |
22:23:40 | FromDiscord | <michaelb.eth> never seen that variant, interesting, though I can't use dark themes, find them offputting |
22:29:49 | FromDiscord | <Robyn [She/Her]> Fair |
23:42:42 | * | SchweinDeBurg joined #nim |