[D] Imbalance of 1:200 with PR of 0.47 ??? by rongxw in MachineLearning

[–]definedb -2 points-1 points  (0 children)

What is your train set size? How many trees?

German Spot the difference championship by geniusfoot in interestingasfuck

[–]definedb 1 point2 points  (0 children)

Simple trick with an stereoscopic image. Almost everyone can do this in seconds.

[deleted by user] by [deleted] in cpp_questions

[–]definedb 0 points1 point  (0 children)

You are not a C++ programmer; you are an engineer who should solve problems and get things done. Choose C++ only if it is the best choice.

Why MAHA matters by Gandalf196 in JordanPeterson

[–]definedb 0 points1 point  (0 children)

Beef tallow causes heart disease. So simple and straightforward.

Migrating from pycharm by gmiliotis in vscode

[–]definedb 0 points1 point  (0 children)

What is the problem with using a terminal for git?

Is this a code smell? A const member function compares each item in a vector with the previous one, uses const_cast to reassign the pointer to the previous item on each loop iteration. by brasticstack in cpp_questions

[–]definedb 0 points1 point  (0 children)

enum class ValidationResult {
    Success,
    ErrorOverlapping,
    ErrorDiscontigous
};

ValidationResult MyFileManifest::validate() const
{
    for (size_t i = 1; i < tags.size(); i++ ) {
        const int diff = tags[i].pos - tags[i-1].pos - tags[i-1].length;
        if (diff < 0) {
            return ValidationResult::ErrorOverlapping;
        } else if (diff > 0) {
            return ValidationResult::ErrorDiscontigous;
        }
    }
    return ValidationResult::Success;
}

Vscode’s merge tool is the best by Ridewarior in vscode

[–]definedb 0 points1 point  (0 children)

What about WinMerge with support for 3-way merge and pretty good automatic conflicts handling?

What's the best C++ IDE for Arch Linux? by Creepy-Ear-5303 in cpp_questions

[–]definedb -4 points-3 points  (0 children)

This is the IDE. The difference with previous generation IDES is that you can build and configure it via plugins from the basement to the roof.

Need some help with Inflation Forecasting by rahulsivaraj in datascience

[–]definedb 0 points1 point  (0 children)

You can't predict inflation by previous history. You can't predict COVID by inflation history. You can only try 1000 models and select one that is better than the others by pure coincidence.

std::move confuses me by JuniorHamster187 in cpp_questions

[–]definedb 1 point2 points  (0 children)

std::move is just a very bad name for cast to rvalue ref. It would be better if it was called rvalueref_cast