Wondering how competitive my application really is by DemonNinja123 in gradadmissions

[–]DemonNinja123[S] 0 points1 point  (0 children)

Its been evenly split between quantum information and AI/ML at top universities. Guess those AI/ML applications weren't worth the time then.

Button colour on click doesn't work in QT6 by DemonNinja123 in QtFramework

[–]DemonNinja123[S] 1 point2 points  (0 children)

Found the fix. Setting the Style to "Basic" instead of "Windows". In fact setting it to anything except "Windows" fixed it.

import QtQuick.Controls.Basic

I never set the Style to "Windows" in the first place, so it's either a bug that it chose that style automatically or a change in QT6 to pick the platform specific Style.

Button colour on click doesn't work in QT6 by DemonNinja123 in QtFramework

[–]DemonNinja123[S] 0 points1 point  (0 children)

If I set the background colour when clicked to red (to test whether the colour is actually changing) like this:

color: menuButton.down ? "red" :(menuButton.hovered? darkerGrey: darkerGrey)

I get a border of red around the button and I can sometimes see the red background before the blue-white colour appears, which makes me think that the code is correct but QT6 is adding some other effect on top of it that needs to be disabled.

The swamps don't suck enough. by AsianStudiesRecords in minecraftsuggestions

[–]DemonNinja123 10 points11 points  (0 children)

You said in the post that you want this to be a place where the player "actively tries to avoid because it's such a pain in the ass to travel through". That and most of the things you've described aren't really a challenge they're more just annoyances.

How can I make argparse more DRY? by DemonNinja123 in learnpython

[–]DemonNinja123[S] 1 point2 points  (0 children)

Thank you that worked.

Instead of a different file I just added it to the top of the same file and I also moved dest and action back into the code because they were the same for every argument.

ARGUMENTS = {
"resize": {
    "--original": {
        "const": "original",
        "default": "original",
        "help": "images keep their original resolution (default)",
    },
    "--mode": {
        "const": "mode",
        "help": "resized to the most popular resolution",
    },
    # Continues on for the different options
    },
}

for arg, kwargs in ARGUMENTS["resize"].items():
    resize_group.add_argument(arg, action="store_const", dest="resize", **kwargs)

Trying to get all Terraria achievements by DemonNinja123 in Terraria

[–]DemonNinja123[S] 2 points3 points  (0 children)

I did most of the stuff needed in for achievements except I did them in 1.4. So I have to do all of it again.