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.

Activity for Alexei‭

Type On... Excerpt Status Date
Edit Post #287614 Initial revision over 2 years ago
Answer A: How to inject environment configuration values when deploying an Angular application in Kubernetes or similar infrastructure?
Note: this is mainly based on Build your Angular App Once, Deploy Anywhere article. Read this article, especially the drawbacks section. The basic idea is to create and read a configuration file that is kept as is when the Angular application is built (transpiled). I have made the following steps:...
(more)
over 2 years ago
Edit Post #287613 Post edited:
added relevant tags
over 2 years ago
Edit Post #287613 Initial revision over 2 years ago
Question 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 during the deployment as follows: - ASP.NET Core: appsettings.json tokens are replaced - Angular...
(more)
over 2 years ago
Edit Post #287612 Initial revision over 2 years ago
Question 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 among others relies on MediatR library. The UI/UX experience for already migrated business flows rel...
(more)
over 2 years ago
Comment Post #287607 @#53410 As referenced in my post, the (language agnostic) concept of interface is quite heavily used on SO. It is also an important concept used for most applications developed in C# or Java.
(more)
over 2 years ago
Comment Post #287607 AFAIK, "interface" is virtually the same thing in C# and Java. Not sure about other languages that seem to use the concept (e.g. ADA - https://www.adaic.org/resources/add_content/standards/05rat/html/Rat-2-4.html ). I guess that multiple languages that do not support multiple inheritance needs the co...
(more)
over 2 years ago
Comment Post #287606 I do not have a MAC to check this and could not find the docs about this difference, but it seems to refer to the same thing. Taking a look at the debugging settings from [here](https://github.com/MicrosoftDocs/visualstudio-docs/blob/main/docs/debugger/map-methods-on-the-call-stack-while-debugging-in...
(more)
over 2 years ago
Edit Post #287607 Initial revision over 2 years ago
Answer A: interface and interface-type tags
Yes, I have added that tag. I tried to create a tag to match the "interface when working with objects" concept. I am not happy with interface-type because it suggests `typeof(ISomeInterface)`, but I think it is less ambiguous than interface. What about interface-object-type? I am open to su...
(more)
over 2 years ago
Edit Post #287602 Post edited:
added relevant types
over 2 years ago
Comment Post #287598 What is the context of " I don't know what to do with the movies_scenes relation"? Why did you create this table in the first place?
(more)
over 2 years ago
Edit Post #287594 Post edited:
split in paragraphs for better readability
over 2 years ago
Edit Post #287595 Post edited:
fixed typo
over 2 years ago
Edit Post #287595 Initial revision over 2 years ago
Answer A: 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 privileges system, so that there []() always the same number of users with the top trust level and an...
(more)
over 2 years ago
Edit Post #287594 Post edited:
minor fixes + added relevant tag
over 2 years ago
Edit Post #287585 Nominated for promotion over 2 years ago
Edit Post #287568 Post edited:
added extra reference to newly received question
over 2 years ago
Edit Post #287568 Initial revision over 2 years ago
Question Should we allow answers generated by ChatGPT?
We got our first (mostly) ChatGPT answer in our community. Also, a question includes an adapted ChatGPT code that does not seem to do the job. StackOverflow has already banned ChatGPT answers and I am wondering how we should proceed in this case. From my perspective, we should also ban ChatGPT...
(more)
over 2 years ago
Comment Post #287565 The cited answer suggests `is_single_file` flag. This should not be specified by the user, but based on media type (1 for movies, 0 for applications etc.). As a side note, I am not confident that the answer covers the entire question.
(more)
over 2 years ago
Comment Post #287560 It would be useful to provide an example to better understand what are looking for. Just a couple of record values for each table would be enough. If `media` contains a lot of NULL values for some columns, one solution is to define another 1:1 table (uuid + those columns) and add a row there only ...
(more)
over 2 years ago
Comment Post #287551 A few/several thousand should be computed fast enough by "normal" (not involving more specialized hardware) math (i.e. using the CPU), that is solving those two equations mentioned in the other thread: computing a and b from your linear function f(x) = a*x + b.
(more)
over 2 years ago
Comment Post #287551 How many such points do you have? I guess the answer depends a lot if we are talking about thousands vs. millions.
(more)
over 2 years ago
Comment Post #287551 Not sure if I understood entirely your question, but it seems to boil down to a simple set of equations with two variables: The function is f(x) = a*x + b f(-1) = 0 => -a + b = 0 f(1) = 319 => a + b = 319 => b = 319 / 2, a = 319 / 2 Of course, this can be generalized to solve the equations...
(more)
over 2 years ago
Edit Post #287506 Nominated for promotion over 2 years ago
Comment Post #287509 Any reason to avoid defining an "utility" function for it? It is something normal in virtually all programming languages because frameworks and libraries will miss some specific functionality we need.
(more)
over 2 years ago
Comment Post #287512 Can you include the relevant details instead of providing links to repositories? This would make the question clearer.
(more)
over 2 years ago
Edit Post #287512 Question closed over 2 years ago
Comment Post #287506 Never worked with Qt, but I am wondering if `setStyleSheet` sets the entire styling for the element instead of merging existing styling (maybe inherited from some global styling). Possible relevant discussion [here](https://forum.qt.io/topic/135223/is-it-possible-to-append-stylesheet-into-existing-st...
(more)
over 2 years ago
Comment Post #287498 I am not into 3d development, but I am wondering about the following: - how src/main/resources/textures.png actually looks? - shouldn't the picture file be in some vectorial format to properly be displayed?
(more)
over 2 years ago
Edit Post #287498 Post edited:
added relevant tags
over 2 years ago
Comment Post #287493 Ref. to "there is something wrong with the expression of the first guard of this function below" - it is not clear what is the problem here.
(more)
over 2 years ago
Edit Post #287493 Question closed over 2 years ago
Edit Post #287432 Nominated for promotion over 2 years ago
Comment Post #287443 The post includes several topics which cannot be handled in a single answer: - "I am not able to upload it on Netlify or Vercel" - what is the exact issue you are encountering here? - "on Firebase as it may require some changes in my backend code and I don't how to do it" - what database are you ...
(more)
over 2 years ago
Edit Post #287443 Question closed over 2 years ago
Comment Post #287432 I am unfamiliar with Flutter, but I guess there must be some code to push the mutation (it seems like a JSON payload to me, is it a GraphQL query?). Not sure if that's relevant to the question, but it might be.
(more)
over 2 years ago
Edit Post #287407 Initial revision over 2 years ago
Question 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 in the database. The translated resources come from outside the store (resource files read using the...
(more)
over 2 years ago
Edit Post #287384 Post edited:
added relevant tag
over 2 years ago
Edit Post #287374 Nominated for promotion over 2 years ago
Comment Post #287364 Mod note: removed the previous comment, as it was not OK (see [Code of Conduct](https://software.codidact.com/policy/code-of-conduct)).
(more)
over 2 years ago
Edit Post #286575 Nominated for promotion over 2 years ago
Edit Post #287335 Nominated for promotion over 2 years ago
Comment Post #287357 Not sure why your latest information was added as an answer, but I have noticed that you have edited your post in the meantime included the relevant information (the new error messages) and removed the answer.
(more)
over 2 years ago
Edit Post #287356 Post edited:
added relevant tag
over 2 years ago