• ulterno@programming.dev
              link
              fedilink
              English
              arrow-up
              3
              ·
              edit-2
              3 days ago

              I have already done 8085 and ARM6 (or was it 5?).
              How many more do I need?

              Guess I’ll need RISC V for a FOSS gender, but I also like performance and am not sure if it completely envelopes x64 performance.

        • thevoidzero@lemmy.world
          link
          fedilink
          arrow-up
          17
          ·
          4 days ago

          Good read, thanks

          But I believe in generics, just write your functions so that it can work with all the types ;)

          translation: Just get rid of what is a boy or a girl thing. Just let people do what they like.

          • luciferofastora@feddit.org
            link
            fedilink
            arrow-up
            9
            ·
            3 days ago

            The idea of abolishing all gendering of things is a curiously contested one within LGBT+ spaces, as far as I can see.

            I can understand how people wishing to be identified a certain way have a vested interest in the existence of markers for that identity.

            On the other hand, I wish painting my nails wasn’t fem-coded on some level. Of course guys can do so too, but the only “guy” I knew who did so regularly eventually turned out not to be a guy, which doesn’t exactly help me ignore that connotation.

            • thevoidzero@lemmy.world
              link
              fedilink
              arrow-up
              6
              ·
              3 days ago

              I can understand people wanting markers. But maybe we have like 10-20 markers and someone having 5-6 from the other side is not weird. Like if someone is presenting as a girl completely and is not, they could just reply with “oh, I’m a guy, I just dressed as a girl today” and people would be like “that’s fun” instead of being weirded out.

              Like long hair/short hair for example. Or how girls wearing pants is normal now.

              In my case, my culture does have people cross dressing during certain events so it’s not as ostracized. But that could also be because people didn’t actually think about wanting to be the other gender but just dressing up for one occasion.

              Few fun things:

              • My parents wanted a daughter but had me,
              • my nickname at home was a girl’s name version of my name,
              • only children close to my age and vicinity growing up were girls so I grew up playing “girl” games,
              • my mom didn’t stop me from painting my nails, or putting makeup or anything as a child. (I still paint my nails black sometimes),
              • In highschool I was the only guy among the group of students with nails too long on a biology lab,
              • a guy friend once told me I walk gay (I didn’t even know that was a thing?)
              • I don’t watch sports, so I don’t have many common things to talk to guys as much,
              • Good friends I had (guys) were based on either common interests (programming, philosophy, etc) or other nerds. And when I don’t have those and only friends are based on proximity then I don’t have as many things in common.

              All those considered I’m still a guy, I just don’t care about being “manly”, and just do things that interests me. Plus lots of the things people do to be manly seems to just make them spend even more time with other guys lol. And although I don’t want to do a lot of things that are for each genders, I just wish everyone was chill about doing whatever someone likes. Or for someone to just try it out to see if they like it not, instead of thinking “that’s what X do, I won’t do it”.

              • luciferofastora@feddit.org
                link
                fedilink
                arrow-up
                6
                ·
                3 days ago

                I just wish everyone was chill about doing whatever someone likes.

                Preach, sibling.

                As an aside:

                Like long hair/short hair for example.

                This reminds me of the song “Turn The Page”, specifically the lines “Always the same old clichés: Is it woman, is it man?”

                They refer to the issue rock musicians with long hair faced, back when Seger wrote it. ~30 years later, when I first heard it, I was a metalhead with long hair. On one hand, I felt it keenly because classmates made fun of my “girl” hair. On the other, it struck me as odd because I saw plenty of metalheads with long hair (nevermind people from other cultures where that was never an issue).

                Eventually, with figures like Thor making long hair “manly” enough, that stopped. It’s curious how culture shifts can be so irregular, once slow and uneven and then suddenly very quickly.

  • RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    3 days ago

    Programming in C++ is downright horrifying to me after trying other languages. The way it does generics is fucked up on so many levels…

    • UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 days ago

      Feels a bit like being told to do brain surgery and getting handed a hatchet, especially in the modern era.

      Like, its a great learning language precisely because it does force you to think about what’s actually under the hood of your objects and attributes. You actually have to learn what a pointer is. You actually have to think about memory usage and system states. Its like Bio 1 when they have you dissect a rat.

      But without a ton of library support, you’re doing so much heavy lifting. And with a bunch of library support… why not just use C#?

      • Pelicanen@sopuli.xyz
        link
        fedilink
        arrow-up
        10
        ·
        3 days ago

        …do you mean C++ or just C? Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language, whereas in C it’s absolutely necessary since it’s not an OOP language.

        • UnderpantsWeevil@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 days ago

          Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language

          Fair. It is harder to break things in C++ than C. Although I’ve definitely created a few memory leaks.

          I’ll admit I haven’t actively fucked with C++ in over a decade, but in my experience you’re not going to find the kind of native integration with - say - Azure or SQL that’s baked into more modern languages. You can work around this with libraries. But eventually you’re just emulating a higher level language.

  • FilthyShrooms@lemmy.world
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    4 days ago

    MatLab user

    I like how it doesn’t say “coder” because everyone knows MatLab isn’t a real programming language

        • 0ops@piefed.zip
          link
          fedilink
          English
          arrow-up
          14
          ·
          4 days ago

          They’re putting scripting in the webpages, that TURNS THE FRICKEN USERS GAY

          • QuazarOmega@lemy.lol
            link
            fedilink
            arrow-up
            5
            ·
            4 days ago

            Brendan Eich was a Dark Programmer of the Netscape, so powerful and so wise he could use the scripts to influence the sexuality to create gay… He had such a knowledge of the dark side that he could even keep the ones he cared about from straight. The dark side of the Bit is a pathway to many abilities some consider to be unnatural.
            He became so powerful… the only thing he was afraid of was losing his power, which eventually, of course, he did.
            Unfortunately, he sent the anti-gay everything he had, then a woman touched him in his sleep. Ironic. He could save others from straight, but not himself.

    • missfrizzle@discuss.tchncs.de
      link
      fedilink
      arrow-up
      18
      ·
      4 days ago

      I’m old and remember when all the trans women were Haskellers. now they’ve all moved to Rust and here I am, still toiling away with my monads and combinators, a lonely spinster. 😔

      • Lena@gregtech.eu
        link
        fedilink
        English
        arrow-up
        8
        ·
        4 days ago

        I’m a trans woman and recently started learning Haskell :3

        It’s fun, I plan to eventually rewrite Lemvotes in Haskell (backend with Servant, frontend in Miso) as an exercise (and because the current codebase sucks and I didn’t know what I was doing when I wrote it)

    • Meron35@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Scientists too busy writing grant proposals to realise that the developers of RStudio have made Positron, which is VS Code based and generally better

  • saltesc@lemmy.world
    link
    fedilink
    arrow-up
    25
    arrow-down
    3
    ·
    edit-2
    4 days ago

    SQL enjoyer?

    Every time I use it I feels like I’m going back to the 90s. No variables, no functions; Oh but you can do a CTE or subquery…👍

    UNION ALL, UNION ALL, UNION ALL… “There’s got to be a better way, surely…”

    looks up better way

    “Oh, what the fuck?!.. Nope, this will just be quicker…” UNION ALL, UNION ALL, UNION ALL…

    Join in a table sharing column names… Everything breaks. You gotta put the new prefixes in front of all the headers you called in now. In every select, in every where, etc… Which is weird because that kinda works like a variable and it’s fine…

    “When you see this little piece of text, it means all this, got it?”

    “Okay. Yep. Easy.”

    “So why can’t you do that with expressions?”

    SQL SCREAMS MANICALLY

    “Okay, okay, okay!.. Jesus…”

    And then you try put a MAX in a where and it won’t let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter…

    I hate it. It has speed, when you can finally run the script, but everything up to that is so…ugh.

    • jjjalljs@ttrpg.network
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      4 days ago

      Personally I feel like SQL syntax is upside down, and things are used before they are defined.

      SELECT 
      a.id -- what the fuck is a?
      , a.name
      , b.city -- and b??
      from users a -- oh 
      join city b on a.id = b.user_id -- oh here's b
      

      I’d expect it to instead be like

      From users a
      join city b on a.id = b.user_id
      SELECT
      a.id,
      a.name,
      b.city
      
    • DarkAngelofMusic@lemmy.sdf.org
      link
      fedilink
      arrow-up
      10
      ·
      4 days ago

      While I agree that “SQL Enjoyer” seems like a weird category, I personally love SQL. I’ve been using it professionally for over 20 years, and I’ve yet to encounter a more elegant, efficient, and practical language for handling data in a relational database. Every attempt I’ve seen to replace it with something simpler has fallen far short.

      Which database systems were you dealing with, that didn’t allow variables? My personal favorite is PostgreSQL, which does allow them on scripting languages, such as PLPGSQL.

      • Jesus_666@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        4 days ago

        See, I don’t have to worry about such details. I work in corporate software dev, which means that everything is an MSSQL database where most of the tables contain only an ID of a table-specific format and a JSON blob. Why use an ORM when you can badly reimplement NoSQL in a relational database instead?

        • The Quuuuuill@slrpnk.net
          link
          fedilink
          English
          arrow-up
          8
          ·
          4 days ago

          hey hey, there there. don’t worry. most of the major NoSQL DBs implement just as horrible of travesties

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      4 days ago

      It seems that you need to get better. There are plenty of valid complaints against SQL, but your problems seem to be all due to lack of familiarity.

      No variables, no functions; Oh but you can do a CTE

      Yeah, CTEs are more expressive than variables. And as somebody pointed, every database out there supports functions, you may want to look how they work.

      UNION ALL, UNION ALL, UNION ALL… “There’s got to be a better way, surely…”

      What do you mean by a “better way”? Union all is a perfectly valid operation.

      And then you try put a MAX in a where and it won’t let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter…

      Window functions exist.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      4 days ago

      No variables, no functions

      Every major SQL implementation includes both of those things. Of course, it’s rarely needed or desirable if you know how to properly write SQL.

      “So why can’t you do that with expressions?”

      You can alias expressions.

      And then you try put a MAX in a where and it won’t let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter…

      Wtf are you talking about? For one, filtering by the output of an aggregate is what the HAVING clause is for. But even if that didn’t exist, you could just use a subquery instead. You don’t need to make table…

      Tbh it just sounds like you don’t know SQL very well. Which is fine, but doesn’t make for a very compelling criticism. SQL does have warts (even though it’s great overall), but none of what you described are real problems.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      LEFT JOIN

      Includes empty entries, doubles others.

      It sure is long due for an overhaul.

          • expr@programming.dev
            link
            fedilink
            arrow-up
            5
            ·
            4 days ago

            It doesn’t arbitrarily double rows or something. For each row in the relation on the left of the join, it will produce 1 or more rows depending on how many rows in the relation on the right of the join match the join condition. The output relation of the join may have duplicate rows depending on the contents of each joined relation as well as what columns you are projecting from each.

            If you want to remove duplicates, that’s what DISTINCT is for.

            • Valmond@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              4 days ago

              Thanks, I will kot forget that the next time I have to do SQL!

              Still wild there are no simpler language that have grown in popilarity for databases though.

              • expr@programming.dev
                link
                fedilink
                arrow-up
                5
                ·
                4 days ago

                To be honest, it’s remarkably simple for what it’s doing. There’s a ton of details that are abstracted away. Databases are massively complex things, yet we can write simple queries to interact with them, with semantics that are well-understood and documented. I think, like anything else, it requires a bit of effort to learn (not a lot, though). Once you do, it’s pretty easy to use. I’ve seen many non-technical people learn enough to write one-off queries for their own purposes, which I think is a testament to its simplicity.

                • Valmond@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 days ago

                  Oneliners are simple I give that to you, but then you have those incomplete tables and whatnot. Like take all entries from A and join B on A.id and B.id, set the result to some default if B doesn’t exist.

                  You are surely going to whip up a perfect string of SQL but I’d struggle.