The Bard's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 1 year ago

10001

mander.xyz

message-square
41
link
fedilink
577

10001

mander.xyz

fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 1 year ago
message-square
41
link
fedilink
  • cobysev@lemmy.world
    link
    fedilink
    English
    arrow-up
    137
    ·
    1 year ago

    For anyone who doesn’t want to do the conversion, that’s 17 days.

    • Yardy Sardley@lemmy.ca
      link
      fedilink
      English
      arrow-up
      72
      ·
      1 year ago

      Or -15 days

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

        Ominous

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

        Mmm yes. 5 bit two’s complement.

        I shouldn’t make fun of it we’ve definitly made some ISA that weird.

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

        what’s the general rule for translating negatives from binary? did you just do like 17 - 2 • (-1) or something?

        • Yardy Sardley@lemmy.ca
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          I used what known as 2’s compliment. Take the complement (flip all the bits - here that would give you 01110 which is 14) then add 1.

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

            thanks for the explanation! could you express it as a NOT operation plus one? like is that how it would be processed at a low level?

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

              My low level is a tad rusty from when I learned the C side in school, but if I recall the not operator resolves as a single Boolean (0 or 1 in true C), whereas compliment comes back as however many bits you put in - a not operation per bit.

              In C, the not operator is ! and the compliment operator is ~

    • chuckleslord@lemmy.world
      link
      fedilink
      English
      arrow-up
      48
      ·
      1 year ago

      It also has a max of 31 days possible. Which has… implications.

    • Phoenixz@lemmy.ca
      link
      fedilink
      English
      arrow-up
      32
      arrow-down
      1
      ·
      1 year ago

      Unless it’s a signed integer, then it’s -1 and they’re expecting something…

      • DacoTaco@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        A 5 bit long signed integer? What kind of weird system you using ? :p

        • gens@programming.dev
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 year ago

          Two’s complement

        • Phoenixz@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Because a 5 bit unsigned integer is so much better? :p

      • computergeek125@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Only if you’re using a sign bit rather than two’s compliment (a sign bit allows for two representations of 0)

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

      Or 11 in hexadecimal

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

        B is 11 in hex though?

    • humblebun@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      I did and I regret it

Science Memes@mander.xyz

science_memes@mander.xyz

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: !science_memes@mander.xyz

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don’t throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

  • !spiders@lemmy.world

Other Mander Communities

Science and Research

  • !academia@mander.xyz
  • !science@mander.xyz
  • !scicomm@mander.xyz

Biology and Life Sciences

  • !abiogenesis@mander.xyz
  • !animal-behavior@mander.xyz
  • !anthropology@mander.xyz
  • !arachnology@mander.xyz
  • !balconygardening@slrpnk.net
  • !biodiversity@mander.xyz
  • !biology@mander.xyz
  • !biophysics@mander.xyz
  • !botany@mander.xyz
  • !ecology@mander.xyz
  • !entomology@mander.xyz
  • !fermentation@mander.xyz
  • !herpetology@mander.xyz
  • !houseplants@mander.xyz
  • !medicine@mander.xyz
  • !microscopy@mander.xyz
  • !mycology@mander.xyz
  • !nudibranchs@mander.xyz
  • !nutrition@mander.xyz
  • !palaeoecology@mander.xyz
  • !palaeontology@mander.xyz
  • !photosynthesis@mander.xyz
  • !plantid@mander.xyz
  • !plants@mander.xyz
  • !reptiles and amphibians@mander.xyz

Physical Sciences

  • !astronomy@mander.xyz
  • !chemistry@mander.xyz
  • !earthscience@mander.xyz
  • !geography@mander.xyz
  • !geospatial@mander.xyz
  • !nuclear@mander.xyz
  • !physics@mander.xyz
  • !quantum-computing@mander.xyz
  • !spectroscopy@mander.xyz

Humanities and Social Sciences

  • !archaeology@mander.xyz
  • !folklore@mander.xyz
  • !history@mander.xyz
  • !old_maps@mander.xyz

Practical and Applied Sciences

  • !exercise-and sports-science@mander.xyz
  • !gardening@mander.xyz
  • !self sufficiency@mander.xyz
  • !soilscience@slrpnk.net
  • !terrariums@mander.xyz
  • !timelapse@mander.xyz

Memes

  • !bushrat_confidential@slrpnk.net
  • !science_memes@mander.xyz

Miscellaneous

  • !answered@mander.xyz
  • !mander@mander.xyz
Visibility: Public
globe

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

  • 1.13K users / day
  • 3.6K users / week
  • 5.84K users / month
  • 12.9K users / 6 months
  • 1 local subscriber
  • 18.5K subscribers
  • 6.13K Posts
  • 86.1K Comments
  • Modlog
  • mods:
  • Salamander@mander.xyz
  • fossilesque@mander.xyz
  • SciBot@mander.xyz
  • fossilesque@lemmy.dbzer0.com
  • BE: 0.19.14
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org