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 elgonzo‭

Type On... Excerpt Status Date
Edit Post #283056 Post edited:
over 3 years ago
Edit Post #283056 Post edited:
over 3 years ago
Edit Post #283056 Initial revision over 3 years ago
Answer A: Tags are highlighting while my favourite tags is empty
I found simple steps to repro the issue on Firefox: 1. In your preferences, set some favourite tag(s). Make sure you click outside of the favourite tags edit field to make sure the edit field has lost input focus.(When the edit field is losing input focus, data in the browser's local storage is up...
(more)
over 3 years ago
Comment Post #283015 Yeah, i figured as much. Hence why i deleted my original comment and wrote another comment to highlight my previously expressed suspicion being wrong. (i unfortunately can not edit thread title, though...)
(more)
over 3 years ago
Comment Post #283015 [Snip] ... deleted my former comment. Thinking about it somewhat longer, i guess the suspicion i had expressed about what's going on doesn't really match your case. Hmm...
(more)
over 3 years ago
Comment Post #282839 @Istiak, i did a test, creating and writing a comment in it. Then i deleted the comment again. The comment thread **did** disappear.I did not find any option/possibility to bring it back. I am not a mod, and i am not a curator. I don't know what the behavior was in the past, but at the time of doing...
(more)
over 3 years ago
Comment Post #282839 Alright, test concluded. Deleting all comments in a thread should delete the thread itself. Therefore, i would like to suggest (just my 2c worth of personal opinion, ofc) to wait a day or two and see whether and how that user responds to your comment response. Perhaps they will respond positively. Or...
(more)
over 3 years ago
Comment Post #282839 Ah, so you want to get that comment thread deleted then. My apologies, i failed to get that from your post. Yeah, i agree with that request, not least because a user themselves cannot (yet) edit the topic title of the comment thread they themselves opened, even if they wanted. Not sure if deleting al...
(more)
over 3 years ago
Comment Post #282839 (2/2) Anyways, i agree that that comment seems to be baseless, and a bit weird in my opinion. That said, perhaps that user just had a shit day, too much coffein or whatnot. I am sure you never had and never will have a bad day on the interwebs. Unless that user exhibits a pattern of repeating such be...
(more)
over 3 years ago
Comment Post #282839 ...or do we just have to take your word that your conjecture about those other 2 votes is the only possible plausible explanation? It doesn't matter what you believe. As long as you have no evidence, your conjecture is as much accusatory to the two downvoters as that comment from that 3rd user. (1/2)...
(more)
over 3 years ago
Comment Post #282832 Did you possibly misread/misheard "returning values by instance"? I feel like you confused the terms "instance" vs. "inheritance". Aside from this possible confusion, there is this website that gives an overview of the general meaning of the terms you are asking about. The name of that website: Wikip...
(more)
over 3 years ago
Comment Post #282828 Me neither. The specification of a language could perhaps tell whether the terms "property" and "method" are defined wrt to that language. But then again, since i refuse to read specifications i am and will be unable to tell, and who knows what stuff is written in there (it's probably stuff that norm...
(more)
over 3 years ago
Comment Post #282828 What stops you from looking at the specs of the languages you mentioned to find out?
(more)
over 3 years ago
Comment Post #282740 HTTP is _not_ a text that may link to itself or other text. It's a protocol. While it's primary purpose is to request and transport HTML document text, HTTP is not the same as HTML. And it also deals with more than just requesting and transporting HTML document text. In the same sense as a passenger ...
(more)
over 3 years ago
Comment Post #282700 Personally (the following is just my personal opinion, as worthless as it is), if there is a good A to a rather bad Q, i do _not_ downvote the A. I would downvote only the Q, and would not vote on the A. If however the A is exceptionally good and manages to infuse some meaning into a bad Q (as rare a...
(more)
over 3 years ago
Comment Post #282685 I don't see anything wordy about "_Click on the 'Exit' item in the upper-left menu._" It's a simple and short sentence, following the structure "action on what where". Most words in this sentence are short, too (most of them just 4 letters or shorter). If that is too wordy for you and you are seeking...
(more)
over 3 years ago
Comment Post #282677 I agree it's noise. But situations like these should be handled tactfully. Phrases like these are expressions of politeness (EoP), and removing them from a post could easily be perceived as rude by the original poster if they are unaware of the context/reason of removal. But why are you specifically ...
(more)
over 3 years ago
Comment Post #282670 There is also another logical problem with your program (unrelated to the segfault, though). Hint: Compare what you _believe_ the code in the `while(i < max - min) { ... }` loop in your main function does with what it _actually_ does in reality...
(more)
over 3 years ago
Comment Post #282592 (2/2) Is the JS code free of errors? Nothing about this is about dealing with Ruby so far. If you diagnose this, you will know how your JS `onclick` handler fails in the browser. If you know how the JS `onclick` handler fails in the browser, you will either know how to fix the issue (whether it's in ...
(more)
over 3 years ago
Comment Post #282592 So your problem is the `onclick` handler not working as it should? If so, it has nothing to do with Ruby per se. Look at the HTML document generated by the Ruby-on-Rails backend. Check if the `onclick` handler has been correctly set up in the generated HTML document. Is the function assigned to the `...
(more)
over 3 years ago
Comment Post #282599 By the way, you can self-answer your own question, if you like. I mean, in the form of an answer, and not as an edit to the question :-) If i had any prior experience with Nannou, i would answer myself, but due to my complete lack of knowledge about Nannou i fear i might accidentally slip in some uni...
(more)
over 3 years ago
Comment Post #282599 Again, i want to emphasize: My musings are just based on my belief -- or gut feeling, if you will. I don't have any experience with Nannou, so i might very well just talk bollocks... ;)
(more)
over 3 years ago
Comment Post #282599 (2/2) If my (untested) belief is correct, then perhaps setting the values for `s` and `l` above the maximum value of `1.0` might still be accepted and stored by the `hsl(h,s,l)` function, but the out-of-range values might be clamped internally by the Nannou drawing functions to the actual allowed max...
(more)
over 3 years ago
Comment Post #282599 I have no experience in Nannou. But the doc for the `hsl(h, s, l)` function (https://docs.rs/nannou/0.17.1/nannou/color/struct.Hsl.html) states that the `s` and `l` parameter values should be in the `0.0` to `1.0` range. You are using values that are far larger than the expected max. value of `1.0`. ...
(more)
over 3 years ago
Comment Post #282592 @#54151 i don't see no issue doing so. What would be the problem with that?
(more)
over 3 years ago
Comment Post #282592 Your comment does not help me understand. Your comment just repeated what you already wrote in your question, so your comment is redundant and does not add any further information/detail necessary for me trying to get a better grasp on what your real goal is that you want to achieve... :-( Is some...
(more)
over 3 years ago
Comment Post #282592 That sounds a lot like a XY problem to me. RoR is a **server**-side framework. Therefore, ruby code itself is not running on the client, and itself is not able to "reach" into the client browser. Theoretically, what you would have to do is having some JS code in the browser send some fetch request to...
(more)
over 3 years ago
Comment Post #282581 My comment was advice. Maybe unexpected, but still advice. If there is nothing more to it then it being a "simple" case, then choose either of the three. The differences between them won't matter much in simple cases. Your question sounds very much like "_Which car should i use if i want to drive aro...
(more)
over 3 years ago
Edit Post #282583 Post edited:
Added same secure origin access control for cookies
over 3 years ago
Suggested Edit Post #282583 Suggested edit:
Added same secure origin access control for cookies
(more)
helpful over 3 years ago
Comment Post #282583 Alright. My edit is pending in the review queue. I have added a little bit about access control which is significantly different between cookies and web storage. And i just noticed that i omitted a bit about the cookie access control, as it is not only domain/path based, but also includes scheme-base...
(more)
over 3 years ago
Edit Post #282583 Post edited:
Added access by origin rules, reworked HtmlOnly and SSL support, as it might mislead readers
over 3 years ago
Suggested Edit Post #282583 Suggested edit:
Added access by origin rules, reworked HtmlOnly and SSL support, as it might mislead readers
(more)
helpful over 3 years ago
Comment Post #282583 I would suggest removing this line entirely, as it does not convey any useful information in my opinion, and might mislead readers as i insinuated in my first comment. What do you think?
(more)
over 3 years ago
Comment Post #282583 But that you already said that with "_client-only_". If it is about being a front-end tool, what has that to do with SSL? How is mentioning SSL even relevant in this context? Following your argument, you could equally say "_no support for HTTP_" or "_no support for TCP/IP_" with the same relevance. I...
(more)
over 3 years ago
Comment Post #282583 Yeah, but how did you go from this to "_no support for SSL_"? Again, the web storage APIs are not concerned about transport, so it is a mystery to me what you meant by writing "_no support for SSL_".
(more)
over 3 years ago
Comment Post #282583 Wait... are you saying that a page using the web storage APIs cannot access some web resource via HTTPS? Your explanation almost makes it sound so. I guess, it would be less ambiguous to simply state that cookies are part of the HTTP protocol, whereas the web storage APIs themselves are not part of a...
(more)
over 3 years ago
Comment Post #282581 Based on _all_ the requirements of your project (current and expected) with respect to the information you want to store/maintain and your business rules relating to it, look at whether the functionality provided by each technology/method satisfies your requirements. How else would you determine a ch...
(more)
over 3 years ago
Comment Post #282044 @Alexei, i would personally favor to have only "libxml2" and "libxml1" tags instead of "libxml", if possible. While libxml2 is mostly compatible with ye'olde libxml, development packages of the two differ in some aspects that could be relevant for some specific question(s).
(more)
over 3 years ago
Comment Post #282544 Read the csv file line-wise. The StreamReader has a method for doing that. That will make it easier to iterate over the records/lines. Then you could just use a variable that keeps track of the currently maximum score value when iterating through the records. If a record has a score that is greater t...
(more)
over 3 years ago
Comment Post #282532 Well, then you might have to go with `iframe`. Note however, that `iframe` will not allow you to compose/assemble back the structure of the original whole HTML file for presentation in the web browser. You will have to rather (re)do the layout of your web page with respect to page regions that would/...
(more)
over 3 years ago
Comment Post #282532 I am not exactly sure whether you are asking for a PHP-based solution or something not relying on PHP specifically, as you didn't tag your question as `php` but you did mention your project being in PHP. Are you perhaps looking for something like PHP's `require` and/or `include` statements? (https:/...
(more)
over 3 years ago
Comment Post #282487 @#53078, the libc functions dealing with `char*`/`char[]` are called strcmp, strlen, etc... Note the "str". The related header file is called `string.h`. The documentation regarding these functions talks about strings. I don't think we need to be pedantic here. The emphasis should rather be on not co...
(more)
over 3 years ago
Edit Post #282466 Post edited:
over 3 years ago
Edit Post #282466 Post edited:
over 3 years ago
Edit Post #282466 Initial revision over 3 years ago
Answer A: Input taking only first character of a string
Your pointer `function` is uninitialized. From some documentation pages for `scanf` at https://man7.org/linux/man-pages/man3/scanf.3.html : > s >Matches a sequence of non-white-space characters; the next pointer must be a pointer to the initial element of a chara...
(more)
over 3 years ago
Comment Post #282463 The assignments in your constructor are backwards.
(more)
over 3 years ago
Comment Post #282344 I don't really understand your question. What is "_minimum character allowance_"? Is that the required minimum length of characters to consider the text in the text area valid? What has "_minimum height_" to do with _accessibility_? Anyways, since text `<input>` fields are single-line by nature, I fe...
(more)
over 3 years ago