• 0 Posts
  • 45 Comments
Joined 1 year ago
cake
Cake day: July 10th, 2024

help-circle

  • For dipping your toes into a new topic I think it’s perfectly fine. It helps to provide useful pointers for further “research” (in a sense that would meet your requirement) and also manages to provide mostly accurate overviews. But sure, to really dive into this, LLMs like ChatGPT and co. are just some low-level assistants at best and one should go through the material themselves.







  • I don’t like code, that isn’t well documented. In fact, this has been my main source of frustration in the past and required the most time to deal with. Thousands of variables, hundreds of thousands of lines of code, how am I supposed to go through it somewhat fast, if there aren’t any comments or pieces of documentation that are guiding my understanding? I can’t spend half a year to just get a grasp of how the code works.

    Comments (as well as docstrings and readmes etc.) provide higher level overviews that can guide you through the code rather quickly, even if it may be longer in terms of words or character count than the lines of code it describes, it may accelerate understanding tremendously. It’s just a lot more effort to trace each variable and see what it does and how it interacts with others. This can quickly become exponentially hard to track.

    I don’t think it’s necessary to comment each line of code, except in rare cases or maybe when setting up a class and describing the members and roughly how they’re used, but a few words here and there, at some higher or intermediate level, roughly describing what you want to do, can go a long way for others (and even yourself, when working on a project for several years). It’s also already sufficient to just highlight the most important variables in a piece of code, when explaining it. Given that info, this steers your focus when reading the actual code.

    “Speaking” variable/function/… names are also very useful. I don’t care if it’s a long name, as long as it’s sufficiently expressive. E.g. “space_info” instead of “si”. This helps to understand the code more quickly and reduces backtracking lookups, because you already forgot again what a specific variable does that you haven’t seen for a while. My rule of thumb for variable naming: As consice, short and “essence grasping” as possible, but as long as necessary.


  • I suppose you’re referring to the article I’ve linked. As I see it: If an increasing amount of applications world are running with Python, then energy and time consumption are important aspects. Not only cost wise but especially since we’re grilling our planet. Therefore, comparing with more efficient languages is indeed meaningful.


  • Python sucks.

    Not only is it extremely inefficient, it is also a pain in the ass to work with if you have to use APIs that heavily rely on dynamic type wrapping and don’t provide stubs. Static analysis via Pylance is not possible then and you’re basically poking around in the dark, increasing the difficulty enourmously to get to know such an API. Even worse if there isn’t even a halfway decent documentation.



  • Zacryon@feddit.orgtoMemes@lemmy.mlAI sucks
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    3 months ago

    Scientific consensus. But it’s not “LLMs”. AI covers multitudes of methods, algorithms, models. LLMs fall into sequence modeling / prediction, usually based on transformers nowadays, which is a method from machine learning, which itself is a big branch inside of the term “AI”.








  • Zacryon@feddit.orgtoMemes@lemmy.mlI do what I want
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    5 months ago

    Life is not a race, nor a sequence of specific milestones everyone has to achieve. Do whatever the fuck you want for yourself in life.

    That’s of course a bit difficult if these things are exactly what you want. However, go get therapy, carve something nice for you out of life and make yourself comfortable. Don’t compare yourself to people who have lived a mentally healthy life. It’s like comparing yourself to people who have healthy legs while yours are broken. They haven’t walked the same path you are walking. Maybe they wouldn’t even survive for so long if they were in your shoes. So forgive yourself and be proud that you are still here despite the shit raining down on you everyday. That’s a lot of strength you’re showing.

    Yada yada yada, I know easier said than done. Ironic, coming from someone who has similar problems. But therapy has indeed helped to make things a bit better. Still working on it. There is hope. You can do it too.

    (And still continue to shitpost. ;) )