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
Comment Post #285489 @#53280 Yes, I have not realized the XY problem in my post. I have added a paragraph to clarify this.
(more)
over 2 years ago
Comment Post #285489 Unfortunately, the application I am developing now is running on servers that are shared by multiple .NET applications and the memory is not that generous (although its price is pretty low when compared to other software development costs).
(more)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 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)
over 2 years ago
Comment Post #285169 Before trying to understand the code, it would be better to understand the concept. Example: https://www.geeksforgeeks.org/linked-list-set-1-introduction/
(more)
over 2 years ago
Comment Post #285100 Welcome to Software Codidact. Please avoid pasting images of code or errors, if they can be simply pasted as text. More details [here](https://software.codidact.com/posts/284871).
(more)
over 2 years ago
Comment Post #284612 @#54212 Yes, that's basically a duplicate. I cannot close it as duplicate (cannot provide a link outside of this community), but I have added a note.
(more)
over 2 years ago
Comment Post #285054 @#53196 Yes, you are right. However, since the post does not contain the whole relevant code, I was wondering about the actual issue. I feel that this might be an XY problem, but it is impossible to tell without more code.
(more)
over 2 years ago
Comment Post #285054 Ref. to "the input isn't recognized (the form won't be submitted)" - this sounds strange. When a form is submitted, all its values (except the disabled controls one I guess) should be posted. Normally, there should be no need for explicit event dispatching, unless there is a particular way to impleme...
(more)
over 2 years ago
Comment Post #285019 Until the relevant HTML and the entire JS code are provided, it is virtually impossible to answer this question, so I have closed this question. Of course, once it becomes answerable, I will reopen it.
(more)
over 2 years ago
Comment Post #281308 @#36356 Yes, I was confused. I have removed the tag. Thanks.
(more)
over 2 years ago
Comment Post #284935 "When you update the DOM, the reflow and repaint happen. Every time the DOM changes, the browser needs to recalculate the CSS, do a layout and repaint the web page." - [credit](https://stackoverflow.com/a/60201343/2780791).
(more)
over 2 years ago
Comment Post #284872 Yes, good idea. I have already edited the "How to ask a great question" section. I guess that if we want to change this section in a consistent way across the whole network, I guess that this can be announced in the moderator-lounge so that moderators apply the change to their community page.
(more)
over 2 years ago
Comment Post #284904 That's an interesting idea. I would call them "properties" instead (this might be better for devs, but worse for the general population though). For each post type, we could define (only moderators and staff) what properties are allowed for its answers. Example: Software general posts can have a prop...
(more)
over 2 years ago
Comment Post #284806 Can you provide the actual waiting time for running your code? Example: run your code for 10K times and tell us how much it took to end.
(more)
over 2 years ago
Comment Post #284803 Can you please replace the picture of the code with the actual code? This helps with copy-paste of your code in order for folks to check it and provide an answer.
(more)
over 2 years ago
Comment Post #284778 Hey, Fyoni‭! Welcome to Software Codidact. I am not sure if I understand correctly. Do you want to display the cart items grouped by store, in a two-level tree (view)? If this is what you want, please check [this](https://www.w3schools.com/howto/howto_js_treeview.asp) and [this](https://www.ph...
(more)
over 2 years ago
Comment Post #284747 Can you please also provide some explanation besides the code? This helps future readers understand the proposed solution.
(more)
over 2 years ago
Comment Post #278899 @#53023 Currently there is no automatic way to migrate a Q&A from a community to another. Can you please create a self-answered Q&A directly there (add a question, copy-paste from here, and add your answer to it)? Following this, I will edit the question here to include a link to the new location. Th...
(more)
over 2 years ago
Comment Post #284549 @#53305 That's a good point and I have edited my answer. Thanks.
(more)
over 2 years ago
Comment Post #284465 Can you please replace images with actual code / output text?
(more)
over 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 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 2 years ago
Comment Post #283412 I have added the GitHub issue as a reference (if I understood correctly the missing dependency is installed using a different package manager, but it is the same package).
(more)
over 2 years ago
Comment Post #283198 It works for me, but I am a mod. Tried with a regular user on the development environment and it indeed does not work as expected: https://a.dev.codidact.org/posts/186/187#answer-187
(more)
over 2 years ago
Comment Post #282828 I had to remove the comments that are clearly not helpful / not relevant to the question. Please use comments to provide constructive criticism related to the question. I have temporarily locked this thread for cooldown.
(more)
almost 3 years ago