Sometimes I make video games

Itch.io

  • 3 Posts
  • 64 Comments
Joined 11 months ago
cake
Cake day: July 26th, 2023

help-circle
  • There’s this ad I keep seeing that I really despise. It’s for teeth-whitening toothpaste. The actress is wearing a white coat then holds up a tissue to her teeth, lamenting that her sparkling white teeth are ‘still yellow’

    They cut away to teach you how toothpaste works, because surely you’ve never heard of this newfangled thing, and when they cut back she’s no longer wearing her white coat and says how much whiter her teeth are.

    It’s transparently obvious that the wardrobe and tissue are just to give you something whiter to look at. But like… your teeth aren’t supposed to be freakishly white. It’s just something that Big Toothpaste wants you to feel bad about the way your body is. Also, using whitening toothpaste when you don’t need it can damage your enamel and cause you long term problems.


  • BougieBirdie@lemmy.blahaj.zonetoLinux@lemmy.worldAnti Malware with Linux
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    1
    ·
    5 days ago

    My understanding is that no amount of anti-virus software replaces common sense. As long as you’re not downloading sketchy programs and giving them permission to run, you’re pretty well set.

    Some people might tell you that there’s no viruses on Linux, but that isn’t exactly true. Linux has something like 2% of the desktop market, which makes it less attractive to develop malware for - but 2% of a few billion computers is still millions of potential targets. Not to mention that Linux dominates the server market, and arguably that’s where malware is more valuable. To think that there’s no malware targeting Linux is naive.

    Many anti-virus suites are effectively malware though. If you decide you do need AV software make sure to do your research before installing any.

    Anyway, long story, I don’t personally use an anti-virus, and for your stated uses I’m not sure I’d recommend one.

    If you’re mostly using it as a web browser then I would definitely recommend a solid ad blocker. UBlock Origin is free, highly esteemed, and can be installed as an extension to whatever browser you’re currently using.







  • I’m afraid I don’t have a specific example in GDScript, but I have written enterprise software where this was the case.

    When talking about the speed of languages we often focus on the runtime speed. But another important factor is development speed. In my experience, an interpreted language such as GDScript or Python has a much faster development speed than a compiled language. This is really great for prototyping, especially when you don’t know exactly what changes you might have to make on the fly.

    The philosophy that I have is to avoid premature optimization. And what I mean by this is that I’m going to write the program the simplest way I can think of the first time. Of course, the first draft isn’t always the best solution, and if there are issues they’ll make themselves apparent. Once they make themselves known, then we can address resolving them.

    So now that you’ve identified an issue you can work on optimizing it. You’ll want to do some profiling to find the problem areas, but generally the issues will make themselves known. Some portion of the program will need a rewrite and you can begin working on that. There might be bad control flow or an unhandled error, and those are easily fixed. But sometimes it boils down to a computationally expensive algorithm.

    If you encounter a problematic algorithm, you might have to write it several different ways to figure out what’s fastest. After all, most problems can be solved in many different ways. But eventually, you’re going to find your fastest solution. And if that solution still isn’t fast enough, then it could be time to look at switching to a compiled language.

    I guess what I’m getting at is that out of all the tools in the toolbox, rewriting to another language is the last one I reach for. However, it is still sometimes the correct solution.

    Thank you for reading this far. As for some Godot stuff, they have this cross-language scripting feature. Basically, you can fairly easily interface some C# into your GDScript when and where you need it, instead of deciding on one specific language at the start of your project.



  • I was probably a child when I last read it, so I might have some details wrong, but here’s how I remember it:

    A child is given a toy rabbit. A fairy visits the toy rabbit and gives it the gift of awareness. The child and the toy bond with each other and grow to love each other. Unfortunately, the child becomes dangerously ill, and after the sickness their possessions must be incinerated to prevent contamination. This includes the toy rabbit. However, the fairy arrives at the last minute, declaring that because the rabbit learned to love it was therefore a real rabbit, and with a wave of her wand transforms the toy into a living being and whisks it off to the woods were it lives happily ever after with the other rabbits.

    So I guess my question is this - Do you think the velveteen rabbit and the fairy are real? Or is the fairy’s magic an invention of the child’s mind?

    I think the narrative required the velveteen rabbit to be burned because it was so horrible. To the grown ups it’s just velveteen, but to the child it’s a dear friend. Even as children we know that being burned is horrible. So the child invents a solution where their toy can live happily ever after even after it’s thrown in the fire.

    I think there’s definitely some Heaven and Hell symbolism to be had too. The velveteen rabbit was damned to hellfire unless it accepted love into its heart during its life. Then it is granted into the afterlife. In fact, you could say it was reincarnated into a higher spiritual form.

    The story explores coping with loss as seen from the point of view of a child. Even though the velveteen rabbit was just a toy, the child has given it a soul. If you have a soul, when you die you go to the afterlife and live happily ever after. It’s a comforting story to a child, and one that many people around the world have believed throughout the ages.





  • When I was a kid I saw an elderly man get hit by a car. He rolled over the top, which I guess is safer than being run down, but he got a lot of air and hit the pavement hard. Just kept rolling over and over. My parents shooed us away from the scene, but I can’t imagine it ended well for him.

    One time I was riding a bus that rear-ended a motorcycle. I didn’t see the collision itself, but the driver was pronounced dead at the scene.

    We often take for granted how dangerous traffic is. Your life can end in a moment doing something we casually do every day.

    I was working in a department store when a middle-aged woman collapsed in front of me. It was really warm, heat exhaustion I supposed. She looked like maybe she was drunk because she was moving kind of erratically, so I went to see if she was okay and she just fell. I’ll never forget the sound her head made hitting the concrete or the fact that she didn’t even blink. Remarkably, she was okay and was up in a few minutes, walked away and everything, really surprised me.

    The thing that probably fucked me up the most though was some videos on YouTube. I was working for a video analytics company, and we were trying to build an image classifier that could detect firearms. Well, you need data for that, so we were scraping videos of gun crime. Mostly what we were looking for was armed robbery. Lots of videos put out by the local police of somebody holding up a convenience store, and that wasn’t a big deal. But every now and then you’d find a video of someone getting shot and that really affected me. Eight hours a day of looking at gun crime with the occasional homicide peppered in was a recipe for disaster. I definitely needed therapy after that job.


  • A lot of people in this thread appear to be pretty hard on themselves. There seems to be a trend of people who want to be nice, are trying to be nice, but don’t see themselves as nice. If that sounds like you, then I’ve got some good news for you:

    You are a nice person.

    If you’re sincerely making the effort to be a better person then that’s admirable. Self improvement is hard. Too often people are quick to judge based on the result of your actions rather than the effort that’s put into them. To put it another way, we judge people by their actions but judge ourselves by our intentions.

    Treat yourself to the niceness that you’re trying to show to other people. You’re doing the best you can. You’re trying to be a nicer person which means you’re trying to grow. From tiny seedlings grow mighty oaks, and the seedling shouldn’t be shamed for starting its journey. Rather, it should be encouraged to keep growing.

    If you find it difficult to be nice, but you’re trying to be a nice person, I’d say that’s a lot nicer than being the person who dismisses another for not being ‘nice’ enough.






  • I’m still learning Godot myself and haven’t used a PopupMenu before, so I’m not sure how much help I can be.

    However, regarding Issue #2 at least, I wonder if the issue might be the draw order of your CRT Shader. It’s the last node in the scene, and if you move it higher in the hierarchy (or at least above the PopupMenu) you might be able to clear that up. At least, I’ve had a couple of issues in the past that were resolved that way.

    I hope you figure it out, good luck!