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 r~~
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #285169 |
@#8176 The C programmers of libxml [seem to be fine with it](http://www.xmlsoft.org/html/libxml-parser.html).
[As do](https://freetype.org/freetype2/docs/reference/ft2-basic_types.html) the C programmers of the FreeType library.
[And also](https://github.com/python/cpython/blob/f4c03484da59049eb62a... (more) |
— | over 2 years ago |
Comment | Post #285190 |
@#53177, not true; that documentation page has examples of doing so, as does the [`FormData` constructor documentation](https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData).
@#36363, what *is* the value of `formToWorkOn`, if not an `HTMLFormElement`? Have you made sure it's not `nul... (more) |
— | over 2 years ago |
Comment | Post #285169 |
Considered *by many* very bad practice, sure. This is a popular, [but not universally-held](https://stackoverflow.com/questions/750178/is-it-a-good-idea-to-typedef-pointers) opinion. (Whether you're more of a C person or a C++ person seems to be somewhat correlated to whether you think typedef'd poin... (more) |
— | over 2 years ago |
Edit | Post #285174 | Initial revision | — | over 2 years ago |
Answer | — |
A: Data structure implementation with Linked lists. ```c struct listNode{ char data; struct listNode nextPtr }; ``` Computer, when I tell you that any region of memory is a struct called `listNode`, that means that the region of memory contains a `char`, which I will read from and write to using the name `data`. The region of memory also... (more) |
— | over 2 years ago |
Edit | Post #285172 |
Post edited: |
— | over 2 years ago |
Edit | Post #285172 | Initial revision | — | over 2 years ago |
Answer | — |
A: How to submit form data with Ajax? See the first example in this section: ```js const form = new FormData(document.getElementById('login-form')); fetch('/login', { method: 'POST', body: form }); ``` To adapt this example to your code, you'll need to change the URL being provided to `fetch` from `'/login'` to the URL of... (more) |
— | over 2 years ago |
Comment | Post #285116 |
Ah, single sign-on: when Facebook is down, every other web app should be too!
(Yes, yes, crotchety farts like me can use site-local passwords for ourselves and let the kids twiddle their thumbs when single points of failure fail. Don't mind me; I'm just raving against the relentless degradation of... (more) |
— | over 2 years ago |
Comment | Post #284962 |
I wouldn't recommend using `display: table-row` to achieve this. It might have the desired effect, but it's more likely to impede understanding of your CSS in the future if you have to change it. `table-row` is one of the [layout-internal display types](https://drafts.csswg.org/css-display/#layout-sp... (more) |
— | over 2 years ago |
Edit | Post #284563 | Initial revision | — | over 2 years ago |
Answer | — |
A: Are there any downsides related to using Maybe or Optional monads instead of nulls? In my opinion, all of the downsides boil down to two objections: It isn't idiomatic (in C# and VB.NET) It's slightly less performant The fact that it isn't idiomatic means that, as you noted, it'll often need to be translated at API boundaries. It also means that your coding style might vary ... (more) |
— | over 2 years ago |
Comment | Post #284260 |
From context, I assume OP means [content management system](https://en.wikipedia.org/wiki/Content_management_system), and I wouldn't have thought to clarify that either. It's not exactly central to understanding the question. (more) |
— | over 2 years ago |
Edit | Post #284264 | Initial revision | — | over 2 years ago |
Answer | — |
A: How to append HTML to the DOM with JavaScript? Use `fetch()` to request the HTML file from the server. Call `.text()` on the `Response` object you get from the `fetch` in order to get the HTML contents as a string. You can then insert the string into a DOM node with `.insertAdjacentHTML()` (which is recommended over anything involving `.innerHTML... (more) |
— | over 2 years ago |
Comment | Post #284184 |
The last sentence in this post (‘Now please differentiate these two deployments like when to use what.’) reads to me as if you're issuing a command, which is a pretty disrespectful way to ask a question here. (more) |
— | over 2 years ago |
Comment | Post #281596 |
Did you try checking `__context__`? (more) |
— | almost 3 years ago |
Edit | Post #281589 |
Post edited: |
— | about 3 years ago |
Suggested Edit | Post #281589 |
Suggested edit: (more) |
helpful | about 3 years ago |
Comment | Post #281539 |
@Lundin, I'm not sure I understand you. ‘The way SO does it:’ Are you making the argument that the dog-piling happens regardless of whether the comments are public, and that making them private can't make that worse? I don't see how anything on SE is evidence of the second part of that claim, if so. ... (more) |
— | about 3 years ago |
Edit | Post #281539 |
Post edited: |
— | about 3 years ago |
Edit | Post #281539 | Initial revision | — | about 3 years ago |
Answer | — |
A: How are we supposed to give feedback for poor questions if such comments are deleted? I remember reading @meriton's comments on that question and thinking they were good feedback; if I hadn't seen them there, I would have written something similar. This is also an argument against making question feedback private: which is more likely to make people feel defensive, receiving public... (more) |
— | about 3 years ago |
Edit | Post #281485 |
Post edited: |
— | about 3 years ago |
Comment | Post #281486 |
@Istiak, you are either trolling or profoundly confused about what is on topic for software development. Either way, please ease up. (more) |
— | about 3 years ago |
Edit | Post #281485 |
Post edited: |
— | about 3 years ago |
Edit | Post #281485 |
Post edited: |
— | about 3 years ago |
Edit | Post #281485 | Initial revision | — | about 3 years ago |
Answer | — |
A: What is a typeless programming language? ‘This language doesn't have types’ and ‘This language only has one type’ are English sentences that communicate the same underlying concept: a typeless language doesn't have a way to distinguish categories of values from each other, either statically (before running the program) or dynamically (while... (more) |
— | about 3 years ago |
Edit | Post #281465 | Initial revision | — | about 3 years ago |
Answer | — |
A: Warn of implicit cast in a function's arguments with GCC? From the page you linked: > `-Wconversion` > > Warn for implicit conversions that may alter a value. This includes conversions between real and integer, like `abs (x)` when `x` is `double`; conversions between signed and unsigned, like `unsigned ui = -1`; and conversions to smaller types, like `sq... (more) |
— | about 3 years ago |
Comment | Post #281385 |
On reread, my previous comment maybe comes off like I'm trying to provoke. What I'm trying to do is suggest that you improve this question by sharing more of what you've looked at and why that doesn't satisfy you, or, if you haven't looked at much, by doing that and then coming back with a more speci... (more) |
— | about 3 years ago |
Comment | Post #281385 |
Have you tried answering this question yourself? Maybe looked up the word ‘authentication’ on Wikipedia? Possibly followed a link from that article to a publication from NIST (not international, but it's not clear why you specifically want an international organization's take—and at any rate, that pu... (more) |
— | about 3 years ago |
Edit | Post #281343 | Initial revision | — | about 3 years ago |
Answer | — |
A: How can I find git branches where all branch-local commits are from specific people? From the command line, the following command will give you a list of all authors who have made local-only commits to a branch `some-branch`: git log some-branch --not --remotes --format="%an" And to get a clean list of branches suitable for scripting: git branch --format="%(refname:s... (more) |
— | about 3 years ago |
Edit | Post #281318 | Initial revision | — | about 3 years ago |
Answer | — |
A: Is *nix a formal term? The term is cultural, not technical. From Wikipedia: > There is no standard for defining the term, and some difference of opinion is possible as to the degree to which a given operating system or application is "Unix-like". There do exist standards, most notably the various POSIX standards and... (more) |
— | about 3 years ago |
Edit | Post #281150 |
Post edited: |
— | about 3 years ago |
Edit | Post #281150 |
Post edited: |
— | about 3 years ago |
Edit | Post #281150 |
Post edited: |
— | about 3 years ago |
Edit | Post #281150 | Initial revision | — | about 3 years ago |
Answer | — |
A: How to read lines into an array in Bash Your code is correct. You have declared your variable as an array, and you are successfully appending to it. To display all of the elements of your variable, try `echo "${myarray[@]}"`. (Another answer suggests `declare -p` for this, but `declare -p` will possibly give you more information than yo... (more) |
— | about 3 years ago |
Comment | Post #280795 |
I agree; you should probably give https://en.wikipedia.org/wiki/Representational_state_transfer a read and then ask some more specific questions about REST if you have them. (more) |
— | about 3 years ago |
Edit | Post #280274 |
Post edited: |
— | over 3 years ago |
Edit | Post #280274 | Initial revision | — | over 3 years ago |
Answer | — |
A: How can software track [1] how many subscribers to subreddits, [2] if subreddit is private, [3] if submissions are restricted? It's entirely possible that there's some no-code product being developed out there that supports connecting to Reddit's API, so that you could collect the information you want without writing an actual program. But you're on the Software Development Codidact, so I'm going to assume that you're her... (more) |
— | over 3 years ago |
Edit | Post #280203 |
Post edited: |
— | over 3 years ago |
Edit | Post #280203 | Initial revision | — | over 3 years ago |
Answer | — |
A: How to override default string formatter? Python doesn't support extending the mechanics of how f-strings are parsed; the reference doesn't give the specific mechanism, but it doesn't say that there's any connection between the parsing of f-strings and other formatting tools like `string.Formatter`, other than a superficial use of the same f... (more) |
— | over 3 years ago |
Comment | Post #280169 |
Excel is very probably a poor choice for this task. Can you add some more detail about why you want this, so that we could recommend a better approach? Is this for personal use, are you maintaining one of these lists, are you trying to publish a tool for other list maintainers to use, etc.? (more) |
— | over 3 years ago |