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
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‭

70%
+5 −1
Meta On self-answered questions, is it inappropriate to mark my own answer "Works for me" immediately?

I don't think it is inappropriate for someone to mark their own answer "Works for me" on self-answered questions, but it feels a little bit redundant since the answer is expected to work for the po...

posted 1y ago by Alexei‭

Answer
70%
+5 −1
Meta Closed Question Too Generic, Reason Unhelpful

I will provide an answer to this question in the context of this, now deleted question which included this relevant text before being edited and removed: How to implement a variable trust-based ...

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

Answer
66%
+4 −1
Meta Is there a way to add expiration for questions tags?

Comments from this question reveal that there is some aggressive caching related to question tags (what tags are used for a question). Unfortunately, after changing tags for several questions I ha...

0 answers  ·  posted 4y ago by Alexei‭

Question support tags
66%
+2 −0
Q&A How to perform LEFT JOIN using LINQ method call notation?

Note: this was tested in a .NET Framework 4.6.2 project. This answer provides an extension method that greatly simplifies (and makes it more intuitive) the written code: public static IQueryable&...

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

Answer
66%
+2 −0
Q&A How to perform LEFT JOIN using LINQ method call notation?

I am interested in performing a LEFT JOIN using LINQ-2-SQL when working with method call notation. This answer suggests a way that relies on GroupJoin but it is more verbose than expected: var le...

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

66%
+2 −0
Q&A Is it possible in MySQL to require each row in a table have at least one foreign key record in a join table?

ghost-in-the-zsh‭ provided a direct answer and I will try to offer a more general complementary one. One possible thing to try is a trigger that checks the integrity, but it cannot work for insert...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Meta Initial List of Tags

A good start would be the most popular tags from Stack Overflow. Another approach is to start from scratch and search for tags on Stack Overflow whenever needed. Those tags are already curated and ...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Meta Phantom answer in my notification list

My notification list includes the following entry: New answer to your question 'How many votes are required for special actions...' However, there is no answer for that question. I imagine that ...

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

66%
+2 −0
Meta Schrödinger's tag - appears in view mode, but not in edit

After removing two tags and adding another one for this question I have noticed that the tag list is not the same between view mode and edit: View mode: stack-memory + heap-memory + ram + memory-m...

0 answers  ·  posted 4y ago by Alexei‭

Question support tags
66%
+2 −0
Code Reviews Setting the authentication token in an Angular application for generated API clients

This is a post of mine from Code Review Stack Exchange which did not get an answer yet. I am developing an Angular application that consumes an external REST API. I am using OpenAPI generator (Typ...

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

66%
+2 −0
Code Reviews Measure ASP.NET Core 3.1 Web API action execution times

This is basically an unanswered code review request of mine from CodeReview Stack Exchange. I want to be able to log as accurately as possible, the time spent by a certain Web API action in an ASP....

0 answers  ·  posted 4y ago by Alexei‭

66%
+6 −2
Meta How will you balance demanding high quality questions with maximising the number of users?

One aspect that helps with having a good balance is to have an enough number of users that help newbies ask good (or at least decent) questions. This is something reachable within rather small comm...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Meta Adding a parent to a tag crashes on the server side (500)

Cross posted to Meta: https://meta.codidact.com/questions/278198 If I try to provide a parent to a tag, it crashes with 500. Error Id = 6bd06f30-539d-4b88-8743-eca32a8465cd Tag to edit = htt...

0 answers  ·  posted 4y ago by Alexei‭  ·  edited 2y ago by Monica Cellio‭

66%
+2 −0
Q&A In a stored procedure, is it possible to get the total number or rows updated by different statements?

One rather complicated way to get what you want (may be extended to multiple calls of statements and/or procedures) is through usage of MySQL Row-Based Binary Logs as explained here. This allows fo...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A How to perform LINQ joins with multiple fields in a single join?

The quickest way is to make an equal join on two anonymous objects: var result = from x in entity join y in entity2 on new { x.field1, x.field2 } equals new { y.field1, y.field2 } Ano...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A How to perform LINQ joins with multiple fields in a single join?

Note: this is an aggregate of the answer provided for this question. I want to get the LINQ equivalent of the following from SQL: SELECT .. FROM entity1 e1 JOIN entity2 e2 ON e1.field1 = e2.fie...

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

Question c# linq join
66%
+2 −0
Q&A How can I reduce the size of .svn folder?

svn cleanup --vacuum-pristines can be used to clean up the pristine copies that might take a lot of space (version 1.10+). In Windows, TortoiseSVN client has the option Vacuum pristine copies to ge...

posted 4y ago by Alexei‭

Answer
66%
+2 −0
Q&A How to upgrade a recent (>= 8) Angular CLI?

I have recently upgraded Angular CLI from version 9 to version 10 and I simply installed it again. npm install -g @angular/cli Existing version λ ng version Angular CLI: 9.1.8 Node: 12.18.0 OS: w...

posted 4y ago by Alexei‭

Answer