• lhamil64@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      One of these days I’ll actually look up how YAML indentation works. Every time I use it it’s trial and error until I stop getting errors.

  • Rhllor@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Actually had a colleague who determined distances on microscopy images that way. She would measure the scale bar included in the image with her ruler on the screen, measure the distance she was interested in and calculate the distance using the rule of three. I mean, why bother using the measuring tool included in the software.

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

      I’ve heard of people printing out charts, then cutting out the part they wanted to calculate an integral of, then weighing the paper.

      • siipale@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        I’ve heard of it too. You would need an analytical balance to get accurate measurements weighing a piece of paper. Just cut out the part you want to take an integral of, then cut out a piece of paper with known size (or cut several pieces with different sizes to get more accurate results) and weigh each of them. I guess this used to be cheaper and faster than using computers when computers were big and expensive.

  • gerryflap@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    People here are taking this way too seriously lol. I love Python, and I never really had any issues with the indentation being used instead of curly braces or something. This is just a silly meme, not a personal attack

  • BoofStroke@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Programming languages that use white space to delimit structure are annoying at best. I get annoyed at yaml too, but I’m ok once I have a few templates set up.

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

    I started with Perl. This taught me a certain mindset that works well with Bash and Ruby. I’ve tried to learn Python several times and I just fucking hate it. I gave up when I realized that it just doesn’t work the way that my brain works.

    I wonder if the outcome would have been different if I’d started with Python? How might that have shaped my thinking / reasoning? Fwiw, I was also ok with PHP and SQL, but I don’t know much or anything about the backgrounds on those foundations. Maybe my above statements were completely bullshit.

    • evranch@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I used to love Perl as it worked the way my brain worked.

      Then I started taking medication for ADHD.

      I haven’t used Perl since except for text parsing, it’s an absolute hot mess of a language (though very powerful and functional at the things it does well)

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

        That’s super interesting.

        I have a mental divergence that isn’t ADHD. I was reviewing stats on it that said people who have it are some percent more likely to have ADHD. I wonder if my previous enjoyment of Perl is because I’m on an ADHD spectrum. It would be interesting to find out.