Lemmy | Tech Haven
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Pro@programming.dev to Programming@programming.devEnglish · 17 hours ago

Cursed knowledge we have learned as a result of building Immich that we wish we never knew.

immich.app

external-link
message-square
28
fedilink
83
external-link

Cursed knowledge we have learned as a result of building Immich that we wish we never knew.

immich.app

Pro@programming.dev to Programming@programming.devEnglish · 17 hours ago
message-square
28
fedilink
Cursed Knowledge | Immich
immich.app
external-link
Things we wish we didn't know
  • DaGeek247@fedia.io
    link
    fedilink
    arrow-up
    32
    ·
    12 hours ago

    JavaScript Date objects are cursed

    JavaScript date objects are 1 indexed for years and days, but 0 indexed for months.

    Oh that’s not nearly the only thing javascript fucks up about their Date() implementation. https://jsdate.wtf/

    • muzzle@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      See also: https://www.destroyallsoftware.com/talks/wat

    • john_lemmy@slrpnk.net
      link
      fedilink
      arrow-up
      8
      ·
      7 hours ago

      I … this seems like a std library made to troll you. Is there a (good) reason it is like that?

      • vivendi@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 hours ago

        No.

      • Kevin@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        I can only imagine it wasn’t planned properly, cuz that’s so many quiet behaviours without good parsing errors

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 409 users / day
  • 1.92K users / week
  • 3.04K users / month
  • 3.67K users / 6 months
  • 1 local subscriber
  • 21.6K subscribers
  • 1.65K Posts
  • 22.3K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org