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 #287255 |
I have edited your question to include the error message (which should be added in the question, not an answer). Can you provide more details such as the application type, relevant package versions, etc.? Without it, it is hard to receive an answer and the question will be closed. (more) |
— | over 1 year ago |
Comment | Post #287152 |
Never worked with Lua, but [this page](https://www.gammon.com.au/scripts/doc.php?lua=os.rename) suggests that the function returns two values: `ok, message = os.rename (oldname, newname)`. Does it work to fetch a message in this case and thus receive (hopefully) an error?
(more) |
— | over 1 year ago |
Comment | Post #286910 |
@#54029 That's a good suggestion and this is currently being [discussed on meta](https://software.codidact.com/posts/287107). You might refine your comment and post it as an answer there. (more) |
— | over 1 year ago |
Comment | Post #286976 |
I have forked a StackBlitz from Angular docs and it seems to work as expected:
https://stackblitz.com/edit/angular-c2kmlm?file=src/app/datepicker-locale-example.html (more) |
— | over 1 year ago |
Comment | Post #287010 |
Do you receive any of those authentication errors when "it works" (Angular app renders something)?
Anyway, this seems more of a networking issue rather than a software development one. [Power users Codidact](https://powerusers.codidact.com/) deals with such questions. (more) |
— | over 1 year ago |
Comment | Post #287009 |
http://acuriostudi.apps.cloud.local/api-hub/api-hub/designs is not solved for me. Also, this is an HTTP URL and your error suggests that an HTTPS resource (port 443 instead of 80) is used. (more) |
— | over 1 year ago |
Comment | Post #286910 |
We currently consider asking for recommendations [offtopic](https://software.codidact.com/help/on-topic). (more) |
— | over 1 year ago |
Comment | Post #286884 |
When do you receive the error? Is it a runtime error or a build error? I am wondering if the issue is not related to [the one described here](https://stackoverflow.com/questions/49820069/how-to-change-uwp-app-folder-name-or-path). (more) |
— | over 1 year ago |
Comment | Post #286813 |
Yes, data-presentation sounds OK. (more) |
— | over 1 year ago |
Comment | Post #285148 |
I have rolled back to the last version that includes the code (not sure why the OP decided to remove the code though). (more) |
— | almost 2 years ago |
Comment | Post #286641 |
I have rolled back the question to its initial version and this answer is now obsolete. (more) |
— | almost 2 years ago |
Comment | Post #285222 |
I have rolled back the last edit because it removed all the meaningful information in the post. (more) |
— | almost 2 years ago |
Comment | Post #286520 |
@#8135n OK. This makes sense. I haven't worked with WPF / MVVM pattern for quite some time, so the following might not apply.
Normally, the UI (the grid in this case) should not directly work with database models as what you store is typically different from what you display and also due to a sep... (more) |
— | almost 2 years ago |
Comment | Post #286520 |
What does `_context.TagType` contain when you are trying to save in `SaveAllTagTypes`? I assume it contains the initially loaded items, because [the documentation](https://docs.microsoft.com/en-us/dotnet/api/system.collections.objectmodel.observablecollection-1.-ctor?view=net-6.0#system-collections-o... (more) |
— | almost 2 years ago |
Comment | Post #286440 |
Offtopic/inflammatory comments removed (more) |
— | almost 2 years ago |
Comment | Post #286390 |
Strangely, we had two tags with the exact same name, so I have merged them. (more) |
— | almost 2 years ago |
Comment | Post #286306 |
I closed the question because it is not clear what it is being asked. The title suggests a way to remove the pseudo elements, but a previous comment actually mentions removing regular text inside a DOM element. (more) |
— | almost 2 years ago |
Comment | Post #285801 |
Since the solution was to use the correct type of parenthesis, it is not particularly helpful for future readers. (more) |
— | almost 2 years ago |
Comment | Post #286306 |
I think it makes sense to understand how the pseudo-elements are actually creating the trouble in your case and why you want them removed. I am not very knowledgeable in CSS, but I guess that such brute-force approaches might seriously mess the layout (i.e. the pseudo-elements are there for a reason)... (more) |
— | about 2 years ago |
Comment | Post #286276 |
This question is not on-topic on Software Development. Please use the Power User site. Be sure to include any relevant details (what have you tried, error messages). (more) |
— | about 2 years ago |
Comment | Post #286275 |
This question is not on-topic on Software Development. Please use the [Power User site](https://powerusers.codidact.com/). Be sure to include any relevant details (what have you tried, error messages). (more) |
— | about 2 years ago |
Comment | Post #286272 |
Thanks for letting us know about the underlying cause of your issue. Since you are still not happy with the solution and have another question, can you please post it separately? (more) |
— | about 2 years ago |
Comment | Post #286210 |
Just a thought. I think imask complains because it is not the only managing input's value (what it displays), since NgbDatePicker is also trying to change it following date selection. Why not use [NgbDatePicker's](https://ng-bootstrap.github.io/#/components/datepicker/overview) formatting options ins... (more) |
— | about 2 years ago |
Comment | Post #286219 |
Actually, it is just something I have noticed and that needs to be taken into account when looking for a solution. It makes things more complicated when compared to all nodes being in DOM, but hidden. (more) |
— | about 2 years ago |
Comment | Post #286219 |
When clicking on a parent node, the child nodes are lazy-loaded (they do not exist in the DOM).
Initial state
```
<div class="CategoryTreeChildren" style="display:none"></div>
```
After clicking (abbreviated):
```
<div class="CategoryTreeChildren" style="">
<div class="CategoryTree... (more) |
— | about 2 years ago |
Comment | Post #286216 |
Can you please also provide the HTML / the way it is built dynamically? Currently, the relationship between nodes and their children is not clear and it is needed to be able to go through the descendants and uncollapse through clicking. (more) |
— | about 2 years ago |
Comment | Post #286210 |
Can you please provide the relevant code? It is hard to fully understand the issue without it. (more) |
— | about 2 years ago |
Comment | Post #286164 |
Does it work if you set a new list (clone the old one and add the new element) instead of adding the element to the existing list? (basically, the bound value is immutable) (more) |
— | about 2 years ago |
Comment | Post #286151 |
Please post your compilation errors as text, not as an image. Check [this post](https://software.codidact.com/posts/284871) for more details. (more) |
— | about 2 years ago |
Comment | Post #286065 |
I am wondering if it works if you change the server-side "reload" to a [client-side one](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload): `location.reload()` (more) |
— | about 2 years ago |
Comment | Post #286065 |
I have not programmed in PHP for ages, but looking [at the docs](https://www.php.net/manual/en/function.setcookie.php) it seems that "Once the cookies have been set, they can be accessed on _the next page load_ with the $_COOKIE array." Your code seems to immediately redirect and the cookies array mi... (more) |
— | about 2 years ago |
Comment | Post #286047 |
I am not working with a Java IDE, but I am wondering if you have the option to place a breakpoint for `x.foo` and step over it (might also work with dragging current execution point to a subsequent instruction). (more) |
— | about 2 years ago |
Comment | Post #286041 |
[This article](https://www.danielsieger.com/blog/2021/01/03/generating-platonic-solids.html) might be useful in getting a more generic way of building a dodecahedron. (more) |
— | about 2 years ago |
Comment | Post #286017 |
How about using [the builder pattern](https://howtodoinjava.com/design-patterns/creational/builder-pattern-in-java/). You create a builder class (`FooBuilder`) for Foo. I guess the test could like the following:
`new FooBuilder().withX(42).build().getY()`.
The advantage of this pattern is that ... (more) |
— | about 2 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) |
— | about 2 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) |
— | about 2 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) |
— | about 2 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) |
— | about 2 years ago |
Comment | Post #285865 |
Software recommendation questions are [offtopic on Software Development](https://software.codidact.com/help/on-topic), but they seem [to be welcomed on Power Users](https://powerusers.codidact.com/posts/284817/284902#answer-284902). (more) |
— | about 2 years ago |
Comment | Post #285843 |
@#53398 Yes, you are right. TransactionScopes should be avoided. The only valid case where I needed explicit transaction management (as opposed to context save changes one) was when the transaction performed both reads and delete on the same records (read -> archive -> remove) and EF could not figure... (more) |
— | about 2 years ago |
Comment | Post #285839 |
@#53305 Ref. to "Just a stupid idea: What if the observed results are not due to the use of checked, but an artifact of the JIT compiler or due to external factors influencing your benchmark run (like, do you have other stuff running on your box that might possibly intermittently load the CPU and che... (more) |
— | about 2 years ago |
Comment | Post #285838 |
@#53305 Not familiar with how SonarQube actually works, but I guess it computes the cyclomatic complexity and complains about going beyond a certain threshold. So it ignores the actual instructions.
Ref. how to avoid I have never used anything beyond the simple mapping. And also in this case, I wo... (more) |
— | about 2 years ago |
Comment | Post #285829 |
I agree and I will wait for a few days for other feedback before adding a line to the on-topic list. (more) |
— | about 2 years ago |
Comment | Post #285800 |
@#8176 I have used "branch prediction" in this case. Your answer already has +4 and I can make amendments to the on-topic/off-topic section as feedback comes. (more) |
— | about 2 years ago |
Comment | Post #285800 |
I have already integrated your feedback in the What type of questions can I ask here? section as it provides a good explanation about what is on-topic and what is not. Thanks. (more) |
— | about 2 years ago |
Comment | Post #285799 |
I remember working on a project where the initial devs defined explicit mappings for all the members, including the ones that were identical between the mapped models. The final code was way larger than using simple assignments. (more) |
— | about 2 years ago |
Comment | Post #285735 |
@#8049 Done. It makes more sense as you mentioned. Thanks. (more) |
— | about 2 years ago |
Comment | Post #285569 |
@#36363 Questions not about code are OK, as long as they are close to the development process. Example: https://software.codidact.com/posts/285389. Here I am not providing any code and neither do the answers. However, I am speaking about specific implementation details, not just a rough idea. (more) |
— | over 2 years ago |
Comment | Post #285569 |
@#36363 Software developers should understand the business requirements and think about a way to implement them. If they are not sure about a particular aspect of the architecture, they can come to Codidact, provide the relevant details and ask about the particular aspect they want to clarify.
Of... (more) |
— | over 2 years ago |
Comment | Post #285569 |
Can you please make the question more about Software Development? Currently, it sounds more like a "marketing" or UX at best. (more) |
— | over 2 years ago |