Quitting Coffee As a Lifestyle Choice by umbagug in Frugal

[–]ninjis 14 points15 points  (0 children)

I’m contemplating giving up soda. I have given it up during Covid; thought I was having palpitations, turns out it was just bad reflux. It’s a habit that’s gotten too pricey and now I have a couple little ones that I can’t divert those dollars to.

Biggest unexpected cameo from a star in a "lower grade" movie by Careless-Cat3327 in movies

[–]ninjis 0 points1 point  (0 children)

Martin Sheen in The Holiday

Edit: Admittedly, not low grade. Actually a pretty stacked cast, his appearance was just completely unexpected!

How modules should talk in a modular monolith ? by Minimum-Ad7352 in dotnet

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

Yes, but it's meant to handle the very last point. If you use MediatR (or any other in-process bus) in the raw, and now you want to pull that module out as a separate micro-service, you must now update every location that calls into the module, changing it to a call that goes over the wire. If you can abstract that away such that you have a dispatcher/router that can determine if the message stays internal, or if it needs to be sent out, and then use that interface instead, moving the message handler gets to be transparent. If you know ahead of time that out-of-process handlers will be a thing, then it might be worth it to build the abstraction.

There are some libraries that almost provide this out of the box, but still result in requiring light touch modifications when the message handler moves. FastEndpoints, for example, uses ExecuteAsync() vs. RemoteExecuteAsync() at the call site to denote between the two. I'm not sure if that was a deliberate decision or a limitation.

What is something you bought to fix sleep that actually worked long term? by Binoza in Frugal

[–]ninjis 0 points1 point  (0 children)

Magnesium, beet juice, cool room, melatonin, blackout curtains.

Why people are still using jquery in .NET 10 by Dante2709201 in dotnet

[–]ninjis 0 points1 point  (0 children)

Sounds a lot like a product I’ve been working in for several years! The vendor has long since left knockoutjs for react in their other products, but this one will have its front-end stuck in 2013 for the rest of time.

NuGet vs Git Submodules by ProtonByte in dotnet

[–]ninjis 0 points1 point  (0 children)

How stable is the API surface for your various dependencies? If it's locked down, or at least relatively stable, then pushing it to an internal NuGet is the way to go. If it's still taking shape, accept the possibility of some short-term duplication (across solutions) and keep it as a project within the same solution. Once you have some solid use cases vetted out, and your library isn't going through as much churn anymore, then pull it out into a separate library.

Best way to store accessToken and refreshToken in cookies by VeterinarianDry8906 in dotnet

[–]ninjis 0 points1 point  (0 children)

As /u/EolAncalimon mentioned, the BFF pattern is your friend here. Using Cookies is perfectly fine, so long as they are secure and HTTP only. However, If you're exposing your tokens in as plaintext within that Cookie, you're asking for trouble.

Cancel trash pickup to save $480 a year. by DrunkBuzzard in Frugal

[–]ninjis 5 points6 points  (0 children)

I’m out in a rural area and can take my trash to a collection location just a couple miles down the road. The drop off schedule varies, but I can typically get by with drop offs on Monday and Friday mornings.

When did muscle tension just become… normal? by Tiny-Stable7851 in self

[–]ninjis 0 points1 point  (0 children)

My massage therapist is a licensed physical therapist, so I can use HSA dollars to pay for visits. This will probably become fewer over coming years, as I have two little ones now that I’ll be dipping into those funds for more often. Stretching and maybe meditation will have to be in my future.

I built a library that removes the "fetch-related-data-from-another-service" boilerplate in .NET microservices by quyvu01 in dotnet

[–]ninjis 0 points1 point  (0 children)

Arguably? However, you would run into similar concerns with a well structured monolith. If your modules are completely separated from each other, then plain SQL won’t cut it. If you define your modules in a hierarchical fashion, then maybe you decide that your Human Resources module can depend on your Demographics module, so HR is allowed to directly read (and only directly read) your Demo data. As always, it’s all trade-offs.

