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 #280985 | Initial revision | — | about 4 years ago |
Answer | — |
A: How to reason about transaction isolation during development One way to go is probably to use some kind of transaction scope to include everything (SELECT from order and INSERT into shipment) with a high enough transaction isolation (e.g. SERIALIZABLE for SQL Server). However, this might prove very expensive if you need a high transaction throughput. In pr... (more) |
— | about 4 years ago |
Comment | Post #280970 |
@meriton Yes, it does not seem to cover your case. Since we can safely assume that the time between the order SELECT and shipment INSERT is very short, is it acceptable to fix such issues (which will be very rare) using an async job or similar? (more) |
— | about 4 years ago |
Edit | Post #280977 | Question closed | — | about 4 years ago |
Edit | Post #280975 | Question closed | — | about 4 years ago |
Comment | Post #280975 |
Relevant Q&A to provide some insight about how hashes are used in picture comparison: https://stackoverflow.com/questions/4853185/how-does-comparing-images-through-md5-work (more) |
— | about 4 years ago |
Comment | Post #280974 |
Currently, the question lacks quite a deal of information to be able to help you. What programming language/framework are you using? Should this be done programmatically or you only need a piece of software to do this? (more) |
— | about 4 years ago |
Edit | Post #280974 | Question closed | — | about 4 years ago |
Comment | Post #280965 |
I was the one that missed including this point in the on-topic section. Sorry about that. I have updated the section and provided an answer with more details. (more) |
— | about 4 years ago |
Edit | Post #280978 | Initial revision | — | about 4 years ago |
Answer | — |
A: Are code troubleshooting posts allowed? Yes Questions about troubleshooting your non-working code are on-topic, provided that you include enough information for the community to understand the context (SO names this minimal reproducible example) and at least one attempt / debugging information. I have also updated the What type of qu... (more) |
— | about 4 years ago |
Edit | Post #278625 |
Post edited: added missing on-topic type about troubleshooting |
— | about 4 years ago |
Comment | Post #280970 |
What you are describing seems to be a concurrency management control issue. I am not sure what ORM you are using, but it might have support for concurrency. I have experience mainly with EF which can take care of these cases through [concurrency checks](https://www.learnentityframeworkcore5.com/handl... (more) |
— | about 4 years ago |
Comment | Post #280933 |
I have closed this question because the issue is a simple typographical error (format is an argument for the print, not a function to be applied to the print result). Also, check [this help page](https://software.codidact.com/help/on-topic). (more) |
— | about 4 years ago |
Edit | Post #280933 | Question closed | — | about 4 years ago |
Edit | Post #280852 |
Post edited: |
— | about 4 years ago |
Edit | Post #280852 | Initial revision | — | about 4 years ago |
Answer | — |
A: Is it possible to disable the "mysql: [Warning] Using a password on the command line interface can be insecure" warning? There are multiple ways to do this. Just picked two that I find more usable (not very insecure or hard to do). 1. Use a configuration file to store the credentials mysql --defaults-extra-file=/full/path/to/config.cnf and the configuration file should contain the login data: [cl... (more) |
— | about 4 years ago |
Comment | Post #280795 |
I also think this question is too general as it is right now and I agree with the reasons stated in the other comments. (more) |
— | about 4 years ago |
Edit | Post #280795 | Question closed | — | about 4 years ago |
Comment | Post #280778 |
@FractionalRadix I agree to keep this type of question at the current stage. However, one non-technical reason (e.g. too broad) IMO is that for a developer it is far more useful to try and error and ask focused questions than having a general question with some answer(s). It involves much more effort... (more) |
— | about 4 years ago |
Comment | Post #280778 |
This is an interesting question, but it is quite broad. We encourage people to search a bit for possible solutions and ask more specific questions in our community. Please take a look at [How to ask a great question](https://software.codidact.com/help/how-to-ask). (more) |
— | about 4 years ago |
Comment | Post #280662 |
Your question from Software Engineering SE is no longer available (I guess it was removed in the meantime). (more) |
— | about 4 years ago |
Comment | Post #280666 |
For non-relational databases (I have little experience with them) I would use a repository for each of them. Never used a TransactionScope like this, but I guess I would have the transaction outside of the Application (in some repository or service). Is it recommended to work like this? I thought tha... (more) |
— | about 4 years ago |
Edit | Post #280666 | Initial revision | — | about 4 years ago |
Answer | — |
A: How to separate DB query logic from the application other than implementing a repository on top of an ORM? > p.s. I'm not sure whether the criticism applies only to generic repositories or not. This applies to generic repositories as most of their operations (e.g. get entity by id, update the entity, delete entity) are already being done by the DbSet). > consuming the ORM directly from the Appli... (more) |
— | about 4 years ago |
Comment | Post #280662 |
Check [this article](https://www.thereformedprogrammer.net/is-the-repository-pattern-useful-with-entity-framework-core/) for a good insight about your issue. (more) |
— | about 4 years ago |
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) |
— | about 4 years ago |
Edit | Post #280624 | Initial revision | — | about 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) |
— | about 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) |
— | about 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) |
— | about 4 years ago |
Edit | Post #280607 | Initial revision | — | about 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) |
— | about 4 years ago |
Edit | Post #279712 |
Post edited: removed irrelevant tag |
— | about 4 years ago |
Edit | Post #279676 |
Post edited: removed irrelevant tag |
— | about 4 years ago |
Edit | Post #280380 |
Post edited: |
— | about 4 years ago |
Edit | Post #280222 |
Post edited: added relevant tag |
— | about 4 years ago |
Edit | Post #280528 |
Post edited: added relevant tags |
— | about 4 years ago |
Edit | Post #280523 | Initial revision | — | about 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) |
— | about 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) |
— | about 4 years ago |
Edit | Post #280490 |
Post edited: |
— | about 4 years ago |
Edit | Post #280490 |
Post edited: |
— | about 4 years ago |
Edit | Post #280380 |
Post edited: |
— | about 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) |
— | about 4 years ago |
Edit | Post #280380 | Initial revision | — | about 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) |
— | about 4 years ago |
Comment | Post #280223 |
Unfortunately, this question is not [about Software Development](https://software.codidact.com/help/on-topic). (more) |
— | about 4 years ago |
Edit | Post #280223 | Question closed | — | about 4 years ago |