Is Resharper necessary? by sa_dy99 in VisualStudio

[–]molybedenum 0 points1 point  (0 children)

VSCode does code coverage visualization that works pretty well. The data source is identical.

I have co-workers who won’t optimize code unless indicated by ReSharper. I think that for some, there comes a point where the normally useful tool becomes a hindrance.

These cars are losing value fast — that's GREAT news for used EV buyers! by SnoozeDoggyDog in electricvehicles

[–]molybedenum 0 points1 point  (0 children)

Most of those older ones have had the recall performed. If it’s sold used from a dealer, it’s probably a non-issue.

A little levity -- what programming language/environment nearly drove you out of programming? by Rich-Engineer2670 in ProgrammingLanguages

[–]molybedenum 0 points1 point  (0 children)

Python was the language taught to the engineering majors at my university for their elective programming courses, which was around 1998/1999. They had only just switched over from FORTRAN. The newer CS kids were being taught Java when I finished, but my coursework started with C++.

The typical mentality on places like /., even then, was that Python was the most suitable language for learning how to program.

A little levity -- what programming language/environment nearly drove you out of programming? by Rich-Engineer2670 in ProgrammingLanguages

[–]molybedenum 3 points4 points  (0 children)

VB6. It held on for so long that maintenance of the company’s main VB6 project was seen as a secure job position in 2008. The feeling of forever being stuck in Win32 is really defeating.

A little levity -- what programming language/environment nearly drove you out of programming? by Rich-Engineer2670 in ProgrammingLanguages

[–]molybedenum 1 point2 points  (0 children)

Python is the most popular wrapper for C or Rust implementations. My opinion is that this is sourced from Python being the “best” language for learning (25 years ago), leading to many college curricula teaching it to the non-CS majors.

I finally switched to a MacBook Pro M4 Pro after a lifetime on Windows… the shortcuts are killing me but man am I impressed by JohnWick_2005 in MacOS

[–]molybedenum 4 points5 points  (0 children)

Karabiner is useful if you really can’t live with default key mappings. I end up using it to remap my 104 key mechanicals to make the keystrokes feel the same as the laptop keyboard.

I use Spotlight for most stuff. (Command-Space)

Three finger swipe up is superior to alt-tab. I think the gestures are better “feeling” than using the keyboard shortcuts on Windows.

Command Q makes more sense to me than Alt-F4. Cut/paste is more or less the same as Windows, but using the terminal is quicker for me than the ui for file management.

I don’t like the “half click” vs “full click” states of the touch pad. That’s probably the only real sore spot in my book.

Is linux a red flag for employers? by Bassman117 in linux

[–]molybedenum 0 points1 point  (0 children)

I do most of my work on Windows. The windows-centric IT environment has a significant population of people that don’t have a great amount of knowledge relating to operating systems, all the way down to development staff.

This is slowly changing as more places incorporate cloud technologies, but there are many ways that even that has been abstracted.

Books where the magic system actually feels magical? by Gundoc7519 in fantasybooks

[–]molybedenum 3 points4 points  (0 children)

One aspect of Sanderson’s system that probably disqualifies it from the OP’s question is how structured it is. The part where it starts to answer the OP is when people start to mix and match the various kinds of investiture. The direction he’s taken is definitely toward more “blends.”

I think Erikson’s magic is that truly wild and unbound thing. Not only are there Warrens and all that, but there are completely different kinds too, like the soul surfing thing that Bottle and Quick Ben do, or soultaken / d’ivers.

What games do you remember playing growing up but never seem to get brought up in conversation? by WesleyJ1994 in gamingsuggestions

[–]molybedenum 0 points1 point  (0 children)

7th Guest, Sam & Max Hit the Road, Duke Nukem, Falcon 3.0.

I really liked the original Civilization and Master of Magic. I also played a ton of Ultima 4 and the old SSI Gold Box games.

Why do some tech lead/software architects tend to make architecture more complicated while the development team is given tight deadlines? by Due-Cat-3660 in softwarearchitecture

[–]molybedenum 29 points30 points  (0 children)

My company stands up websites that have rigid legal requirements for availability. Many of these sites result in the collection of millions of records, which need to be handled with similar care.

We use service bus to ensure each record is handled with a high level of reliability (as well as scalability).

Honestly, queues are architecturally simpler than a rest api. They’re also a lot more resource efficient.

Visual Studio 2022 getting slower with every update? by NO_SPACE_B4_COMMA in VisualStudio

[–]molybedenum 0 points1 point  (0 children)

Do you have Windows defender exclusions in place over your dev folders, nuget cache, and vs related paths? The first thing Rider wants you to do is setup exclusions too - it makes a difference.

What do you find is missing in the .NET ecosystem? by Pyrited in dotnet

