The TTRPG network
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
weird@sub.wetshaving.social to Programmer Humor@programming.devEnglish · 1 month ago

Use protection

NSFW

sub.wetshaving.social

message-square
23
link
fedilink
460

Use protection

NSFW

sub.wetshaving.social

weird@sub.wetshaving.social to Programmer Humor@programming.devEnglish · 1 month ago
message-square
23
link
fedilink
  • anton@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    31
    ·
    1 month ago

    That’s the zeroth date.

    • weird@sub.wetshaving.socialOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 month ago

      What’s the first one then?

      • blackbeans@lemmy.zip
        link
        fedilink
        arrow-up
        8
        ·
        1 month ago

        As the epoch is signed, the first date might refer to December 1901, at least for a 32-bit number.

      • SystemDisc@feddit.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        If it’s seconds past the Epoch, the integer 1 would be January 1st, 1970 12:00:01 AM

        • ranzispa@mander.xyz
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          I guess which it should be date 1. With the date expressed in milliseconds that’d make it 999 milliseconds earlier than what you wrote.

          12:00:01 would be the time at which the guy finally came.

      • kubica@fedia.io
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        deleted by creator

    • OddMinus1@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      In java LinkedList, the method .get(0) is equivalent to .getFirst().

      • SystemDisc@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        This is a good point. Even in a zero-based index, the first element is the first element. So, the first date is still a zero timestamp.

Programmer Humor@programming.dev

programmer_humor@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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.41K users / day
  • 3.6K users / week
  • 7.78K users / month
  • 16.8K users / 6 months
  • 67 local subscribers
  • 32.8K subscribers
  • 2.52K Posts
  • 97.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org