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/)MP
magic_lobster_party @ magic_lobster_party @kbin.run
Posts
1
Comments
624
Joined
1 yr. ago

  • Just having clear and concise variable names often goes a long way. Avoid using abbreviations.

    Breaking out the code into functions helps limit the number of variables within a scope, which makes it easier to name them.

  • This is the truth. In my experience, the people who often writes comments are also writing the most incomprehensible code.

    Comments are frequently getting outdated as well, so they’re not in great help understanding the code either.

  • Flask is a fun framework for making web apis.

    Pika is a client for RabbitMQ, if you want to try message queue stuff.

    Numpy and sklearn for numerical and machine learning stuff.

    Matplotlib for making nice plots of your numerical stuff.

    Pytorch for deep learning.

    Pillow for image processing.

    OpenCV for computer vision.

    Pygame for 2D games (maybe a bit old, but I had lots it fun with it when I started learning programming years ago)

  • It has been known for centuries that you see a different night sky depending on how far north or south you are. A flat earth model has to explain why northern pole star is only visible in some parts of the world, while southern cross is only visible in other parts.

  • It’s a marketing trick. First suggest an insanely high price. Customer rejects. Then suggest a lower price, but still expensive. The customer will be more inclined to buy, because the new lower price feels like a good deal in relation to the incredibly expensive old price.

    If they went with the lower price right away, the customer wouldn’t be as inclined to buy because they don’t have the incredibly insane price as a reference point.

  • They will just put a ruler on the ground. If earth was perfectly round, then the ruler would only touch the ground in exactly one point. But the entire ruler touches the ground. Hence, the earth cannot be perfectly round, so it must be flat. QED.

  • The lighting doesn’t feel very natural. It’s inconsistent.

    Her hair and face suggest a direct sunlight from the left, but the environment suggests indirect sunlight. The background trees should have more direct sunlight to the left.

    The tentfire should also spill out some light to the environment.

    The tent also suggests the sunlight comes from the right.

    Consistent lighting is something AI is currently struggling with. It gives off a Photoshop edit vibe.

  • The numbers I can find of Master System is that it sold between 10 to 13 million units worldwide, so not that much better compared to the short lifespan of Dreamcast.

    Mega Drive’s sales numbers isn’t too far off from SNES.

  • Sega’s only console success was Mega Drive/Genesis. Probably because “Sega does what Nintendon’t”. Sega managed to sell themselves as the alternative for the kids who were too cool for the SNES.

    They couldn’t compete with Sony on that front. Sony was the new cool guy. Dreamcast failed because everybody was waiting for PS2.

    So I’d say failed marketing killed Dreamcast.

  • That’s good to hear. I haven’t touched Eclipse in maybe 15 years and back then it fueled me a burning hatred for IDEs. It felt like a huge confusing mess. But maybe it has become more streamlined lately.

    Now I have grown out of my hatred and can’t imagine a day without (non Eclipse) IDEs.