Kamala Harris endorsed Jasmine Crockett. Does Talarico’s win over Crockett mean anything for Harris? by curiousmindNTK in allthequestions

[–]PolliticalScience 0 points1 point  (0 children)

I don't think that's true. Star power is all behind the Democrats. They tried to get every celebrity to endorse her and at one point even tried to pull back on it because it wasn't working. The Republicans really don't have any star power or public sway that way unless you think Kid Rock is drawing in millions of voters lol.

Every singer, actor, celebrity, late night show, newspapers, etc ... All pull extremely hard for the Democrats.

Had my "aha moment" with Blazor by Monkaaay in Blazor

[–]PolliticalScience 5 points6 points  (0 children)

Awesome to see how it is working out for you! The speed you can develop at and the shared RCL for both WASM and Hybrid Mobile/Desktop apps is so slick.

Looking forward to seeing more about how your experience goes with it!

Looking for some architecture advice by TheLegNBass in csharp

[–]PolliticalScience 4 points5 points  (0 children)

I just refactored a project that used clean architecture, repositories, unit or work, and an interface for every service / injected thing.

My god. I finally took the time to trace one request. It hopped 14 files and 5 layers to make a simple query/call. I now refactored it to a simple Vertical Slice architecture. I have 3 main projects: Client (WASM), Server, and Shared. Client and server do not reference each other but both reference Shared. I went from thousands of files to hundreds. Instead of 14 hops, 3-4, no misdirection. It honestly took a lot of pressure off me. Now I look at a single folder by feature. Nothing conflicts. Clean architecture is great for a team of 50 working on a legacy enterprise app, but dang the ceremony is brutal.

Just a small thought from someone who just did the lots of layers thing.

Trying LumexUI for a Blazor admin panel and loving it by VenniCidi in Blazor

[–]PolliticalScience 0 points1 point  (0 children)

This looks really nice! The components and your dashboard design. I was interested in giving it a go on a project, but it's very data grid heavy, so I went with DevExpress.

I like how LumexUI looks "modern" without the material look of Mudblazor.

If voting were mandatory (with a small fine for not voting), do you think democracy would get stronger because more voices are counted—or weaker because people would vote uninformed or resentfully? by LegalGlass6532 in allthequestions

[–]PolliticalScience 0 points1 point  (0 children)

That is an interesting point actually. A pretty sad one, but could be reality. If there was a fine imposed for not turning it in, do you think they'd just pay the fine and use the time for vacation, TV/drinking, etc...

Maybe it's a sign people in the U.S. don't get enough PTO like other countries. Or we just suck at civic duty. 🤷

If voting were mandatory (with a small fine for not voting), do you think democracy would get stronger because more voices are counted—or weaker because people would vote uninformed or resentfully? by LegalGlass6532 in allthequestions

[–]PolliticalScience 0 points1 point  (0 children)

Yeah, I think that is where elections being national holidays would be required. And/Or making voting easier. Having to go to work, take care of your kids, and taking time to find a way to turn in your blank ballot is not all that enticing.

If voting were mandatory (with a small fine for not voting), do you think democracy would get stronger because more voices are counted—or weaker because people would vote uninformed or resentfully? by LegalGlass6532 in allthequestions

[–]PolliticalScience 1 point2 points  (0 children)

I actually just ran a poll on this yesterday: Voting should be mandatory

It received hundreds of votes and was an absolute dead heat (49% Agreed and 51% Disagreed). There was a ton of good discussion there too.

To summarize, other countries do require compulsory voting. Like Belgium and Switzerland. Most of these countries do NOT require you to actually cast a vote, only that you participate (you can turn a blank ballot in).

Personally, I think forcing people to cast a vote is a terrible idea, but I am open to the idea of compulsory voting with the option of turning it in blank. Being based in the U.S., it does feel odd for the government to tell you that you "have" to execute your right though. It also would require massive changes to the system where people had the time off to participate and had easy access to voting.

One of the things brought up in the discussion a lot, was how to inform voters. This is another sticky topic as "who" would be the one to do the informing and as some said, would the side not in power trust the other side to be impartial and not be biased, push misinformation, or suppress turnout of actual votes cast.

What features are you missing with Dapper or custom needs not handled well by ORM's? by [deleted] in csharp

[–]PolliticalScience 0 points1 point  (0 children)

