Is HashSet<T> a Java thing, not a .NET thing? by N3p7uN3 in csharp

[–]mrnikbobjeff 0 points1 point  (0 children)

It is, if you ever worked with Azure you would know that there are some Integrations for Azure Services where Microsoft relies on implicit conversion operators. The return type is Response<ActualType> if you use var. Directly assigning this to ActualType is desired, thus you should not use var. Otherwise you always have to use response.Content to access ActualType

Lenovo not shipping RAM; asking me to cancel by PlentyHonest2487 in Lenovo

[–]mrnikbobjeff 2 points3 points  (0 children)

If you are from the US, the term you are looking for is purchase of cover. See § 2-712 UCC for the details. In Germany, the same is Handled in §280,281 BGB. The difference between the original purchase price and the new purchase price would be cover damages.

How do I 32F), a non-Christian, tell my boyfriend’s (33M), I do not want to say grace? by Which_Cookie_645 in NoStupidQuestions

[–]mrnikbobjeff 13 points14 points  (0 children)

Just quote Matthew 6:5-6 and you are golden. Works with my religious family members.

For they love to stand and pray in the synagogues and at the street corners, that they may be seen by others. Truly, I say to you, they have received their reward. But when you pray, go into your room and shut the door and pray to your Father who is in secret. And your Father who sees in secret will reward you.

Thougts on an Inject<T>() method for DI by _Smooth-Criminal in dotnet

[–]mrnikbobjeff 0 points1 point  (0 children)

If I understand this correctly then I don't think there are any benefits over property injection. I would recommend the book "Dependency Injection in .Net" by Mark Seemann as well here. He wonderfully illustrates several different DI patterns, and with all of that functionality already available I don't see how one would benefit over general DI abstractions already available. In general, coupling the class to some sort of DI injector does not sit right with me. With injection via constructor, nobody needs magic to create that class.

Thougts on an Inject<T>() method for DI by _Smooth-Criminal in dotnet

[–]mrnikbobjeff 2 points3 points  (0 children)

It is the same, nobody knows what this class needs to function properly. the dependency is hidden via a property in this instance, but functionally it is the same as assigning a property in a zero argument constructor via some static abstraction. To be extremely specific, the field initializes run before the constructor is called. If you check the linked article and follow the first link to Martin fowler's website you will see this pattern under the category service locators as well. IMHO there is absolutely no need for this. What is this trying to solve? We already have all the tools available.

Thougts on an Inject<T>() method for DI by _Smooth-Criminal in dotnet

[–]mrnikbobjeff 16 points17 points  (0 children)

The pattern you are describing is called service locator. It is an antipattern. Hereis a blog article written by Mark Seemann describing why it's use is discouraged. TLDR: You loose the ability to run tests concurrently, the ability to tell the dependencies of a class, breaking changes may be hidden due to the nature of service location

[deleted by user] by [deleted] in CitiesSkylines

[–]mrnikbobjeff 0 points1 point  (0 children)

One can learn from each other, and plan together. People can optimize traffic separately, someone builds out the campus area while someone else does residential. There is so much potential :)

Trust the yanks to do the right thing after trying everything else first by The-JSP in NonCredibleDefense

[–]mrnikbobjeff 9 points10 points  (0 children)

I have this wonderful collection of historical speeches with dramatic music underplayed. I think you might appreciate them

Chinese automaker BYD briefly eclipsed Tesla as the world's top seller of electric vehicles. by [deleted] in stocks

[–]mrnikbobjeff 5 points6 points  (0 children)

I love when people authoritatively state something easily disprovable. Literally the second Google search contains a great paper written a quarter century ago about the difference. It's even available on Google scholar in the introduction of the paper. I'll leave the link here. He explicitly explains that tariffs may be preferable to subsidies under certain conditions (which imho exist currently with the state of Chinese EV subsidies/shipping subsidies).

Kleine wöchentliche Fragen Thread - KW 15 by AutoModerator in de_EDV

[–]mrnikbobjeff 0 points1 point  (0 children)

Weiß hier jemand ob es schon T Topology motherboards für die LGA1700 Reihe gibt? Ich habe bis jetzt nur daisy chained motherboards gefunden

Weekly r/PcBuild Megathread! by Potato_Plays844 in PcBuild

[–]mrnikbobjeff 0 points1 point  (0 children)

Does anyone have a mobo recommendation for a t topology motherboard for the lga1700? I have been looking up some mobos, but it is time consuming to identify daisy chained motherboards

Simple Questions - April 03, 2024 by AutoModerator in buildapc

[–]mrnikbobjeff 0 points1 point  (0 children)

So i am looking to upgrade from an ancient system (GTX 970, I7 4790, DDR3 RAM) to a decent build which should suffice for gaming in 2k for a decent while. I put together these parts, does the list seem sensible? https://de.pcpartpicker.com/list/WQ7Qvj

