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

Explain yourselves, comp sci.

mander.xyz

message-square
19
fedilink
259

Explain yourselves, comp sci.

mander.xyz

fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 1 year ago
message-square
19
fedilink
alert-triangle
You must log in or register to comment.
  • SpaceNoodle@lemmy.world
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    2
    ·
    1 year ago

    It’s a dynamically-sized list of objects of the same type stored contiguously in memory.

    • fossilesque@mander.xyzOPM
      link
      fedilink
      English
      arrow-up
      38
      arrow-down
      6
      ·
      1 year ago

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

        It’s a dynamically-sized list of objects of the same type stored contiguously in memory.

        dynamically-sized: The size of it can change as needed.

        list: It stores multiple things together.

        object: A bit of programmer defined data.

        of the same type: all the objects in the list are defined the same way

        stored contigiously in memory: if you think of memory as a bookshelf then all the objects on the list would be stored right next to each other on the bookshelf rather than spread across the bookshelf.

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

          Dynamically sized but stored contiguously makes the systems performance engineer in me weep. If the lists get big, the kernel is going to do so much churn.

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

            matlab likes to pick the smallest available spot in memory to store a list, so for loops that increase the size of a matrix it’s recommended to preallocate the space using a matrix full of zeros!

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

            Is that churn or chum? (RN or M)

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

              Churm

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

        Many things like each other lined up in a row, and you can take some away or put more in.

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

      So an ArrayList?

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

    Ooh, do tensors next!

    You should ask your biologist friend and your physicist friend and your compsci friend to debate about what vectors are. Singularities, too.

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

      Tensors are easy!

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

        It’s just a fancy list of fancy lists! :D

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

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

    As a mathematician this genuinely hurts. Lol.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    4
    ·
    1 year ago

    It’s an array.

    First time I heard of vectors in comp-sci was in C++. The naming still doesn’t make sense to me.

    Anti Commercial-AI license

    • 01101000_01101001@mander.xyz
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      NO

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        YES

        • 01101000_01101001@mander.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I know what a vector is in computer science; do you know why it’s named that?

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

    This might hit harder if it weren’t for the fact that words very can have multiple senses

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.

  • 2.13K users / day
  • 3.24K users / week
  • 4.95K users / month
  • 9.43K users / 6 months
  • 4 local subscribers
  • 15.5K subscribers
  • 4.27K Posts
  • 25.3K Comments
  • Modlog
  • mods:
  • Salamander@mander.xyz
  • fossilesque@mander.xyz
  • SciBot@mander.xyz
  • BE: 0.19.8
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org