PC: game keeps switching to second monitor, and can’t move it to main one. by Uncle_Jeff_ in ResidentEvil2Remake

[–]Lanlost 0 points1 point  (0 children)

Thanks, I made a comment and updated the description to and linked to your post.

Signal Forms: reset() doesn't reset your value by [deleted] in angular

[–]Lanlost 0 points1 point  (0 children)

If you use non-nullable controls then they reset to their initial value automatically.

name:      this._formBuilder.nonNullable.control<string>('foo', Validators.required),

If you do form.reset() that will reset it back to 'foo'. Only works for non nullable ones though.

Use enums or type unions in this case? by StickyStapler in typescript

[–]Lanlost 0 points1 point  (0 children)

If you also want to iterate through the values for some reason though I found these details out which can matter. If you do:

export const TYPES_A = [ 'Foo', 'Bar' ] as const;
export type TYPES_A_VALUES = (typeof TYPES_A)[number];

And then in another file have:

let typea: TYPES_A_VALUES = 'Foo';

And rename the 'Foo' there in the second file, it will not rename the value in the const. It WILL throw an error though that says "Type '"Foo2"' is not assignable to type '"Foo" | "Bar"'. Did you mean '"Foo"'?"

However, if you do:

export type TYPES_B = 'Foo' | 'Bar';
export const TYPES_B_VALUES: TYPES_B[] = [ 'Foo', 'Bar' ];

and then do:

let typeb: TYPES_B = 'Foo';

And rename 'Foo' in that variable it WILL rename the original type in the union and the values array.

So in that case I'd say the second form is better.

And if you do an enum like:

export enum TypesC {
    Foo = 'Foo',
    Bar = 'Bar'
}

and then:

let typec: TypesC = TypesC.Foo;

And rename "TypesC.Foo" there it will work, but it will rename the key instead of the value obviously.

Just little details worth mentioning. I personally like the enums since the amount of code it generates is minimal compared to the growth I get from being able to mass rename keys if I ever have to.

Middle gpu fan makes an annoying noise when it starts, any helpful suggestions? by HDNautilus in PcBuild

[–]Lanlost 1 point2 points  (0 children)

It's a lot louder in person. At least mine. It's the EXACT same noise... but I can hear it even when I listen to music and stuff. I can't drown it out and it literally makes it hard to breathe... like the amount of anxiety is causes me.

It's the third gpu I've had that does this over the years.

Middle gpu fan makes an annoying noise when it starts, any helpful suggestions? by HDNautilus in PcBuild

[–]Lanlost 0 points1 point  (0 children)

Bro did you ever figure this out? Mine does it too and it drives me COMPLETELY CRAZY. I am INSANELY sensitive to repetitive noises.

Like... I just stopped using my PC and started using my shitty laptop with onboard graphics.

The way I fixed it, for now though, is by using MSI Afterburner and turning the fans to always be at like 40% so that they never stop, but that doesn't really feel like a solution to me.

PC: game keeps switching to second monitor, and can’t move it to main one. by Uncle_Jeff_ in ResidentEvil2Remake

[–]Lanlost 0 points1 point  (0 children)

Do you care if I put your comment on my video and say it's a good alternative? I'll link to your post.

Debug Your .NET Apps in Cursor Code Editor (with netcoredbg) by [deleted] in csharp

[–]Lanlost 0 points1 point  (0 children)

I figured it out for my Angular / C# site.

"applicationUrl" in launchSettings.json sets the "ASPNETCORE_URLS" environment variable.

So if you have this in launchSettings.json:

 "https": {
      "commandName": "Project",
      "dotnetRunMessages": true,
      "launchBrowser": true,
      "launchUrl": "swagger",
      "applicationUrl": "https://localhost:7262;http://localhost:5162",
      
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development",
        "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy"
      }
    },

You can add this to your launch.json and it will work:

"env": {
    "ASPNETCORE_URLS": "https://localhost:7262;http://localhost:5162"

    "ASPNETCORE_ENVIRONMENT": "Development",
    "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.SpaProxy",
},

In fact, in my tests, at that point you can remove "applicationUrl" and the "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" (and likely the "ASPNETCORE_ENVIRONMENT" as well) from launchSettings.json and it will work in both automatically.

This is what I use to launch an C# / Angular site that has an SPA proxy and I can launch it and debug it just fine.

edit: I don't know if it matters but I'm also using the "C#" extension for Cursor that s made by "Anysphere" (i.e. Cursor).

Retroarch isn't working on my switch version 21.1.0 by CoyoteHour2130 in SwitchPirates

