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.

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
 
81%
+7 −0
Q&A What is the purpose of grouping the tests in a `tests` module and is it possible to split them?

What is the purpose of grouping the tests in a tests module like this #[cfg(test)] mod tests { use super::*; #[test] fn test_function_1() { // test code for function 1 g...

3 answers  ·  posted 2y ago by ShadowsRanger‭  ·  last activity 1y ago by Moshi‭

Question rust testing
81%
+7 −0
Q&A How to use grep to print only specific word from a string

I have a variable that contains a string: $CCSR = "branches/features/arm_and_musl" I want to get only the part after the last /. In this case it's "arm_and_musl" but it can be anything. So som...

3 answers  ·  posted 2y ago by Megan‭  ·  edited 2y ago by hkotsubo‭

Question bash shell
81%
+7 −0
Q&A How to use grep to print only specific word from a string

While I agree with Dirk Herrmann that basename is the right tool for the job, I think it is still worthwhile to know how to do it with grep, because you might one day encounter a sufficiently simil...

posted 2y ago by celtschk‭

Answer
81%
+7 −0
Meta Asking and answering FAQ style questions

After spending my time on SO, I found that some of the FAQ style questions were VERY helpful, especially with things such as SQL injection in PHP/MySQL (for example How can I prevent SQL injection ...

3 answers  ·  posted 2y ago by Can O' Spam‭  ·  last activity 2y ago by Monica Cellio‭

Question discussion
81%
+7 −0
Meta Should asking about book recommendations directly connected to software development be on-topic?

Context We have recently received a suggestion to allow questions about recommending books directly connected to software development. The way I see this now (pros and cons) Pros: allow more ...

7 answers  ·  posted 2y ago by Alexei‭  ·  last activity 1y ago by Karl Knechtel‭

Question discussion questions ontopic
81%
+7 −0
Q&A Is there any benefit to using new?

I've heard that in modern C++, smart pointers are preferred to raw pointers for ownership (the so-called RAII principle, as I understand it). This makes sense, and since then I've always used them...

1 answer  ·  posted 2y ago by Moshi‭  ·  last activity 2y ago by deleted user

Question c++ memory-management smart-pointers keyword-new
81%
+7 −0
Q&A Does using an Integer have any speed/performance benefits over a string in JSON

Before doing any performance testing, I think you have already noticed that the payload is significantly smaller by missing those double quotes. However, what I think is more important, especially ...

posted 4y ago by Alexei‭

Answer
81%
+7 −0
Q&A Should I cast to (void) when I do not use the return value

Yes, it is generally good practice to always cast the return value of functions to (void) if not used. This is self-documenting code showing that you aren't using the return value on purpose and di...

posted 4y ago by Lundin‭

Answer
81%
+7 −0
Meta Importing Selected Q&A?

I personally have several (10s) of Q&A where I posted the question and\or answer, on related SE sites. These Q&A are ones I go back to for reference for myself and others. I know and under...

1 answer  ·  posted 4y ago by James Jenkins‭  ·  last activity 4y ago by Olin Lathrop‭

Question discussion
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‭

Question c++ template-metaprogramming sfinae
81%
+7 −0
Meta Community feedback: What type of questions can I ask here?

questions about software design, software architecture, or modeling questions related to software design/review - what item goes where when using a certain technology stack These seem redundant...

posted 4y ago by meriton‭

Answer
81%
+7 −0
Meta Are reference requests welcome here?

Consider the following posts which have essentially become canonical references in their own right within their respective communities on SE: The Definitive C++ Book Guide and List (viewed 2.5 mil...

posted 4y ago by qohelet‭

Answer
81%
+7 −0
Meta Community feedback: What type of questions can I ask here?

questions about best practices as long as enough detail is provided to answer using external references or expertise consensus It's not a "detail" if it is essential, is it? Can we explicitly sta...

posted 4y ago by meriton‭

Answer
81%
+7 −0
Q&A How do I find the order that yields the shortest path?

This looks like it's a slightly restricted version of the circular dilation minimization problem in the theory of graph drawing. See, for example, https://doi.org/10.1080/00207168808803629. Specif...

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

Answer
81%
+7 −0
Meta Posts list shows luap42 instead of actual author

Oooops. You have discovered my little secret superpower. Just kidding of course. (Unfortunately) I closed the first question upon some flags. On the second post, there was a spam answer, which...

posted 4y ago by luap42‭

Answer
81%
+7 −0
Meta Allow filtering search for only Meta (or any other category)

When I open the search, I can only search across all categories of this site. I'd like to filter down the search results to only Meta (or Code review).

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

Question feature-request status-completed
81%
+7 −0
Q&A Function call; `this` gets bound to unexpected value

I recently encountered a strange situation in javascript; if I have: let obj = { a: function() { return (this === obj) ? this.b : 'bye'; }, b: 'hello' }; I can call obj.a with this bound...

2 answers  ·  posted 4y ago by Gershy‭  ·  last activity 4y ago by Alexei‭

Question javascript function this
81%
+7 −0
Q&A How do I customize merge behavior for a shared git repo?

I often find it useful to arrange things so that each commit on master's first-parent is a discrete change. It allows git log --first-parent --oneline to be used as a concise, automatically-generat...

1 answer  ·  posted 4y ago by ajv‭  ·  last activity 1y ago by GrantMoyer‭

Question git git-merge
81%
+7 −0
Q&A How long in days is a MONTH in MySQL?

There is no fixed number of days in a MONTH interval. DATE_SUB is mostly just decrementing the number in the months position of the date provided. So DATE_SUB('2020-09-14', INTERVAL 3 MONTH) is '20...

posted 4y ago by r~~‭

Answer
81%
+7 −0
Meta Community feedback: What type of questions can I ask here?

I propose adding, at the top of the list: On-topic questions about writing software, where software is understood to include any means of specifying to a computer actions to be performed later. (...

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

Answer
81%
+7 −0
Meta Should we have a Code Review Section / category?

I agree and I think it should be a separate category, with separate posting rules. There are several examples of how the rules for each category would likely be fundamentally different: Main Q&...

posted 4y ago by Lundin‭

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‭

Question bug status-completed editor
81%
+7 −0
Q&A Why can't we mix increment operators like i++ with other operators?

I'm experimenting with different operators and have a hard time understanding the outcome of certain expressions. I try to combine the ++ operators with other operators such as assignment in the sa...

1 answer  ·  posted 4y ago by Lundin‭  ·  last activity 4y ago by Lundin‭

Question c undefined-behavior unspecified-behavior increment-operator sequence-points
81%
+7 −0
Q&A .elf file - What contributes to the resulting .bin file size?

I have found this nice library for parsing/writing .elf files as output by e.g. the GCC toolchain: ELFIO I have a bare metal embedded project with an ARM Cortex M target. My goal is to overwrite...

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

Question c elf linker
81%
+7 −0
Q&A How to choose backend technology for my project?

Firstly, the technology stack of a commercial project should be selected based on several different decision factors. Staff availability is paramount. The developers, QA and associated team m...

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

Answer