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
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 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
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 1y ago by Alexei‭  ·  edited 1y 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 1y ago by Alexei‭  ·  last activity 1y 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 1y 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 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 2y ago by Alexei‭  ·  last activity 2y 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 2y 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 2y 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 2y ago by Alexei‭  ·  last activity 2y ago by Derek Elkins‭

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 2y ago by Alexei‭  ·  last activity 2y ago by Derek Elkins‭

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
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
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 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 26d ago by Michael‭

71%
+3 −0
Q&A What is an example for a URI which is not a URL?

This article shows in a concise and graphical way the difference between URIs and URLs. A URI is an identifier of a specific resource. Like a page, or book, or a document. A URL is special ...

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

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

71%
+3 −0
Meta Do we need the fullstack tag?

Edit: I have removed the tag. Thanks for the feedback. I am inclined to add a "do not use" request in fullstack tag's description because it is quite vague. What do you think about it?

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

71%
+3 −0
Q&A How to manage views and stored procedures in an ASP.NET Core project?

I am slowly modernizing an older ASP.NET Core Web API and one of the steps involved migrating from database first to code first. Now, all schema changes and seeding is covered by migrations which ...

0 answers  ·  posted 3y ago by Alexei‭

71%
+3 −0
Q&A Is there a way to automatically fix MySQL tables where the auto_increment has fallen behind the correct value?

This is possible in two steps by using a dynamic SQL: SET @nextId = (SELECT MAX(id) + 1 FROM `CustomTable` ); SET @sql = CONCAT('ALTER TABLE `CustomTable` AUTO_INCREMENT = ', @nextId[]()); PREPA...

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

Answer
71%
+3 −0
Q&A In MySQL is there a limit to the number of keys in a IN() clause?

According to the documentation for the MySQL IN function: The number of values in the IN() list is only limited by the max_allowed_packet value. The default value for it is 67108864. So, you...

posted 3y ago by Alexei‭

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

Question discussion on-topic