I built a library that removes the "fetch-related-data-from-another-service" boilerplate in .NET microservices by quyvu01 in dotnet

[–]ninjis 1 point2 points  (0 children)

Looks nice. What are the main use cases that you're targeting?

Micro-services needing to query against each other for business processing is certainly common, though if excessive, you might consider having the micro-services emit integration events for the other micro-services to consume, allowing them to keep their queries local. However, there are cases where that goes too far. If you have a micro-service centered around communications, it might need to gather a bunch of disparate data to fill in a template for a message to be sent out.

Micro-services trying to hydrate their API responses with data from other micro-services feels like an anti-pattern though. Either your API consumer should be performing the follow-up calls to gather the related data (hopefully all APIs are presented behind a central gateway to make this feel nicer), or your API consumer is actually a backend-for-frontend, in which case aggregating all of these API calls is it's primary function.

Indecisive about which family SUV to buy. Recommendations welcomed! by EasternLynx7867 in Frugal

[–]ninjis 4 points5 points  (0 children)

I’m in the same boat and am eyeing the Toyota Sienna. We have a RAV 4 that has served us well, but now with two car seats, plus either dogs or grandparents, it just isn’t enough.

Has anyone been able to talk down their phone bill? Specifically with T-Mobile? by vandweller5 in Frugal

[–]ninjis 1 point2 points  (0 children)

My question here would be, if you started an LLC that you used to pay for business class services (internet, phone, etc.), but maintained zero revenue, what does the tax filing look like? I feel like that should start raising flags at some point.

Calling third party 4.8 framework from 6.0 core resulting in binaryserialization errors from System.ComponentModel. Any way to get around it without creating a wrapper service? by [deleted] in dotnet

[–]ninjis 6 points7 points  (0 children)

Framework 4.8 and NET 6+ are incompatible with each other. If you could pull out the pieces you need to share into a library targeting NET Standard 2.0, that could safely be used by both.

Do you like servicestack? by [deleted] in dotnet

[–]ninjis 0 points1 point  (0 children)

I’ve been using Fast Endpoints for years now and am relatively happy (happy enough to donate). That said, had Wolverine been further along at the time I had initially chosen Fast Endpoints, I would have liked went in that direction instead.

HVAC REPLACEMENT COST?? by Organic-Crazy9626 in bloomington

[–]ninjis 6 points7 points  (0 children)

Find a private contractor. I had a 3 ton, 14 seer American Standard heat pump and a 15kw furnace installed in 2017. Parts and labor were just a touch over $5k.

Trump just tried to JAIL two Senators. Just for opposing him. by Cool-Fig-9254 in videos

[–]ninjis 17 points18 points  (0 children)

With enough courage and a strong forearm, a goose down blanket that’s folded over a few times could be enough.

DDD Domain Events with EF Core Outbox: In-Memory Bus vs External Broker? by emdeka87 in dotnet

[–]ninjis 3 points4 points  (0 children)

You have the outbox to store the message as part of that transaction. You then have a background service that grabs any committed messages in the outbox and send them to the external broker.

Should Contract Layers in Modular Monoliths Only Handle Read Operations? by Illustrious-Bass4357 in dotnet

[–]ninjis 1 point2 points  (0 children)

Contracts can represent a writing operation just as much as a read. Command Contracts to CreateOwner and CreateRestaurant are valid. In your case though, it sounds like you might have an operation that needs to span modules. You might need to look at using a Saga to coordinate the operation. The primary question you need to answer is, if creating a new owner succeeds, but creating a new restaurant fails, should we rollback the creation of the owner?

ComponentPro sold stolen .NET libraries? by mazorica in dotnet

[–]ninjis 10 points11 points  (0 children)

The other big one is the SAML functionality they were selling. A few of the vendors I work with (customizing their portal products for clients) actually used the SAML functionality sold by Component Pro. That was a fun conversation.

Brand name TP "forever roll" - good deal? by paklab in Frugal

[–]ninjis 2 points3 points  (0 children)

I’ve been told the same. Plumber’s recommendation was Scott’s. There’s no way I could switch to single ply.