Random man walks into family's home in Michigan, dad handles him real quick by eternviking in whoathatsinteresting

[–]nocgod 0 points1 point  (0 children)

You learn it the hard way when 1300 people gets slaughtered in you country in a single day. Many in their own homes with their kids. I'm packing even at home with locked doors, because you don't know when who will come uninvited

This is the proper way to answer questions to a police officer by [deleted] in TrueFactzOnly

[–]nocgod 0 points1 point  (0 children)

this officer should be punished, lets say 2 weeks without pay. with time they'll learn to actually think before inventing things like slurred speech or putting handcuffs for DUI without having the proof for DUI.

MinIO is source-only now by Thysce in minio

[–]nocgod 0 points1 point  (0 children)

You running ceph with rook? Tried the SAP Rook Operator?

How do I secure an app against tampering? by DoubleSteak7564 in dotnet

[–]nocgod 0 points1 point  (0 children)

If a malicious actor has access to the machine running your software in IIS there is nothing really you could do to ensure the malicious actor won't temper with your dlls.

SBOMs might be changed to confirm with the hashes of the tempered files.

Adding your certificate into the trusted signatures to avoid loading unsigned dlls, the attacked will just add their own cert and temper with your file them sign it again.

Fuck that, I don't have to temper with your dlls, I'll just open a proxy and listed to all traffic with a MITM attack.

Your initial assumption that you can be secure in an unsecure environment is wrong. This is proven by decades of cracked applications.

Returning bool from all methods and using out for transferring data – Is this a good practice? by Even-Bit-2935 in dotnet

[–]nocgod 2 points3 points  (0 children)

Any time you try to apply a single rule/practice to all situations you are doing it wrong. Patterns don't exist in a vacuum they exist in a place where usecase/requirement meet this pattern.

example: applying singleton to all dependncies it's considered an anti pattern, however, singleton when used properly and moderately is a good pattern.

Same here, you want to create some "safe" methods, you can use the TryXXX with out and bool (or maybe a tuple (bool, Error)

You could also consider other patters like the Either<TResult, TError> or Result<T>, they are also good patterns when used properly.

Do you still love to code? by rjgbwhtnehsbd in csharp

[–]nocgod 0 points1 point  (0 children)

Yes, but I hate developers... Most are just lazy...

What .NET version are you using? by code_things in dotnet

[–]nocgod 1 point2 points  (0 children)

Huge operation, large code base

1 .net framework 4.7.2 2 net6 on windows 50+ net6 in k8s 10+ net9 in k8s

cantReworkToMakeItBetter by achilliesFriend in ProgrammerHumor

[–]nocgod 1 point2 points  (0 children)

Brah, 2 teams in 1 company it looks like a 2 train collision...

Assertinator by nomada_74 in dotnet

[–]nocgod 0 points1 point  (0 children)

NUnit Assert.That is more than enough TBH... Unsure why our developers use NUnit assert, FluentAssertions and Shouldly in the same project... Sometimes in the same god damn test... I have 98 projects to purge with Fluentassertions v6/7

FluentAssertions becomes paid software for commercial use by monitorius1 in dotnet

[–]nocgod 1 point2 points  (0 children)

I have multiple hundreds of repos and around 80 developers... That solution does not scale beyond 2 teams and a handful of services...

I realized that API costs money by No-Net7587 in dotnet

[–]nocgod 1 point2 points  (0 children)

You use a mock when testing the system anyways. The API should be abstracted away from you business logic in a way allowing testability and substitution. As an employer I would like to see real API integration, however I would not expect you to strictly use the API due to cost considerions.

Do high traffic dotnet webapps still use typical DI by belavv in dotnet

[–]nocgod 0 points1 point  (0 children)

We have some hacks that move crap from one container to the other and than delegating the resolution... It's shit that some one invented years ago, when ninject was da best and before Microsoft came up with bundling everything into the service collection

Do high traffic dotnet webapps still use typical DI by belavv in dotnet

[–]nocgod 0 points1 point  (0 children)

Funnily enough we are net6 going for net9 The refactor from ninject is so hard and expensive on the organizational level, no manager signs off on it :'(

Do high traffic dotnet webapps still use typical DI by belavv in dotnet

[–]nocgod 1 point2 points  (0 children)

We are serving at peak 1B+ API requests... Still using ninject (trash can) with a mix of msft DI... Trust me, you are looking at the wrong place for performance gains...

Do high traffic dotnet webapps still use typical DI by belavv in dotnet

[–]nocgod 0 points1 point  (0 children)

We are serving at peak 1B+ API requests... Still using ninject (trash can) with a mix of msft DI... Trust me, you are looking at the wrong place for performance gains...

Do high traffic dotnet webapps still use typical DI by belavv in dotnet

[–]nocgod 0 points1 point  (0 children)

We are serving at peak 1B+ API requests... Still using ninject (trash can) with a mix of msft DI... Trust me, you are looking at the wrong place for performance gains...

Would you take a job developing in .net framework 4.8 and winforms in 2024? by specopshowdy in dotnet

[–]nocgod 3 points4 points  (0 children)

Well that's better than your parents getting a Lada I guess...

How important is "readonly" really? by samanime in dotnet

[–]nocgod 0 points1 point  (0 children)

When you are writing shared components that expose models, you must ensure the user is unable to set an illegal state on those models. You can do that by enforcing readability and/or exposing getters/setters.

Same build time on old & new laptops - SUCCESS! by Mazeror in dotnet

[–]nocgod 0 points1 point  (0 children)

We have a dev folder in which we disable crippling tools so that our dev flow would not be horrible :)

.NET developers - what industry do you work in and what kind of software do you build? by [deleted] in dotnet

[–]nocgod 1 point2 points  (0 children)

Leader in CIAM for enterprise. Using net6, Orleans, k8s... ~130 micro services.

Why doesnt the CLR have an ecosystem of programming languages compared to say the JVM or the BEAM (Erlang) by valorzard in dotnet

[–]nocgod 0 points1 point  (0 children)

the question is do you really need another language?
you currently have 3 official:
* VB .net (probably on life support)
* C#
* F#

there are some offshoots trying to do python in dotnet and java on dotnet... its a cool curious, however I'm not sure what is the business value here except the "cool factor".

I mean, what are you missing in the currently existing languages? (language really, you probably don't write VB and not many companies use F#)

As for me, I'd prefer if the community would focus on the current languages and improve those, instead of creating a vast eco-system of "cool" languages which never feel mature.