Skip Navigation
So this port from 2004, will recieve support and fix this?.. right?
  • Well, game freak is still a Japanese developer. Mario Cart is a very computationally light concept, as usually are Mario games, idk about odyssey in particular though, but they tend to be small maps with small amount of entities each. Zelda is fair, I've heard good things about it.

    It's easy to make a good performing game if its concept and art design are computationally light. Optimization is about turning a computationally hard problem into a light algorithm that doesn't take much resources.

  • Elon Musk’s popularity plummets to 6% among Democrats, poll finds
  • Considering how politically active he is, he might become a politician (even running for president?). A lot of people will care about this if suddenly Elon musk appears in American ballots.

    EDIT: I just remembered that Elon cannot run for USA president. But idk if other political positions are open.

    And seeing how trump can break every law, I don't see what would prevent Elon from running for president.

  • Is there a difference between drawing a random card, and mathematically generating a random card?
  • The lava lamps are not true random though. For something to be truly random, it must be non-deterministic (no seed at all). The only way for a computer to accomplish this is to read from a source of true randomness in nature. The lava lamps are random enough, but not truly random.

    At the moment, the only source thought of being non-deterministic is quantum mechanics.

    So if you make a computer generate random numbers out of the randomness of quantum mechanics, you would have truly random numbers.

  • Making GUIs, how do you pick?
  • 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.

  • Starlink v2 satelites will ruin science.
  • Science fiction quantum entanglement is not the same as real life quantum entanglement. Science fiction has spooky action at a distance, real life doesn't.

    The speed of light is the speed of causality, the speed of information. It is physically impossible to send information at speeds greater than the speed of light.

  • EU recommends outdoor ban on cigarettes, e-cigarettes and heated tobacco.
  • Even if you're alone, where are you throwing the butt? The answer is: the ground. The ground is absolutely full of cancer sticks. And I see the city's cleaning machines clean the entire streets at least once a day. It's still full of the things.

  • EU recommends outdoor ban on cigarettes, e-cigarettes and heated tobacco.
  • If they actually disposed correctly of their cancer-sticks I would prefer to be a ban only on urban areas. But seeing how the entire floor is littered by the paper dildos, I think smokers haven't shown they can responsibly smoke in non-urban areas. Fuck them.

  • I redid the meme with what hurts me
  • 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.

  • I redid the meme with what hurts me
  • 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.

  • Yup...i can confirm that
  • 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.

  • Google is preparing to integrate Extra Dim into Android's brightness slider
  • My screen gets dimm enough that it's almost impossible to see outside with the slider at the left.

    The solution is extremely easy though. Put an option in the settings so pressing volume up/down while the screen is locked changes the brightness instead of the volume.

  • [help] impl block for generic type overriden by specific type

    I want to do basically this: ```rust struct MyStruct < T> { data: T }

    impl < T> for MyStruct < T> { fn foo() { println!("Generic") } }

    impl for MyStruct < u32> { fn foo() { println!("u32") } } ```

    I have tried doing

    rust impl < T: !u32> for MyStruct < T> { ... } But it doesn't seem to work. I've also tried various things with traits but none of them seem to work. Is this even possible?

    EDIT: Fixed formatting

    5
    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/)CA
    calcopiritus @lemmy.world
    Posts 1
    Comments 556