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‭

212 posts
77%
+5 −0
Q&A Is omitting braces for single statements bad practice?

Already good answers, but I can provide a slightly different perspective here: always use braces if there is a risk of getting into a pitfall. Examples (from C#, but the language is less relevant)...

posted 4y ago by Alexei‭

Answer
76%
+8 −1
Meta Should we allow UI/UX questions in our community?

Yes I would allow UI/UX questions with some limitations. Examples: on topic - UI/UX questions related to an interface that also involves some programming (e.g. web interfaces) offtopic -...

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

Answer
75%
+4 −0
Meta Question templates for guidance

I am wondering if it makes sense to define a template for questions. This would act as a guideline rather than a strict template to be followed. I have seen this being used for GitHub issues and I...

0 answers  ·  posted 3y ago by Alexei‭

75%
+4 −0
Q&A Why is git merge from rather than to?

Another reason could be to allow to perform the merge without auto commit and no fast-forward: git merge the_branch --no-commit --no-ff This allows reviewing the merged changes before they are ...

posted 1y ago by Alexei‭

Answer
75%
+10 −2
Meta Should we disallow ChatGPT-User crawler (and others) from scraping Software Codidact?

Stack Overflow has recently announced OverflowAI and I think this video summarises pretty well this. The main drawback is that the users are less incentivized to put effort into answering questions...

2 answers  ·  posted 1y ago by Alexei‭  ·  last activity 1y ago by mr Tsjolder‭

Question discussion
75%
+4 −0
Q&A When is it OK for duplication of information between message header and payload in a distributed software application?

A friend is involved in rewriting a distributed software application and while discussing the architecture, we noticed that in many cases the messages had duplication between headers and payload. ...

1 answer  ·  posted 1y ago by Alexei‭  ·  last activity 1y ago by Derek Elkins‭

75%
+4 −0
Meta Deciding if a concept can be materialized to a tag

Note: this is inspired by the comments on this post and especially this one which mentions: We have tags for languages because people have interest or expertise in languages; likewise frameworks...

1 answer  ·  posted 2y ago by Alexei‭  ·  edited 2y ago by trichoplax‭

Question discussion tags
75%
+4 −0
Q&A Dealing with code maintenance when saving a large and complex entity in a single business transaction

Context I am currently working on migrating a legacy application to an ASP.NET Core + Angular application. The Web API's main project is based on Jason Taylor's template (clean architecture) and a...

1 answer  ·  posted 2y ago by Alexei‭  ·  last activity 2y ago by r~~‭

75%
+4 −0
Q&A What version of runtime environment does a .NET 5 application actually needs?

Our team deals with a legacy application that relies on a rather old deployment process and infrastructure: we deploy the application on an environment very similar to the production called Clon...

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

75%
+4 −0
Q&A WPF MVVM ListBox not updating

I haven't worked in WPF for a long time, but you might try setting a new list (clone the old one and add the new element) instead of adding the element to the existing list: _demo.Value++; var ne...

posted 2y ago by Alexei‭

Answer
75%
+4 −0
Code Reviews Measuring arithmetic overflow checking overhead in C#

Overflow checking for integral-type arithmetic operations is disabled by default and it can be explicitly enabled by using using checked function or the -checked compiler switch. Since I mainly de...

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

Question c# benchmarking
75%
+4 −0
Q&A What are the disadvantages of using auto mapper libraries?

I have noticed that lots of projects (both in real-world and within online courses) use Automapper to map domain models to view models, API models. The main advantage seems to be convenience by re...

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

Question automapper
75%
+4 −0
Q&A In the current development context (2020+), is there any reason to use database triggers?

I have not used a database trigger in years in the projects of the teams I have worked in, but I have seen them being used by other teams. Back in 2009, it seemed like a heated debate, but I am wo...

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

75%
+4 −0
Meta How to promote Software Development Codidact on LinkedIn?

I have recently blown off the dust off my LinkedIn profile and I have realized that I have hundreds of connections. An important fraction of all these connections are into software development and ...

0 answers  ·  posted 3y ago by Alexei‭

75%
+7 −1
Meta Strategy to migrate meaningful content from Stack Overflow

I was thinking about meaningful content that can be migrated (+ improved) from Stack Overflow. These categories pop into my mind: closed questions: we know Stack Overflow is very picky when it co...

2 answers  ·  posted 4y ago by Alexei‭  ·  last activity 4y ago by Mithical‭

75%
+4 −0
Q&A What are the disadvantages of using SQL Server Replication - Transactional Replication type?

The context A reports related process is directly reading the production operational database once about two hours. This involves reading all the data from some 70 tables which takes a couple minu...

0 answers  ·  posted 3y ago by Alexei‭

75%
+4 −0
Q&A Get the length of a slice from a multi-dimensional array

I think what you are looking for is Array.GetLength which: gets a 32-bit integer that represents the number of elements in the specified dimension of the Array.

posted 3y ago by Alexei‭

Answer
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 3y ago by Alexei‭  ·  edited 3y 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
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‭

75%
+4 −0
Q&A Not obligating http:// or https:// in a url field of a contact form

input type="url" works like this by design: An empty string ("") indicating that the user did not enter a value or that the value was removed. A single properly-formed absolute URL. This doesn'...

posted 3y ago by Alexei‭

Answer
75%
+4 −0
Q&A Why would an unique index get moved to the primary key after the underlying column is dropped?

I can't say that I fully understood what you did, but I think I got the explanation: removed 1+ columns that were part of the index. The index will be updated to not include that column. If...

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

Answer
75%
+4 −0
Q&A How can I add "withCredentials:true" for HTTP requests generated by Swagger UI?

I have added Swagger UI for an ASP.NET Core 3.1 application and I have realized that all endpoints requiring Windows Authentication fail. This issue is created by the fact that generated HTTP reque...

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

75%
+4 −0
Q&A Implementing impersonation in an ASP.NET Core Web application

I am working at a proof-of-concept for porting an ASP.NET MVC application to an ASP.NET Core API + Angular SPA. One of the features of the existing application is the ability of an admin (typically...

0 answers  ·  posted 4y ago by Alexei‭