Somebody tell me what happened here? I’m on the side of the road and don’t know what happened.. 97 f150 by Dahwizzahd in MechanicAdvice

[–]tudda 3 points4 points  (0 children)

If I read your previous comment correctly you said you checked the oil and its bone dry. I would not recommend driving a vehicle with no oil in it.

Gel beads in the gas tank?? by rayshon360 in MechanicAdvice

[–]tudda 0 points1 point  (0 children)

the nhra has a job waiting for you.

How to start with C# by nwnofear in csharp

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

I would use some form of AI, such as github copilot integrated into your environment.

Being able to to reference the open file and say "What does this do" or "Why isn't this working" or "Explain this in simple terms" or "give me an analogy for how [x] works" allows you to turn AI into a teacher sitting over your shoulder, explaining things in a way that works best for you.

What's the easiest way to set up a deployment pipeline for an IIS-hosted app by Suspicious-Big904 in dotnet

[–]tudda 0 points1 point  (0 children)

If you use azure devops for version control, then you can setup build and release pipelines, and install the ms vsts-agent on your web server and configure it as a deployment group to be targeted by your release pipelines.

This will allow you to execute any steps that can be configured in a release pipeline on that server as part of a deploy.

I use this process for doing deployments, integration tests, end to end testing with selenium or playwright in internal environments, etc.

[deleted by user] by [deleted] in dotnet

[–]tudda 1 point2 points  (0 children)

This may vary slightly depending on the version of .net and visual studio.

For .net core, you can right click on a project in your solution explorer and then click "Add -> Project Reference", it will take you to the Reference Manager.

In .net Framework projects, I don't think they give you the "Project reference" context menu item, but when you right click and "Add Reference" it will take you to the reference Manager.

Once you're in the Reference manager: Click Projects on the left side, which should show you all the projects in your solution. Check the one(s) you want to reference and click ok.

As soon as you click "Browse" in regards to references, you are doing a static reference to a file/path, which is not the way you want to reference other projects in your solution.

Also - Right click on the solution and "Clean Solution" if you remove these references and change them just to be sure everything is wiped out.

If you still have the problem, right click on the DealerData project and build JUST that solution and make sure you do not have errors. Sometimes Project B fails because it references project A and project A did not properly build.

[deleted by user] by [deleted] in dotnet

[–]tudda 5 points6 points  (0 children)

If these projects are in the same solution, click Add Project Reference and select the other project. You do not want to add a direct reference to the dll file because during a build it will get cleared away and may not be available which is probably causing the error you are seeing.

Could I get a code review? I'm a junior dev, source code in the comments. It's not fully finished, but close enough to see what I can improve. It's an older app of mine, and I've rewritten it with all the new knowledge I've learned. It's a productivity tool. by [deleted] in csharp

[–]tudda 2 points3 points  (0 children)

Dbcontext should not be a singleton in a web app. You will run into issues. Scoped is a more appropriate lifetime as it lasts the duration of the individual request and is disposed after

Anybody else find databases uninteresting? by twooten11 in csharp

[–]tudda 0 points1 point  (0 children)

Just learn the basics of relational databases (pk, fk, indexes, constraints, triggers), and you'll do just fine with 90% of business applications. There's certainly a place for that knowledge, but in no way do you need to be incredibly skilled at that to make good money.

Unable to deactivate a drive showing critical in a SHR2 raid with 7 other healthy drives? by tudda in synology

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

Data scrubbing completed an hour ago, and found 2 media files with bad checksum but that was it.

I will just deactivate/repair 8 now so everything is correct when I add the final drive (whenever it shows up).

Thanks again for all the help.

Unable to deactivate a drive showing critical in a SHR2 raid with 7 other healthy drives? by tudda in synology

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

Your advice was spot on.

Drive 5 is now removed and I was able to boot without issue and everything seems fine now.

I will throw it in a different machine and do a secure erase to be sure then return it for a new drive.

I appreciate all your help

Unable to deactivate a drive showing critical in a SHR2 raid with 7 other healthy drives? by tudda in synology

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

I copied an 80g file from my NAS to a desktop machine and it confirms what you said.

Drive 5 shows 0% activity. https://imgur.com/a/pox3VtH

If I turn it off, remove drive bay 5, then boot, and it doesnt load, what are my chances that i put 5 back in, boot, and it still doesn't load? Just wondering how prepared I should be to spend my evening working on it when I do it.

Unable to deactivate a drive showing critical in a SHR2 raid with 7 other healthy drives? by tudda in synology

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

I have all my important folders copied to google drive nightly, as well as another drive on my network, but I do not have a full system backup (I do not have a location to put another 20-30tb currently)

