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 John C
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #293984 |
Typo fixed. Thanks!
On the calculus, I agree that it's not needed in the strictest sense, but I - maybe because of a background coming from and teaching at an engineering school - have found it easier to lead students through, that way. Assuming that they've taken calculus, they've already eithe... (more) |
— | 12 days ago |
Edit | Post #293984 |
Post edited: Fixed variable |
— | 12 days ago |
Edit | Post #293984 | Initial revision | — | 14 days ago |
Answer | — |
A: What is the correct cost formula for the average case in insertion sort algorithm? The difference (and the page that you cite actually does mention it, even if broadly) is that algorithmic analysis has interests and (arguably) traditions that most people find counter-intuitive. Specifically, an algorithm's complexity represents the asymptotic nature of how the resource usage (usua... (more) |
— | 14 days ago |
Comment | Post #293932 |
Ah, thanks! That was the missing piece.
For those coming into this with a similar problem, I grabbed one of the [Snappy implementations](https://google.github.io/snappy/) (the C version, since I didn't see Rust until later) and hacked together a program to read from `stdin` and...
Actually, no. Firs... (more) |
— | 20 days ago |
Edit | Post #293929 |
Post edited: Fix typos and clarify |
— | 22 days ago |
Edit | Post #293929 | Initial revision | — | 22 days ago |
Question | — |
Extracting Firefox Local Data How does one parse/decode/extract information stored by a web page in Firefox's browser local storage without the browser? So far, I've worked out that the data lives at `/.mozilla/firefox/${profile}/storage/default/${site}/ls/data.sqlite`, where the site looks something like `https+++software.cod... (more) |
— | 22 days ago |
Edit | Post #293680 | Initial revision | — | about 2 months ago |
Answer | — |
A: Why is SQL usually written in CAPS? Since the tradition doesn't have any enforcement anywhere, we can't necessarily pinpoint a single reason, but it probably has a lot to do with the available technology of the early 1970s when Chamberlain and Boyce put together the original SEQUEL. Specifically, punch cards and teletype machines gene... (more) |
— | about 2 months ago |
Edit | Post #291708 | Initial revision | — | 12 months ago |
Answer | — |
A: Where to place digit separators in C23? This probably makes for a thoroughly unsatisfying answer, but there's probably far stronger cultural pressure than technical pressure. In European-derived cultures, we mostly group numbers by powers of one thousand as you suggest, and anybody doing something else should either have an extremely good... (more) |
— | 12 months ago |
Comment | Post #291557 |
Exactly, and I apologize for the imprecise term. By "private," I only mean some space where it's not quickly discoverable by the general community. You're absolutely right that it shouldn't ever be *unavailable* to the public, or else that directly invites abuse. (more) |
— | about 1 year ago |
Edit | Post #291557 | Initial revision | — | about 1 year ago |
Answer | — |
A: Don't close questions for lack of detail/confusion As a newcomer here, I'd like to suggest two additional issues that weigh in favor of closing unworkable questions. First, a site that wants to grow its community needs to moderate its content. If not, prospective users will get one look at a pile of garbage questions with no activity and turn rig... (more) |
— | about 1 year ago |
Edit | Post #291470 | Initial revision | — | about 1 year ago |
Answer | — |
A: Testing an opaque type's internals I'd propose (and have generally used, back when I worked on C projects) a fourth option that I don't think gets too far out of line. If I understand the situation correctly, that you want to test how an "object" reacts under a barrage of test conditions, independent of the rest of the software, then... (more) |
— | about 1 year ago |
Edit | Post #291459 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to sort the output of meta / slash commands in `psql`? It's been a while, but the answer is "yes and no," I believe. No: The describe-schema command doesn't (last I heard) allow any modification. Yes: The describe-schema command also doesn't do anything that a `SELECT` statement from `informationschema` doesn't do, so something like this should w... (more) |
— | about 1 year ago |