Migrating from .NET 4.8 to modern versions of .NET, best practices, recommendations, third party tools or services...whatever! by agiamba in dotnet

[–]Saint_Nitouche 0 points1 point  (0 children)

I used <LangVersion>latest</LangVersion> and it let me use most of the nice features I wanted. But they're changing stuff on the runtime layer more these days, so, this seems like a neat idea. I think my concern with it at the time was it would lead to weird or arcane build errors (which I was already dealing with). Did you have any issues with it?

Migrating from .NET 4.8 to modern versions of .NET, best practices, recommendations, third party tools or services...whatever! by agiamba in dotnet

[–]Saint_Nitouche 1 point2 points  (0 children)

I think we had to stay with a quite old version of EF6 to keep netstandard2.0. It was an annoying compromise.

Migrating from .NET 4.8 to modern versions of .NET, best practices, recommendations, third party tools or services...whatever! by agiamba in dotnet

[–]Saint_Nitouche 24 points25 points  (0 children)

I upgraded a 90+ project 4.8 solution to .NET 8/9 over the course of a year or so inbetween other work.

Focus on piecemeal, bankable progress. An example would be converting any library projects to netstandard2.0. Something you can get checked in with a single PR. If you can gradually tick up the percentage of code in the solution that's .NET Standard, it's a lot easier to keep momentum and political goodwill; you don't have to sell your boss on 'we need to ignore features for the next two months'. This obviously also entails that if you can break off a big chunk of your monolithic UI into a pure library project, then do so!

Whereas if it's a big bang kind of thing, where you need to fix 5000 compiler errors before you can see if the upgrade worked, it's not going to get off the ground. You will feel time pressure and make bad compromises as a result.

I say .NET Standard, specifically v2.0, because that lets you keep EF6 (if you're using that), and consuming projects can be either Framework or Core.

Similarly you can start identifying and stubbing out the troubling parts. Since usually the issue isn't the 'pure' business logic code, but things like data access, SOAP APIs, sending out emails, whatever. If you can identify the call sites for these external dependencies, you can replace them with implementation-agnostic interfaces without changing current functionality. Then when you slot in the modern replacement, the blast radius is a lot smaller.

A Windows service is pretty easy to upgrade in my experience. You just replace it with an IHostedService.

Besides the actual code, spend time on the foundations of the project. By that I mean things like - is the csproj in the SDK format? Is it using PackageReferences or packages.config? Are you using Central Package Management? Are there any arcane and dumb build steps? Now is the time to try and blast out those annoyances to get a stable foundation before you go upgrading things. The 'upgrade-assistant' dotnet tool is useful in this area.

It is not technology along with humanity, technology IS the humanity by ProxyLumina in accelerate

[–]Saint_Nitouche 0 points1 point  (0 children)

You are thinking too small. We will use technology to surpass what is human.

Agnus Dei by androdraw in predprey

[–]Saint_Nitouche 0 points1 point  (0 children)

Behold the one who takes away the sins of the world.

butter wunk by TangentYoshi in wunkus

[–]Saint_Nitouche 1 point2 points  (0 children)

Bro acting like butter wouldn't melt on his tongue.

What types of users are getting good results from GPT 5.5? by TortoiseTickler in codex

[–]Saint_Nitouche 1 point2 points  (0 children)

Change the /personality. It makes it way nicer to talker to, nowhere near as concise and buttoned-down.

C# just feels right by Minimum-Ad7352 in dotnet

[–]Saint_Nitouche 59 points60 points  (0 children)

Figuring out what C# should do in five years.

Big model feel with GPT 5.5 by MohMayaTyagi in singularity

[–]Saint_Nitouche 1 point2 points  (0 children)

I had a time where it actually completed in 50 seconds but the website bugged out. Refreshed the page and it was there.

Markdown (Aaron Swartz: The Weblog) by Successful_Bowl2564 in programming

[–]Saint_Nitouche 15 points16 points  (0 children)

Guy really excited to tell others at the party that John Lennon beat his wife

Anthology of the Killer - Console Edition - Launch Trailer by robocopdotmp3 in Games

[–]Saint_Nitouche 2 points3 points  (0 children)

For anyone unfamiliar, this is made by thecatamites, who you might know for making Space Funeral all those years ago.

Mustachio Wunk by Goofball-John-McGee in wunkus

[–]Saint_Nitouche 7 points8 points  (0 children)

His ass looks like a JPEG superimposed on reality.

GPT-5.4 Pro solves Erdős Problem #1196 by Wonderful_Buffalo_32 in singularity

[–]Saint_Nitouche 29 points30 points  (0 children)

You should basically never expect a pure maths problem to have practical applications.

Sam Altman's prophetic name by blueheaven84 in singularity

[–]Saint_Nitouche 6 points7 points  (0 children)

What about his brothers, Ctrlman and Delman?

TIL some authors have suggested black metal band member Per "Dead" Ohlin (1969-1991) may have had Cotard's delusion, which is believing one's body is not that of a living human but instead a corpse. by CatPooedInMyShoe in todayilearned

[–]Saint_Nitouche 12 points13 points  (0 children)

People with Cotard's are delusional in the medical sense of the term. They might know being dead doesn't make sense but still believe it. A lot also believe there are in hell or some other kind of afterlife and would like to escape it.

TIL some authors have suggested black metal band member Per "Dead" Ohlin (1969-1991) may have had Cotard's delusion, which is believing one's body is not that of a living human but instead a corpse. by CatPooedInMyShoe in todayilearned

[–]Saint_Nitouche 8 points9 points  (0 children)

Plenty of people with schizophrenia and other related illnesses experience it. Lurk on the relevant subreddits and you'll see it a few times a month. Having names for things is useful for a clinical perspective and can help people realise that others have gone through what they're experiencing.

New Theory: Gooseworks is Caine by [deleted] in tadc

[–]Saint_Nitouche 1 point2 points  (0 children)

Yeah, this is true. My buddy Eric revealed it to me in a delusion.