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 Canina
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #285154 |
Post edited: |
— | about 3 years ago |
Edit | Post #285154 |
Post edited: |
— | about 3 years ago |
Edit | Post #285154 |
Post edited: |
— | about 3 years ago |
Edit | Post #285154 | Initial revision | — | about 3 years ago |
Answer | — |
A: Regarding the implementation of data structures. Since this is pretty clearly a homework exercise, and the point of those is for you to learn, I'm going to be evil and not spoon-feed the answer to you. However, I will give you some pointers. First, consider what the `struct book` actually contains. What is the actual variable type of its memb... (more) |
— | about 3 years ago |
Comment | Post #285105 |
It's probably worth noting that *as used here*, function pointers don't really bring any benefit and do introduce potentially significant complexity; but there are some tasks that are made significantly easier by using them. As one example of the latter, consider something like a dynamic `switch()` w... (more) |
— | about 3 years ago |
Edit | Post #285020 |
Post edited: |
— | about 3 years ago |
Edit | Post #285020 | Initial revision | — | about 3 years ago |
Answer | — |
A: Why would a form value inserted with value property won't be effective? It works fine for me. Here's a minimal working example: When I open that document in Firefox and simply click "display", "old value" is displayed in the alert popup. When I click "change" and then "display", "new value" is likewise d... (more) |
— | about 3 years ago |
Edit | Post #284978 |
Post edited: |
— | about 3 years ago |
Edit | Post #284978 | Initial revision | — | about 3 years ago |
Answer | — |
A: What is the difference between a decoupled, Headless and RESTful content management system? Since you ask if a CMS necessarily must be implemented using all three, the answer clearly becomes a theoretical "no" if a CMS can be implemented with anything less than all three, and a practical "no" if a CMS has been implemented with anything less than all three. REST designs have five constrai... (more) |
— | about 3 years ago |
Edit | Post #284962 |
Post edited: |
— | about 3 years ago |
Edit | Post #284962 |
Post edited: |
— | about 3 years ago |
Edit | Post #284962 | Initial revision | — | about 3 years ago |
Answer | — |
A: How to align my content to the left? Misconception - This isn't so much an issue of left/right alignment, as the browser beginning the rendering of each consecutive block wherever the content of the preceding block ends, instead of past the bottom of the preceding block. Issue - Since the text content of each text block doesn't r... (more) |
— | about 3 years ago |
Edit | Post #278768 |
Post edited: |
— | about 3 years ago |
Comment | Post #284778 |
I'm not sure what the question actually is. What part, exactly, are you having difficulties with? Accessing the data returned by the database query? Deciding where to split the list in the display output? Etc. Please edit your question to describe more precisely what you need help with. (more) |
— | about 3 years ago |
Comment | Post #284357 |
> If I have to install only 37.2 MB in 264 MB than this package should take only 37.2 MB 100 MB in average or in higher 264 MB. But it is taking 413 MB. What?! Really!? It's completely mind-blowing to me.
That's not what apt-get is telling you. It's saying that out of the total of 264 MB of archiv... (more) |
— | about 3 years ago |
Comment | Post #284357 |
I haven't looked at the list of files in each respective package, but I somehow doubt that `/usr/lib/jvm/java-16-openjdk-amd64/lib/libawt_xawt.so` would be provided by `openjdk-11-jdk`. "16" vs "11" is the giveaway here. (more) |
— | about 3 years ago |
Edit | Post #284363 | Initial revision | — | about 3 years ago |
Answer | — |
A: Hash sum mismatch (only for openjdk-11-jdk) "Hash Sum mismatch" printed by `apt-get` on Debian and derivatives means that the file as downloaded had a different cryptographic checksum (hash) than what's listed in the packages list. In this case, the package list is the one at http://us.archive.ubuntu.com/ubuntu/dists/focal-updates/main/bina... (more) |
— | about 3 years ago |
Comment | Post #284232 |
You say that "since it was deprecated then there must be another alternative", but something can be deprecated without being replaced by anything else. While it's generally better if a thingamajic that is deprecated can be replaced by a different thromblemeister to accomplish the same goal, sometimes... (more) |
— | about 3 years ago |
Suggested Edit | Post #284206 |
Suggested edit: (more) |
helpful | over 3 years ago |
Edit | Post #284123 | Initial revision | — | over 3 years ago |
Answer | — |
A: How to initialize variable assignment in a non-OOP interpreter? I honestly have no idea why you feel that OOP would be necessary in order to keep track of variable assignments in a language interpreter. People wrote both interpreters and compilers long before object-oriented programming was even invented. It might help to start by going back to what a "variabl... (more) |
— | over 3 years ago |
Comment | Post #284078 |
@#8176 GPG would almost certainly refer to GnuPG, which is the GNU Privacy Guard, which is the GNU implementation of the OpenPGP standard, which in turn is based on the venerable Pretty Good Privacy originally by Zimmermann, the first versions of which date back to the early 1990s. https://www.gnupg.... (more) |
— | over 3 years ago |
Edit | Post #283867 |
Post edited: |
— | over 3 years ago |
Suggested Edit | Post #283867 |
Suggested edit: (more) |
helpful | over 3 years ago |
Edit | Post #283805 | Initial revision | — | over 3 years ago |
Answer | — |
A: How do I filter an array in C? It looks like `filter()` effectively takes two arguments; the array to be filtered, and a predicate expression resulting in a boolean indicating whether the entry should be included in the output or not. (I also note that the implementation in your question appears to be at least O(n^2) time compl... (more) |
— | over 3 years ago |
Edit | Post #283615 |
Post edited: that the question seeks Javascript solutions is quite relevant |
— | over 3 years ago |
Comment | Post #283615 |
You say that you want a "vanilla Javascript" solution, but *why?* You say that you are already working with PHP; is there some particular reason why you want to use Javascript, when PHP can do what you're after server-side at minimal additional cost? Also, is the intention for the Javascript in quest... (more) |
— | over 3 years ago |
Suggested Edit | Post #283615 |
Suggested edit: that the question seeks Javascript solutions is quite relevant (more) |
helpful | over 3 years ago |
Comment | Post #283177 |
Unrelated to the question you're asking, but I do suggest keeping in mind that while Drupal minor upgrades are usually painless, major version upgrades can *intentionally* be a real pain, especially if you use plugins. You may want to give some consideration to this before you commit to Drupal, *espe... (more) |
— | over 3 years ago |
Comment | Post #283015 |
@#53305 Which motivated me to suggest [Allow comment thread owner to delete comment threads when only comments from the comment thread owner remain undeleted](https://meta.codidact.com/posts/283054). (more) |
— | over 3 years ago |
Comment | Post #283015 |
@#53305 No, that wasn't the case at all. There is now an answer. (more) |
— | over 3 years ago |
Comment | Post #283052 |
You write in the beginning of the answer that you "assume that each Content-Security-Policy: line you have is a separate CSP header". **You assume correctly.** I also updated the question to hopefully make that more clear. (more) |
— | over 3 years ago |
Edit | Post #283015 |
Post edited: |
— | over 3 years ago |
Comment | Post #283015 |
@#53196 **Finally!** That really was the problem. Would you be so kind as to post that as an answer, ideally even with a reference to a standard explicitly backing up the claim that default-src applies only within the single Content-Security-Policy HTTP header where it appears and not across CSP HTTP... (more) |
— | over 3 years ago |
Comment | Post #283015 |
@#53196 On what do you base the statement (as I interpret it, at least) that the `default-src` would further restrict a `style-src`? That would make `default-src` not a *fallback* for when a more appropriate CSP directive isn't provided (which MDN seems to me to say), but a *maximum ever possible* pe... (more) |
— | over 3 years ago |
Edit | Post #283015 |
Post edited: |
— | over 3 years ago |
Edit | Post #283015 |
Post edited: |
— | over 3 years ago |
Edit | Post #283015 | Initial revision | — | over 3 years ago |
Question | — |
Why does Firefox block based on a restrictive default-src directive, when more specific, more permissive *-src exist? I am working on a website which unfortunately uses a mix of linked and inline CSS and Javascript (and, even more unfortunately, I can't do a lot about the use of inline CSS and Javascript), and am trying to set up an appropriate Content-Security-Policy for it. When I serve the content (over proper... (more) |
— | over 3 years ago |
Edit | Post #282807 | Initial revision | — | over 3 years ago |
Answer | — |
A: Using Software Codidact as a private community within a company You can, in a sense, do I believe even better than using Stack Overflow's hosted, proprietary service. You can run your very own instance of the Codidact software (that is, QPixel) locally, on a server fully under your control. The source code for QPixel is available on Github, along with insta... (more) |
— | over 3 years ago |
Edit | Post #282670 |
Post edited: |
— | over 3 years ago |
Comment | Post #282670 |
This looks like a homework exercise. A large part of what those are about is to familiarize you with various concepts. In this case, you have a problem, so aside from simply implementing the specified functionality, you also need to debug your code to figure out what's wrong with it. Therefore: pleas... (more) |
— | over 3 years ago |
Suggested Edit | Post #282670 |
Suggested edit: (more) |
helpful | over 3 years ago |
- ← Previous
- 1
- 2
- 3
- Next →