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
 
77%
+5 −0
Meta Strategy to migrate meaningful content from Stack Overflow

Note: This is not an official Codidact staff answer; this is my personal opinion. Let's try to build up a bit of an original base before we work on imports. Based on other sites where content was ...

posted 4y ago by Mithical‭

Answer
77%
+5 −0
Q&A Is it recommended for ASP.NET Web API actions to always include a CancellationToken?

A cancellation token doesn't inherently do anything. It's up to the code which does the work to call ThrowIfCancellationRequested. If the token isn't passed on and isn't explicitly checked then the...

posted 4y ago by Peter Taylor‭

Answer
77%
+5 −0
Meta What is our policy on tags?

I've come to realize that tags began changing pretty rapidly recently. In the past 3 days alone, these happened: [urlrewrite] was changed to a more generic [url-rewriting] tag and the tag wiki for...

3 answers  ·  posted 4y ago by Moshi‭  ·  last activity 4y ago by Alexei‭

77%
+5 −0
Meta Community feedback: What type of questions can I ask here?

questions about the system, network, or server administration Which system? I think it is clearer without "the": questions about system, network, or server administration

posted 4y ago by meriton‭

Answer
77%
+5 −0
Meta What is our policy on tags?

Luckily, we are in a position where we don't have to re-invent the wheel. We can see what went either wrong or horribly wrong at SO, then avoid making the same mistakes. Some common problems: Maki...

posted 4y ago by Lundin‭

Answer
77%
+5 −0
Meta Are reference requests welcome here?

On that other site that shall not be named, reference request questions are outlawed as "asking for an off-site resource". What do you guys think about such questions? Should they be welcome here?...

4 answers  ·  posted 4y ago by meriton‭  ·  last activity 4y ago by dmckee‭

Question discussion scope
77%
+5 −0
Code Reviews PHP script to create a KML square centred on a point.

1 - Rearrange the code: Open stdin, read all parameters, close stdin, then process the parameters. 2 - Consider adding some validation to the parameters. 3 - Add an explanation of the magic number ...

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

Answer
77%
+5 −0
Q&A Is an ORDER BY required when looping through MySQL records with LIMIT?

Let's say I have a table with 10,000 rows and instead of selecting all of the rows at once I select 1,000 at a time like LIMIT 0,1000 LIMIT 1000,1000 etc. Without an ORDER BY statement the or...

1 answer  ·  posted 4y ago by Charlie Brumbaugh‭  ·  edited 3y ago by Alexei‭

77%
+5 −0
Code Reviews Improved Atkin-Bernstein sieve for generating primes

This is a class from my personal code library, and from a package which deals with integer sequences. It implements an interface package org.cheddarmonk.math.sequence; public interface IntegerSequ...

0 answers  ·  posted 4y ago by Peter Taylor‭

Question java prime-numbers
77%
+5 −0
Q&A What would the pros and cons of storing the compiled CSS output of SASS in version control?

If one is using SASS to build a websites CSS and using version control one can either, Keep both the SASS and the resulting CSS files in version control. Only storing the SASS files in version con...

4 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 4y ago by ben‭

77%
+5 −0
Q&A Is it possible in MySQL to require each row in a table have at least one foreign key record in a join table?

I have tables A and B and then I have a many to many join table with foreign keys to both called a_b. Neither foreign key can be null and the combinations for the foreign keys to A and B are unique...

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

Question mysql referential
77%
+5 −0
Q&A Is omitting braces for single statements bad practice?

Already good answers, but I can provide a slightly different perspective here: always use braces if there is a risk of getting into a pitfall. Examples (from C#, but the language is less relevant)...

posted 4y ago by Alexei‭

Answer
77%
+5 −0
Meta I subscribed every 7 day but I got email every day

I created subscription to new questions that should emailed every 7 days but I receieved every day. here is my setting: here is my mail inbox: and unfortunately, I got emails with same quest...

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

Question bug
77%
+5 −0
Q&A When should I use wait() instead of get() when using C++ threads

tl;dr If you don't have a reason otherwise, you should use get. More precisely, if you will be done with the future, you should use get. You should use wait only if there is some separation between...

posted 4y ago by Derek Elkins‭

Answer
77%
+5 −0
Q&A When should I use wait() instead of get() when using C++ threads

I'm trying to understand the purpose of the wait() function in Class future<> for C++. At the moment I don't see any purpose for calling wait() instead of get(). What I have tried in code: i...

1 answer  ·  posted 4y ago by hamsasimon‭  ·  last activity 4y ago by Derek Elkins‭

Question c++ multithreading
77%
+5 −0
Q&A What is do { } while(0) in macros and should we use it?

Reasons to use the construct #define FOO(x) do{...} while(0);: As mentioned above, doing so solves the problem of if (...) FOO(y); You can declare variables inside the block, and they ...

posted 4y ago by Pete W‭  ·  edited 1y ago by Karl Knechtel‭

Answer
77%
+5 −0
Code Reviews C# MVVM Login Project

<Window x:Class="Login_App.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns...

posted 4y ago by Peter Taylor‭

Answer
77%
+5 −0
Meta Is it OK to use abusive content on code?

In SO, I had saw that a person was writing lot of abusive words inside code. Just like, if(a==b){ print("f***") } I had flagged on that post with little bit explanation. The user gave ...

2 answers  ·  posted 3y ago by deleted user  ·  last activity 3y ago by Estela‭

77%
+5 −0
Q&A Modern CSS for splitting form sections into columns

I have a mobile-only HTML contact form divided in source code into three sections; each section should contain fields by a different context. <!DOCTYPE html> <html> <head> ...

1 answer  ·  posted 3y ago by deleted user  ·  edited 3y ago by Alexei‭

77%
+5 −0
Meta Etiquette for posting comments

Proposal: Can Include Helpful feedback I'd refrain from restricting the topic of feedback, because there are many possible topics: Clarifying the question Explaining why OP would be ...

posted 3y ago by meriton‭

Answer
77%
+5 −0
Meta Do we need more specific up/down vote reasons for Software Development community?

I agree that these buttons should have tooltips explaining what the buttons are for. That would be far more useful than showing the result of a simple calculation on the displayed votes, and seems ...

posted 3y ago by meriton‭

Answer
77%
+5 −0
Q&A Is the concept of a PHP lint feasible?

If I understand correctly what you are asking for is a static code analysis tool for PHP. A quick search reveals that Psalm would be such a tool.

posted 3y ago by Alexei‭

Answer
77%
+5 −0
Meta Is it correct to downvote answers to bad questions?

I think there are two aspects here: What to do about offtopic questions? Being offtopic should trigger a close/flagging action. I see voting mostly related to the post quality (useful, shows some...

posted 3y ago by Alexei‭

Answer
77%
+5 −0
Code Reviews Is this HTML sanitizer safe?

Is there any disadvantage of doing it this way that I should be aware of? In general whitelisting is the best way to sanitise, but it does create important error classes, especially missing it...

posted 3y ago by Peter Taylor‭

Answer
77%
+5 −0
Q&A updating a function within a struct

You are correct in your analysis (though I would not call new_b a "parameter" but a captured variable). What you want is for the closure (anonymous function) to take responsibility for new_b and n...

posted 3y ago by Derek Elkins‭

Answer