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
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
71%
+3 −0
Q&A Is there any justification for having a single tempdb database to be used by all databases on a SQL Server intstances?

Despite the fact that I have programmed against SQL Server for quite a while I did not pay much attention to the tempdb database. This is especially true if application logic is mostly written usin...

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

71%
+3 −0
Meta Closing self-answered question due to not being clear enough

I have a hard time deciding if How to get conditional running cumulative sum based on current row and previous rows? should be closed or not. As mentioned in the comments, it was already flagged t...

3 answers  ·  posted 5mo ago by Alexei‭  ·  last activity 2mo ago by Lundin‭

71%
+3 −0
Code Reviews Health checks with caching in ASP.NET Core

Context I noticed that an application was flooding the database with simple SELECTs. The investigation revealed some bugs in the health check which theoretically implemented caching (to avoid quer...

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

71%
+3 −0
Q&A How to inject environment configuration values when deploying an Angular application in Kubernetes or similar infrastructure?

Context I am currently migrating a Web application from on-prem infrastructure to K8s. The legacy infrastructure relies on defining some tokens in the configuration files and these are replaced d...

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

71%
+3 −0
Code Reviews Implement translatable UI in a Single Page Application when working with ngRx

I am currently working on an Angular SPA that supports multiple languages and relies on ngRx for state management. Although the application state is handled by ngRx, the current language is stored...

0 answers  ·  posted 2y ago by Alexei‭

71%
+3 −0
Q&A How to create an object, call one of it's methods and pass it as an argument as a oneliner?

If you do not mind having so much code on a single line, the builder pattern might be useful here. Something along the lines: Note: the example is adapted based on an implementation I have done in...

posted 2y ago by Alexei‭

Answer
71%
+3 −0
Meta Allow question and answers textareas to be resizable

Many questions and answers on Software might involve a lot of code that typically require more width and/or height to be displayed in a way that is easy to read. Why simply not enforce resize: non...

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

71%
+3 −0
Q&A Detecting if a user has stopped interacting with a web view for a certain time

I am interested in finding out all the aspects I need to cover in order to correctly assess if a user has stopped interacting with a web page. So far, I found the following: Idle Detection API -...

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

71%
+3 −0
Q&A Why static code analyzers such as SonarQube indicate a high code complexity for switch statements?

During a presentation of a pipeline configuration, a colleague showed a SonarQube integration and one of its reports. A warning was caused by overrunning the max value for the code complexity thres...

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

71%
+3 −0
Meta Should we allow questions about software quality assurance?

I would like to ask a question about the pros/cons of using a library or more generally a way of assertion of complex data models. This is more related to testing than it is to actual coding, but ...

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

71%
+3 −0
Q&A What are the disadvantages of using auto mapper libraries?

Based on my experience auto-mapping has some drawbacks: "find all references" not working as expected - anyone relying on the "find all references" functionality or similar will miss the impli...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A Tracking what users are searching in a content management system

Server-side solution If you can customize the server-side search functionality, you could add some logging information there. The advantages in this case are: store the data in a useful format ...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A Transferring files from a legacy project to an existing one as varbinary

Our team is currently transferring all functionality (+ some changes) from small and very old project A (almost code freeze) to project B (actively developed). As part of the data migration, there ...

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

71%
+3 −0
Meta Getting rid of "company tags" early on

I agree that company name tags should not be used, since tag can point to a product, framework etc. and that tag description includes the information about the owner of the product. Of course, for ...

posted 4y 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 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
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
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
71%
+3 −0
Q&A Are JavaScriptless forms accessible?

As indicated by your source using (or not) JS is mostly independent of accessibility since the latter is obtained mainly through HTML and CSS. As a side note, while not using JavaScript is an opti...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A PHP emails are sent when $message is a string, but not when its an array

As explained by manassehkatz, the message (aka the body) is a text in PHP (and many other programming languages). If your e-mails have a certain structure, you should create a function that takes ...

posted 3y ago by Alexei‭

Answer
71%
+3 −0
Q&A What are the factors to consider when deciding to split ORM queries or use eager loading?

I have extensive working experience with Entity Framework ORM and have noticed two major ways of writing LINQ (LINQ2SQL): lot of eager loading: the most prevalent, uses (lots) of Includes to eag...

0 answers  ·  posted 4y ago by Alexei‭

71%
+3 −0
Meta Cannot close a question as a duplicate due to "Invalid input for other post" error

Enable text-area for comments to be resized is a duplicate of Can comment input fields be vertically scalable?. I am trying to close it as a duplicate and provide the older question link, but I re...

1 answer  ·  posted 4y ago by Alexei‭  ·  edited 3y ago by Monica Cellio‭

71%
+3 −0
Meta What is the point of tagging a question with both a parent and a child tag?

I can provide an answer based on Stack Overflow experience. SO offered watches by tags. By using a general tag along with a more specific tag, users interested in [sql] will also get the question i...

posted 4y ago by Alexei‭

Answer
71%
+3 −0
Meta Are questions about web browsers on topic on Software Applications?

I have recently posted this question on Web Application SE and I am wondering if such a question would be on-topic here. The questions deals with understanding a feature of Google Chrome Developer ...

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

Question discussion on-topic