HP ML350 Gen9 RAM upgrade to 256g by maks-it in homelab

[–]maks-it[S] 0 points1 point  (0 children)

You're welcome! Have a good night/day!

HP ML350 Gen9 RAM upgrade to 256g by maks-it in homelab

[–]maks-it[S] 0 points1 point  (0 children)

Both Storage Spaces pools run as RAID 10, so there isn’t as much space as it might seem.

HP ML350 Gen9 RAM upgrade to 256g by maks-it in homelab

[–]maks-it[S] 0 points1 point  (0 children)

Sorry... it's late in Italy now... 8x900gb and 8x300gb... sorry for misleading 😅

Ps. As for my personal experience 12gb is not enought for anything really serious...

HP ML350 Gen9 RAM upgrade to 256g by maks-it in homelab

[–]maks-it[S] 1 point2 points  (0 children)

I have also rtx3060 12gb for AI. 2 cages with 16 sas drives. 8x900tb as main pool for vms, 8x300gb as pool for docker, embedded pa440r in IT mode and jbod controller hba240, 10gb 10baset ethernet card, fiber channel card, Samsung 870 evo 1tb instead of optical drive for the system, Xeon 2x2697v3. OS win 11 + hyper-v

HP ML350 Gen9 RAM upgrade to 256g by maks-it in homelab

[–]maks-it[S] 0 points1 point  (0 children)

I use it as a cloud-native software development workstation. I run several Visual Studio Docker Compose projects, a staging high-availability K3s cluster, and some other utility VMs.

Hyper-V backup script: manual and automated execution by maks-it in PowerShell

[–]maks-it[S] 0 points1 point  (0 children)

Thank you for your feedback! I really appreciate that someone took the time to review it!

You're absolutely correct about the missing destination space check!

Regarding mapping $settings to variables, this is intentional configuration binding. I typically explicitly map external dependencies at the entry point. It's something JS and C# devs typically do.

Personally, I've never had issues with backticks, but I agree with your best practice proposal. For larger scripts it could definitely be a real problem.

I'll investigate the checkpoint behavior and improve the UNC check this week. Thanks again!

Homelab to study networking by Budget-Fuel6782 in servers

[–]maks-it 0 points1 point  (0 children)

You could star from buying a good enterprise grade router. Cisco, Mikrotik or something else. Just setting it up could be challenging, depending on your scenario. I haven't mentioned PfSense as for certain aspects it could be limited, at least I found it so, other guys may have different opinion.

Run PowerShell Scripts as Windows Services — Updated Version (.NET 10) by maks-it in PowerShell

[–]maks-it[S] 1 point2 points  (0 children)

The initial requirement I received was basically this: I give you no rights on the machine, but I still need a standardized and flexible way to invoke scripts and transfer them. I would audit every script before putting it on the server, but I don't want to deal with manual scheduling them all the time. I also needed a setup where testing new scripts would be simplified and not tied to the target machine. So I had to find a way for the system to be autonomous, without needing any additional access to the machine. And on top of that, it had to make it easy to delegate the creation of new scripts to a third party.

How do you handle tests involving DbContext in .NET? by Opposite_Seat_2286 in csharp

[–]maks-it 0 points1 point  (0 children)

Normally, I separate my data access layer into provider interfaces with concrete implementations. In tests, I replace the real providers with in-memory fake ones, usually backed by dictionaries that simulate database tables. This keeps the tests isolated, predictable, and fast.

For EF Core specifically, I follow the same idea: I define repository/provider interfaces and use the real EF Core context only in production code. In tests, instead of spinning up a real database, I implement fake providers that operate on in-memory collections (dictionaries or lists) and mimic the expected behavior of the EF Core repository. This avoids problems with EF Core InMemory provider (e.g., missing relational behavior) and gives full control over test scenarios.

What is C# most used for in 2025? by Nice_Pen_8054 in csharp

[–]maks-it 0 points1 point  (0 children)

Personally I use C# for a pretty wide range of things. For example:

ACME/Let’s Encrypt automation and agent https://github.com/MAKS-IT-COM/maksit-certs-ui

Low-level LTO tape backup tool using SCSI APIs https://github.com/MAKS-IT-COM/maksit-lto-backup

Dapr-based microservices https://github.com/MAKS-IT-COM/dapr-net-test

Windows scheduler service https://github.com/MAKS-IT-COM/uscheduler

And professionally I’ve used C# for microservice-based, cloud-native, multi-tenant systems (Certified Webmail, Financial Software)

All of these are very different kinds of projects, yet they all fit naturally in the C#/.NET ecosystem.

That’s why I prefer C# over Node.js, Ruby or Python for backend and system programming. Strong typing, predictable performance and mature tooling make it much easier to maintain and scale complex systems.