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 #284357 |
Post edited: added relevant tag |
— | over 3 years ago |
Comment | Post #284465 |
Can you please replace images with actual code / output text? (more) |
— | over 3 years ago |
Comment | Post #284379 |
I have removed the comments in this thread. Please do not use the comments on a certain question to discuss issues about other posts. (more) |
— | over 3 years ago |
Comment | Post #284402 |
Based on your answer, I added some information to the What type of questions can I ask here? section. Thanks. (more) |
— | over 3 years ago |
Edit | Post #284424 |
Post edited: added relevant tag |
— | over 3 years ago |
Comment | Post #284424 |
hkotsubo added the code in the question. Please [edit](https://software.codidact.com/posts/284424/edit) for changes to your questions, instead of posting an answer. I have already removed the answer as the code is visible in the post now. (more) |
— | over 3 years ago |
Edit | Post #278625 |
Post edited: added on-topic item about troubleshooting applications used for software development |
— | over 3 years ago |
Comment | Post #284415 |
Is [this documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML) helpful? It provides multiple use-cases with examples. (more) |
— | over 3 years ago |
Comment | Post #284378 |
@#36356 Yes, but the flag was very useful for discussing this situation, because it happens very often to developers to run into trouble while installing IDEs, packages etc. Lundin already provided great insight into how to approach this and I will update the What type of questions can I ask here? se... (more) |
— | over 3 years ago |
Edit | Post #284379 |
Post edited: added relevant tag |
— | over 3 years ago |
Edit | Post #284394 |
Post edited: added relevant tag |
— | over 3 years ago |
Edit | Post #284378 | Initial revision | — | over 3 years ago |
Question | — |
Should we allow questions about installation and configuration of software development tools? A recent flag for this question suggested that it would be a better fit for the Linux community. There is no motivation provided, but I guess it is related to the fact that most of the question and the answer deal with installing various packages using Ubuntu's package manager. However, the quest... (more) |
— | over 3 years ago |
Edit | Post #284353 | Initial revision | — | over 3 years ago |
Answer | — |
A: Get the length of a slice from a multi-dimensional array I think what you are looking for is Array.GetLength which: > gets a 32-bit integer that represents the number of elements in the specified dimension of the Array. (more) |
— | over 3 years ago |
Edit | Post #284345 |
Post edited: added relevant tags |
— | over 3 years ago |
Comment | Post #284345 |
@#53207 Please promote your comment to an answer since it is clearly an answer to OP's question. (more) |
— | over 3 years ago |
Edit | Post #284343 |
Post edited: added ubuntu tag, as the issue seems to be related to how the OS is configured |
— | over 3 years ago |
Edit | Post #284320 |
Post edited: added relevant tags |
— | over 3 years ago |
Edit | Post #284260 |
Post edited: added relevant tags |
— | over 3 years ago |
Edit | Post #284246 |
Post edited: added relevant tag |
— | over 3 years ago |
Edit | Post #284245 |
Post edited: minor fixes |
— | over 3 years ago |
Edit | Post #284245 | Initial revision | — | over 3 years ago |
Answer | — |
A: What are the disadvantages of using static methods in Java? I am not a Java developer, but a C# .NET one, but I guess static concept is very similar between the two. As in many areas, it depends, but for most applications using static should be avoided: - Single Responsibility Principle violation - prevents polymorphism - prevents abstraction (canno... (more) |
— | over 3 years ago |
Comment | Post #284243 |
I have changed the title to what I think is better summarising the content. Feel free to change something more appropriate if it does not fit your needs. (more) |
— | over 3 years ago |
Edit | Post #284243 |
Post edited: clarified the title |
— | over 3 years ago |
Edit | Post #284216 |
Post edited: added relevant tags |
— | over 3 years ago |
Edit | Post #282065 |
Post edited: added relevant tag |
— | over 3 years ago |
Edit | Post #284220 |
Post edited: added relevant tags |
— | over 3 years ago |
Edit | Post #284184 | Question closed | — | over 3 years ago |
Comment | Post #284183 |
What web server are you using? I think that the application type does not matter in this case and how the web server allows integration with monitoring tools is relevant here. (more) |
— | over 3 years ago |
Comment | Post #284160 |
Which browser did you use to "display" the XML? If I remember correctly, some of them display a "pretty-print" version by default, even if no schema is specified. (more) |
— | over 3 years ago |
Comment | Post #283975 |
@#36363 If you managed to make it work, please include an answer containing the solution, so that future users benefit from it. Thanks. (more) |
— | over 3 years ago |
Edit | Post #283975 |
Post edited: removed irrelevant tag |
— | over 3 years ago |
Comment | Post #283975 |
OK. Does locally including (executing) a remote JS work for you? Check [this](https://stackoverflow.com/questions/779739/how-do-i-include-a-remote-javascript-file-in-a-greasemonkey-script) (more) |
— | over 3 years ago |
Comment | Post #283975 |
[This answer](https://superuser.com/a/2815/530691) also shows how to trick Greasemonkey to work with the same shared location regardless of browser/machine. (more) |
— | over 3 years ago |
Comment | Post #283975 |
Not sure what you are asking here. Do you want to manage the user script in a single place and have it sync on multiple browsers?
Greasemonkey seems to support that [here](https://www.greasespot.net/2013/09/firefox-sync-coming-to-greasemonkey.html). (more) |
— | over 3 years ago |
Edit | Post #283830 |
Post edited: |
— | over 3 years ago |
Comment | Post #283830 |
Based on this discussion I have decided to scrap [console.readline] at tag the question with [stdin] instead. (more) |
— | over 3 years ago |
Comment | Post #283912 |
I am not sure why it fails for you (does switching to HTTP makes it work?), but I do not think it is the correct approach. You might try getting a new token on expiration as indicated [here](https://stackoverflow.com/a/62340222/2780791). (more) |
— | over 3 years ago |
Edit | Post #281148 |
Post edited: added relevant tag |
— | over 3 years ago |
Comment | Post #283876 |
Yes, googling for linewise-read retrieves results about how to read line by line in all sort of languages, so it seems to do the job. Thanks. (more) |
— | over 3 years ago |
Edit | Post #283876 |
Post edited: fixed a paragraph |
— | over 3 years ago |
Edit | Post #283876 | Initial revision | — | over 3 years ago |
Answer | — |
A: console.readline tag does not look good to me I have created this tag because reading lines from the standard input stream is a basic task found in many programming languages. I have also noticed that the tag exists on SO, but this is only to have a rough idea if the concept makes sense to more people (we do not have to copy their tags). [sta... (more) |
— | over 3 years ago |
Edit | Post #283849 |
Post edited: added relevant tag |
— | over 3 years ago |
Edit | Post #283842 |
Post edited: simplified the answer |
— | over 3 years ago |
Edit | Post #283842 |
Post edited: |
— | over 3 years ago |
Edit | Post #283842 | Initial revision | — | over 3 years ago |
Answer | — |
A: What might happen if I ignore warning? Not returning a value on all code paths is error-prone because the function might not return the expected value in the non-covered cases. That is why it is better to explicitly return a value. As a side note, Languages such as C# and Java prohibit this (compiler error). (more) |
— | over 3 years ago |