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 |
---|---|---|---|---|
Comment | Post #291175 |
Having a global state like this (let's call it "unmanaged" global state) is considered evil in many programming languages. It's mostly related to predictability: if a function relies on some piece of global state, it becomes less predictable since other parts of the application can change that piece ... (more) |
— | 2 days ago |
Comment | Post #291132 |
This seems to be more related to sociology rather than software development since it asks about explanations related to software developers behavior. (more) |
— | 5 days ago |
Comment | Post #291070 |
[Asking software architecture related questions on Software Development community](https://software.codidact.com/posts/277429) is closely-related to this one.
I agree that "many interesting questions and problems in software development are really questions about system design" and this is an imp... (more) |
— | 15 days ago |
Comment | Post #290767 |
Is there any difference between google-sign-in and sign-in-with-google? If they are the same thing, I will keep only one and make the other a synonym. (more) |
— | about 1 month ago |
Comment | Post #290747 |
This is a big topic (Transformer Architecture, data processing, training, attention mechanisms, evaluation, tuning, etc.) and I do not think this is answerable in Codidact's format.
[The Narrated Transformer Language Model](https://jalammar.github.io/illustrated-transformer/) might help get you s... (more) |
— | about 2 months ago |
Comment | Post #290430 |
The provided URL seems to help solve OP's issue, but we expect more focused answers (i.e. including some CSS in this case). (more) |
— | 2 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) |
— | 2 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) |
— | 2 months ago |
Comment | Post #290613 |
As a side note, this has been requested by quite a while: https://gist.github.com/cardil/b29a81efd64a09585076fe00e3d34de7 (more) |
— | 2 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) |
— | 3 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) |
— | 3 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) |
— | 3 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) |
— | 3 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) |
— | 3 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) |
— | 3 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) |
— | 4 months 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) |
— | 5 months 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) |
— | 5 months 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) |
— | 6 months 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) |
— | 6 months 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) |
— | 6 months 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) |
— | 6 months 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) |
— | 6 months ago |
Comment | Post #289975 |
It seems that postgresql allows to define check constraints that use a custom function. In this case it would include a select count children for a particular parent id. The downsides you have mentinoned are still there: harder to spot on table definition and might lead to performance issues.
Con... (more) |
— | 6 months ago |
Comment | Post #289932 |
Gbee.ai seems to be a rather large platform with multiple services. What are you trying to achieve? Without more context, it is hard to receive an answer. (more) |
— | 6 months ago |
Comment | Post #289891 |
Why the design-feedback tag? It sounds like a tag related to UI/UX. human-readable might be more appropriate, but it does not sound in the spirit of [Tag creation/deletion criteria for Software Development?](https://software.codidact.com/posts/289420). (more) |
— | 6 months ago |
Comment | Post #289891 |
It is not clear what you want to achieve. For me, it sounds like a way to do the following operations:
- (already happening) Some logs provide Maildir filenames (not exactly human readable)
- run a script to read the file and fetch minimal human-readable information like a truncated subject
I ... (more) |
— | 6 months ago |
Comment | Post #289887 |
Can you provide more context information that makes this question more about Software Development (e.g. page being slowed down by a script you own) rather than Power User (some website that has a slow page)? (more) |
— | 6 months ago |
Comment | Post #289844 |
Ref. to "I would like to have my code separated while working on it, but would like my users to just import "MyLibrary" and have all the important stuff together there."
Is it supposed to be a convenience for the library consumer? I am asking because both Visual Studio and AFAIK Rider can automati... (more) |
— | 6 months ago |
Comment | Post #289829 |
You can have a local Git branch that has been pushed (the question suggests that a local branch is the same as an unpushed one).
[This article](https://www.freecodecamp.org/news/how-to-delete-a-git-branch-both-locally-and-remotely/) provides a nice explanation about removing a local branch. This c... (more) |
— | 6 months ago |
Comment | Post #289741 |
Ref. to "a big cache of things-each-user-can-see". In your case, it is reasonable to pre-compute the user access to some entities, if these are rarely changed (which most likely happens). I have seen this done in an application and it can work decently.
I would recommend trying to do this for 2-3 ... (more) |
— | 6 months ago |
Comment | Post #289714 |
@dnmnbg I have closed the question because it cannot be unanswered in its current form. Add more details as specified by Karl Knechtel by [editing it](https://software.codidact.com/posts/289714/edit) and we will reopen it. (more) |
— | 6 months ago |
Comment | Post #289691 |
As I agree that Software Development should welcome questions of type, would it make sense to tag them using `[computer-science]` (for questions related to the more theoretical part of programming) or similar? This would also help in the future, should we decide to create a special category for them.... (more) |
— | 7 months ago |
Comment | Post #289691 |
This question is being discussed on [meta](https://software.codidact.com/posts/289694). (more) |
— | 7 months ago |
Comment | Post #289625 |
Is the tensorflow-graph-mode added tag related to https://www.tensorflow.org/guide/intro_to_graphs?
Also, it sounds very narrow, I am not sure if we should have a tag about this. (more) |
— | 7 months ago |
Comment | Post #285541 |
I stumbled across this topic after one year and realized other resources are indicating to actually mocking the cache, [including the author](https://github.com/rgvlee/LazyCache.Testing).
I had completely forgotten about this Q&A, but it appeared in one of my Google searches. (more) |
— | 7 months ago |
Comment | Post #289539 |
It would be helpful to provide more context (where is the non-working code placed? Is it inside a controller?).
These [controller-related](https://docs.phalcon.io/5.0/en/controllers#request---response) docs for 5.0 might help to understand how to get the request reference. (more) |
— | 7 months ago |
Comment | Post #289429 |
Ref. to "I didn't even consider that Codidact allows case-sensitive tags until very recently." - If you write an existing tag using a different case, Codidact will not create a new tag, but use the existing one (i.e. case insensitive search and match).
Ref. to the `char` vs `CHAR` example, I think... (more) |
— | 7 months ago |
Comment | Post #289427 |
Ref. to "package managers install files in system locations" - this is not clear if this is supposed to be a feature of package managers in general or the Python ones. For example, NuGet package manager [installs global packages](https://learn.microsoft.com/en-us/nuget/consume-packages/managing-the-g... (more) |
— | 7 months ago |
Comment | Post #289346 |
Can you also tag the question with the Windows version? (7, 10, 11) Not sure, but it might be relevant. (more) |
— | 8 months ago |
Comment | Post #289250 |
The only answer provided to the referenced SO question suggests that disabling the element that currently has the focus is most likely undefined and various user agents might treat it differently. ("it‘s quite likely that the Web Standards don’t define the case of a focused element becoming inactive.... (more) |
— | 8 months ago |
Comment | Post #289159 |
@#61308 Yes, I have embedded that link. (more) |
— | 8 months ago |
Comment | Post #289155 |
`git submodule update --remote` seems to do the job according to [this article](https://gist.github.com/gitaarik/8735255). (more) |
— | 8 months ago |
Comment | Post #289121 |
Ref. to " I don't like to type a long URL software.codidact.com every time to view the front page." - this should not be an issue with modern browsers which (by default) store the URL history and use it to provide URL autocompletion. (more) |
— | 8 months ago |
Comment | Post #289085 |
Is `value = "["SCD"]["CL0"]"` valid syntax in Python? It looks like those double quotes are not escaped.
Ref. to "the data types do not agree and changing the data type does not help" - can you provide more context? do you receive an error? if yes, which is it? which types are involved? (actual vs... (more) |
— | 8 months ago |
Comment | Post #289027 |
localStorage is typically handled similarly to other "side effects" (e.g. HTTP calls) and the operations related to it are handled outside of the reducer functions (e.g. middlwares). [createListenerMiddleware](https://redux-toolkit.js.org/api/createListenerMiddleware) seems up to do this. (more) |
— | 8 months ago |
Comment | Post #289027 |
I have experience working with ngrx (an Angular similar approach) and I have noticed that your reducer functions mutate de state. AFAIK, the reducer functions should be pure and one typically returns the new state (clone initial state + make changes + return).
For example `
const authPending = (... (more) |
— | 8 months ago |
Comment | Post #289016 |
Transferring such content is a great idea. I am wondering if it makes sense to split in Q&As for each specific error/case.
Pros:
- an answer is more to the point and does not mix somewhat unrelated errors/issues
- easier to link to the answer in case of duplicate questions
Cons:
- requires... (more) |
— | 8 months ago |
Comment | Post #289009 |
[This article](https://lizrush.gitbooks.io/algorithms-for-webdevs-ebook/content/chapters/nudity-detection.html) provides a high-level explanation related to nudity detection in an efficient way. (more) |
— | 9 months ago |
Comment | Post #288993 |
Is it possible to debug step by step? `post_comment_to_lemmy` is doing quite a lot of stuff and it would be a quick way to find out where the program "hangs". (more) |
— | 9 months ago |