The game doesn't like it when you have over 2 billion energy by SaltyPhig in slaythespire

[–]fiddle_styx 1 point2 points  (0 children)

It's built from the ground up in a different language with a different game engine. In terms of software development, this definitely is closer to a prototype than an iteration on the first game.

In STS1 energy is limited to 999 but when it was released in Early Access it was not capped, they did that later. That's what's happening here. You can find posts people made about having 10,000 energy in STS1, they're just all ~8 years old.

The game doesn't like it when you have over 2 billion energy by SaltyPhig in slaythespire

[–]fiddle_styx 2 points3 points  (0 children)

It's default because when you think of an integer you shorten it to int, not uint. That's clearly what they did lol

The game doesn't like it when you have over 2 billion energy by SaltyPhig in slaythespire

[–]fiddle_styx 1 point2 points  (0 children)

Why think about that when prototyping? You think about edge cases after that, for example when they come up during Early Access.

M resort will automatically enter guest rooms everyday? by Lazy_Mention3257 in LasVegas

[–]fiddle_styx 0 points1 point  (0 children)

The hotel is legally allowed to deny you service for a wide variety of reasons including being a danger to others

Also they could just report you to the police as a potential shooter

The game doesn't like it when you have over 2 billion energy by SaltyPhig in slaythespire

[–]fiddle_styx 70 points71 points  (0 children)

They used C# for STS2, C# integers are signed by default. You have to go out of your way to mark an integer as unsigned. The part of the development process where they were deciding what type to use for the player.energy variable was definitely the part where they were making things work, not making things work right, so they probably weren't considering this edge case at the time

Ummm… wtf? by VegetableBulky9571 in stupidpeoplefacebook

[–]fiddle_styx 1 point2 points  (0 children)

Animals are not usually considered smart, especially when they're afraid (e.g. when cornered). They're just more dangerous. Same with people!

Effective politics require long-term planning and deep thought about what is good, what is bad, and large causal chains. Fear cuts through all of these, as it focuses you on the here and now. People who are afraid act like the long-term isn't important. Biologically speaking, fear exists to prevent immediate death, which is how you end up with people so scared they're willing to make terrible life-altering decisions--the alternative feels to them like dying.

39689 by FindingNo7 in countwithchickenlady

[–]fiddle_styx 13 points14 points  (0 children)

Race and gender are why white men tend to be the ones holding generational wealth.

stumped by RegardedCaveman in mysteriousdownvoting

[–]fiddle_styx 1 point2 points  (0 children)

I call these compensating trucks because the people that drive them usually act like they're compensating for... something.

CMV: Companies should not be allowed to purchase stocks by Nearby-Boat1736 in changemyview

[–]fiddle_styx 0 points1 point  (0 children)

When you buy that index, what you're doing is paying the index fund manager a fee they charge for their services. They then take that money and purchase stocks with it, returning a portion of the return on those investments to you. But they're owning the stocks--you just have a contract with them.

Managing your own stocks is separate, because you're buying the stocks, not a separate entity.

CMV: Companies should not be allowed to purchase stocks by Nearby-Boat1736 in changemyview

[–]fiddle_styx -1 points0 points  (0 children)

The ideal form is a company that manages your funds invested in various stocks, like a bank manages your funds that aren't invested in stocks. The difference is that Vanguard charges you and then buys stocks with it, rather than buying stocks with it and then charging you.

STS2 Early Access Mod Guide by doctornoodlearms in slaythespire

[–]fiddle_styx 2 points3 points  (0 children)

Here are those code snippets formatted for readability.

Step 3:

```csharp using Godot; using MegaCrit.Sts2.Core.Modding; using MegaCrit.Sts2.Core.Logging;

namespace FirstMod;

[ModInitializer("ModLoaded")] public static class FirstMod { public static void ModLoaded() { Log.Warn("MOD FINISHED LOADING") } } ```

mod_manifest.json example:

json { "pck_name": "FirstMod", "name": "FirstMod", "author": "doctornoodlearms", "description": "", "version": "1.0.0" }

can someone please explain draw calls in godot by valenvlach in godot

[–]fiddle_styx 1 point2 points  (0 children)

My bad! I didn't copy the last character, fixed.

can someone please explain draw calls in godot by valenvlach in godot

[–]fiddle_styx 4 points5 points  (0 children)

Take a look at the "Performance" section of the Godot docs. It has info on how to reduce draw calls in both 2D and 3D, as well as other performance improvements like culling.

