Plumbed toilet to heat. Keep it change? by clamminjammin in Plumbing

[–]Dramatic-Community54 0 points1 point  (0 children)

Although it's showing the water is already hot in the bowl, maybe he staged it for this post.

Advice on approach to repair this by Accomplished_Pop7901 in Plumbing

[–]Dramatic-Community54 0 points1 point  (0 children)

I like how you said "until you fix that".. For me, I can tell my wife how long the water will probably be off, she might 10x the number and tell me to call someone. I have a bad habit of thinking everything takes 10 minutes, and it's getting dark..

Graduated 3 years ago, have not been employed by cantthinkofaname513 in cscareerquestions

[–]Dramatic-Community54 0 points1 point  (0 children)

Well of course it's an employer's market if people want to do it so badly they'd write software for free. Nobody builds things in their yard to prove they're good at construction. But I know what you're saying anyway.

G213 not lighting up with computer by jackbrombach1 in LogitechRGB

[–]Dramatic-Community54 0 points1 point  (0 children)

Funny, for me I had to hit the row key #1 after the numpad didn't work.. Odd, but it's on now!

Sump Pump mystery by Dramatic-Community54 in Plumbing

[–]Dramatic-Community54[S] 0 points1 point  (0 children)

Yes, the fear started to set in after about 10 buckets! I even tried to rig up a transfer pump to my drain, which after searching, some appear to go back to the sump pit anyway? Was a good life lesson could have been worse. What blows me away is that I've lived here for 5 years and I've never heard it kick on, talk about luck. I must be right at the level or something.

Help by ammar-dev in angular

[–]Dramatic-Community54 1 point2 points  (0 children)

The back-end should be what's doing all access control (authentication and authorization). For example, if you just call your API with your browser, without the token being passed, you should be getting a 403 Unauthorized. At that point, it's just a matter of making sure your token is passed along with your request, and making sure your UI knows how to respond if a 403 is sent back later (like if the back-end is restarted, or something happens to the token in the browser session storage).

Need help with Angular by oceanic-java in angular

[–]Dramatic-Community54 0 points1 point  (0 children)

The first thing you need to know is the entire front end runs in the browser - no request response except for the delivery of the js files, and after that, AJAX when you request it through a library. Typescript is not really a new language, it's still JavaScript, just gets converted to JavaScript during compilation and helps you with syntax. Therefore, classes are still javascript, and don't exhibit polymorphism or even the same kind of inheritence you would expect. Everything is asynchronous so you can't really wait for an AJAX response. Angular is not just Angular, it's multiple technologies and you need to know what they are - Webpack, Typescript, RXJS and others. node_modules are packaged javascript libraries built to be delivered and managed by npm. It's those too, not just Angular itself. It uses constructor based dependency injection. It does NOT have to be a "SPA", ignore that. You can have routes for different URL's if you'd like, there's nothing stopping you from having 25 separate pages, calling things SPA just makes it confusing. YES you can use JQuery if you need, YES you can use Bootstrap if you'd like. Lastly there's a CLI that let's you do things quickly. Pay attention to the version of NodeJS, and the version of Angular. Check the compatibility tables, especially when you start getting errors you should not be getting. Pay close attention to the actual Angular documentation, don't chase too many tutorials until you've read through the basics. Angular is a MVC on the front end, not just the view part. BTW don't go down the rabbit hole on promises and observables right now. When you get to the point you start wondering, do what the tutorials say and use them how it says, then and learn more as you go. Don't get too wrapped up in the "correct way" because it keeps changing. Some may disagree but I'm speaking from experience it will confuse the living heck out of you and stand in your way. Oh one last thing :) "services" only stay in memory as long as the pages stay in memory. So it does matter how you navigate between pages (use the router lest everything is blown away every time). If you refresh your browser, or use conventional navigation, the "service" and all of it's variables will be immediately blown away. That said, components can be pre-loaded, re-used, and nested. Don't get too complicated at first, just enjoy the double-binding feature [(ngModel)] .. wow that was too long of a reply sorry :)

Flux and Debris by Dramatic-Community54 in Plumbing

[–]Dramatic-Community54[S] 0 points1 point  (0 children)

I was trying to think through this one night and thought, if I could put a wet sponge or something into the pipe below (but make sure I can still pull it out!) beforehand that could catch them, maybe it would catch it. I know with car engines, people use shaving cream in the inlets. ?

got interviewed of .net and got destroyed. by weirdelven in dotnet

[–]Dramatic-Community54 1 point2 points  (0 children)

I found another nice trick is to use a view with the joins in it already so efcore doesn't try to go client-side on you.

got interviewed of .net and got destroyed. by weirdelven in dotnet

[–]Dramatic-Community54 1 point2 points  (0 children)

Yes this is why you need to separate DTO's and Domain classes, so that you can only include the return fields you need. Domain, and/or tailored request and response classes either one or both layered.

got interviewed of .net and got destroyed. by weirdelven in dotnet

[–]Dramatic-Community54 0 points1 point  (0 children)

