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 #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) |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288464 | Initial revision | — | over 1 year 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) |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288338 |
Post edited: added relevant tags |
— | over 1 year ago |
Edit | Post #286152 |
Post edited: minor fixes |
— | over 1 year 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) |
— | over 1 year 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) |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288299 |
Post edited: added relevant tags |
— | over 1 year ago |
Edit | Post #288218 | Initial revision | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288152 |
Post edited: added related tag |
— | over 1 year ago |
Edit | Post #288121 | Nominated for promotion | — | over 1 year ago |
Edit | Post #288099 | Nominated for promotion | — | over 1 year ago |
Edit | Post #288041 | Nominated for promotion | — | over 1 year ago |
Edit | Post #288091 | Nominated for promotion | — | over 1 year ago |
Edit | Post #287994 | Nominated for promotion | — | over 1 year ago |
Edit | Post #288085 | Nominated for promotion | — | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288059 |
Post edited: replaced what seems to be a real e-mail with an example one |
— | over 1 year ago |
Edit | Post #288046 |
Post edited: minor fixes |
— | over 1 year ago |
Edit | Post #288046 | Initial revision | — | over 1 year 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) |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #288034 | Nominated for promotion | — | over 1 year 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) |
— | over 1 year 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) |
— | over 1 year ago |
Edit | Post #287970 | Nominated for promotion | — | over 1 year ago |
Edit | Post #287940 |
Post edited: Shortened the title |
— | over 1 year ago |
Edit | Post #287940 |
Post edited: split in paragraphs for better readability |
— | over 1 year ago |
Comment | Post #287931 |
I have updated the [on-topic list](https://software.codidact.com/help/on-topic) based on your suggestions. (more) |
— | over 1 year ago |
Edit | Post #278625 |
Post edited: added information about SEO |
— | over 1 year ago |
Edit | Post #287932 | Nominated for promotion | — | over 1 year ago |
Comment | Post #287918 |
Oh, sorry. Somehow I forgot to mention the SE ecosystem which has a dedicated community for Webmasters and the SEO-related questions are split (the programming ones can be asked on SO while the others on the Webmasters community). I have fixed my post. (more) |
— | over 1 year ago |
Edit | Post #287918 |
Post edited: added missing information |
— | over 1 year ago |
Edit | Post #287918 | Initial revision | — | over 1 year ago |
Question | — |
Should we allow SEO related questions? We have recently received a search engine optimization (SEO) question. Our scope currently does not explicitly include or exclude such questions, so I thought we should clarify this. Possible options: - allow only programming-related SEO questions (e.g., ensuring website compatibility with d... (more) |
— | over 1 year ago |
Edit | Post #287914 |
Post edited: added relevant tag |
— | over 1 year ago |
Edit | Post #287914 |
Post edited: title is a question |
— | almost 2 years ago |
Edit | Post #287914 |
Post edited: used example.com instead of the actual blog |
— | almost 2 years ago |
Edit | Post #287903 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #287905 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #287856 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #287856 |
Post edited: added relevant tags |
— | almost 2 years ago |
Edit | Post #287851 |
Post edited: minor title fix + added tag |
— | almost 2 years ago |
Edit | Post #287814 | Nominated for promotion | — | almost 2 years ago |
Edit | Post #287814 |
Post edited: added back tags |
— | almost 2 years ago |
Edit | Post #287845 | Nominated for promotion | — | almost 2 years ago |