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 #290630 | Nominated for promotion | — | 10 months ago |
Edit | Post #290584 | Nominated for promotion | — | 10 months ago |
Edit | Post #290660 | Nominated for promotion | — | 10 months ago |
Comment | Post #290655 |
I cleaned the question a little bit to include the relevant information only. Can you replace the image of (configuration) text with the text itself? More information about why code/configuration is better than an image can be found [here](https://software.codidact.com/posts/284871). (more) |
— | 10 months ago |
Edit | Post #290655 |
Post edited: removed less relevant information |
— | 10 months ago |
Edit | Post #290630 |
Post edited: clarified the title to be more about software development |
— | 10 months ago |
Comment | Post #290630 |
This is an interesting question and I think it is better suited for the power users community: https://powerusers.codidact.com/ . (more) |
— | 10 months ago |
Comment | Post #290613 |
As a side note, this has been requested by quite a while: https://gist.github.com/cardil/b29a81efd64a09585076fe00e3d34de7 (more) |
— | 10 months ago |
Edit | Post #290498 |
Post edited: fixed the title |
— | 10 months ago |
Edit | Post #290498 |
Post edited: keeping only the risks I understand |
— | 10 months ago |
Comment | Post #290498 |
@#54244 By API I mean the list of exposed endpoints by a Web API (in my case it is an ASP.NET Core API). The goal is the following:
- provide documentation for other teams
- allow easier testing for our team on non-DEV environments
We already have Swagger enabled on non-prod environments. so I... (more) |
— | 10 months ago |
Edit | Post #290546 | Initial revision | — | 11 months ago |
Answer | — |
A: Does Socket.AcceptAsync throw SocketException for any transient reason? The source code for the Socket.AcceptAsync class seems to be this one. The relevant code (the one related to exceptions being raised) is the following: ```c# private bool AcceptAsync(SocketAsyncEventArgs e, CancellationToken cancellationToken) { ThrowIfDisposed(); ArgumentNullException.... (more) |
— | 11 months ago |
Edit | Post #290526 | Question closed | — | 11 months ago |
Edit | Post #290520 | Question closed | — | 11 months ago |
Comment | Post #290520 |
@#76714 Can you [edit your post](https://software.codidact.com/posts/290520/edit) and include it? The post should include all the required information and not rely on some repo (that might disappear in the future). (more) |
— | 11 months ago |
Edit | Post #290520 |
Post edited: adjusted the title |
— | 11 months ago |
Comment | Post #290520 |
`speechsdk.VoiceProfile(voice_name, speechsdk.VoiceProfileType.Online)` seems to be missing from the provided code. Can you include this part as well?
Also, I have slightly improved the code, but I feel it needs some whitespace trimming. (more) |
— | 11 months ago |
Edit | Post #290520 |
Post edited: removed fluff + added relevant tag |
— | 11 months ago |
Comment | Post #290510 |
I agree about publicly available APIs (where the API is the product). I guess the referenced question dealt with not explicitly exposed APIs (e.g., those consumed by a SPA).
My question deals with internally accessible ones though. (more) |
— | 11 months ago |
Edit | Post #290498 | Initial revision | — | 11 months ago |
Question | — |
Best practices for company internal Swagger Docs in production The current project I am working on consists of a bunch of microservices (Web APIs) accessible only internally using Entra ID (formerly Azure ID). To simplify the development, all services expose Swagger Docs, but our SRE told us that Swagger Docs should be disabled in production. I understand ... (more) |
— | 11 months ago |
Comment | Post #290488 |
I think the question becomes more interesting in the context of most popular services (and most workplaces) demanding 2FA. Also, many providers, besides the 2FA, also notify (via e-mail or push) about a login (attempt).
I have noticed that the related SO question was asked 12 years ago and the 2F... (more) |
— | 11 months ago |
Comment | Post #290482 |
Share the relevant code and error messages as part of the question body. Use text, not images to show them. Without this, getting an answer is more difficult, and your question will most likely get closed.
For front-end errors check the Develop Tools for console messages (errors) and include the ... (more) |
— | 11 months ago |
Comment | Post #290396 |
Can you include some sort of wireframe to better understand what you want to achieve? Venn Diagrams is clear, but you mention "Not exactly but somehow..." which makes it a little bit unclear. (more) |
— | 12 months ago |
Edit | Post #290396 |
Post edited: Improved the title |
— | 12 months ago |
Edit | Post #290216 |
Post edited: removed tag scheduled for removal |
— | 12 months ago |
Edit | Post #290314 |
Post edited: added relevant tags |
— | 12 months ago |
Edit | Post #290279 |
Post edited: reverted the title |
— | 12 months ago |
Edit | Post #290282 | Initial revision | — | 12 months ago |
Answer | — |
A: How to speed up MySQL query? The main issue with your approach is that, in some cases, you execute a lot of queries to fetch the data. When working with SQL (regardless of relational flavor), you must aim from a set-based approach, that is, you do not execute multiple queries in a loop, but a bigger query. In your case, that ... (more) |
— | 12 months ago |
Edit | Post #290249 |
Post edited: formatted the code |
— | about 1 year ago |
Edit | Post #290217 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to automatically add package reference into project file after installing .NET package? Manually editing the `.fsproj` file followed by `dotnet build` worked because some `dotnet` commands have an implicit restore. I think this is the fastest way to add a dependency when you know its version. I have always used NuGet through its Visual Studio package manager, but I guess this is just... (more) |
— | about 1 year ago |
Edit | Post #290216 |
Post edited: highlighted the problem the question is about |
— | about 1 year ago |
Comment | Post #290165 |
Caching is typically used for storing reasonably small pieces of data. Is there any reason not to store the computed result in the database and use the streaming capabilities most database connectors offer to do your processing? (more) |
— | about 1 year ago |
Edit | Post #290124 | Question closed | — | about 1 year ago |
Comment | Post #290124 |
Can you include the source code related to the endpoint that is not found? Depending on the technology used for that API, there might be some kind of route prefix that you are missing out (e.g. `api`). (more) |
— | about 1 year ago |
Edit | Post #290084 |
Post edited: reverted the last edit because it does display properly |
— | about 1 year ago |
Edit | Post #290043 | Question closed | — | about 1 year ago |
Edit | Post #289998 | Initial revision | — | about 1 year ago |
Answer | — |
A: What software architecture are available for developing an application with multiple business domains that only share some common aspects? Important note: this is primarily based on personal fairly long experience with monolithic architectures and limited microservice-based architecture combined with others' experience with microservice-based architecture Based on your rather vague requirements and the data volume indicated in the co... (more) |
— | about 1 year ago |
Comment | Post #289948 |
Is Modular Monolithic Architecture an option? Do you have at least a basic idea about the performance requirements? Example: programs will be added/changed at a max of 100s/day, clients served in the 1000s. (more) |
— | about 1 year ago |
Comment | Post #289985 |
Indeed, such questions are not exactly welcomed as one of the close reasons states:
not constructive
This question cannot be answered in a way that is helpful to anyone. It's not possible to learn something from possible answers, except for the solution for the specific problem of the asker.
I... (more) |
— | about 1 year ago |
Edit | Post #289891 |
Post edited: removed irrelevant tag |
— | about 1 year ago |
Edit | Post #289932 | Question closed | — | about 1 year ago |
Edit | Post #289887 | Question closed | — | about 1 year ago |
Comment | Post #289887 |
Developer Tools -> Performance Tab might be helpful here. Is this happening only in Firefox or does the same happen in other browsers (e.g. Chrome, Edge, Safari)? (more) |
— | about 1 year ago |
Comment | Post #289985 |
Ref to "the code review section can be used for this." (for questions like "why is this code breaking" or "how do I fix this method returning wrong value".)
Code review explicitly states that the code must work:
Requests for reviews of existing code (must already work). (more) |
— | about 1 year ago |
Comment | Post #289985 |
Ref. to "A lot of people complain about such questions, because they are too localized/specific.": Can you clarify if this point from your post refers to SO or to Codidact? I think that this used to be a close reason for SO.
I have rechecked the help section and this type of question is allowed on... (more) |
— | about 1 year ago |