• 0 Posts
  • 41 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle


  • A lot of the time it’s about being lucky enough be able to have or form connections with rich stupid people. Those kinds are a lot more willing to throw insane amounts of money at someone/some company they vaguely know to do things they know nothing of but hear a lot about.

    Or just working at a company that’s well-known in the area and deals with clients very intimately while the product is being created.

    Sometimes charging more for the same service makes them want it more, to them it means it’s premium programming (as opposed to the off-brand wish dot com programming). But sometimes they demand disgracefully cheap yet world-class service and throw a tantrum when they can’t pay you $5 an hour for a full rebranded recreation of the Amazon web service.





  • I don’t work on any widely-used languages (I’ve made my own but not anything important) but I do think the designers of Zig and Rust have very good reasons for using semicolons – I read some reasons from the Rust devs themselves somewhere but I can’t remember them other than it vaguely being about how Rust is expression-based and intended to be lightweight and how whitespace significance can create confusion around how to read and write certain things and bla bla bla…

    but my personal opinion, what I generally I would imagine it’s for other than readability, is because the code can look a lot cleaner when an expression returned from a block is just the expression, and not expression plus some token like return. It’s especially nice in long closures or extremely short and simple blocks. I would rather consistently have to write expressions broadly like let a = { b + c }; rather than let a = { return b + c }. The semicolon has significance as a “result discarder” so expressions can be the default, so it’s on the surface a lot more functional-friendly.

    Also this is more specific but I hate the way WS languages generally handle quotes



  • That said, with how few expressions are return values, I do wonder why semicolons are the default rather than adding a special character to indicate return values.

    you mean like return/break/etc.?

    because Rust was designed to remind you of functional programming despite not being very functional, and because semicolons allow way better syntax rules in Rust and are generally pretty vital for good, readable lowish-level code. it also allows Rust programmers to use newlines/indents and stuff to pretty up their code a lot without littering it with random \ and |> and begin end and such everywhere, which, given how dense Rust code can be and how much it uses iterators and weird trait magic, is a big plus for readability


  • Depends on the language. I’m not gonna find shit to copy-paste for what I’m doing in Scala 3 or F#, but in Rust or C++ I’ll frequently Google an issue I can’t figure out and someone will have some fancy black magic hacker solution with super-iterators and turbofishies and weird type inference that I couldn’t think of myself and just throw it in my code with some minor modifications :)







  • force@lemmy.worldtoCurated Tumblr@sh.itjust.worksrelatable meme
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    6 months ago

    I didn’t think I had to define basic words but if I have to, sure. I define reinforcement as supporting behaviors that are symptoms of the disorder.

    Then you have a completely different definition of “reinforcement” from a majority of other people. Reinforcement is manipulating a being using conditioning methods like emotional reward/punishment in order to get them to do a specific behaviour. You can also use “reinforcement” to mean “supporting a person”, but clearly that’s not what you want.

    I define treatment as attempting to correct the behaviors the disorder spurs on.

    What is “correcting” gender dysphoria to you? Forcing them to feel uncomfortable in their bodies and tell them they’re wrong for feeling that way, despite that not working and there being actual treatment that improves wellbeing available? It is erroneous to label gender-denying ““correcting”” as “treatment”, and then deny gender-affirming care being treatment, your take is an insult to real science.

    Because the vast majority of people do not feel the need to present as something other than their assigned gender. Most people, nearly all of them, are comfortable in their own body with the gender they are and the thought of changing that never crosses their mind.

    Buddy I hate to tell you this but that’s literally what disorders and treatments for those disorders are in this society. “Most people” don’t need to take bipolar meds or conscioisly think about the tone inflection of others in every conversation they have. You finding it “abnormal” does not affect the validity of the disorders and treatments, because they are inherently abnormal. That’s why they’re CALLED disorders, because their presence does not align well with a neurotypical society.

    Those who don’t or can’t feel comfortable within themselves should receive treatment either through therapy

    Which is what gender affirming care is, and it WORKS.

    or with a solution we will one day find.

    Yeah it’s pretty easy for a privileged person to say “don’t use the effective treatment we currently have because I personally don’t like it, and hope humanity finds something I do like in the future”

    The reason this frustrates me is because the attitude is now to not look for a solution,

    We have solutions. And we use them.

    to not look for a treatment,

    We have treatments. And we use them.

    but to instead normalize the disorder because the effect is generally harmless.

    What in god’s name are you talking about? You sound like those people who said “stop normalizing the gays, homosexuality is a mental illness and letting people be homosexual is bad and disgusting and we should just correct them and tell them to be straight”. Because that IS what they said. That is also what they said about women who “defied” men and refused to be controlled by men a long time ago.

    Ideally, I’d like everyone to feel comfortable in their body from the day they’re born to the day they die and I think it’s worth looking for a way to do that.

    Ok but there is no way to do that. And the ideal is a fantasy. We have real science supported by the real fields of psychology and psychiatry by real medical professionals. We are being realistic, doing what is shown by science to be the most effective form of treatment, and doing what gives the best outcome for everyone.

    Thinking you can (or should attempt to) invalidate people with gender dysphoria rather than affirm them is a fundamental (and likely intentional in this case) misunderstanding of what gender dysphoria actually is. You are disparaging the credibility of the scientific community, and doing that as someone who doesn’t know anything about pyschology, because you don’t like reality. You don’t care if people with gender dysphoria suffer from your proposed anti-treatment because you don’t care about them, you care about society appearing how you want it to appear.

    Also this, lol:

    If someone who has autism becomes extremely antisocial for instance,

    When people use “antisocial” against Autistic people, they generally mean it as “I don’t like how you act, I think you lack empathy, and you need to be normal”. ASD does not make you antisocial. It makes your socializing tendencies appear VERY different from neurotypicals’, and makes it far easier to connect with other neurodivergent people, but the only people who assert it actually makes you against socializing are clowns who know nothing about having Autism.

    reinforcement would be allow them to continue that behavior

    ASD treatment does not involve “correcting” who and how you tend to socialize with.

    as well as support it by giving them blackout curtains, better locks,

    You’re not aware of this, but this is what people with Autism ACTUALLY OFTEN DO and is generally something that IMPROVES QUALITY OF LIFE. Fucking insane you act like this is “crazy” or harmful behaviour.

    whatever would make that antisocial behavior stronger or more frequent.

    Again, you clearly don’t know what Autism is or how it’s treated.

    Using the same example, rather than pushing the person with autism to become more antisocial (even if it’s comfortable)

    I like how you’re using being “pushed” as a way to pretend that people with gender dysphoria are being “pushed” into wanting gender affirming care. Unbelievable.

    And “being pushed to be antisocial” is not at all what people with Autism find comfortable. Your beliefs on ASD and the treatment for it are inherently extremely wrong.

    to instead gradually move away from that by introducing them to people (or whatever would be appropriate for their current needs).

    The people with ASD who are socially hindered by their atypical mechanisms for social interaction and emotions, who want to do programs to “introduce” themselves to others, may. But this isn’t a “right” or “wrong” thing to do, this isn’t central to ASD treatment and doesn’t address the issues of ASD, and this is only something someone does if they want to do it or if they’re pressured/forced into doing it by others (usually family). Most people with Autism don’t do this as part of treatment.

    You are acting like ASD is some anti-social disorder that makes you socialize wrong which needs to be corrected. This is not at all true – people with ASD are very different from neurotypicals, which causes problems, but the approach isn’t to “correct the Autism” or to try to make them be “normal”. It’s quite literally to do what makes them the most comfortable with their life, that is the point of the treatment, if they find they don’t want to mask their ASD just because our society is extremely ableist and restrict the functioning of someone with ASD, then they won’t mask their ASD.


  • force@lemmy.worldtoCurated Tumblr@sh.itjust.worksrelatable meme
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    edit-2
    6 months ago

    First you have to define what you mean when you say “reinforcement” and then differentiate it from “treatment”. Are you “reinforcing” Autism when you avoid situations where you’re likely to encounter loud sounds and bright lights, or when you avoid large groups of people, etc.? Are you “reinforcing” ADHD when you choose to work a non-traditional schedule and job because that’s what allows you to work with the disorder? Why is presenting as something other than your assigned gender suddenly “reinforcement of a mental illness” and not “treatment”? Where do you draw the line between “reinforcing it” and “accepting your condition changes who you are and requires you to live differently from others, and utilizing effective strategies and medications that may improve quality of life and reduce suffering in the long term”?

    You give eating disorders the treatment they get because, without it, the disorder will severely harm the person. You give gender dysphoria the treatment it gets because proper treatment for the specific person’s case, whether it’s transitioning via using appropriate pronouns or being more open with their non-traditional behaviours or making efforts to outwardly appear non-traditionally or going through HRT etc., is effective at reducing harm related to the dysphoria. What you call “reinforcing” eating disorders is not comparable to gender affirming care because it does not have the same effects.




  • force@lemmy.worldtoProgrammer Humor@programming.devIs this a Nut?
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    7 months ago

    Sorry what? Rust has literally been known for having some of the most useful compiler warnings imaginable. It’s like, a huge selling point. Misleading warnings are far and few, and usually it’ll literally point you at the exact tokens that caused an error and gives you a solution to fix it.

    Are you sure that your inability to write Rust isn’t caused by a lack of understanding of the language’s pointer/ownership/lifetime rules, or the type system? I would be inclined to believe that someone who mainly just uses Python (or any other GC’d language really, but especially extremely high-level/“low-code” dynamically-typed languages like Python/Lua/JavaScript) wouldn’t exactly be too good at those concepts, but they’re pretty important in the context of languages like Rust.