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 #288764 | Initial revision | — | almost 2 years ago |
Question | — |
Possible drawbacks for having duplicate local sources of the project tracking the same Git remote Context I have started working on an Angular upgrade for a medium-sized project (from v. 10 to v. 15) and this is a rather long activity that is interrupted by other changes that need to be performed on the same project. I have created another branch for the upgrade, but switching back to anoth... (more) |
— | almost 2 years ago |
Edit | Post #288759 | Initial revision | — | almost 2 years ago |
Answer | — |
A: How to move Rancher Desktop virtual disk file to another location? It seems that the file can be moved if rancher data is exported unregistered from WSL and reimported in a new location. The process is very similar to the one used for Docker Desktop. Example for my case: - `wsl -l -v` to get the distro name: WSL distro list - `wsl --shutdown` - `wsl --e... (more) |
— | almost 2 years ago |
Edit | Post #288758 | Initial revision | — | almost 2 years ago |
Question | — |
How to move Rancher Desktop virtual disk file to another location? I am using Rancher Desktop as an alternative to Docker Desktop. After using docker for a while I have noticed that `C:\Users\user\AppData\Local\Docker\wsl\data\ext4.vhdx` has grown quite a bit (20GB+) and it's taking a lot of space from the system drive space. I know that can I can "prune" it (rem... (more) |
— | almost 2 years ago |
Comment | Post #288735 |
According to [this thread](https://discuss.python.org/t/how-to-specify-extra-index-in-a-pyproject-toml-for-pip-and-pip-tools/23592), `pip config set global.extra-index-url` seems to be the way to globally set extra sources for the packages.
While the option exists in [the docs](https://pip.pypa.i... (more) |
— | almost 2 years ago |
Comment | Post #288728 |
Until you asked this question, I did not pay attention to this aspect. After reading [this question](https://meta.codidact.com/posts/280043/280056) and its answers, the bottom line seems to be along the following: "Reputation is nice feedback because it goes up when you do nice things and it goes dow... (more) |
— | almost 2 years ago |
Edit | Post #288560 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #288690 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #288407 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #278804 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #288690 |
Post edited: replaced with more specific hook tag |
— | almost 2 years ago |
Edit | Post #288615 |
Post edited: added tag |
— | almost 2 years ago |
Comment | Post #277930 |
@#61308 It can be considered a racial slur according to [Wikipedia](https://en.wikipedia.org/wiki/Fuzzy-Wuzzy#Legacy). (more) |
— | almost 2 years ago |
Edit | Post #288407 |
Post edited: removed too specific tag |
— | almost 2 years ago |
Edit | Post #277930 |
Post edited: replaced the example with a less problematic one |
— | almost 2 years ago |
Edit | Post #288615 |
Post edited: added relevant tags |
— | almost 2 years ago |
Comment | Post #288572 |
@Wicket I am glad that you joined the tag editing party.
From time to time I have noticed that tags behave strangely (I am putting the blame on some aggressive caching) by not being consistent between views after some additions/editing/merges are being made and sometimes being rolled back. It is ... (more) |
— | almost 2 years ago |
Comment | Post #288576 |
I also agree with the idea of VBA-related questions being on-topic and the formula-related or other Excel usage ones as off-topic, unless they are linked to the usage of certain Excel generation libraries (e.g. ClosedXML, EPPlus) which might have affected formulas and/or other features. (more) |
— | almost 2 years ago |
Edit | Post #288560 |
Post edited: added relevant tags |
— | almost 2 years ago |
Comment | Post #285399 |
@#8046 I have written a post on my LinkedIn profile which received little reaction from my network. That post is a simplified version of this one. (more) |
— | almost 2 years ago |
Comment | Post #288464 |
[This video](https://www.youtube.com/watch?v=wRep_S7oVIA&ab_channel=RawCoding) shows how hard it can be for a good programmer to understand another framework. (more) |
— | almost 2 years ago |
Edit | Post #288464 | Initial revision | — | almost 2 years ago |
Answer | — |
A: Should I delete my trivial, lack-of-research question? I agree with Dirk Herrmannâ€'s answer about this: > What if a question is beginner level? I would say: Someone should answer it. > Some of the beginner level questions on stackoverflow have received answers that explain things in wonderful ways. While your question seems trivial for a seaso... (more) |
— | almost 2 years ago |
Comment | Post #288438 |
I have very little experience with Java, but the error messages sound like there might be some missing dependencies in the pom.xml file:
https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-media-multipart
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-dat... (more) |
— | almost 2 years ago |
Edit | Post #288338 |
Post edited: added relevant tags |
— | almost 2 years ago |
Edit | Post #286152 |
Post edited: minor fixes |
— | almost 2 years ago |
Comment | Post #288299 |
Ref. to "The test data is created ad-hoc and not managed." - this can be improved
- test data scripts should be part of your project (i.e. in Git)
- any breaking change in models (add/remove column) should also involve changing the test data.
- aim for automatic running of scripts as part of you... (more) |
— | almost 2 years ago |
Comment | Post #288299 |
From your post, it is not clear how the test data is being stored and managed. Normally, it is expected for test data to be adjusted (not completely regenerated) when the models / tables schema is changed.
For example, when a column is dropped adjust the data seed / SQL scripts to not include tha... (more) |
— | almost 2 years ago |
Comment | Post #288302 |
I have just tried this in Windows 10 (version 20H2, build 19042) -> cmd -> pick some directory -> `code .` and a single VS Code is opening. The VS Code version is 1.79.0 in my case.
This is working regardless of whether VS Code is already opened or not.
What OS are you using? (more) |
— | almost 2 years ago |
Edit | Post #288299 |
Post edited: added relevant tags |
— | almost 2 years ago |
Edit | Post #288218 | Initial revision | — | almost 2 years ago |
Question | — |
When is it OK for duplication of information between message header and payload in a distributed software application? A friend is involved in rewriting a distributed software application and while discussing the architecture, we noticed that in many cases the messages had duplication between headers and payload. The headers mostly include metadata such as a correlation id, a phone number identifier, client ident... (more) |
— | almost 2 years ago |
Edit | Post #288152 |
Post edited: added related tag |
— | almost 2 years ago |
Edit | Post #288121 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #288099 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #288041 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #288091 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #287994 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #288085 | Nominated for promotion | — | almost 2 years ago |
Comment | Post #288059 |
Can you print out (echo?) your queries and include them in the post, so that it is clear what is being executed? This should help with identifying the issue.
Security tip: Try using [parameterized queries](https://www.php.net/manual/en/mysqli.prepare.php) to avoid SQL Injection. (more) |
— | almost 2 years ago |
Edit | Post #288059 |
Post edited: replaced what seems to be a real e-mail with an example one |
— | almost 2 years ago |
Edit | Post #288046 |
Post edited: minor fixes |
— | almost 2 years ago |
Edit | Post #288046 | Initial revision | — | almost 2 years ago |
Answer | — |
A: Updating the database reverses previous changes I did not find the exact cause of your issue, but inserts should not be treated as updates. One way to do this is the following: ```c# static void InsertPost(Post post) { using var context = new BloggingContext(); context.Posts.Add(post); context.SaveChanges(); } var newPost =... (more) |
— | almost 2 years ago |
Comment | Post #288042 |
I think this paragraph requires some clarification:
"Unfortunately, the presence of this file will automatically kick off an npm install in Digital Ocean App Platform. This is causing some issues because I intentionally am not building that kind of app."
If I understand correctly, you are using... (more) |
— | almost 2 years ago |
Edit | Post #288034 | Nominated for promotion | — | almost 2 years ago |
Comment | Post #285937 |
This is an interesting approach. I can't tell for Java, but for .NET (ASP.NET Core mostly) using an in-memory provider is not fashionable anymore due to various limitations and quirks. References include a [Jimmy Bogard's article](https://jimmybogard.com/avoid-in-memory-databases-for-tests/) and the ... (more) |
— | almost 2 years ago |
Comment | Post #287994 |
I cannot check right now what happens by generating data in the database and actually run the code, but the fact that you are using entities across "database context boundaries" (e.g. blog is obtained as an entity from a disposed context and then used in other database contexts) is a red flag for me.... (more) |
— | about 2 years ago |