| 31 May 2024 |
toinux | https://github.com/KittenConnect/lix-bsd-port/commit/e9e0861287ebde5b6e7e3ec63b4d36fa74aaa0c1#diff-ff0b79bff742384fb63d206b8c1687f671257abbe5e966d007e5df56283d8f46R9 | 15:06:26 |
toinux | I'm sure you've got better ideas than this crap
especially "not using cargo in meson" :rofl: | 15:06:57 |
delroth | (also for some reason all timestamps on git.lix.systems are showing as "now" here - is it just me? my system clock doesn't seem broken | 15:06:59 |
delroth | * (also for some reason all timestamps on git.lix.systems are showing as "now" here - is it just me? my system clock doesn't seem broken) | 15:07:05 |
thubrecht |  Download image.png | 15:07:07 |
toinux | JavaScript-debugging time | 15:07:29 |
Lily Foster | In reply to @toinux_net:matrix.org I'm sure you've got better ideas than this crap
especially "not using cargo in meson" :rofl: i mean there's no workspaces or anything, so you should be able to natively use meson's rust/cargo.toml support | 15:07:59 |
toinux | In reply to @lily:lily.flowers i mean there's no workspaces or anything, so you should be able to natively use meson's rust/cargo.toml support I never really used meson more than by patching failing builds, so I don't have any proper implementation ideas | 15:09:03 |
toinux | just shared the piece of code which unlocked my build, in hope someone else got more experience with meson to implement a proper and persistent solution | 15:09:59 |
Lily Foster | In reply to @lily:lily.flowers i mean there's no workspaces or anything, so you should be able to natively use meson's rust/cargo.toml support (idk i remember it being hella spooky though and don't remember details very well) | 15:10:25 |
delroth | it's not all the timestamps, it's precisely those from a month ago, wtf | 15:11:46 |
delroth | https://codeberg.org/forgejo/forgejo/issues/2931 | 15:12:15 |
toinux | https://github.com/github/relative-time-element/issues/281 🚀 | 15:13:12 |
delroth | thank god for npm /s | 15:14:22 |
Lily Foster | oh you have got to me kidding me | 15:31:01 |
Lily Foster | who wrote this actual rubbish | 15:31:06 |
Lily Foster | maybe node.js was a mistake | 15:31:09 |
Lily Foster | i'm pretty sure i see the issue in this JS library | 15:31:36 |
Lily Foster | one sec while i test | 15:31:40 |
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 |