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 #285500 Initial revision almost 3 years ago
Question How to deeply clone an array in Angular / TypeScript?
I have an array that I need to clone in Angular / Typescript. That is, any change done on an element from the cloned array should not affect the content of the initial array. How can I achieve this?
(more)
almost 3 years ago
Edit Post #285499 Initial revision almost 3 years ago
Question Using nested paths vs. flat ones for API resources
This is based on a code review discussion that I had with a colleague about the way I have designed the resources paths for an ASP.NET Core controller that is currently consumed only internally (by a SPA). The paths were flattened (e.g. GET /api/productreview/{reviewId}) and my colleague argued th...
(more)
almost 3 years ago
Edit Post #285399 Post edited:
added Quasímodo‭'s feedback
almost 3 years ago
Comment Post #285399 @#53919 Indeed, I have also noticed that SO managed to get more and more users, but there are simply not enough folks to answer them. Before Codidact, in order to get answers for most of the questions I had to rely on bounties. Now I have Codidact :) This is also shown in the answer rate graph fr...
(more)
almost 3 years ago
Edit Post #285493 Post edited:
added relevant tag
almost 3 years ago
Edit Post #285489 Initial revision almost 3 years ago
Question Can I set a memory limit for the .NET Core garbage collector to collect objects more aggressively?
I have an ASP.NET Core 5 web application that provides functionality that involves file upload + rather large processing (memory consumption mainly). After each processing (with success or not) the memory could be reclaimed. I have a stress test the endpoint with large files and checked the w3wp.e...
(more)
almost 3 years ago
Edit Post #285472 Post edited:
added relevant tag
almost 3 years ago
Comment Post #285472 Would a userscript that defines a hotkey to hide the element be OK? Somethink like: ``` window.addEventListener("the_key", setupHideElement, false); function setupHideElement(key) { // locate and hide element here } ```
(more)
almost 3 years ago
Comment Post #285396 @#8176 It is similar to that (did not know it exists, but it is a very nice thing). However, I think it is easier to have a default text for a question directly as a question body. I guess this is the main reason why GitHub uses this method: it helps the user not to forget to include important inform...
(more)
almost 3 years ago
Edit Post #285399 Post edited:
added Lundin's suggestion
almost 3 years ago
Edit Post #285454 Post edited:
added relevant tags
almost 3 years ago
Edit Post #285456 Initial revision almost 3 years ago
Answer A: Tracking what users are searching in a content management system
Server-side solution If you can customize the server-side search functionality, you could add some logging information there. The advantages in this case are: - store the data in a useful format and avoid parsing general-purpose logs - you can also store some metadata related to the found resu...
(more)
almost 3 years ago
Edit Post #285451 Post edited:
added relevant tag
almost 3 years ago
Edit Post #285451 Post edited:
added relevant tag
almost 3 years ago
Comment Post #285399 @#54706 I guess you are talking about [this](https://meta.codidact.com/posts/280058). I do not remember seeing them actually used though. I guess it requires explicit activation at the community level.
(more)
almost 3 years ago
Comment Post #285399 @#54706 Yes, I would not advertise it now. However, I think it makes sense to tackle this somehow before the numbers run high and include it in future site promotion. Professionals tend to dislike messy questions and an important fraction of newbies posts low-quality posts. Without a separation like ...
(more)
almost 3 years ago
Edit Post #285399 Post edited:
added suggestions from Monica
almost 3 years ago
Edit Post #285394 Post edited:
added relevant tag
almost 3 years ago
Edit Post #285399 Initial revision almost 3 years ago
Question Promoting the advantages Codidact Software has over Stack Overflow or similar communities
Note: some of these points are relevant for all communities, but I would like to focus on Software Development for now I am thinking of promoting Software Codidact, but I could not find a single page to include a list of advantages it has over other similar platforms, mostly against the SO. Wha...
(more)
almost 3 years ago
Edit Post #285398 Initial revision almost 3 years ago
Question How to promote Software Development Codidact on LinkedIn?
I have recently blown off the dust off my LinkedIn profile and I have realized that I have hundreds of connections. An important fraction of all these connections are into software development and might be interested into using a platform like Codidact. The Codidact Foundation is also on LinkedIn ...
(more)
almost 3 years ago
Edit Post #285396 Initial revision almost 3 years ago
Question Question templates for guidance
I am wondering if it makes sense to define a template for questions. This would act as a guideline rather than a strict template to be followed. I have seen this being used for GitHub issues and I think it would help virtually all users to tick some points when asking most of the software developm...
(more)
almost 3 years ago
Comment Post #285389 The files are immutable. Only addition and deletion are allowed to the actual content. Only metadata might be updated.
(more)
almost 3 years ago
Edit Post #285389 Initial revision almost 3 years ago
Question Transferring files from a legacy project to an existing one as varbinary
Our team is currently transferring all functionality (+ some changes) from small and very old project A (almost code freeze) to project B (actively developed). As part of the data migration, there are about 10GB of files to be transferred. Currently, project B stores files as varbinary in the data...
(more)
almost 3 years ago
Edit Post #285366 Post edited:
added relevant tag
almost 3 years ago
Edit Post #285177 Post edited:
properly formatted the code
almost 3 years ago
Edit Post #285298 Post edited:
minor fixes, removed the fluff
almost 3 years ago
Edit Post #285218 Question reopened almost 3 years ago
Comment Post #285218 @#54706 I have approved your edit as it is clearly better than the initial post (no useless code provided). However, it still sounds like "do my homework for me" as opposed to asking a more targeted question (as suggested in another comment thread).
(more)
almost 3 years ago
Edit Post #285274 Post edited:
added relevant tag
almost 3 years ago
Edit Post #278063 Post edited:
minor fixes
almost 3 years ago
Comment Post #285244 I do not know Python, but it support [dictionaries](https://www.programiz.com/python-programming/dictionary). You can construct a dictionary for the second table : Name -> { Description, Amount}. You iterate through the first table row by row and perform lookups in the constructed dictionary. This s...
(more)
almost 3 years ago
Edit Post #285225 Post edited:
replaced tag with a more specific one
almost 3 years ago
Comment Post #285218 Can you include in the question the actual problem you have in the code? Is the replacement working as expected? If it does, consider [adding a review](https://software.codidact.com/posts/new/1/44) instead. If it does not work as expected, specify what is wrong (e.g. wrong string after replacement or...
(more)
almost 3 years ago
Edit Post #285204 Post edited:
added relevant tags + clarified the text
almost 3 years ago
Comment Post #285190 Since the underlying cause is mostly a typo (extra # in the element id) as per [this comment](https://software.codidact.com/comments/thread/5265#comment-15191) and the existing answer) I closed this question.
(more)
almost 3 years ago
Edit Post #285190 Question closed almost 3 years ago
Comment Post #285190 Did you check [FormData's documentation / examples](https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects)? It seems that you cannot directly construct a FormData from an Element.
(more)
almost 3 years ago
Comment Post #285179 Debouncing is meant to reduce strain on the server and its period can be tweaked (latency vs. number of issued requests). This can be coupled with cancellation to play nice with the server and inform about the obsolete requests. An example using Angular can be seen [here](https://alligator.io/angular...
(more)
almost 3 years ago
Edit Post #285176 Post edited:
fixed the last paragraph
almost 3 years ago
Edit Post #285176 Post edited:
clarified the title
almost 3 years ago
Edit Post #285176 Initial revision almost 3 years ago
Question Dealing with GETs with long query strings in ASP.NET Core
One of the recent business requirements is to be able to search through a list of entities using a bunch of filters. Most of these filters allow multiple values and the user might theoretically provide more than 100 selected filter values (some of the filters are even implemented as tree views due to...
(more)
almost 3 years ago