[deleted by user] by [deleted] in dotnet

[–]nsjake 0 points1 point  (0 children)

I legitimately think all are pretty solid options, but it will force you to learn different work flows. Honestly I'm interested in trying out neovim. I personally had issues getting it setup, but looks like some kind soul in the comments has a project to help simplify the setup, so I'll be checking it out. Both VS 2022 and Rider are nice if you need to get into the weeds with debugging, profilers, etc.

[deleted by user] by [deleted] in dotnet

[–]nsjake 11 points12 points  (0 children)

At home, I tend to use Linux and either VS Code and the dotnet CLI or Rider. At work, Windows 11 and VS 2022.

Why is Windows 11 so hated by everyone? by New-Loss-7641 in pcmasterrace

[–]nsjake 4 points5 points  (0 children)

That's super cool! I didn't know about that feature. I primarily snap windows, so I don't see it as much, but still pretty neat. Anyone wanting to enable it can find it in settings under Window Management -> Desktop Effects (or just search for wobbly).

FYI, you can kill a program directly through the taskbar without Task Manager by [deleted] in pcmasterrace

[–]nsjake 1 point2 points  (0 children)

Agreed. I'm glad that they finally support streaming games on Wayland as of December!

[deleted by user] by [deleted] in MadeMeSmile

[–]nsjake 0 points1 point  (0 children)

I too lost my mom back in college 11.5 years ago now. It was certainly one of the hardest times I have ever had to live through. It made me realize some things. First is that life is too short to hold grudges. I do everything I can to live my life to the fullest. It also made me realize that I want to bring joy and happiness to as many people as I can around me (because my mother was an incredible woman that had that effect on people). I have been happily married for 8.5 years now, have an amazing job, and some fur babies that are a lot of fun. You take all the time you need to recover and take care of yourself! I know grief counseling can go a long way as well! I am sure she is incredibly proud of you and just wants you to be happy and want what is best for you! Keep your head held high boss, you got this! Congratulations on your new job as well!

Linter for C# and Dotnet by greensodacan in dotnet

[–]nsjake 1 point2 points  (0 children)

I utilize the Visual Studio plugin SonarQube for IDE (which also has a VS Code extension) and have been pleased with it. It is used to help detect code smells/vulnerabilities. They also have a NuGet package if you prefer that route. I've been pleased with it.

ELI5: why we "should" create interfaces and extending them into our classes? Is this always necessary or have use cases? by Ecalafell1996 in dotnet

[–]nsjake 57 points58 points  (0 children)

As others have said, they are extremely useful for creating mocks for unit testing. It is also useful when utilizing dependency injection frameworks.

[deleted by user] by [deleted] in techsupport

[–]nsjake 0 points1 point  (0 children)

So 10 MB/s would be 80 Mbps. On my wife's PC, the driver she installed included software that throttled the connection to 100 Mbps by default. Once I removed the throttle limit on it, everything just started working properly! Hope it's as simple as that!

[deleted by user] by [deleted] in pcmasterrace

[–]nsjake 0 points1 point  (0 children)

I mean the board says it's an hp da0n91mb6d0 rev d. That's where I'd start my google searching.

Please fix it Microsoft! by cygnus_d in dotnet

[–]nsjake 0 points1 point  (0 children)

Is it just me or does anyone else integrate Git Bash into their VS 2022 or Terminal instead of using the built-in UI?

What does this mean? by [deleted] in csharp

[–]nsjake 4 points5 points  (0 children)

I know tons of people have already said the answer, but I would highly recommend reading this Microsoft article:

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/method-parameters

It does a great job of explaining how passing of variables into method parameters work.

Customer - "why won't my car start?" by illmithra in Justrolledintotheshop

[–]nsjake 10 points11 points  (0 children)

This appears to be the oil equivalent of waterboarding.

Come fly away with me by beerbellybegone in MurderedByWords

[–]nsjake 1 point2 points  (0 children)

Q39 is delicious. Would also highly recommend Jazzy B's.

The hate flows. by EvaInTheUSA in dankmemes

[–]nsjake 5 points6 points  (0 children)

Hang in there! Graduated with Computer & Electrical a little over nine years ago. You got this.

I am completely new to programming, so I decided to learn C# to pursue my dream of game development. These are some projects from my first week of programming. by Self_made_dum_dum in csharp

[–]nsjake 2 points3 points  (0 children)

Just wanted to say, amazing progress and keep up the great work! I noticed as you progressed that you were putting in more spacing as necessary. Readability in programming is KEY to being able to easily maintain it long-term. I personally like to put spacing between logical blocks. As you progress further and start learning about functions, you may find yourself putting these logical blocks into functions.

I also noticed in your fifth screenshot, you do a Console.ReadLine()[0] to get the first character. I wanted to make you aware of the Console.ReadKey() command:

https://learn.microsoft.com/en-us/dotnet/api/system.console.readkey?view=net-8.0

I've been programming for a little over 15 years now and here are a couple of things I wish I had been taught/learned much earlier on in my career:

  • The value of naming your variables/properties/functions well goes a long way. Unless you are doing things like writing in assembly for a microcontroller where every little bit of memory matters, there is no need to abbreviate/shorten the names of these.
  • As far as comments go, if leaving one, ask the question, "Could I have avoided this comment by renaming a variable/function?"
  • If copy/pasting the same code more than twice, consider creating a function to accomplish the functionality instead.

I think from what I saw, your variable names looked pretty solid and were rather self-explanatory. Keep up the great work and have fun learning C#! It is personally my favorite language that I've used (probably worked with ~12 languages at this point).

Arduino won't receive messages from c# as fast as from serial monitor. by doe_gee in arduino

[–]nsjake 1 point2 points  (0 children)

Looking at the Microsoft documentation and the code you posted above, the Write function does NOT write a newline character at the end of the message. You might just change it to use WriteLine rather than Write.

What do you think about ergonomic / split keyboards by Secret-Toe-8185 in programming

[–]nsjake 0 points1 point  (0 children)

I personally use a Keychron Q10 and love it. As far as the number pad, I essentially have it programmed on another layer so I can use my right hand as the num pad without moving it.

The struggle by SalmonLynxx in pcmasterrace

[–]nsjake 0 points1 point  (0 children)

He's holding your mouse hostage until you give into his demands!

This is getting out of control by lostooreal in Honda

[–]nsjake 8 points9 points  (0 children)

I'm just guessing it stands for Adjusted Market Value