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 #280223 |
@TechnologicallyIlliterate†No, it does not confirm. By "cloud technologies" we mean the part that is related to software development. E.g. how to configure some authentication service, user and access rights or a load balancer when using a cloud provider. As written, your question is more related to... (more) |
— | over 4 years ago |
Edit | Post #280624 | Initial revision | — | over 4 years ago |
Question | — |
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 eager load children entities - split in multiple queries: rarely using Include, splits the loading in m... (more) |
— | over 4 years ago |
Comment | Post #280607 |
@Moshi It is the case, but I noticed this only after luap42 asked me to provide the URL. However, the closing as the duplicate process is a little bit confusing since it does not mention that the URL should be from the same community (or even better validate it on client side). (more) |
— | over 4 years ago |
Comment | Post #280607 |
Just noticed that I have entered the URL (https://meta.codidact.com/posts/277177), but the placeholder says that it also accepts the ID. I think the issue is that I pointing to a duplicate from another site (community). (more) |
— | over 4 years ago |
Edit | Post #280607 | Initial revision | — | over 4 years ago |
Question | — |
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 receive the following HTTP response: > {"status":"failed","message":"Invalid input for other post.... (more) |
— | over 4 years ago |
Edit | Post #279712 |
Post edited: removed irrelevant tag |
— | over 4 years ago |
Edit | Post #279676 |
Post edited: removed irrelevant tag |
— | over 4 years ago |
Edit | Post #280380 |
Post edited: |
— | over 4 years ago |
Edit | Post #280222 |
Post edited: added relevant tag |
— | over 4 years ago |
Edit | Post #280528 |
Post edited: added relevant tags |
— | over 4 years ago |
Edit | Post #280523 | Initial revision | — | over 4 years ago |
Answer | — |
A: C# MVVM Login Project Things you might consider to improve your code: 1. Use `nameof` instead of magic strings. Example: `OnPropertyChanged("User");` can be replaced with `OnPropertyChanged(nameof(User));`. This allows for renaming to properly work. 2. Consider using on ORM such as Entity Framework Core instead of e... (more) |
— | over 4 years ago |
Comment | Post #280512 |
Ref. to "PHP 7 PHP object is faster and lighter than array", can you please provide a reference to at least one benchmark? It is nice to provide references, so that future readers are able to find more. (more) |
— | over 4 years ago |
Edit | Post #280490 |
Post edited: |
— | over 4 years ago |
Edit | Post #280490 |
Post edited: |
— | over 4 years ago |
Edit | Post #280380 |
Post edited: |
— | over 4 years ago |
Comment | Post #280397 |
I added "Do not use" because currently there is no option to remove the tag. I could use a tag merge to get rid of it though. (more) |
— | over 4 years ago |
Edit | Post #280380 | Initial revision | — | over 4 years ago |
Question | — |
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? (more) |
— | over 4 years ago |
Comment | Post #280223 |
Unfortunately, this question is not [about Software Development](https://software.codidact.com/help/on-topic). (more) |
— | over 4 years ago |
Edit | Post #280223 | Question closed | — | over 4 years ago |
Edit | Post #280201 |
Post edited: added relevant tag |
— | over 4 years ago |
Comment | Post #280169 |
In most cases, the canonical way to fetch data from an external application is though its API. Reddit seems [to expose one](https://www.reddit.com/wiki/api). (more) |
— | over 4 years ago |
Edit | Post #280142 | Initial revision | — | over 4 years ago |
Question | — |
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 are automatically run at API startup. However, the service also uses several dozens of views and store... (more) |
— | over 4 years ago |
Comment | Post #280112 |
I also suspect this reason. Unfortunately, where I work it sometimes happens that folks to just copy-paste old projects configuration (in this case Jenkins job configuration) without wondering why a step is there. Thanks. (more) |
— | over 4 years ago |
Edit | Post #280097 | Initial revision | — | over 4 years ago |
Question | — |
Is it necessary for a build server to remove node_modules before an AOT build? I am currently dealing with an Angular application that is being deployed using an CI orchestrator and Jenkins. Jenkins job is configured to do the following (relevant steps only): - fetch sources from Git - remove nodemodules - `npm install` - perform AOT build (`--prod` + other optimizati... (more) |
— | over 4 years ago |
Edit | Post #280089 | Question closed | — | over 4 years ago |
Comment | Post #280089 |
Questions about programming resources are currently off-topic, as indicated [here](https://software.codidact.com/help/on-topic). However, asking questions about specific programming issues when working in Julia is on-topic. (more) |
— | over 4 years ago |
Edit | Post #278920 |
Post edited: added relevant tag |
— | over 4 years ago |
Edit | Post #277455 |
Post edited: added relevant tags |
— | over 4 years ago |
Comment | Post #279853 |
Not sure if this was mentioned, but we can have a "sandbox" or similar category just like they have on World Building SE: https://worldbuilding.meta.stackexchange.com/questions/639/how-does-the-sandbox-work-how-do-i-use-it . However, the flow is quite tedious (ask in the Sandbox, get feedback. post o... (more) |
— | over 4 years ago |
Comment | Post #279853 |
This is an interesting idea, but there are some drawbacks as shown on SO: https://meta.stackoverflow.com/questions/252781/would-it-be-a-terrible-idea-to-split-so-up-into-a-tiered-platform . (more) |
— | over 4 years ago |
Comment | Post #279744 |
Also, it is not clear why I need more classes. Indeed I might need more code in the tests since each test class defines its own mocks as opposed to the in-memory provider which might have a single place to define all mock data. The setup is actually simpler because it consists of defining mocks for D... (more) |
— | over 4 years ago |
Comment | Post #279744 |
That's an interesting perspective as I failed to realize that indeed the tests have to know something about the infrastructure (the DbSets actually). However, some aspects of your answer are not clear. In my case unit tests require the class to be tested + mocking. The alternative requires the class ... (more) |
— | over 4 years ago |
Comment | Post #279712 |
To be more precise, it is not saying that the questions are posted by luap42, but that the last change was made by luap42. In fact, this is true, but the issue is that that change is invisible for regular users (e.g. who cannot remove answers). (more) |
— | over 4 years ago |
Edit | Post #279671 |
Post edited: added relevant tag |
— | over 4 years ago |
Edit | Post #279649 |
Post edited: added relevant tag |
— | over 4 years ago |
Edit | Post #279555 | Initial revision | — | over 4 years ago |
Question | — |
What are the cons of directly mocking Entity Framework DbSets instead of working with an in-memory database when unit testing the application? I have recently contributed to a Clean Code project and had a discussion about how to implement unit tests. The project author argues for using an in-memory database (which easily replaces the real one) instead of mocking the DbSets and now I am doubting my own approach. The in-memory database... (more) |
— | over 4 years ago |
Comment | Post #279449 |
I think in order to fully understand you should provide more details. Is this task a custom task? (e.g. removes an existing file and downloads a newer version). The error might also appear when the file to delete is not found. Since this is not always happening, I suspect it is not related to Jenkins... (more) |
— | over 4 years ago |
Edit | Post #279436 | Initial revision | — | over 4 years ago |
Answer | — |
A: How much memory is allocated for a MySQL VARCHAR variable in a stored procedure? This answers your questions, not what I suspect to be real issue. According to the specifications a VARCHAR(100) will need actual data stored length + 1. So, the actual size would have mattered if you have used CHAR(100) instead: > The compact family of InnoDB row formats optimize storage fo... (more) |
— | over 4 years ago |
Comment | Post #278978 |
Also, can you provide more information about "run out of memory"? Is it the stack (too much recursion?) or another type of memory? (more) |
— | over 4 years ago |
Comment | Post #278978 |
Can you please post the relevant parts of your procedure? As written, this looks like an XY problem (i.e. the issue seems to be in the way the procedure is written not the VARCHAR length). (more) |
— | over 4 years ago |
Edit | Post #279424 | Initial revision | — | over 4 years ago |
Question | — |
Are any downsides of hiding the actual Entity Framework Core DbSets and exposing only some generic methods? I have recently started a project based on the clean architecture principle and noticed that it did not rely on generic repositories since Entity Framework's DbSets are doing the job just fine. In the referenced project the database context class implements an interface that exposes all the DbSets, b... (more) |
— | over 4 years ago |