Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)C
Posts
0
Comments
523
Joined
3 yr. ago

  • It's a one line function in an example. It's a getter.

  • Lmao, and they say dynamic typing is supposed to speed up the developer.

  • This is literally a getter function. How is a getter awful code? It's the simplest function there is. The only function simpler than that is returning the input itself.

  • Python doesn't check the types of function headers though. They're only hints for the programmer.

  • Dear imgui absolutely exists on rust. Which is the same dear imgui as C/C++. If you want a rust option though, there's egui, which is basically Rusty's version of dear imgui.

  • For rust I use iced, as it meets all my needs and is a delight to work in. I don't think it's good for making graphs though. For graphs I heard that people like matplotlib (in python), which you can also use inside PyQt apps. I've tried using matplotlib and did not enjoy the experience at all, but I don't know of any alternatives.

  • That is because when you're a beginner, you read everywhere that you should be using anaconda and jupyter notebooks. I know because I did so. Neither of them lasted more than a week on my computer though.

  • Anything that's not an integer or a range doesn't belong inside []. Much more readable to use zip, map, filter, etc. And more powerful.

    EDIT: that was meant for indexing lists. Strings inside [] for indexing ducts are fine.

  • I haven't used npm. But pip is horrible. Some times I've used a well-known library that only works on linux, but there is no mention of it whatsoever, and it installs without problem. The error only happens at run-time (not even when importing!) and says nothing about platform-dependency. I only learned that it was a linux-only library because I happened to try running it on a Linux machine to see if it worked.

    Many times you have to set up your environment a specific way (environment variables, PATH, install dependencies outside of pip) for it to work, and there's no mention of it anywhere. Sometimes you install the library with pip, sometimes with apt, and there is no way to know which one. And sometimes the library is both in apt and pip, but the pip one does nothing.

    Furthermore, good luck importing a library. You might have installed it with "pip install my-library" but to import it you have to do "import MyAwesomeLibrary3". And pip won't tell you about that.

  • The mistake was choosing a language, and afterwards searching for a use to the language you just learned.

  • That's because it's not the same feminist movement as it was when millennials were gen z's age.

    The last questions are what feminism used to be (what millennials liked). Nowadays, however, feminism is plagued by not-feminist people, that instead of wanting equality want women superiority. That's the feminism gen z knows about, and the men don't like it. That's also the reason they answer "no" to "are you a feminist?" But they support actual feminist policies. The definition of feminism has changed.

    EDIT: just for reference: my county (Spain) recently put porn under a passport with limited uses per month. Why did they do that? They claim feminism. Does that sound like feminism to you?

  • It not being fully 3D doesn't mean that it's of lower quality.

    For example when consoles got powerful enough to draw 3D backgrounds you could see a significant decline in background quality, since you can have a higher quality 2D background for a fraction of the resources.

  • I don't think changing a profession's terms to "prevent stupid jokes" is a smart move.

  • To be fair, in that article mentions the way to get rust from C. Sure, there is not a compiler written in C, but C is down there in the list of compilers needed for rust, so "just" need to compile some other compilers in the middle.

  • The bedrock of modern civilizations is expensive to develop, buggy and unergonomic though.

    If you make C run, you probably (I'm not sure, would have to verify) can make rust run. And if there isn't yet, there will probably soon be a C compiler written in rust, so you can choose to bootstrap from wherever you prefer.

    C's ABI will probably last longer than C, since there is not a stable rust ABI though.

  • At this rate, the US government won't even consider it as an option! Rust is practically a hippie language.

  • We need to differentiate between those cases because they are 2 distinct cases. And they are very different.

    They don't even have the same purpose. The purpose of a human learning is: fulfill a desire to learn or acquiring a new skill that will be useful to fulfill another desire. The purpose of AI learning is: increase the value of the model so it can be sold for more.

    Lemmy is not an entity that is capable of thought. And I'm not Lemmy. I'm just another person and what you are reading is my opinion.

    "Publishers are bad and greedy, therefore everything that hurts them is good for society" is a childish take imo. Not everything is black and white. Copyright exists for a reason. Just removing it won't make the world better. A law being flawed doesn't make it worse than not existing.

  • Don't need to get philosophical about what is the difference between human and AI learning.

    "Consumed by AI" and "consumed by a human" are two distinct use cases that can have different terms in a license.

  • Media is not exactly like cheese though. With cheese, you buy it and it's yours. Media, however, is protected by copyright. When you watch a movie, you are given a license to watch the movie.

    When an AI watches a movie, it's not really watching it, it's doing a different action. If the license of the movie says "you can't use this license to train AI, use the other (more expensive) license for such purposes", then AIs have extra fees to access the content that humans don't have to pay.