!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

441 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
@pyrox:pyrox.devPyrox [It/She/They] changed their display name from Pyrox [It/She/They] to Pyrox [Fox/It/She/They].18:30:00
@pyrox:pyrox.devPyrox [It/She/They] changed their display name from Pyrox [Fox/It/She/They] to Pyrox [It/She/They].18:30:08
@lily:lily.flowersLily Foster

so although the 30 days thing causes surprising behavior elsewhere, this exact behavior is caused by this JavaScript special:

[I] lily@bina ~> , node
Welcome to Node.js v22.2.0.
Type ".help" for more information.
> let date = new Date()
undefined
> date
2024-05-31T18:32:29.029Z
> date.getMonth()
4
> date.setMonth(3)
1714588349029
> date.getMonth()
4
> date
2024-05-01T18:32:29.029Z
>

notably, GitHub's library throws out that intermediate date and just uses the getMonth diff (which is 0, despite the setMonth call). and since the month diff is 0 and technically the getDate diff is more than 27, it just sets everything to zero

18:35:33
@lily:lily.flowersLily Fosterso this occurs specifically on days where the current day of the month is not a valid date in the previous month. and this is why something two months ago might say one month as well. or three months ago say two months18:37:37
@lily:lily.flowersLily Fosteri think the funniest thing in this though18:42:14
@lily:lily.flowersLily Fosteris that they have test cases18:42:18
@lily:lily.flowersLily Fosterfor some of this sus behavior18:43:39
@a-kenji:matrix.orga-kenji joined the room.19:07:04
@jade_:matrix.orgjade_ niko ⚡️: you can submit https://gerrit.lix.systems/c/lix/+/1157/3 20:23:57
@lily:lily.flowersLily Foster i've fixed this JS code, against my better judgement.......... https://github.com/github/relative-time-element/pull/285 21:07:06
@lily:lily.flowersLily Fosteri'm going to go not touch a computer for the rest of the evening now, and maybe rest of the weekend 🫠21:07:24
@lily:lily.flowersLily Fosterthat hurt my soul21:07:27
@jade_:matrix.orgjade_gods21:08:12
@jade_:matrix.orgjade_i am so sorry, that's incredibly cursed code21:08:18
@lily:lily.flowersLily Foster
In reply to @jade_:matrix.org
i am so sorry, that's incredibly cursed code
it's okay, i'm sorry too
21:09:22
@delroth:delroth.netdelrothimage.png
Download image.png
21:16:15
@delroth:delroth.netdelroth a team 21:16:17
@lily:lily.flowersLily Foster
In reply to @delroth:delroth.net
a team
it always says that for team mentions for organizations you aren't in
21:28:52
@delroth:delroth.netdelrothyeah I figured, it's just a very funny rendering imo :)21:29:52
@lunaphied:lunaphied.meLunaphied well if you're getting a review from someone plural it's not wrong 21:47:47
@lunaphied:lunaphied.meLunaphiedAlso wait21:48:34
@lunaphied:lunaphied.meLunaphiedGitHub handles CODEOWNERS natively now?21:48:40
@jade_:matrix.orgjade_badly21:51:25
@jade_:matrix.orgjade_it requires that they have commit access21:51:32
@jade_:matrix.orgjade_which is absurd21:51:34
@jade_:matrix.orgjade_one of these days i am going to write a "github is a terrible website" blog post21:52:36
@jade_:matrix.orgjade_(kind of surprised the extent to which i went from "github is fine" to "wow github is busted" through the course of the last three months on lix)21:53:16
@qyriad:katesiria.orgQyriadForgejo really is just a Better github-like22:44:50
@julia:the-apothecary.clubjulia(aside from screen reader accessibility)23:04:02
@qyriad:katesiria.orgQyriadoof, that's worse?23:16:40

Show newer messages


Back to Room ListRoom Version: 10