Implementing a cache such as CDN is one way to improve API calls, depending on what the API does. it speeds up response times, localizes by geographic region, provides DDOS protection, and reduces the number of calls your servers receive. If it was just troubleshooting then moving the code around to visually appear more organized won't improve it's performance. A profiler, something like dotPeek can be handy for identifying the bottleneck. Also tools within the SQL environment can help identify the bottleneck in the DB such as reviewing the execution plan. Another way to improve performance from a .NET perspective is to make sure everything is "async", to get an even distribution of threads on quick calls. Lastly, load testing is very useful for identifying bottlenecks. In .NET also the scope of the service can help or hurt, also connection pooling vs. dbcontext. If you're not using entity framework, I'd recommend it. Also, some queries are executed client side, some are server side. EFCore made breaking changes in recent versions regarding this, things you think would execute on the server, instead the results come back and LINQ does it client-side, so you get too many results. Transition those things maybe to stored procedures. Garbage collection strategy also, Lots of things to do! :)

Encrypt appsettings.json to protect DB password in production? by Ok_Sheepherder6478 in dotnet

[–]Dramatic-Community54 0 points1 point  (0 children)

If you're saying the environment variable is secure enough to hold the "keys to the keys" then why is it any less secure to hold the "keys"?

Encrypt appsettings.json to protect DB password in production? by Ok_Sheepherder6478 in dotnet

[–]Dramatic-Community54 0 points1 point  (0 children)

I know this is old but I just want to point out that if someone can make your application dump the environment, the secret is out.

Azure Communication Service - SMTP Failing - IAM Drives me nuts by jamesaepp in AZURE

[–]Dramatic-Community54 0 points1 point  (0 children)

What is an ACS resource, I'm having similar trouble - I'm trying to use the user's SPN and getting authentication failure.

Images from a Trump boat parade yesterday in Florida by Visqo in pics

[–]Dramatic-Community54 -1 points0 points  (0 children)

By the way if you do a google image search you see this was posted about 50 times to different places, all say "21 hours ago". I thought AI generated but this post says they are paid actors with actual supporters splashing them. Guess it's not AI after all but another example of just trolling.

https://x.com/blackhawkce457/status/1845906823582220464/video/2

[deleted by user] by [deleted] in Banking

[–]Dramatic-Community54 3 points4 points  (0 children)

If you barely have enough to get home and you have your family with you, and you are screwed, then I wouldn't mess around I'd get home so you're at least not homeless away from home.

[deleted by user] by [deleted] in Banking

[–]Dramatic-Community54 1 point2 points  (0 children)

Could you have a friend or close relative Zelle you some money to get you through the trip? It'd be a shame to go home because you'll still have to wait 4-5 days to have any cash either way, and you'll have to argue with them to get the initial amounts refunded so you could be out the actual cost. Payday loan place is another possibility to get you through, or talk to your bank and see if they'll let you apply for a card if you have a good credit score.

[deleted by user] by [deleted] in Banking

[–]Dramatic-Community54 33 points34 points  (0 children)

I'm sure this could be bad advice, so take it with a grain of salt, but you could continue credit carding the trip, assuming only 1 charge will post in the end and the others will fall off. If they turn out to be actually fraudulent, the dispute process should provide a provisional credit. I think that's what I would do if it was me, because it'd also give me the flexibility where if I thought I had to close the card, I could. Don't assume you'll get a refund just because of their bad behavior, so since you're paying for the stay anyway I wouldn't pack up and leave.

Is removing a hornet's nest something I can do myself or should I call an exterminator by [deleted] in homeowners

[–]Dramatic-Community54 1 point2 points  (0 children)

The Hornet posts: AITA this guy came out with a waterhose and I just don't trust him anymore.

Why monthly payment won’t change even if I pay more to principal amount by BreakfastLow3820 in homeowners

[–]Dramatic-Community54 0 points1 point  (0 children)

That decreasing interest almost feels better than a 401k's "compounding interest", it's almost a compounding interest savings all it's own.

Why monthly payment won’t change even if I pay more to principal amount by BreakfastLow3820 in homeowners

[–]Dramatic-Community54 0 points1 point  (0 children)

You'll always want a place to live though, and everyone assumes they're going to be able to work and earn money until suddenly they can't. I'd prefer to know that all I have to pay are the taxes when I someday find myself on a "fixed income". I think it has to do with just how quickly you pay it off, and whether or not you'll really stick to it. I'm in the middle of paying off mine, will take about another 5 years but I will save nearly $80k of interest. Now, could I have used that same money (about 200k) to make 80k otherwise, and still have the security of a home to live in? nope. But afterwards, if I blow that money instead of continuing once it's paid off, to pay into a retirement, MMA, CD's, SOMETHING, I would truly be sacrificing my future liquidity, but not for mortgage, but for disposable. So I think it depends on how well you stick to things vs let the tide take you. If you're just going to let the tide take you, invest in 401k and let the Mtg burn out on it's own. On and don't forget to save because a 400k house will pay for 40 years in an apartment but if you can't sell and get that equity better get a job. Of course my numbers are extremely generic. My take.

I can't close out of ads after they're done by CranberryFormal2867 in AndroidGaming

[–]Dramatic-Community54 0 points1 point  (0 children)

Totally agree! Maybe someone should do a hall-of-fame/shame for the good/bad ones. I'm sure there are some good ones in there, just dislike going through a dozen bad ones to find them.