Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

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 #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
about 2 years ago
Edit Post #288121 Nominated for promotion about 2 years ago
Edit Post #288099 Nominated for promotion about 2 years ago
Edit Post #288041 Nominated for promotion about 2 years ago
Edit Post #288091 Nominated for promotion about 2 years ago
Edit Post #287994 Nominated for promotion about 2 years ago
Edit Post #288085 Nominated for promotion about 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)
about 2 years ago
Edit Post #288059 Post edited:
replaced what seems to be a real e-mail with an example one
about 2 years ago
Edit Post #288046 Post edited:
minor fixes
about 2 years ago
Edit Post #288046 Initial revision about 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)
about 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)
about 2 years ago
Edit Post #288034 Nominated for promotion about 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)
about 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
Edit Post #287970 Nominated for promotion about 2 years ago
Edit Post #287940 Post edited:
Shortened the title
about 2 years ago
Edit Post #287940 Post edited:
split in paragraphs for better readability
about 2 years ago
Comment Post #287931 I have updated the [on-topic list](https://software.codidact.com/help/on-topic) based on your suggestions.
(more)
about 2 years ago
Edit Post #278625 Post edited:
added information about SEO
about 2 years ago
Edit Post #287932 Nominated for promotion over 2 years 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 2 years ago
Edit Post #287918 Post edited:
added missing information
over 2 years ago
Edit Post #287918 Initial revision over 2 years 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 2 years ago
Edit Post #287914 Post edited:
added relevant tag
over 2 years ago
Edit Post #287914 Post edited:
title is a question
over 2 years ago
Edit Post #287914 Post edited:
used example.com instead of the actual blog
over 2 years ago
Edit Post #287903 Nominated for promotion over 2 years ago
Edit Post #287905 Nominated for promotion over 2 years ago
Edit Post #287856 Nominated for promotion over 2 years ago
Edit Post #287856 Post edited:
added relevant tags
over 2 years ago
Edit Post #287851 Post edited:
minor title fix + added tag
over 2 years ago
Edit Post #287814 Nominated for promotion over 2 years ago
Edit Post #287814 Post edited:
added back tags
over 2 years ago
Edit Post #287845 Nominated for promotion over 2 years ago
Comment Post #287818 Thanks for the code review. My initial code was a complete mess. I have applied your second suggestion. Indeed I also favor composition over inheritance (which is also favored due to using DI basically everywhere except for some infrastructure code).
(more)
over 2 years ago
Edit Post #287804 Post edited:
added rewritten code based on review
over 2 years ago
Comment Post #287783 @#53549 I am wondering if it wouldn't be easier to read the registry key using [winreg](https://docs.python.org/3/library/winreg.html) instead of doing it indirectly using Powershell.
(more)
over 2 years ago
Edit Post #287807 Nominated for promotion over 2 years ago
Edit Post #287799 Nominated for promotion over 2 years ago
Comment Post #287785 Did you check the EventViewer? I expect for IIS to log something there when a worker is crashing.
(more)
over 2 years ago