!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
@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
@lily:lily.flowersLily 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:katesiria.orgQyriadComing soon to a Lix near you; before:16:24:33
@qyriad:katesiria.orgQyriadScreenshot 2024-05-31 at 10.23.22.png
Download Screenshot 2024-05-31 at 10.23.22.png
16:24:33
@qyriad:katesiria.orgQyriadAfter:16:24:41
@qyriad:katesiria.orgQyriadScreenshot 2024-05-31 at 10.23.33.png
Download Screenshot 2024-05-31 at 10.23.33.png
16:24:42
@toinux_net:matrix.orgtoinuxso you're printing arguments passed to functins in errors ? 16:26:12
@qyriad:katesiria.orgQyriadyep16:26:53
@toinux_net:matrix.orgtoinuxhttps://tenor.com/br5Y2.gif16:27:08
@qyriad:katesiria.orgQyriadso that you can track the actual flow of data easier16:27:09
@qyriad:katesiria.orgQyriadOr actually, here's a more representative example:16:34:49
@qyriad:katesiria.orgQyriadScreenshot 2024-05-31 at 10.34.27.png
Download Screenshot 2024-05-31 at 10.34.27.png
16:34:49
@qyriad:katesiria.orgQyriad 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:lily.flowersLily 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:puppygock.gaystrawberry🍓 (it/pup/she/they) 🏳️‍⚧️ 💜 🦴 (puppygock.gay)average npm ecosystem18:29:46
@pyrox:pyrox.devPyrox [It/She/They] changed their display name from Pyrox [It/She/They] to Pyrox [Fox/It/She/They].18:30:00

Show newer messages


Back to Room ListRoom Version: 10