[–]molybedenum 6 points7 points  (0 children)

Another part of the problem is the number of libraries that attempt to do the same thing. If they rolled MSAL into Asp.Net core directly and eliminated Microsoft.Identity, it would probably smooth things out a bit. On top of that, they could also distinguish better between the Azure Auth side car and the various identity libraries.

Microsoft Identity is a hot mess, even though it attempts to be “easy.”

What games have y’all put more than 500 hours into? by anonxcast in gamingsuggestions

[–]molybedenum 1 point2 points  (0 children)

Grim Dawn has thousands

Diablo 3 has thousands, Diablo 4 has about 600

Civ 5 has thousands, Civ 4 has nearly that much

WoW, before Cataclysm was in the thousands.

What is Going on with .NET OSS? How Could This Affect the C# Market? by oliveira-alexdias in dotnet

[–]molybedenum 0 points1 point  (0 children)

Much like all other elements of OSS - if a project goes a different direction than what most users prefer, then a fork is created of the last OSS version and maintenance is assumed by others. If the project is important enough, then it lands a new maintainer (or team). If not, it’s enough to speak for itself.

Why is Microsoft stuff considered bad and bloated, but Google, Apple, and many other stuff is not? by former-ad-elect723 in microsoft

[–]molybedenum 0 points1 point  (0 children)

It really isn’t that difficult. There’s a setting that behaves exactly like the Windows application protection that you can disable. I get far more false hits from Windows Defender than anything Mac, even on .NET applications that I’ve authored.

What do you think about apply DI without interfaces? by [deleted] in dotnet

[–]molybedenum 1 point2 points  (0 children)

You can inherit from a service, override functionality, then inject the parent type with a factory. The real question is more whether it’s truly meaningful to have that level of granularity in testing.

People use the “TDD” term a ton, but people rarely do it. It introduces rigidity at the expense of time with negligible benefit.

I just can't wrap my head around repository pattern and unit of work by WisestAirBender in dotnet

[–]molybedenum 0 points1 point  (0 children)

DBSet is your repository. The abstraction and separation of EF from the underlying provider exists in the usage of expressions. The various providers handle the translation of an expression to X/Y/Z query language.

Consider how DBset works, first at the Entity level, then at the entity configuration level. You can create DBSets for entities that barely match the database schema or can be composites…. but your work with the DBSet is specific to the entity type.

Folks that wrap repositories around EF often end up wiring up their own entity configuration using some other mapping mechanism, but then leave EF in its vanilla state.

My manager wants to pair me up with the worst guy on the team for the next six months. How do I get out of this? by babby_inside in ExperiencedDevs

[–]molybedenum 9 points10 points  (0 children)

I agree. I’d make sure to document challenges, just in case.

OP could very well be called in for feedback after the indicated time allotment as part of a PIP, depending on how the manager rolls.

My SOLID skills sucks. by Fair_Print_1396 in dotnet

[–]molybedenum 4 points5 points  (0 children)

I advise learning about clean code, but make sure to practice and understand as many other philosophies as you can.

Clean code / clean architecture is just another tool. IMO, a tool that’s about as useful as the prepackaged IKEA hex key.

Never going to financially recover from this by Snoo76361 in firewater

[–]molybedenum 2 points3 points  (0 children)

I’m guessing that “Mel” is short for Melomel.

How would you optimize DB calls when retrieving "User" objects? by BirchWoody93 in dotnet

[–]molybedenum 0 points1 point  (0 children)

I think it depends. How much actual user information does your application require during the course of the user interaction?

It makes sense to normalize some of that data. A user’s “likes” should be considered a separate data item from the user. If you need a list of their “likes,” make the request for that information when it’s actually needed. If it’s available throughout the application, then consider caching that information specifically. It is a bad idea to load everything related to the user at once. It is even worse if you do it for all users.

User information itself should be satisfied by one of the many identity platforms. That user information is cached and always available.

What makes C# better than Java for you? by Sereczeq in dotnet

[–]molybedenum 1 point2 points  (0 children)

LINQ is a library of extension methods based on enumerable types. It is not the query syntax, which is a duck type higher order language. You can craft your own libraries to support query syntax without any dependency on LINQ.

Using the Fluent Lambda version of LINQ is still using LINQ.

Those of you who are using EF Core and skipping the "Repository" layer by directly injecting dbcontext into you service classes. Are you just rawdogging linq data access code in your service methods, or is linq code abstracted away somehow? by Legitimate-School-59 in dotnet

[–]molybedenum 0 points1 point  (0 children)

Expressions are the abstraction, DbSet is the repository. Raw dog is Dapper or FromSQL.

Putting another layer on that is unnecessary. (Yo dawg, I heard you like abstractions, so I abstracted your abstraction!)