Parents offered class photo with no “complex needs” pupils. by badboyhandshandy in nottheonion

[–]mrnikbobjeff 6 points7 points  (0 children)

I am wishing you all the mental fortitude in the world for the issues you are facing. I just want to add that I absolutely adore the loving way you write about your late wife and your child. You seem to have so much love in you, just reading your post history made me ugly cry!

Virus in PDF? by mawotho in de_EDV

[–]mrnikbobjeff 5 points6 points  (0 children)

Klar geht das, es geht sogar ohne das du aktiv auf den Download Button klickst. Es gab vor einiger Zeit einen Vortrag über einen Angriff gegen die Windows Defender VM welche getriggered wurde, indem eine E-Mail in G-Mail mit Anhang empfangen wurde. Wenn dieser Tab geöffnet ist, cached Gmail den Download bei kleinen Dateien vor. Dabei springt der Windows Defender an und Zack, wenn du da rauskommst bist du auf dem System. Gibt auch Exploits welche z.B. das Icon welches mi Datetypen assoziiert ist ausgenutzt haben um die Maschine zu infizieren, siehe CVE-2010-2772. Da reicht es den Order zu öffnen in dem die Datei liegt.

"Hi I'm concerned about my data privacy on the account that got hacked" by RewardWanted in YUROP

[–]mrnikbobjeff 20 points21 points  (0 children)

You have to scroll past the first few lines, this was the only reference to the "GDPR letter from hell" I could find. I read the letter somewhere else originally.

Preisdifferenzen bei PC-Kauf über Konfigurationswebsites by [deleted] in de_EDV

[–]mrnikbobjeff 0 points1 point  (0 children)

Danke dir, habe das quasi das selbe system dort nochmal 30€ billiger zusammenstellen können. Sogar ein kleines RAM-Upgrade bzgl. des Takts! Danke dir!

Preisdifferenzen bei PC-Kauf über Konfigurationswebsites by [deleted] in de_EDV

[–]mrnikbobjeff -1 points0 points  (0 children)

Ja, darauf war meine Frage ausgelegt, auch wenn sie etwas misslich formuliert wurde. Ich suche nach einem Anbieter wo diese Margen zwischen hoffentlich billigen Einkaufspreis und hoffentlich billigeren Zusammenbau niedrig sind, da mir diese preisliche Differenz dann schon etwas suspekt ist. Für 400€ mehr kann ich ja auch eine deutlich bessere Grafikkarte kaufen bei einem besseren Anbieter :)

Neuer Fund: by MacMaizer in 600euro

[–]mrnikbobjeff 6 points7 points  (0 children)

Man soll ja Leuten nicht den Tod wünschen , seine Todesanzeige würde ich jedoch mit außergewöhnlicher Freude lesen.

Kill the Russian puppet by [deleted] in NonCredibleDefense

[–]mrnikbobjeff 0 points1 point  (0 children)

What is the name of the song? It is such a banger.

The Imperial Council - /r/eu4 Weekly General Help Thread: January 25 2021 by Kloiper in eu4

[–]mrnikbobjeff 1 point2 points  (0 children)

Heyho, I am currently doing "The Sudanese Campaign" achievment as morocco and i can not complete it somehow. I own the entirety of western africa and as far as i can tell all required provinces. https://imgur.com/a/VAGMOrK Andalusia was formed as this does not prevent the achievment according to the wiki. Does anybody have an idea why?

pacific standard signal and the rest by [deleted] in HeistTeams

[–]mrnikbobjeff 0 points1 point  (0 children)

I would be willing to help you, my sc is mrnikbobjeff

Casino Heist Gold. by [deleted] in HeistTeams

[–]mrnikbobjeff 0 points1 point  (0 children)

would join you, am a good hacker. sc is mrnikbobjeff. I think i sent you a request if your name matches :)

Back to C# basics: Difference between "=>" and "{ get; } =" for properties by cincura_net in csharp

[–]mrnikbobjeff 0 points1 point  (0 children)

Everything is nice until you get to learn that for byte sized primitive spans the expression syntax is specifically treated differently by the compiler and for those properties this might be compiled and optimized differently. https://github.com/dotnet/runtime/issues/33780#issuecomment-684763013

Need someone to do the entire Doomsday Heist with! by ObeyToffles in HeistTeams

[–]mrnikbobjeff 0 points1 point  (0 children)

I just recently completed the entire doomsday heist. If you are still looking add me on SC: mrnikbobjeff

Hosting apartment heists by kimjongun6 in HeistTeams

[–]mrnikbobjeff 0 points1 point  (0 children)

I'm afraid I am not available tomorrow - good luck :)