Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Alexei‭

Type On... Excerpt Status Date
Comment Post #282381 That's a good idea. Having clear names like ArchivedOrder is OK as I can still map to something that makes sense in DB like arc.Order, as I want to define a separate schema for these tables. 10x.
(more)
over 3 years ago
Comment Post #282332 Yes, I have edited my question to include more information. Basically, the more DbSets with similar names, the more the chance to use the wrong one, especially given the fact that the archive related ones will be (almost) identical to the "operational" ones. I am inclined towards the EF approach, but...
(more)
over 3 years ago
Edit Post #282332 Post edited:
explained the cons of EF approach
over 3 years ago
Edit Post #282332 Initial revision over 3 years ago
Question Mixing "operational" database models with archiving ones in the database context
Context Our product owner has realized that some entities are duplicated from time to time and that a merge is required. This should clean up existing duplicates and also allow special users to merge entities in the future. The merge process is defined as follows (this should be done atomically...
(more)
over 3 years ago
Comment Post #282270 @Istiak Yes, Code Review requires code that works ("does the job"), but requires review (improvements, patterns, performance, readability etc.). Currently, the provided code does not work as expected, so it is a good fit here (on main Q&A).
(more)
over 3 years ago
Comment Post #282206 @Lundin I think tags now have case simply because by default string are input with a case (textboxes allow this by default and I guess this also happens in the database). I don't remember to have ever seen any upper-case letter for SO tags and I think we should always use lowercase in the tag names.
(more)
over 3 years ago
Comment Post #282206 I have fixed the tag name. Thanks.
(more)
over 3 years ago
Edit Post #282230 Initial revision over 3 years ago
Answer A: How to create a MySQL generated column that uses a join in a concat?
I don't think this is possible in MySQL due to its computed columns limitations: > Literals, deterministic built-in functions, and operators are permitted. A function is deterministic if, given the same data in tables, multiple invocations produce the same result, independently of the connected u...
(more)
over 3 years ago
Edit Post #282203 Post edited:
added relevant tag
over 3 years ago
Edit Post #282121 Post edited:
removed a server name from the post
over 3 years ago
Edit Post #282121 Initial revision over 3 years ago
Question How to find out which packages target .NET 3.1 in a .NET 5 application?
After upgrading a Web application from ASP.NET Core 3.1 to ASP.NET Core 5.0, it worked fine on an existing server. However, when deployed on a server that had only .NET 5.0 installed, the application pool crashed and said (as a logged event) that .NET Core 3.1 is missing. Clearly, some packages...
(more)
over 3 years ago
Edit Post #282119 Post edited:
added relevant tag
over 3 years ago
Edit Post #281659 Post edited:
switched tag to have less redundancy
over 3 years ago
Comment Post #282094 Now everything makes sense. Btw - page refreshes are typically noticeable (some flicker). Is this happening in your case? Thanks for posting an answer.
(more)
over 3 years ago
Edit Post #281659 Post edited:
added relevant tag
over 3 years ago
Edit Post #282023 Post edited:
added relevant tags
over 3 years ago
Edit Post #282079 Post edited:
over 3 years ago
Edit Post #282083 Post edited:
added relevant tags
over 3 years ago
Comment Post #282079 That sounds strange as I see that the service is provided in the root. Can you share the code from a component where you use `LogService `?
(more)
over 3 years ago
Edit Post #282050 Post edited:
added reference to OpenAI community
over 3 years ago
Edit Post #282050 Initial revision over 3 years ago
Answer A: How to generate multi-line completions (code generation) with OpenAI?
I have reached OpenAI's support and one way to generate more accurate multiline responses is to use a clear separator between each question and answer block of text. My final working code is the following (`###` is the separator I have used): string text = @"Q: generate a standard model for Fo...
(more)
over 3 years ago
Edit Post #282044 Post edited:
added relevant tags
over 3 years ago
Edit Post #282019 Post edited:
added breaking change text
over 3 years ago
Edit Post #282019 Initial revision over 3 years ago
Answer A: Is there any breaking change in regard to TrustServerCertificate property of System.Data.SqlClient for .NET 5?
I think I have found the cause of this issue: > Changes default behavior of driver to not validate server certificate if client did not request encryption with "encrypt=true" but encryption was enforced by SQL Server. This is also mentioned in the SQL Client 2.0 breaking changes: > The dri...
(more)
over 3 years ago
Edit Post #282018 Initial revision over 3 years ago
Question Is there any breaking change in regard to TrustServerCertificate property of System.Data.SqlClient for .NET 5?
I have recently an issue at work after upgrading an ASP.NET Core 3.1 application to .NET 5. It worked correctly on all environments (e.g. PreProd, Prod) when targeting 3.1, but failed on Prod only after upgrade to .NET 5. The error was login related: > A connection was successfully established...
(more)
over 3 years ago
Comment Post #281995 Not an expert on the matter, but coming from .NET development area, native JS date/time manipulation looks like a mess. I would definitely consider using a library, if possible: https://terodox.tech/migrating-away-from-momentjs-part1/
(more)
over 3 years ago
Edit Post #281991 Post edited:
added relevant tag
over 3 years ago
Edit Post #278622 Post undeleted over 3 years ago
Edit Post #281928 Initial revision over 3 years ago
Answer A: Is the concept of a PHP lint feasible?
If I understand correctly what you are asking for is a static code analysis tool for PHP. A quick search reveals that Psalm would be such a tool.
(more)
over 3 years ago
Edit Post #278578 Post undeleted over 3 years ago
Edit Post #278572 Post undeleted over 3 years ago
Edit Post #278570 Post undeleted over 3 years ago
Edit Post #278325 Post undeleted over 3 years ago
Edit Post #278762 Post undeleted over 3 years ago
Edit Post #278532 Post undeleted over 3 years ago
Edit Post #278361 Post undeleted over 3 years ago
Edit Post #278360 Post undeleted over 3 years ago
Edit Post #277933 Post undeleted over 3 years ago
Edit Post #278367 Post undeleted over 3 years ago
Edit Post #278334 Post undeleted over 3 years ago
Edit Post #278333 Post undeleted over 3 years ago
Edit Post #277931 Post undeleted over 3 years ago
Edit Post #277930 Post undeleted over 3 years ago