!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

442 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.146 Servers

Load older messages


SenderMessageTime
31 May 2024
@thubrecht:matrix.orgthubrechtimage.png
Download image.png
15:07:07
@toinux_net:matrix.orgtoinuxJavaScript-debugging time15:07:29
@lily:lily.flowersLily 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_net:matrix.orgtoinux
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_net:matrix.orgtoinuxjust shared the piece of code which unlocked my build, in hope someone else got more experience with meson to implement a proper and persistent solution15:09:59
@lily:lily.flowersLily 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:delroth.netdelrothit's not all the timestamps, it's precisely those from a month ago, wtf15:11:46
@delroth:delroth.netdelrothhttps://codeberg.org/forgejo/forgejo/issues/293115:12:15
@toinux_net:matrix.orgtoinuxhttps://github.com/github/relative-time-element/issues/281 🚀15:13:12
@delroth:delroth.netdelroththank god for npm /s15:14:22
@lily:lily.flowersLily Fosteroh you have got to me kidding me15:31:01
@lily:lily.flowersLily Fosterwho wrote this actual rubbish15:31:06
@lily:lily.flowersLily Fostermaybe node.js was a mistake15:31:09
@lily:lily.flowersLily Fosteri'm pretty sure i see the issue in this JS library15:31:36
@lily:lily.flowersLily Fosterone sec while i test15:31:40
@lily:lily.flowersLily 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:lily.flowersLily Foster(i'm first adding a test to this code to catch this situation)15:33:13
@toinux_net:matrix.orgtoinux1 + 1 = 315:33:23
@lily:lily.flowersLily Foster
In reply to @toinux_net:matrix.org
1 + 1 = 3
basically the math this library does
15:33:57
@lily:lily.flowersLily 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:lily.flowersLily Fosterdo i even want to fix this library. this truly is chef's special spaghetti code going on15:35:04
@toinux_net:matrix.orgtoinux
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:lily.flowersLily Fosterand a whole lot of arbitrary sign juggling15:35:10
@lily:lily.flowersLily Fosterthis 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 throughout15:49:35
@lily:lily.flowersLily 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 throughout15:49:42
@lily:lily.flowersLily Fosteris there a lix off-topic so i'm not just spamming the dev channel with this?15:50:31
@lily:lily.flowersLily Fosterseems not. oh well15:50:55
@lily:lily.flowersLily Fosteri'm never trusting github with date/time code ever again, this library is actually awful regardless of this bug15:51:27
@toinux_net:matrix.orgtoinux
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:lily.flowersLily Fosteri will once i confirm cause and solution15:53:38

Show newer messages


Back to Room ListRoom Version: 10