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.

Posts by Alexei‭

211 posts
75%
+4 −0
Q&A What are the disadvantages of using static methods in Java?

I am not a Java developer, but a C# .NET one, but I guess static concept is very similar between the two. As in many areas, it depends, but for most applications using static should be avoided: ...

posted 2y ago by Alexei‭  ·  edited 2y ago by Alexei‭

Answer
50%
+0 −0
Meta console.readline tag does not look good to me

I have created this tag because reading lines from the standard input stream is a basic task found in many programming languages. I have also noticed that the tag exists on SO, but this is only to ...

posted 2y ago by Alexei‭  ·  edited 2y ago by Alexei‭

Answer
71%
+3 −0
Q&A What might happen if I ignore warning?

Not returning a value on all code paths is error-prone because the function might not return the expected value in the non-covered cases. That is why it is better to explicitly return a value. As ...

posted 2y ago by Alexei‭  ·  edited 2y ago by Alexei‭

Answer
75%
+4 −0
Meta Unfair accusation in a comment and consequent loss of *actual* reputation

Thanks for raising this on meta. Indeed the comment author admitted to making a mistake by accusing of copy-pasting from Wikipedia and I have removed all the comments. However, now my answer is ...

posted 3y ago by Alexei‭

Answer
81%
+7 −0
Meta Using Software Codidact as a private community within a company

Short version As you probably know SO offers Stack Overflow for Teams as a product for a knowledge management tool for private use (private teams). I am wondering if it is possible for Codidact t...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Canina‭

Question discussion
81%
+7 −0
Meta How much research effort is expected from the asker by the community?

There are multiple questions/aspects in your posts, so I will go one by one: Stack Overflow which answers many questions While this is true, for many questions SO has an important drawback. I...

posted 3y ago by Alexei‭

Answer
77%
+5 −0
Meta Is it correct to downvote answers to bad questions?

I think there are two aspects here: What to do about offtopic questions? Being offtopic should trigger a close/flagging action. I see voting mostly related to the post quality (useful, shows some...

posted 3y ago by Alexei‭

Answer
73%
+9 −2
Meta Should "Hello", "Thank you", "Morning" and similar greetings be removed from posts?

Note: this is mostly a personal preference that I use when moderating the posts Generally, no While "Hello" and "Thank you" are noise (overhead) for the questions and answers, they are also part ...

posted 3y ago by Alexei‭

Answer
66%
+2 −0
Meta Sometimes entered tag information seems to get lost

From time to time, I am filling in some information for the Software Codidact tags and I realized that for some tags I filled the information twice. An example would be winforms which I almost cer...

0 answers  ·  posted 3y ago by Alexei‭

Question support tags
77%
+5 −0
Meta Renaming a tag to an existing one fails silently

If I try to rename a tag to an existing one it silently fails. Example: trying to rename data-archiving to archiving fails with console error only: application-f4dc10c11dc65439a992f7c98cb554bfbc...

0 answers  ·  posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Question bug tags
77%
+5 −0
Meta Is it correct to ask customer service-related questions?

Asking customer service-related questions is generally offtopic unless there is a connection to the software development process. Taking your examples one by one: How do I get my Facebook deve...

posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A redirect to "main" code in Ruby using Ctrl

Not a direct answer, but it should clarify some things. It redirects me to where the variable was declared Yes, this is called "go to definition/declaration" and it works out of the box in ma...

posted 3y ago by Alexei‭

Answer
66%
+2 −0
Q&A 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 me...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by meriton‭

71%
+3 −0
Q&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 th...

posted 3y ago by Alexei‭

Answer
80%
+6 −0
Q&A 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 applicat...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Alexei‭

71%
+3 −0
Q&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 fo...

posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Answer
50%
+0 −0
Q&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 en...

posted 3y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A 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 ...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Alexei‭

77%
+5 −0
Q&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.

posted 3y ago by Alexei‭

Answer
80%
+6 −0
Meta Do we need more specific up/down vote reasons for Software Development community?

The help center includes a rather generic (it's the same for all communities) article about voting. Recently a user flagged a question asking why it had received so many downvotes. While flagging ...

2 answers  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by Estela‭

Question discussion voting
75%
+4 −0
Q&A How to generate multi-line completions (code generation) with OpenAI?

I have finally received access to a trial account on OpenAI and I took it for a spin. My interest is with code generation, so first tried something simple using the playground: Q: generate a stand...

1 answer  ·  posted 3y ago by Alexei‭  ·  edited 3y ago by deleted user

75%
+4 −0
Q&A What are the risks of using iFrame as a temporary migration step for an internal web application?

Overview Our development team is currently trying to develop and migrate a Web application that is split in two: legacy: ASP.NET MVC 5, jQuery, old-style JS programming overall "next": Angular...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by meriton‭

81%
+7 −0
Meta Can we migrate office suite related questions to the Power Users community?

Power Users has just been launched and I remember that Software Development has some content related to office suite usage (example). Is it OK to migrate these questions to the Power Users communi...

3 answers  ·  posted 3y ago by Alexei‭  ·  last activity 3y ago by FoggyFinder‭

50%
+0 −0
Q&A Is this a known design pattern: a piece of code is responsible for acting as a central proxy for data distributed in various places?

General information As indicated in the comments you are looking for something similar to the Facade pattern. It is still not clear what you are trying to achieve, but the X class seems that it wi...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A How to easily support time frame grouping in queries?

I had a curiosity about how much the experienced users wait for their questions to be answered on Stack Overflow and had written a query for it: SELECT YEAR(q.CreationDate) * 100 + MONTH(q.Creatio...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 1mo ago by Michael‭