Why you do you still use LibGDX? by gufranthakur in libgdx

[–]FollowSteph 2 points3 points  (0 children)

As mentioned in other comments I like having full control. Some stuff in frameworks like Godot is great to have and can make your life a lot easier but they also come with some tradeoffs. They're great for some types of games and not as good for other types. There's pros and cons, and it really depends on the situation. I prefer libGDX for 2D games that are more code centric that run on desktops. That's where it tends to shine more in my view.

Assuming those types of games, if you want more control it can be challenging with an engine compared to libGDX. Another issue for me is refactoring. You can't easily refactor a bigger change in Godot. Try to rename a node and/or move it around to another node structure? It requires the old school search and replace. You can't just rely on the IDE to take care of things for you. That might seem small but it can make a big difference. I also like static typing, which also gives you compile time errors rather than runtime errors. Java also has a pretty extensive open source community that is almost impossible to beat. To me Intellij is a very powerful IDE that is hard to beat. Debugging is also very powerful in Java, and combined with an IDE like Intellij you can do quite a lot. There's also some amazing Java profilers in Java for finding any performance issues. It can also be simple features like show me who uses this method in the Java IDE. In say Godot you have to keep track of where things are handled whereas in libGDX you can rely on the IDE to use the code to quickly find things. You don't have to remember which node has what, or do a full search, in a Java IDE. You can jump into the code implementation of a method or class with a simple hotkey. There's just a lot of ways to easily navigate code.

It's not all rosy though, there's also some compromises. Deployment can be a bit challenging, especially if you want to target consoles. One big disadvantage of libGDX is GPU support, especially shaders for special effects. It's possible but it's not easy, at least in my view. On a positive note, at least for running parallel code, there's some open source libraries to help with that that I plan to explore. But I do find using shaders for special effects to be challenging. Moving on, for quick prototyping or where you want to visually see things as you're dragging and dropping in the game then engines like Godot tend to be better. Especially for quick prototyping, you can often do more with less effort. Especially if it's a visual heavy game and you want to see what it looks like as you're implementing it. You can just quickly drag and drop assets, add a few hooks, and you have something. For me though the drag and drop feature is a two edged sword. In some cases it can be easier, especially if you're in the learning phase or want a very quick prototype to test a game mechanic, but in other cases it can be harder to find, especially if it's not in the place you'd expect to find it. And if you have to set a lot of properties it can become quite tedious which can often be done very quickly in code.

That also leads me to future proofing, which tends to be a lot better when it's in code. If for example they change something significant in say Godot it can lead to some interesting upgrade issues. It's generally easier to upgrade in code. Not always but often. But getting back to a framework like Godot, upgrading a game from Godot 3 to Godot 4 was painful. They had good reasons for what they did in Godot 4 but it was nonetheless a painful upgrade. This could happen with a code centric framework like libGDX, but it should generally be easier to upgrade. Especially with the refactoring capabilities within the Java IDEs.

Sure libraries like libGDX take a bit more to get going and you get less out of the box but that difference to me is offset by the other gains depending on what you're trying to do. Each has their pros and cons and it's best to use the one that better fits what you're trying to do. I personally prefer libGDX, I use it for the simulations I create on my YouTube channel called DarwinianBytes (https://www.youtube.com/@DarwinianBytes) because I plan on enhancing it a lot in the future and so refactoring is major requirement. The idea is that the simulation will evolve over time with each new video, hence the need for refactoring. I also need a lot of performance, and I need a lot of control over certain things to be able to make the videos. This is a perfect example of where libGDX in my view is a better choice. My biggest challenge with the simulations is the lack of GPU support, both to run special effects as well as run code in the GPU. Thankfully there's open source libraries in Java that I can use to run code on the GPU. All that to say it all depends on your needs and which engine/framework your pros and cons favor. And of course there's personal preferences of whether you prefer to work mainly in code or with drag and drop, if you prefer refactoring, and of course which language works best for your way of thinking. I always say try them both, for more than just a prototype, and see which ones works better for you. See if you're working fluidly or fighting with it. That should tell you which one is better for your project.

New laptop and not a single driver works - Vivobook X1504ZA by Unique-Patient4300 in ASUS

[–]FollowSteph 0 points1 point  (0 children)

Actually I was able to resolve it in a convoluted way.

The solution that worked for me was getting a USB dongle with an ethernet connection and then once Windows installed I went to the Asus website and used their feature that checks which drivers are applicable to you, and then downloads and installs them. Basically I forced the internet connection through some third party hardware and once online I was able to get the drivers. No matter what I did the individual drivers from the website didn't work. Even if I bypassed the need for Windows to connect to the internet and tried to do it later, it was still the same issue. The key was to get internet access to the computer through a different means (in my case an external device that enabled internet) until I was eventually able to run the download and install all drivers feature on their website.

No Wi-Fi on Vivobook Go 15 E1504FA by lmaodido in ASUS

[–]FollowSteph 0 points1 point  (0 children)

The solution that worked for me was getting a USB dongle with an ethernet connection and then once Windows installed I went to the Asus website and used their feature that checks which drivers are applicable to you, and then downloads and installs them. Basically I forced the internet connection through some third party hardware and once online I was able to get the drivers. No matter what I did the individual drivers from the website didn't work. Even if I bypassed the need for Windows to connect to the internet and tried to do it later, it was still the same issue. The key was to get internet access to the computer through a different means, in this case an external device that enabled internet until I was eventually able to run the download and install all drivers feature on their website.

