Lemmy.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Stamets@lemmy.world to Funny: Home of the Haha@lemmy.world · 1 year ago

At least this is logical

lemmy.world

message-square
95
link
fedilink
365

At least this is logical

lemmy.world

Stamets@lemmy.world to Funny: Home of the Haha@lemmy.world · 1 year ago
message-square
95
link
fedilink
alert-triangle
You must log in or register to comment.
  • Habahnow@sh.itjust.works
    link
    fedilink
    arrow-up
    229
    arrow-down
    1
    ·
    1 year ago

    YYYY-MM-DD everything else is wrong.

    • PM_Your_Nudes_Please@lemmy.world
      link
      fedilink
      arrow-up
      49
      ·
      1 year ago

      For file versioning, this is the way. So when you sort your files by name, your files sort chronologically.

      • fidodo@lemmy.world
        link
        fedilink
        English
        arrow-up
        22
        arrow-down
        1
        ·
        1 year ago

        It’s also the most relevant information first. I don’t care about what day it is if I don’t know what month it’s in. If it’s an unambiguous context they can just be omitted.

      • answersplease77@lemmy.world
        link
        fedilink
        arrow-up
        18
        ·
        edit-2
        1 year ago

        Not only that. Processing logs with DD/MM/YYYY in many systems will result in octal base error because of the leading 0 in dates such as 07 08 09, and don’t let me talk about how some languages read the back slash / … pukes in shell

        • Echo Dot@feddit.uk
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 year ago

          You should be escaping all your strings first that would solve your / problem

  • Annoyed_🦀 @monyet.cc
    link
    fedilink
    arrow-up
    208
    ·
    1 year ago

    sniff sniff

    You smell that? They’re coming, the ISO 8601 gang.

    • pelya@lemmy.world
      link
      fedilink
      arrow-up
      169
      arrow-down
      1
      ·
      1 year ago

      YYYY-MM-DD OR DEATH

      • robolemmy@lemmy.world
        link
        fedilink
        English
        arrow-up
        41
        arrow-down
        1
        ·
        1 year ago

        Easily proved to be the best: in every time travel story, the time traveler asks for the date. The unsuspecting drone always responds with DD or MM-DD, and the protagonist has to shout at them “NO! WHAT YEAR IS IT?”

        Always start with YYYY.

        I rest my case.

      • johannesvanderwhales@lemmy.world
        link
        fedilink
        arrow-up
        37
        ·
        1 year ago

        Gotta have that good sorting

      • some_guy@lemmy.sdf.org
        link
        fedilink
        arrow-up
        12
        ·
        1 year ago

        Anything else is madness. It’s demonstrably the only logical answer.

      • phoneymouse@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        1 year ago

        DD is day in year, I think dd is what you mean. Also, YYYY is week year, so better to use yyyy.

        yyyy-MM-dd

        • pelya@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          %Y-%m-%d in strftime

          yyyy-mm-dd in Excel and Google Sheets

      • Justas🇱🇹@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        arrow-down
        1
        ·
        1 year ago

        YMD is primarily used in:

        China, Japan, South Korea, North Korea, Taiwan, Hungary, Mongolia, Lithuania, Bhutan, Sweden

        That is one weird country group.

        • pelya@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          1 year ago

          China and Japan switched from their old calendar system, which was using the start of their current emperor inauguration as the first year, reset with each new emperor.

          So I guess it was easier to choose the only correct date format.

          • anguo
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            That just dictates what number the year starts at, not the order of writing down a date. They do traditionally go from general to specific though. When writing an address in China, you go Country - State - City - Street - Person (I forget where the postal code goes).

        • uis@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          How the fuck did NK got here?

    • lemmydripzdotz123@lemmy.world
      link
      fedilink
      arrow-up
      39
      ·
      edit-2
      1 year ago

      W E A R E H E R E

      • thanks_shakey_snake
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        W E A R E I N E V I T A B L E

    • JPJones@lemmy.world
      link
      fedilink
      arrow-up
      20
      ·
      1 year ago

      You’re god damn right

    • jbk@discuss.tchncs.de
      link
      fedilink
      arrow-up
      17
      ·
      1 year ago

      Fuck yeah

    • OhmsLawn@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      1 year ago

      Hell yeah, brother!

    • stratosfear@lemmy.sdf.org
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      1 year ago

      Relevant xkcd

    • uis@lemmy.world
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      1 year ago

  • douglasg14b@lemmy.world
    link
    fedilink
    arrow-up
    72
    arrow-down
    1
    ·
    1 year ago

    ISO-8601 or bust.

    • melooone@feddit.de
      link
      fedilink
      arrow-up
      23
      ·
      1 year ago

      I prefer RFC 3339. It allows you to omit the “T” for example. Like this: 1985-04-12 23:20:50Z

      • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
        link
        fedilink
        arrow-up
        13
        arrow-down
        2
        ·
        1 year ago

        Either is preferable to the abomination in the meme.

      • gornius@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Imo, the more strict the format the better. Less ambiguity == less confusing when it doesn’t work and easier parser to write.

    • Resol van Lemmy@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      1 year ago

      Today is 2024, January 24.

      It looks perfect. Although my only concern is if we should use the preposition “in” (since the year comes first: “in 2024”) or “on” (because we say “on January 24”).

    • Echo Dot@feddit.uk
      link
      fedilink
      arrow-up
      8
      arrow-down
      4
      ·
      1 year ago

      It’s great when organizing something in a database. You can just do A to Z ordering and it works just fine.

      However visually it’s not very good because it puts the least important piece of information first and the most important piece of information last. I probably know the current year so it doesn’t need to be that prominent, and I’m fairly certain that it’s going to be sometime this millennium, so I don’t need the date to four digits.

      • blackbirdbiryani@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        It’s entirely depend on the time frame range of your data. If it’s wide it rapidly becomes useful to see the year first. In general I like to put ‘larger’ group variables in tables from left to right, helps in a similar way.

      • corsicanguppy
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Adaptation is quick. And, it helps us round up who needs to be sterilized.

  • mathematicalMagpie@lemm.ee
    link
    fedilink
    arrow-up
    44
    ·
    1 year ago

    Always write largest to smallest. That way it can be sorted easily starting with the year, then month, then day.

    • deegeese@sopuli.xyz
      link
      fedilink
      arrow-up
      16
      ·
      1 year ago

      Or as computer people say, big-endian.

      • uis@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Computer ponies say it too

    • douglasg14b@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      We should all just write it in ISO 8601

    • PR3CiSiON@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      2
      ·
      1 year ago

      Largest to smallest? So should I write December 02, 2024 as 2024/12/02? And then February 12, 2024 as 2024/12/02?

      /s

      • PM_Your_Nudes_Please@lemmy.world
        link
        fedilink
        arrow-up
        6
        arrow-down
        4
        ·
        1 year ago

        Unironically yes, because it makes it easy to sort by date.

        When you sort by name, the year will get sorted first, then the month, then the day. So it’ll sort like this:

        2021-05-19
        2021-07-23
        2023–06-20

        Notice that everything is sorted chronologically. But if you do MM-DD-YYYY then you get this instead:

        05-19-2021
        06-20-2023
        07-23-2021

        Notice that the 2023 date is between the two 2021 dates. This is even worse if you do DD-MM-YYYY, because now the first number is changing constantly. It may not be a problem with only three dates, but imagine a spreadsheet with 2000+ entries, or a folder with dozens of files archived by date, to allow for potential rollbacks, versioning, etc…

        There’s a reason ISO standards for timestamps list things big to small: YYYY-MM-DD hh:mm:ss in that specific order every time.

        • Randelung@lemmy.world
          link
          fedilink
          arrow-up
          14
          ·
          1 year ago

          You misread. The second part sorts 12 before Feb because 12 > 02, making both dates identical.

    • SuckMyWang@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      What if I want to easily sort the day or month?

  • HeckGazer@programming.dev
    link
    fedilink
    arrow-up
    29
    ·
    1 year ago

    I bet you write your time as ss:mm:hh you silly little guy, you small to large clown you. Break up with him babe, you can do better

  • Ricky Rigatoni@lemm.ee
    link
    fedilink
    arrow-up
    25
    arrow-down
    1
    ·
    1 year ago

    D/Y/M/D/Y/M/Y/Y

    • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆@yiffit.net
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      1
      ·
      edit-2
      1 year ago

      2/2/0/3/0/1/2/4 <- Today’s date in this obnoxious format

      • Ricky Rigatoni@lemm.ee
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        Pure beauty.

    • example@reddthat.com
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      looks better when you remove the slashes

    • hansl@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Curious why you didn’t go for DYMYDYMY.

      • Resol van Lemmy@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        2/2/0/0/4/2/1/4

        • hansl@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Thank you for illustrating my point. Much better.

  • Semi-Hemi-Demigod@kbin.social
    link
    fedilink
    arrow-up
    23
    ·
    1 year ago

    Imagine not using milliseconds since Jan 1 1970 GMT

    • Resol van Lemmy@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      The 32-bit computers will have no idea what to do once they reach 19 January 2038. They’ll have reached their integer limit by that point.

  • ummthatguy@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 year ago

    • Fudoshin ️🏳️‍🌈@feddit.uk
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Is that Kirk?

      • BoisZoi@lemmy.ml
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 year ago

        Yep; William Shatner.

        • Fudoshin ️🏳️‍🌈@feddit.uk
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          Bill Shats. Master and Commander of the Deathstar Galactica.

  • jessca@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    dump him

  • cbarrick@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    1 year ago

    Let’s add more granularity, like hours and minutes:

    MM:HH DD/MM/YYYY

    wait…

    • BreadstickNinja@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year ago

      Little-endian number formats are the only way to go in the year 4202.

  • MuchPineapples@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 year ago

    Back in the 2000’s it was way more confusing. The appointment is on 10/09/11, when the hell is that?

    • ammonium@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      11 am on the 10th of '09. Month, millennium, century and month are free to choose by the reader.

    • uis@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Best date was 11.11.11

      • onion@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        There was a loud countdown to 11:11:11 o’clock, the teacher was powerless

        • uis@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Wow. I can imagine.

  • Adulated_Aspersion@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    TIL that I am a member of a gang.

    The ISO 8601 gang.

  • MeDuViNoX@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    JD/YYYY (Julian Date/Year)

    • BluesF@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Fuck you JD Edwards for making me think about leap years

  • rsh@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    1 year ago

    DD Mmm YY

    • UNWILLING_PARTICIPANT@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      A p, d B, Y

  • xia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    1 year ago

    Logical? So if we use the same logic for money, that big mac will be $17.5

Funny: Home of the Haha@lemmy.world

funny@lemmy.world

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: [email protected]

Welcome to /c/funny, a place for all your humorous and amusing content.

Looking for mods! Send an application to Stamets!

Our Rules:

  1. Keep it civil. We’re all people here. Be respectful to one another.

  2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry. I should not need to explain this one.

  3. Try not to repost anything posted within the past month. Beyond that, go for it. Not everyone is on every site all the time.


Other Communities:

  • /c/[email protected] - Star Trek chat, memes and shitposts

  • /c/[email protected] - General memes

Visibility: Public
globe

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

  • 331 users / day
  • 2.22K users / week
  • 5.42K users / month
  • 11K users / 6 months
  • 139 local subscribers
  • 6.99K subscribers
  • 1.33K Posts
  • 24.3K Comments
  • Modlog
  • mods:
  • Anticorp@lemmy.world
  • aeronmelon@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org