• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle

  • If the method does a long thing, the keep it long. I do a lot of data analysis and simulation, and so often people who came before had this urge to shorten methods, so we get:

    def do_calculation(N, X, y, z, a, b, c):
        # Setup stuff
        for i in range(N):
            calclation(X[i], y, z, a, b, c)`
    

    Sometimes there’s a place for that, like if calculation could be swapped for a different function, or if calculation is used all over the program. It’s a pretty good clue that something is up though when the signatures are almost identical. Of course, that has just led to people writing:

    def do_calculation(big_struct):
        read_data(big_struct)
        calculate(big_struct)
        write_data(big_struct)
    



  • Reminder that “suicide” has a lot of gray areas, and when less stigmatizing labels exist, officials may choose to apply those instead.

    On one hand, we have deaths such as by overdose or auto accident that may be labelled as accidental, but were in fact a suicide.

    On the other hand, there are deaths which may be quickly closed as a suicide, but where the details suggest some other kind of foul play.

    All this to say, that any comparison between to between countries is to be taken with a margin of error, because specific interpretations and data-collection methods may differ.


  • Not just East Germany. If you dig enough, you will find mental health abuse in every country on earth, whether historical or ongoing. Of course in the USSR as you mentioned, also in China, the USA, and elsewhere.

    “Abusive” in this case can mean abusive treatments, or treatments against things that are not diseases, such as homosexuality, promiscuity, or unfavorable political ideas.

    In the US, read about the published papers of the mkultra project, and look as well into the ongoing existence of centers such as Elan school (now closed) and the Judge Rottenberg center (still in practice).

    In my experience, having friends go through mental crises, the modern US system is hard enough to navigate even when one desperately needs and wants care. Try finding yourself a therapist when in such a depression that you can hardly get out of bed, much less search out who takes your insurance, has openings in their availability, and is a good match for your personality. Meanwhile true inpatient care seems reserved for either the fully disabled, or those who have already attempted suicide. Can you imagine if a profession like dentistry made care this difficult to access?

    But for people who are either marginalized or truly mentally disabled, this is a harsh system that can make one suspicious, especially when the history of lobotomies, electroshocks, hydrotherapy, and other abuses are within living memory.


  • Depends on your country and employer. In some situations, your job description could be a big deal. For example if you’re in a union, you are probably required to only do the specific tasks as described in the job description.

    Some countries may also have laws about your work contract. If that applies to you, then it’s probably important on your employer’s part to have the right description for your job.

    But in many places, it really doesn’t matter: your job description vs what you actually do, as long as you aren’t being asked to do something that needs licensure or other regulations. Many job descriptions will have a catch-all like “… And other duties as directed” to fill in the gap.