| 31 May 2024 |
Lily Foster | remember, months must always be exactly 30 days and we must hardcode this. any evidence to the contrary is false | 15:32:50 |
Lily Foster | (i'm first adding a test to this code to catch this situation) | 15:33:13 |
toinux | 1 + 1 = 3 | 15:33:23 |
Lily Foster | In reply to @toinux_net:matrix.org 1 + 1 = 3 basically the math this library does | 15:33:57 |
Lily Foster | which wouldn't even matter that much if it didn't also compare this value to the stuff returned from JS Date.getMonth | 15:34:17 |
Lily Foster | do i even want to fix this library. this truly is chef's special spaghetti code going on | 15:35:04 |
toinux | In reply to @lily:lily.flowers which wouldn't even matter that much if it didn't also compare this value to the stuff returned from JS Date.getMonth let's compare days AND month at the same time, with some magical math-isnt-mathing library | 15:35:06 |
Lily Foster | and a whole lot of arbitrary sign juggling | 15:35:10 |
Lily Foster | this is so funny. it only occurs with negative durations too because of how their math works and how they mostly just do re-add signs at specific points rather than carry them throughout | 15:49:35 |
Lily Foster | * this is so funny. it only occurs with negative durations too because of how their math works and how they mostly just re-add signs at specific points rather than carry them throughout | 15:49:42 |
Lily Foster | is there a lix off-topic so i'm not just spamming the dev channel with this? | 15:50:31 |
Lily Foster | seems not. oh well | 15:50:55 |
Lily Foster | i'm never trusting github with date/time code ever again, this library is actually awful regardless of this bug | 15:51:27 |
toinux | In reply to @lily:lily.flowers is there a lix off-topic so i'm not just spamming the dev channel with this? lets go spam the issue on the lib's github-page 🤣 | 15:53:27 |
Lily Foster | i will once i confirm cause and solution | 15:53:38 |
Lily Foster | but i at least have a failing test when comparing -P1M relative to 2023-03-29 that i'm poking against | 15:54:17 |
Qyriad | Coming soon to a Lix near you; before: | 16:24:33 |
Qyriad |  Download Screenshot 2024-05-31 at 10.23.22.png | 16:24:33 |
Qyriad | After: | 16:24:41 |
Qyriad |  Download Screenshot 2024-05-31 at 10.23.33.png | 16:24:42 |
toinux | so you're printing arguments passed to functins in errors ? | 16:26:12 |
Qyriad | yep | 16:26:53 |
toinux | https://tenor.com/br5Y2.gif | 16:27:08 |
Qyriad | so that you can track the actual flow of data easier | 16:27:09 |
Qyriad | Or actually, here's a more representative example: | 16:34:49 |
Qyriad |  Download Screenshot 2024-05-31 at 10.34.27.png | 16:34:49 |
Qyriad | If you forgot to make the filter lambda take two arguments, it's now way easier to spot in the trace since 'set' arg is '<lambda @ strings>' is definitely not a set | 16:36:13 |
Lily Foster | In reply to @toinux_net:matrix.org lets go spam the issue on the lib's github-page 🤣 okay what if i said. that this library needs to be burned down to fix this. because there is too much awful handling of like,,,, everything | 18:23:31 |
strawberry🍓 (it/pup/she/they) 🏳️⚧️ 💜 🦴 (puppygock.gay) | average npm ecosystem | 18:29:46 |
| Pyrox [It/She/They] changed their display name from Pyrox [It/She/They] to Pyrox [Fox/It/She/They]. | 18:30:00 |