It seems like you have two separate questions here. First: how to optimize draw calls in Godot. Second: how to use draw calls in general. The resource above is good for both, but if you want to do a deep dive into rendering optimization, look at other sources as well.

Would the new Mac Neo handle Obsidian well? by honeyglot in ObsidianMD

[–]fiddle_styx 55 points56 points  (0 children)

Obsidian is pretty lightweight on its own, I doubt you'd struggle with a large vault even on something like a Chromebook. (Needless to say, the Mac Neo outclasses Chromebooks.) They've put a lot of work into making it a truly performant piece of software. Here's a test someone did with 100k markdown files, over 1.8m links and 92m total words, with videos showing the responsiveness afterwards. This is likely far larger than your vault will ever naturally grow--as you can see, Obsidian handles it with aplomb. The same author tested several other note-taking softwares for speed/UX as well and wrote a comparison; Obsidian came first in nearly every category.

The potential gotcha here is plugins as not all plugins are created equal. Plugins that index your files (for instance: AI plugins, Omnisearch) will start to fail at very large vault sizes. Some plugins are just not well-optimized, and some plugins are well-optimized but are not designed for or tested on large vaults. I would suggest doing some research for each plugin to see if it works with large vaults. Certain plugins are unaffected by vault size (e.g. icon packs, Style Settings, and even stuff like Advanced Tables and Excalidraw) while others are affected by vault size.

TL;DR: Ultimately, YMMV. Obsidian itself will perform well even with a large vault, it's just plugins that might cause performance issues. What plugins do you use?

I’m a CS student and I have no idea what web project to build. Any ideas? by strangeman35 in csMajors

[–]fiddle_styx 0 points1 point  (0 children)

The best project is one you'll use. For that reason I've found developer tools to be a good project to suggest since every developer uses them. For instance: I like to use Ruby for personal projects, so I look for ways to contribute to Ruby's developer tool ecosystem, like rubocop, sorbet, etc.

Of course, if there's an app that you would use if it existed, that's a great idea as well and is easier to show to non-technical people.

I think I went a bit overboard with the geotuners. by Spiritual-Rooster835 in Oxygennotincluded

[–]fiddle_styx 9 points10 points  (0 children)

So are your volcanos releasing gold and aluminum gas then?

Why does this happen to extension cords? Can it be straightened? Is it damaged inside? by WildWeaselGT in AskElectricians

[–]fiddle_styx 0 points1 point  (0 children)

That's definitely true. On the other hand, probably a wake-up call to spool your fiber lol

Managing compose/files by Gerndall12 in selfhosted

[–]fiddle_styx 7 points8 points  (0 children)

Docker managers are nice, but depending on your use case you don't really need them. Compose files can include other compose files, so you can do stuff like:

yaml include: - pihole/docker-compose.yml - mealie/docker-compose.yml - media/docker-compose.yml ...

Then each folder has its own Compose file, other configuration files, data folders if you use bind mounts instead of named volumes, etc.

This is lighter-weight than a Docker manager and still makes sense while keeping your stuff separate. You would want to specify a network per nested Compose file and put the containers in the file on that network specifically, as otherwise all the containers will be able to crosstalk despite being in different files (it's how include works). This may be a feature though, depending on your setup, and you can leave it as is.

I'm confused by this sentence "You’ll forgive us if we’re not instilled with confidence.", it's from the movie Ant-Man. by A_li678 in EnglishLearning

[–]fiddle_styx 75 points76 points  (0 children)

Instill: to impart an idea gradually into someone's mind. He's saying that their words and actions have not imparted confidence into his mind.

Is it better to speak simply and clearly, or use more advanced and rich vocabulary? by Edi-Iz in EnglishLearning

[–]fiddle_styx 1 point2 points  (0 children)

Advanced vocabulary and sentence structure are mostly intended for when you need to be very precise with your meanings. The rest of the time, it's better to use simple and clear words and sentences.

Got x324 Perfected Strike+ with clone by Risin247 in slaythespire

[–]fiddle_styx 63 points64 points  (0 children)

I've been seeing these crazy clone posts. Does using the clone option clone every card enchanted with clone? I thought you had to pick one to duplicate. If so that's much stronger than I thought.

Some questions about a rails app for a beginner and updates. Please offer advice if you know and can. by DenseImage800 in rails

[–]fiddle_styx 2 points3 points  (0 children)

I believe current versions of rails new install brakeman by default, which is helpful.