• 3 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: September 7th, 2023

help-circle



  • JadeOPtoWeb DevelopmentLook Ma, No CDN!
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    It matters a little bit - Google measures performance on real devices through CrUX, and that feeds into their rankings - but not much. There’s no real incentive to go for a Lighthouse performance score above 80 or so.





  • JadetoForgejoForgejo is now copyleft, just like Git
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago

    You missed out this fairly important bit re go-git:

    it is not supported or packaged because it is not fully compatible and could corrupt Git repositories.

    As far as being tied to git proper, that’s because there is no drop-in alternative implementation that implements all the functionality that you need to run a Git server. Right now, Git proper is your only option. That might change as gitoxide matures, but that could take years.



  • JadeOPtoProgrammingThe Potential Pitfalls of Pagination
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Regarding your first paragraph, this results limit is per page. To get the next page, you take your timestamp of the last item and use it in from_time, or whatever you’ve called it. It’s still a pagination technique.

    Regarding custom sorting, some of the techniques in the article can do this, some of them can’t. Obviously timestamp based pagination can’t, however the ID-based pagination that I mentioned can.


  • JadeOPtoProgrammingThe Potential Pitfalls of Pagination
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    This whole article was sprung from a discussion of exactly that case, because users often simply don’t delete notifications. It’s very common for users to have years of undismissed notifications stacked up under the notification bell, and it’s not a good experience to load them all at once.