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.

Posts by r~~‭

63 posts
66%
+2 −0
Q&A Is concatenation a logical AND?

I think your edited post merits a new answer! You're right that you can make some sort of connection between addition, concatenation, and logical ‘and’—these are all operators that can be considere...

posted 4y ago by r~~‭

Answer
66%
+4 −1
Meta Do we want a wiki (or similar) alongside Q&A?

I hear the walk-before-we-run argument. I think this would be a good thing to try once we reach running speed, though. Personally, I don't like self-answered questions; I think they're an awkward f...

posted 4y ago by r~~‭

Answer
66%
+2 −0
Q&A Dealing with code maintenance when saving a large and complex entity in a single business transaction

Chain of Responsibility doesn't strike me as appropriate for this problem, at least as I understand it. You want to use CoR if you have multiple different requirements for the processing of the sam...

posted 2y ago by r~~‭

Answer
62%
+3 −1
Q&A What would the pros and cons of storing the compiled CSS output of SASS in version control?

One thing to consider if you decide to store the CSS in version control is how to make sure that the CSS is always updated whenever the SASS is updated. (Of course this is true of the more general ...

posted 4y ago by r~~‭

Answer
62%
+3 −1
Q&A Problems with data structures and filestreams.

My advice to you is to break this down into smaller problems and try to solve them one at a time, making sure you have a program that can compile and run at each step. First: figure out how to suc...

posted 3y ago by r~~‭

Answer
60%
+1 −0
Q&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...

posted 3y ago by r~~‭

Answer
60%
+1 −0
Q&A How to submit form data with Ajax?

See the first example in this section: const form = new FormData(document.getElementById('login-form')); fetch('/login', { method: 'POST', body: form }); To adapt this example to your c...

posted 3y ago by r~~‭  ·  edited 3y ago by r~~‭

Answer
60%
+1 −0
Q&A How to add vertical lines for visual separation in pandas plot

I don't think this is possible using just the Pandas plotting API. You can use the lower-level Matplotlib API to do just about anything you can imagine: ax = df.plot.bar() vlines = [2.5, 5.5] # x...

posted 2y ago by r~~‭  ·  edited 2y ago by r~~‭

Answer
60%
+1 −0
Q&A How can I schedule a later task in Python?

If systemd-run works for you, that is probably the simplest thing you can do here. Otherwise, you can use os.fork() from within Python to spawn a child that stays alive after the parent exits. If...

posted 1y ago by r~~‭

Answer
57%
+2 −1
Meta Site scope - draft proposal

Recommendation questions about which tools, libraries or technologies to use or where to find them. I don't support this being on the off-topic list. (I found my way here from the comments on thi...

posted 4y ago by r~~‭

Answer
57%
+2 −1
Q&A How can I modify the code above to accept string as user input and use strcmp to compare with the contents of the text file & then delete that line?

Assuming you're actually looking for a substring of a line in the file and not a word (which would require, as @elgonzo indicated, figuring out how to deal with spacing and word boundaries in gener...

posted 3y ago by r~~‭

Answer
50%
+1 −1
Q&A Data structure implementation with Linked lists.

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 ...

posted 3y ago by r~~‭

Answer
50%
+6 −6
Meta Should we allow answers generated by ChatGPT?

Good question, but solid ‘meh’ on the issue. I don't think a preemptive ban is warranted. It's not as if we're being flooded, and it's also not as if that one ChatGPT answer is worse than the media...

posted 2y ago by r~~‭

Answer