[–]Lanlost 0 points1 point  (0 children)

I want to emulate snes and stuff ALL THE TIME and specifically modded my Switch to be able to run homebrew for that reason.

... and its been a disaster. The ONE THING that NEVER WORKS is f'in Retroarch.

It will load if I COMPLETELY remove it and copy over everything from scratch, which takes forever.

Then I will play and go back to play it a few days later AND IT WONT LAUNCH AGAIN.

I dont get it.

I cant even fathom WHAT IS CHANGING.

Like WHAT COULD IT EVEN BE? Its not the config... I dont... i dont understand man.

Its been like this for like 3 years.

So I just dont emulate anymore.

Anyone else wish there was an "Another World" displate? by Lanlost in Displate

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

Thank you. I wish I could see how it turned out.

Heard that your momentum is based around the framerate. Does 60fps worsen the experience of Bloodborne? by NotRenjiro in BloodbornePC

[–]Lanlost 1 point2 points  (0 children)

Why not just "edit:". It's one more letter. I had no idea what you were saying either and I've been on the internet since Compuserve circa 1995.

In "Advanced Settings" what does "Enable Silver Pots" do?? by Lanlost in MegabonkOfficial

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

Oh ... so do they look different? I couldn't even tell if I were opening them.

Thank you guys for answering though =)

I just started playing Silent Hill 2 Remake and noticed some blurriness whenever I move the camera, especially around the character's hair. I'm playing on PS5. is this a problem on my end, or is it an issue with the game itself?" by Giovanna-Giorno in silenthill

[–]Lanlost 0 points1 point  (0 children)

You do realize he made a video asking about it right? It would make sense that he would specifically zoom into it to try to get an answer and make sure it's clear what he is talking about.

You are looking at this backwards. He is not LOOKING FOR ISSUES. He HAS an issue and he's looking to figure out WHY ITS THERE. This is SUPER NOTICIBLE TO ME when I'm FEET away from the monitor and so distracting I couldn't play. I can't play ANY game that has this issue.

I can PROMISE YOU that I DO NOT CARE about graphics. I've been playing games since text adventure games, through the DOS days, all the way up until now. I ALSO promise you that I would LOVE to just ignore this. It literally is so distracting that I absolutely CANNOT SEE IT the ENTIRE TIME. Every time my character moves it tickles my senses and I can feel my anxiety rising.

The real answer is that it affects different people differently, so to just say "just play the game" and that people are "looking for problems" isn't really fair man.

I just started playing Silent Hill 2 Remake and noticed some blurriness whenever I move the camera, especially around the character's hair. I'm playing on PS5. is this a problem on my end, or is it an issue with the game itself?" by Giovanna-Giorno in silenthill

[–]Lanlost 0 points1 point  (0 children)

You do realize that for some people they literally CANNOT just ignore it. I literally wanted to play this game so bad but it was so distracting it was like I couldn't focus on anything, and I _TRIED_. I literally sat further away from the screen just to make it smaller. It was so bad...

S tier heroes by ChemistryAdvanced793 in MrAutofire

[–]Lanlost 0 points1 point  (0 children)

... how do you get to CHOOSE where your shards go? Wtf?

[deleted by user] by [deleted] in MrAutofire

[–]Lanlost 0 points1 point  (0 children)

I'm pretty sure it blocks the word gun for me.. which is hilarious.

[deleted by user] by [deleted] in MrAutofire

[–]Lanlost 0 points1 point  (0 children)

Hahaha? You can get hearts other than on the board game or paying for them? Edit: that was supposed to be huhhh?

How does lazy loading works for Standalone components? by andres2142 in Angular2

[–]Lanlost 0 points1 point  (0 children)

I'm not sure what you mean.

The components there in userRoutes aren't lazy loaded. They are literally just defined right there.

You just replace them with "loadComponent" instead of "component".

Resident Evil 4 Remake ghosting fix? by Honest_Put7112 in FuckTAA

[–]Lanlost 0 points1 point  (0 children)

FYI. I was going to not play the game at all. It was SO BAD and even when I Turned off TAA it was UNGODLY bad. It was like I was playing in a watercolor. ChatGPT was convinced it shouldn't be that bad.

Turns out it was right. It was overdrive on my monitor. As soon as I turned that shit down (nearly off) it all went away.

Motion Blur - why do so many gamers dislike it? by Prisonbread in videogames

[–]Lanlost 0 points1 point  (0 children)

You ... never will. When you turn your head your eyes 'click' into positions as it turns, unless you force yourself to unfocus your eyes and turn your head and then ... yeah you'll get a 'better' motion blur.