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 dmckee‭

14 posts
86%
+11 −0
Q&A What gets allocated on the stack and the heap?

While Lundin has written a reasonably complete answer, I think it suffers a bit from the expert view: conflating core issues with implementation details related to modern hardware architecture. I'd...

posted 4y ago by dmckee‭  ·  edited 4y ago by Peter Mortensen‭

Answer
85%
+10 −0
Q&A Scheme for cross-platform warning control?

tl;dr I'd like to learn a compact, cross-compiler way of selectively suppressing compiler warnings. Consider the case where you really mean to make an exact floating-point comparison using ==, o...

1 answer  ·  posted 4y ago by dmckee‭  ·  last activity 4y ago by Someone‭

83%
+8 −0
Meta Are code troubleshooting posts allowed?

tl;dr: Allowing beginner-level "help me diagnose this" questions will generate large volumes of duplicates if the site ever scales. We need to think about how to structure things if we want them. ...

posted 3y ago by dmckee‭

Answer
81%
+7 −0
Meta Add link dialog should capture enter

I think we have a UI problem with the "add link" dialog box in the editor: it doesn't capture enter keystrokes which then fall through to the submit button. I'm merrily typing a post when I real...

1 answer  ·  posted 4y ago by dmckee‭  ·  last activity 4y ago by Monica Cellio‭

81%
+7 −0
Q&A Pros and cons of various type_traits idioms

My work tasks have recently started requiring me to use the type_traits header to restrict the classes that may be used in template functions, methods, and classes. And while I used it for a long t...

1 answer  ·  posted 4y ago by dmckee‭  ·  edited 4y ago by Marc.2377‭

80%
+6 −0
Q&A For scripting what are the pros and cons of command line arguments versus capturing input at the start?

I'd like to move the frame out a little and use that as a discussion for how to make these decisions. Input models You've listed two input models, but I think we need to add a third before we begin...

posted 4y ago by dmckee‭

Answer
80%
+6 −0
Meta Are reference requests welcome here?

Just to stir the pot a little, on Physics SE we ended up allowing them within certain limits. Though I was against it I would say that the results were rather better than I expected. We did set u...

posted 4y ago by dmckee‭  ·  edited 4y ago by dmckee‭

Answer
77%
+5 −0
Q&A Write to same file from multiple threads

Because you are using Qt in particular there is something to be said for not solving this problem yourself. Instead, create a single object that owns the stream or file and offers a writeLine slot...

posted 3y ago by dmckee‭

Answer
75%
+4 −0
Q&A Is omitting braces for single statements bad practice?

I'm in the "Use the braces. Just use them every time" camp [1]. As others have suggested you or your tooling will catch a lot of cases where you screw up on this, but the ones that slip through can...

posted 4y ago by dmckee‭  ·  edited 4y ago by dmckee‭

Answer
75%
+4 −0
Q&A How do I communicate with a subproject in qmake?

When working with a qmake subdirs project you may want to share configuration between multiple projects. In a less common case you may including a external project within your own as code and want ...

1 answer  ·  posted 3y ago by dmckee‭  ·  last activity 3y ago by dmckee‭

Question qmake subproject
71%
+3 −0
Meta Do we need the fullstack tag?

This is another argument for a fullstack tag not being appropriate. Or perhaps an elaboration of Peter's argument. The manner in which a problem could be a "fullstack problem" is by being a commun...

posted 4y ago by dmckee‭  ·  edited 4y ago by dmckee‭

Answer
71%
+3 −0
Q&A How do I communicate with a subproject in qmake?

Options There are three basic channels to choose from Shared build-include (.pri) files CONFIG .qmake.conf and I discuss the practicalities of each below. Shared .pri files Set or add to...

posted 3y ago by dmckee‭  ·  edited 3y ago by dmckee‭

Answer
66%
+6 −2
Meta Should "Hello", "Thank you", "Morning" and similar greetings be removed from posts?

Just to have a differing viewpoint represented. Addressing questions and answers The stated reason for stripping politese Somewhere Else (which I largely agree with) is that while posts are creat...

posted 3y ago by dmckee‭  ·  edited 3y ago by dmckee‭

Answer
60%
+4 −2
Meta I object to [stl]

Currently the tag [stl] is marked as a sub-tag of c++, implying a meaning of "standard-template-library". However I see both of the questions currently using the tag mean the 3D object description ...

0 answers  ·  posted 4y ago by dmckee‭  ·  edited 4y ago by dmckee‭

Question discussion tags