• 2 Posts
  • 143 Comments
Joined 1 year ago
cake
Cake day: November 24th, 2023

help-circle


  • Good and bad use-cases for floats

    Floats can be used everywhere where it doesn’t matter that you can’t store a 100% accurate base ten representations. For example positions and speeds in 3D games and animations, “analog” values like temperatures, speed of a vehicle, geo positions with longitude and latitude, a persons weight or heart pressure. In fact if you develop games there is no way around 32 bit floats because GPUs are f32 number crunching beasts. Modern 3D games wouldn’t be possible without all those fast f32 calculations.

    You shouldn’t use binary floats if you need or expect accurate base ten calculations (addition, subtraction, multiplication, - note that divisions also introduce errors quickly in decimal types) and for dimensions that have a smallest unit that can’t be broken down, for example like money. If you need to handle money just store the amount of cents as integers and only divide by 100 in your display function.

    This is exactly my point. Don’t use floats when you need to get accurate stuff, but use it when you need a “feel” for it











  • Nah, nukes clean them up easily. You just need to aim for the head. The head only has 60% resistance to nukes. Add a bit of explosive damage (you’re gonna need it for gleba anyways) and big bois do get squashed easily.

    I’d suggest to get a one time load of 200 uranium, manufacture the rockets on site. Then when ready, go seek your wormy friend and stay directly in front of it’s face, and hold space.

    If you struggle to aim, or you can’t do quick getaways without your mech armour online, get a spidertron on the surface, then use it for rapid fire nukes at it. Heck, you can even do it remotely if you’re courageous.








  • I was actually making my own legendary grinder! But it has some of the problems I personally think is a deal breaker

    • No easy replacement for the assembler. You need to move everything if you want to put an electromagnetic lab
    • not modular. Low quality assembly often get clogged while high quality is waiting for stuff, so you need to be able to add more low quality assemblies than high quality.
    • No easy way to set the buffer. 4 stacks is way too generous, and you way want to lower the buffer for low qualities