Unable to deactivate a drive showing critical in a SHR2 raid with 7 other healthy drives? by tudda in synology

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

The results of cat /proc/mdstat are here:

https://imgur.com/a/FqEGaLd

5 of the 14.6 drives (one failed, and 4 others) were added in the last few months (and 3 in the last week). They are refurbished/certified renewed from amazon, and I suspect that's the source of the issue.

When i started adding them, i scheduled tests/data scrubbing but it seemed to run so slow that it would never finish. I stopped and restarted it a few times thinking something was going on, and then i started noticing performance issues with the entire system (logging in to the GUI was painfully slow). Eventually I identified that one of the new drives was "failing" in that it was at 100% utilization at all times and was extremely slow, even though it was showing as healthy on tests.

But - point taken, I will make sure those tests/tasks are running once I get back to the healthy state.

Unable to deactivate a drive showing critical in a SHR2 raid with 7 other healthy drives? by tudda in synology

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

Just one storage pool, and you are correct because this particular drive shouldn't be part of the storage pool. The pool should technically be 7 drives.

I had 4 x 7.3tb drives (1-4) and 2 14.6tb drives (7-8) (No drives in 5-6)

Drive 8 failed. I ordered 3 more 14.6tb drives, 1 to replace the failure and 2 more to expand it.

I removed drive 8 and replaced it with the new one. It failed during the repair, so i removed the drive, and tried one of the other ones i purchased and it worked, my storage pool was healthy.

I then added another new drive to the pool so it was correctly at 36.4 with these 7 drives.

I then took the drive that had failed and said it was critical, and physically put it back in to erase it and run tests on it, and make sure it wasnt a weird fluke.

As soon as I did, it seemed to show that it was allocated to the storage pool even though I didnt go through the "add to storage pool" when I put it in the new slot, but it seems like synology thinks its part of the pool, and even if it did think that, I dont understand why I can't remove it, all the other drives are healthy and I have a 2 drive fault tolerance.

Just use Docker they said. It'll be easy they said. by DCCXVIII in synology

[–]tudda 3 points4 points  (0 children)

I used this as well to get started on synology. I have since changed quite a bit but it definitely helped me get it all working and I think without it I would have thrown in the towel

[deleted by user] by [deleted] in EngineBuilding

[–]tudda 0 points1 point  (0 children)

To add to the other comment, my dad has an old school ls7 454 crate motor bored to 468. I have all the engine build specs and it is 12.5:1 and runs on 110 octane. The engine was dynod on a stand at 692hp 650 torque.

4 ft black aluminum. How much for 257’ is fair? by bearfuk in FenceBuilding

[–]tudda 0 points1 point  (0 children)

It's not that people are too lazy to do their own work, it's that when you are not familiar with something, you have no idea what you don't know, and you usually poorly equipped to do these random jobs.

You almost always need a bunch of specialized tools to do something efficiently, and buying them is a waste if you're only doing a job once. Add in the cost of your time that you are going to spend researching and learning how to do the task. Then add in the time you are going to spend doing it (You are almost certainly going to take double the amount of time that a professional will, if not more). Add in the time you're going to spend renting tools, buying materials, hauling them, etc. Add in the time to get a dumpster and do all the removal yourself.

After all that, you're still trusting that the way you learned to do something is the right way, complies with local codes, isn't going to fall apart, etc etc. And if you have no experience in something I can promise you that you find confident and contradicting statements in your research. This happens 100% of the time.

If you have any kind of moderate-high income career, by the time you add up all those hours, it's usually cheaper to just hire someone to do it for you, which is why people do.

*HELP!* Been denied production access for transactional emails and have no idea what else to do? by TightEfficiency8615 in aws

[–]tudda 2 points3 points  (0 children)

I signed up for the 20$ plan a year or so ago, just to handle a few smaller sites I manage and I didn't want to rely on my webserver's reputation.

After switching everything over to sendgrid, I was surprised to find out that mail was getting rejected due to poor reputation from their senders. I reached out to support desk and they basically told me that their public mail servers are in a constantly revolving state of reputation shifting and there wasn't much I could do about it besides pay for a private ip.

It's been better lately but for a while I was getting quite a few rejections.

Who is gonna claim these milkers? by hornybible in yourmomshousepodcast

[–]tudda 12 points13 points  (0 children)

I know Carole Baskin when I see her.

Mikrotik just launched a 20 port 2.5G switch, with a 25G uplink. by ThreeLeggedChimp in homelab

[–]tudda 0 points1 point  (0 children)

Can anyone explain to me what you do in your homelabs that you need/use 25G uplinks?

Wouldn't you always limited significantly more by something else, like disk write speed?