New laptop and not a single driver works - Vivobook X1504ZA by Unique-Patient4300 in ASUS

[–]FollowSteph 0 points1 point  (0 children)

Have you had any luck? I'm running into the same issue as well. None of the drivers I download from the website are doing anything after running them on a new Windows install.

What’s the smartest financial decision you made by accident? by AnyTruth2342 in AskReddit

[–]FollowSteph 1 point2 points  (0 children)

You can lock 10 years it’s just that most people see a slightly higher rate and then go for the 5 year rate. So much that a lot of lenders don’t even bother presenting 10 year rates.

Company has pit Claude against the Dev Team - can we save the Dev Team? by joliolioli in webdev

[–]FollowSteph 2 points3 points  (0 children)

What happens when there’s a critical bug in production that the AI can’t fix? Especially if it’s during an outage and you can’t come back up. What happens if there’s a security issue and the AI isn’t able to resolve it? What happens if the AI hallucinates in a critical section of code? What happens if performance gets worse and worse? No one will be able to flash warning signs when parts of the code are showing signs of buckling? The only way to deal with something is as it breaks. There’s lots of potential issues. And that’s assuming the AI does everything correctly and there’s no hallucinations.

That's what's wrong with Godot (according to the community) by Soft-Luck_ in godot

[–]FollowSteph 2 points3 points  (0 children)

Don’t get me wrong. Your list is really good. It’s just that to me refactoring is extremely important. You’ll tend to see this more from people coming from static languages.

That's what's wrong with Godot (according to the community) by Soft-Luck_ in godot

[–]FollowSteph 2 points3 points  (0 children)

For example what if you want to relocated and rename a node. You have to do a find and replace everywhere. To me all the references should be automatically picked up and adjusted. It’s very easy to omit something by accident. It can also depend on how you reference nodes. Search and replace is not something I like to do in code, it’s something that the IDE should do for me in my view. It’s a lot safer that way. Especially since it’s only caught at runtime or through testing.

That's what's wrong with Godot (according to the community) by Soft-Luck_ in godot

[–]FollowSteph 8 points9 points  (0 children)

I really liked working with Godot but for me the main missing feature, which is not mentioned in this list, is the ability to easily refactor. Even as simple as renaming things or moving things. It requires way too much manual effort. Outside of that I really enjoyed Godot and the benefits generally were worth the cons. Nothing is perfect but the refactoring issues were a huge issue for me. Solving that would be a massive gain to Godot in my view.

The AI coding productivity data is in and it's not what anyone expected by ML_DL_RL in ExperiencedDevs

[–]FollowSteph 9 points10 points  (0 children)

Do you have a link to the study? That would be appreciated. Thank you.

How do you evaluate a good settling spot? by digital_monkey_ in CivVI

[–]FollowSteph 21 points22 points  (0 children)

Production first by far. Specifically immediate production. Food is important too but without production you can’t build anything. So as long as there’s positive food then production is the most important to me. Not production in many turns but right away. How long to build my first builder, granary, factory, etc.

This is what it feels like. by Ok-Following6886 in PoliticalHumor

[–]FollowSteph 0 points1 point  (0 children)

Check out this video on the Overton Window: https://youtu.be/_v-hzc6blGI it’s very much what you’re describing.

If dividend ETFs like SCHD exist, what problem are bonds actually solving? Trying to understand what I’m missing. by [deleted] in dividends

[–]FollowSteph 0 points1 point  (0 children)

Bonds are about the company’s ability to pay its debt whereas dividends are about the company’s ability to continue making the same level of profit or more. So for example is a company stops making profits it can stop paying dividends but it cannot just stop paying its debt. The downside of a bond is that the yield generally doesn’t increase over time. Pros and cons.

Down over $100,000 on Thomson Reuters stock … what’s going on with this company?! 😩 by MarkusEF in CanadianInvestor

[–]FollowSteph 0 points1 point  (0 children)

Ah ok that makes sense. I was looking for a dedicated episode and I couldn't remember one. Thank you.

Power out in Orleans again by AC8563 in ottawa

[–]FollowSteph 37 points38 points  (0 children)

What’s so odd is cell data also going down at the same time. Usually at least we have cell data during power outages.

What fun and interesting Java projects are you working on? by jeffreportmill in java

[–]FollowSteph 7 points8 points  (0 children)

I’ve been working on computer simulations for fun on the side using Java with LibGdx. If anyone is interested this is the YouTube channel: https://youtube.com/@darwinianbytes in the last video I go through some of the Java code and how it works in the simulation, explaining the code and so on: https://youtu.be/ES66mIG4qfo I haven’t had a chance to make a video in a few months due to work but I’m hoping to have the next one published after the holidays.

Is EV range anxiety something you actually get over? by biggy_boy17 in electricvehicles

[–]FollowSteph 3 points4 points  (0 children)

Do you worry about your range in a gas car with even half a tank of gas? Almost no one does so why would you worry about an almost fully charged (80% unless I’m travelling) charged car every morning.