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 #279543 |
Post edited: |
— | over 3 years ago |
Edit | Post #277134 |
Post edited: |
— | over 3 years ago |
Edit | Post #278262 |
Post edited: |
— | over 3 years ago |
Edit | Post #277137 |
Post edited: |
— | over 3 years ago |
Edit | Post #281624 |
Post edited: |
— | over 3 years ago |
Edit | Post #278939 |
Post edited: |
— | over 3 years ago |
Edit | Post #278625 |
Post edited: |
— | over 3 years ago |
Edit | Post #277134 |
Post edited: added order |
— | over 3 years ago |
Edit | Post #277136 |
Post edited: added order |
— | over 3 years ago |
Edit | Post #277137 |
Post edited: added order |
— | over 3 years ago |
Edit | Post #284175 | Nominated for promotion | — | over 3 years ago |
Edit | Post #282565 | Nominated for promotion | — | over 3 years ago |
Edit | Post #284553 | Nominated for promotion | — | over 3 years ago |
Edit | Post #284596 | Nominated for promotion | — | over 3 years ago |
Edit | Post #284646 | Nominated for promotion | — | over 3 years ago |
Edit | Post #284708 | Nominated for promotion | — | over 3 years ago |
Edit | Post #278767 | Nominated for promotion | — | over 3 years ago |
Edit | Post #278767 |
Post edited: added relevant tags |
— | over 3 years ago |
Edit | Post #284910 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285050 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285104 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285021 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285225 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285366 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285499 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285720 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285746 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285745 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285844 | Nominated for promotion | — | over 3 years ago |
Edit | Post #285917 | Nominated for promotion | — | over 3 years ago |
Comment | Post #285875 |
I do not think we need this category, because we already allow such questions. Examples:
[Best practices in setting up a development & production environments](https://software.codidact.com/posts/285908)
[Why object-oriented instead of class-oriented?](https://software.codidact.com/posts/285720... (more) |
— | over 3 years ago |
Edit | Post #278625 |
Post edited: |
— | over 3 years ago |
Edit | Post #278625 |
Post edited: |
— | over 3 years ago |
Comment | Post #285870 |
This is a great idea. Based on your proposal and the only answer + its comments, I have changed the section contents.
"What type of questions can I ask here?" has also become the first item in the Guidance category.
I will follow this Q&A and update the section if needed. (more) |
— | over 3 years ago |
Edit | Post #278625 |
Post edited: |
— | over 3 years ago |
Edit | Post #278625 |
Post edited: cleanup based on https://software.codidact.com/posts/285870 |
— | over 3 years ago |
Edit | Post #285939 |
Post edited: added relevant tag |
— | over 3 years ago |
Comment | Post #285916 |
Using localstorage is a great idea.
Ref. to "the app might be closed before the idle state is reached, and that a closing app might no longer be able to communicate with the outside", I thought about this and that is why I have mentioned the
beforeunload event which allows to mark the tab/brows... (more) |
— | over 3 years ago |
Edit | Post #285911 |
Post edited: fixed the question |
— | over 3 years ago |
Edit | Post #285911 | Initial revision | — | over 3 years ago |
Question | — |
Allow question and answers textareas to be resizable Many questions and answers on Software might involve a lot of code that typically require more width and/or height to be displayed in a way that is easy to read. Why simply not enforce `resize: none` and allow the user to resize the textarea to their needs (if the browser allows it and they want t... (more) |
— | over 3 years ago |
Comment | Post #285844 |
@#53280 I thought of using this for the following: evaluating SPA usage time (i.e. consider last activity + a time interval) or automatically saving some data after an idle period. (more) |
— | over 3 years ago |
Edit | Post #285885 | Initial revision | — | over 3 years ago |
Answer | — |
A: Preloading some data at application startup as fast as possible One way to do this is to launch a Task at application startup as soon as possible (the DI is configured). The only hard part is to make DI available in the prewarm functionality. The following implementation is based on this article. ```c# /// /// Credit: https://anduin.aiursoft.com/post/202... (more) |
— | over 3 years ago |
Edit | Post #285884 |
Post edited: added relevant tags |
— | over 3 years ago |
Edit | Post #285884 | Initial revision | — | over 3 years ago |
Question | — |
Preloading some data at application startup as fast as possible I am caching some very static information (changes once per day) in my ASP.NET Core application. This is normally done when needed ("lazy"). One such cache item is a 50K list of items that are taking less than 500ms when the application is deployed and about one second in the development environme... (more) |
— | over 3 years ago |
Edit | Post #285843 |
Post edited: added more code for the caching example |
— | over 3 years ago |
Edit | Post #285873 | Initial revision | — | over 3 years ago |
Question | — |
What are the drawbacks of using data snapshot testing? Our team is finally focusing on writing more automatic testing and one of my ex-colleagues recommended to try out the Verify library. The tool does the following: - runs the test and compares the JSON serialization of the actual result with a JSON file named after the test name. The first run w... (more) |
— | over 3 years ago |