5:04 AM
Is it your homework? softwareengineering.meta.stackexchange.com/questions/6166/… — Felix 36 secs ago
5 hours later…
10:31 AM
Trying to recruit programmers to write code for you is off-topic for this site. If you want help while writing it yourself, please include something we could help you with. Your code so far (minimal reproducible example) and a description of some problem or question (How to Ask) would be a good start. — teapot418 21 secs ago
2 hours later…
1:49 PM
I appreciate the deep analysis of the purposes of our code. It helps me and others be better programmers in the future. However, I would also appreciate if you could focus your attention on the queston. Is this kind of testing at all envisioned by python unit testing framework? If the answer is a hard no, please provide evidence, and I will reconsider our methodology. If yes, please tell me how to do it. — Aleksejs Fomins just now
of primary importance when asking questions ... zero in on a crispy question one which can most easily be understood quickly by us and most importantly can be easily answered ... what you have shown us is that you have not yet mastered this essential software engineering skill ... please update your question to trim down to only the essential salient aspects — Scott Stensland 36 secs ago
2 hours later…
4:11 PM
I have the privilege of looking at the vote counts. You got 0 upvotes and 1 downvote. "Common practice" and "best practice" questions generally don't get answered here. Software Engineering is often a better place for those kinds of questions, but I'm not sure about this one since it isn't really about software architecture. — Barmar 7 secs ago
4:33 PM
"We are buying a license... from you"—who do you think you're talking to? This is a question-and-answer site for programmers, not a software vendor. Please take the tour and read about what's on-topic in the help center. — Chris 37 secs ago
1 hour later…
5:46 PM
@user1934428 Thanks for being so attentive; I didn't really care about that particular while loop other than to just keep looping. And yeah, left out that pesky dollar sign! I was focused on the case statement. ... I would NEVER have thought to look to ANSI C quoting for this. I guess we're just supposed to know BASH follows that standard, probably because it's well known to programmers. ...I wish I'd have taken BASH more seriously as a programming language back some 30+ years ago when I started using it daily! — Richard T 51 secs ago
6:48 PM
4 hours later…
10:21 PM
@AndrewHenle I agree that there are ways to safely use
strcpy
, but that doesn't change the fact that it's a notoriously dangerous function that has been attributed to countless vulnerabilities. Especially in this case, where the OP didn't understand the implications of their code and used strcpy
in an insecure manner. You're caught up in the semantics of our responses instead of offering the OP an explanation yourself. strcpy
is notoriously dangerous due to common misuse and severe implications. Blaming programmers that misuse it doesn't change that fact. — h0r53 just now« first day (3376 days earlier) ← previous day next day → last day (13 days later) »
Transcript for
Apr17
Apr18
Apr19
Duga's Neighborhood
It's a beautiful bot in the neighborhood. Would you be mine, w...