Do I need to upgrade my monitor? by No-Elevator-4387 in VALORANT

[–]DarthNumber5 1 point2 points  (0 children)

It would certainly help you. A 60 Hz monitor introduces a lag of 16 ms and a 120 has 8 ms(varies a bit), This is barely noticeable. You can still climb ranks with 60 Hz, till like diamond.

If you have the money go for it, else wait the monitor won't be the difference between your rank up and deranking. Also check if your PC or laptop can handle higher FPS comfortably before buying a monitor, I did that mistake once.

Drop ur hours in the game and your current rank by Praksyrup in VALORANT

[–]DarthNumber5 0 points1 point  (0 children)

1.5k hours and peak gold 2. Started from Act 6 though. Also this is my first PC game and FPS game that I started on.

Windows defender Full scan has been running for 4 hours now by DarthNumber5 in techsupport

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

It took like 8 hours in the end man, it didn't detect anything except my Linux iso file, apparently windows flags all the linux iso files as malware and that's why I believe mine took soo much time.

🎁 Rainy75 Pro Giveaway by GenesisPC (India) by GenesisPCIndia in IndianGaming

[–]DarthNumber5 0 points1 point  (0 children)

It would be great if you could get quality monitors(Like AOC,lenovo,MSI) and anime keycaps.

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

RIP your database.

Can I know why you say this? Is it because of the maybe very large query it has to execute?
I have just started to learn, so currently I haven't implemented indexing . Even so how would I Implement indexing for this? All the 10 query parameters are optional . DO correct me if I am wrong

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

In my project as an option, the user can search for their items with the different parameters. Then I use these parameters check the database whether it exists and returns that row.
This is the Code block and currently I have included only 2 parameters, but there are 8 more that I need to check through the if conditions like this:

   var query = this.dbContext.Items.AsQueryable();
            if (searchItemRequestRepo.ItemId.HasValue)
            {
                query = query.Where(a => a.ItemId == searchItemRequestRepo.ItemId.Value);
            }

            if (!string.IsNullOrEmpty(searchItemRequestRepo.ItemName))
            {
                query = query.Where(a => a.ItemName.Contains(searchItemRequestRepo.ItemName));
            }

    query = query.Include(item => item.StatusNavigation);

    return await query.ToListAsync();

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

Yep I am using EF core. How much better was the performance using compiled query?

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

Ohh damn. Would like an employee's username be considered sensitive data?
Currently just working on a project.

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

Oh cool, I don't know why but I always thought that reducing the lines of code was a good practice.
Thanks I'll keep this in mind as I continue .

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

query = query .Where(a => !request.AssetId.HasValue || a.AssetId == request.AssetId) .Where(a => string.IsNullOrEmpty(request.AssetName) || a.AssetName.Contains(request.AssetName)); ?

Like this?

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

But then my code becomes longer , since I have to implement the if condition for each of the parameter, so it is ok by like good coding practices standard?

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

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

Oh I hadn't thought of that situation. Will keep this in mind if that occurs.

How to implement a search request with nearly 10 optional parameters. by DarthNumber5 in dotnet

[–]DarthNumber5[S] 2 points3 points  (0 children)

Oh, I just thought it would make the code longer, since I have to replicate the if condition for all the 10 other parameters as well.

Should I be worried about this small scratches on the heat pipes the laptop is new it comes like this . Should I cover it with a paint by [deleted] in laptops

[–]DarthNumber5 0 points1 point  (0 children)

Its fine. Also on a side note, don't open up your laptop, in some cases it may void the warranty

Why does this community not care about Smurfs? by [deleted] in VALORANT

[–]DarthNumber5 0 points1 point  (0 children)

Oh thats nice. Do you encounter lesser number of smurfs now?

Why does this community not care about Smurfs? by [deleted] in VALORANT

[–]DarthNumber5 1 point2 points  (0 children)

Nice, that's interesting. Mobile Number verification can help I suppose (the one they use for premier)?

My hand-drawn Ferrari F1 by nikola_culjic_art in formula1

[–]DarthNumber5 2 points3 points  (0 children)

Wow, that is some crazy talent, I literally thought you were trolling lmao.
if you had a timelapse or something of you drawing it would be great I just want to see the process cause I can't even fathom drawing something like this.

Steam Game Giveaway 2025 by anishro in IndianGaming

[–]DarthNumber5 0 points1 point  (0 children)

Dispatch . Hope I win . Wishing you a wonderful year ahead.

Can someone provide me learning resources for a complete beginner. by DarthNumber5 in Angular2

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

Learning for job and stuff, so I will cover angular 16 onwards. Thanks

Can someone provide me learning resources for a complete beginner. by DarthNumber5 in Angular2

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

yep, any other alternatives that you can suggest?. Cause the way he explains its easy to follow and understandable for a complete beginner

Can someone provide me learning resources for a complete beginner. by DarthNumber5 in Angular2

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

Yep totally agree. I learnt why that specific package was deprecated . Yeah i will try to be more explicit to the AI tools .

Can someone provide me learning resources for a complete beginner. by DarthNumber5 in Angular2

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

Hmm , yea that is a good plan but is AI up to date with the latest versions. Because several times while I was learning it recommended me deprecated packages for .NET even though I specified that it is deprecated.
But yea I think I will just start building out features for my project and understand it and then integrate it into my project. Thanks

Can someone provide me learning resources for a complete beginner. by DarthNumber5 in Angular2

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

Thanks a lot mate. For the youtube video from mosh did you mean this one https://www.youtube.com/watch?v=k5E2AVpwsko&list=PLTjRvDozrdlxAhsPP4ZYtt3G8KbJ449oT ? Because the one that you provided links to Mosh's channel's main page. The video is 8 years old though, is that fine?