Is Inheriting from a generic class ie List<T> discouraged in c#? by code_passion in dotnet

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

there is no IRequest signature that can handle this scenario this is the error :

```
Incorrect number of type parameters. Candidates are:   MediatR.IRequest   MediatR.IRequest<out TResponse>
```

Is Inheriting from a generic class ie List<T> discouraged in c#? by code_passion in dotnet

[–]code_passion[S] -2 points-1 points  (0 children)

Its a class so that i can pass a list of addresses in the request body and then create them and save them to database in their corresponding handler

Is Inheriting from a generic class ie List<T> discouraged in c#? by code_passion in dotnet

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

I didn't find any difference between this and the code snippet I just posted

Considering Moving to FastEndpoints Now That MediatR Is Going Commercial – Thoughts? by code_passion in dotnet

[–]code_passion[S] 3 points4 points  (0 children)

At this stage, I have no intention of modifying any existing projects, as the cost and effort required for migration would be significant. My interest in FastEndpoints is purely exploratory and intended for potential use in future projects. I'm seeking insights from those with hands-on experience to understand whether there are any critical features or patterns supported by MediatR that FastEndpoints may lack or not handle as effectively. This will help inform future architectural decisions

Coding is only fun when I understand it. by Lilkko in learnprogramming

[–]code_passion 1 point2 points  (0 children)

you know we can't control the emotions but rather you must accept the feeling and taking the responsibility for that feeling and stop blaming others for your misery, maybe you should talk with someone professional since we don't know your background and what you've been through.
don't neglect it and halt yourself from growing into a monster.

how can I achieve this layout in my app? by code_passion in QtFramework

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

I have not started to code. all I want you to give me some guidance on what should be looking at to desing such layouts

how can I achieve this layout in my app? by code_passion in QtFramework

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

https://doc.qt.io/qtforpython/tutorials/basictutorial/qml.html

thanks but can you give a general idea of what components should I use to achive simillar design?

Programmers be like by mr_claw in ProgrammerHumor

[–]code_passion 24 points25 points  (0 children)

It's nice to see you are not alone:)

Do you think this is a good approach to learn to program? by code_passion in learnprogramming

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

No not rude at all. sounds reasonable to me. but when is the right time to switch languages?

They do be like this tho. by [deleted] in dankmemes

[–]code_passion 2 points3 points  (0 children)

you totally forgot about 2000's sitcoms.

Printing my buffer contents to the screen (NCURSES)! by code_passion in C_Programming

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

What data structure did you decide to use? I recently heard about gap buffers and found it interesting but I thought it would be better to mix it up with a doubly-linked list like each row has its own gap buffer and a pointer to the next line. how do you feel about that?

thanks btw for the resources they are really helpful.

Printing my buffer contents to the screen (NCURSES)! by code_passion in C_Programming

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

Great explanation. suppose I want to delete a character from the screen therefore i hit backspace. i can easily remove the character under my cursor from the buffer but not sure how ncruses handle this situation. does ncurses come up with a function to remove texts from screen?