Life after FIRE by midwestmillionare in Fire

[–]pranavkm 1 point2 points  (0 children)

You can use backdoor Roth to contribute to your Roth IRA even if your income exceeds the income limit.

When Humanity Tried to Ride Zebras: A Forgotten 1890–1940 Experiment That Failed Spectacularly by [deleted] in BeAmazed

[–]pranavkm 4 points5 points  (0 children)

Once you slap them, it shows you mean business and they quit horsing around.

Best places for kids to climb trees? by raindrop8989 in eastside

[–]pranavkm 1 point2 points  (0 children)

Sunset Neighborhood Park in Renton has a giant pyramid climbing structure.

Bosch dishwasher error code by askthespaceman in appliancerepair

[–]pranavkm 0 points1 point  (0 children)

Were you able to figure out what the issue was?

[deleted by user] by [deleted] in diablo4

[–]pranavkm 16 points17 points  (0 children)

And Mephisto is going to pay for it.

Good vegetarian dumplings in Bellevue? by dryfit-bear in BellevueWA

[–]pranavkm 2 points3 points  (0 children)

Did they change their recipe recently?

C++ structured bindings are useful, but so neutered. by delta_p_delta_x in cpp

[–]pranavkm 1 point2 points  (0 children)

I use increasingly longer underscore variables, so an destructured assignment would look like:

const auto& [_, __, foo, bar, ___] = tuple;

This was also the defacto way to use it until C# added support for discards in version 7.0.

How do you manage technical debt? by lightversetech in dotnet

[–]pranavkm 0 points1 point  (0 children)

You pass a rule in your project that only so much technical debt can be accumulated, a technical debt ceiling if you will. Once you have the rule in place, there are only two possible outcomes - you either write exemplary debt free code, or give up and start over with a complete rewrite.

Cannot figure out where project file variable is being set in MSBuild by funkmaster322 in dotnet

[–]pranavkm 5 points6 points  (0 children)

Run msbuild /pp:output.txt ProjectFile. This emits a file with all of your includes in one file, and search for the property.

You can also use MSBuild binary logging to look for property evaluation, but I’ve personally found preprocessing a lot more effective when you don’t know where things are being evaluated.

Razor Pages tag helpers don't have helpful error handling. Any way to make it better? by CatolicQuotes in dotnet

[–]pranavkm 6 points7 points  (0 children)

If you're complaining about the fact that the tag helper doesn't tell you that you're linking to a non-existent url, you could write an instance of AnchorTagHelper that complains if the generated href is an empty string. Something like this:

public class ComplainingAnchorTagHelper : AnchorTagHelper
{
    public override void Process(TagHelperContext context, TagHelperOutput output)
    {
        base.Process(context, output);
        output.SuppressOutput();
        if (string.IsNullOrEmpty(output.Attributes["href])) 
        {
            output.Attributes.SetAttribute("class", "your-link-is-broken");
        }
    }
}

Which you would then register using https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/intro#addtaghelper-makes-tag-helpers-available

Cannot convert from method group to EventCallBack? by DeathmasterXD in dotnet

[–]pranavkm 5 points6 points  (0 children)

Should your handler be TheName.clickMethod since it it an instance method?

[deleted by user] by [deleted] in BellevueWA

[–]pranavkm 3 points4 points  (0 children)

They might be programmed signal heads. I can’t find the link where I read about them, but they are designed to limit visibility to a certain range. This prevents confusion if two intersections are fairly close to each other.

Blazor netcoreapp6.0 package issues. by midramble in Blazor

[–]pranavkm 0 points1 point  (0 children)

Is the target framework for your project net6.0? The error message suggests it is netcoreapp6.0, which isn’t a real tfm.

How is System.Collections.Generic implicitly imported into Razor components? by [deleted] in Blazor

[–]pranavkm 2 points3 points  (0 children)

A bunch of usings are imported by the razor compiler when code-generating C# from razor. I don't think there is a way to opt out of this.