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
2.6k posts
 
83%
+8 −0
Q&A Git add/stage only part of a file's changes

Git's interactive mode has a patch action. This is the shortcut for it: git add --patch <file> It will split the file into hunks and interactively ask which one's to add. It has a plethor...

posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Answer
83%
+8 −0
Q&A Are "strong passwords" at all meaningful?

Disclaimer: I am not a security expert nor a security professional. There is, of course, a relevant XKCD comic for this: The entropy numbers appear to be accurate based on this security.stackex...

posted 12mo ago by tarhalda‭  ·  edited 12mo ago by Michael‭

Answer
83%
+8 −0
Q&A Name for host + path (parts of a URL)

RFC 3986 defines a suffix reference as follows (emphasis my own): 4.5. Suffix Reference The URI syntax is designed for unambiguous reference to resources and extensibility via the URI scheme. ...

posted 1y ago by Moshi‭

Answer
82%
+12 −1
Q&A Why is it considered bad practice to use float for representing currency?

This is intended to be a canonical post for this problem which is pretty common. Especially among beginners. I've heard that I should avoid using floating point variables for representing curren...

2 answers  ·  posted 3y ago by klutt‭  ·  last activity 3y ago by klutt‭

82%
+12 −1
Meta How will you balance demanding high quality questions with maximising the number of users?

There is a well know trade-off between a site aiming for questions/answers that are of a high quality and useful for people who arrive from Google and a site being nice to new users who often only ...

3 answers  ·  posted 4y ago by Ringi‭  ·  edited 4y ago by Ayxan Haqverdili‭

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

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‭

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‭

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‭

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‭

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
81%
+7 −0
Meta Are code troubleshooting posts allowed?

You are right, the on-topic page is confusing - trouble-shooting and general programming questions should obviously be on-topic! Perhaps we considered it so obvious that it fell between the lines ...

posted 4y ago by Lundin‭

Answer