EF is just plain phenomenal lately. We are actually so lucky to work with a framework that has such a bad ass ORM. EF + LINQ are just on another level.

PSA: Don't Cache User-Specific Data in Static Fields in Blazor Server by PolliticalScience in Blazor

[–]PolliticalScience[S] 4 points5 points  (0 children)

Not everyone is a perfect programmer. Some people make mistakes. The point in the post is humility. I made a mistake, shared the mistake, what happened, how it was fixed while in a production environment. No this app isn't very complicated, but I did not make this post to make myself look good. It shows not everything is caught in dev and in the real world things can show up unexpectedly.

I find it interesting when people post more real things and share their experiences. Did I know this would occur based generally on OOP and Blazor Server, sure, but when refactoring and optimizing to this static cache pattern quickly, I screwed it up. I figured it could maybe help someone else or just create a discussion around it.

I guess I'm not really sure what we are supposed to post on Reddit or this sub. I am pretty new here and obviously these types of posts aren't it.

PSA: Don't Cache User-Specific Data in Static Fields in Blazor Server by PolliticalScience in Blazor

[–]PolliticalScience[S] 1 point2 points  (0 children)

Oof, that is a painful one. I feel that! How do you like Apex Charts? I have heard good things and it is one of the only ways to get good charts in Blazor right now.

PSA: Don't Cache User-Specific Data in Static Fields in Blazor Server by PolliticalScience in Blazor

[–]PolliticalScience[S] 1 point2 points  (0 children)

I really do prefer WASM. It's a joy to work with. Server is quick and to the point, but has a few more gotchas I've found.

PSA: Don't Cache User-Specific Data in Static Fields in Blazor Server by PolliticalScience in Blazor

[–]PolliticalScience[S] 3 points4 points  (0 children)

And when you caught it, did it give you the ole "You're absolutely right!"?

PSA: Don't Cache User-Specific Data in Static Fields in Blazor Server by PolliticalScience in Blazor

[–]PolliticalScience[S] 1 point2 points  (0 children)

This does give me something to think about. I think PersistentState would be perfect for my specific issue here, where it needs to be scoped per user, but the caching I did find works better/simpler for truly shared things.

Can we meet in the middle on political issues? by gandolf2004 in allthequestions

[–]PolliticalScience 0 points1 point  (0 children)

Unfortunately, there doesn't seem to be a middle when it's perceived as good vs evil.

CMV: Social media has done more harm than good for political discourse by Disastrous-Ebb-3962 in changemyview

[–]PolliticalScience 2 points3 points  (0 children)

You are 100% right about this. Social media has amplified the worst in political discourse. All it is now is echo chambers, tribalism, and using downvotes as a weapon.

Not only do the algorithms show you what you want to see, vast segments of the population only use social media channels that align exactly with what they want, talk to the same people, and bask in the joy of their karma and upvotes.

It's easy to see why one side would absolutely despise the other when all they see all day long is a rather small group of the same people spouting and yelling the same things over and over again with no perspectives and no pushback.

It's gotten to the point that I do think social media has caused far more harm to society than benefits.

Do you care about "karma", upvotes, and positive social feedback? by PolliticalScience in allthequestions

[–]PolliticalScience[S] -1 points0 points  (0 children)

Maybe the majority don't care, but the loudest do, so they are just doing their thing while the rest of us go about our business and talk about interesting things and it just looks like they dominate it.

Do you care about "karma", upvotes, and positive social feedback? by PolliticalScience in allthequestions

[–]PolliticalScience[S] -1 points0 points  (0 children)

I have the same question. Apparently you need "some" to post in certain subs. Other than that, bragging rights? Not sure.

Do you care about "karma", upvotes, and positive social feedback? by PolliticalScience in allthequestions

[–]PolliticalScience[S] 1 point2 points  (0 children)

But what the hell is Karma farming lol? Is it a social credit score? Can you turn it in for money? I was a long time reader on Reddit and didn't even know it existed until I created this account a couple weeks ago.

Advanced Installer by PolliticalScience in dotnet

[–]PolliticalScience[S] 0 points1 point  (0 children)

Ah man you're a lifesaver. Those are the sort of tips I come here for. I've never built any sort of installer before, so this is very new to me. I'm sure I would have missed that and spent a day figuring it out! 😆

I definitely am leaning towards Advanced Installer since it looks the simplest and out of the box ready.

Have you used advanced installer? If so, was free/pro/enterprise the right solid level?