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
 
77%
+5 −0
Q&A How can I manage multiple consecutive strings in a buffer (and add more later)?

When looking at this, we might pretty soon note that storing strings in the same buffer by using null terminators as separator is quite clunky. It blocks us from using handy functions like strtok, ...

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

Answer
77%
+5 −0
Q&A What is a reasonable minimum for making a FOSS project inviting to contributors?

A lot of people who maintain FOSS projects would like to get more contributions. What can the maintainer do to ensure that potential contributors are converted into actual contributors? There are...

2 answers  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by Michael‭

Question documentation open-source
77%
+5 −0
Q&A How to delete a remote branch in git?

How to delete a branch from a remote in git? E.g. maybe you had this branch locally too, but you deleted it already according to this question. Now you want to get rid of the corresponding remote ...

2 answers  ·  posted 1y ago by Iizuki‭  ·  last activity 1y ago by hkotsubo‭

Question git
77%
+5 −0
Meta I answered a question that was deleted, then undeleted, and my answer disappeared

We rolled out a fairly major update this morning - implementing our new Abilities system. However, it... didn't go as smoothly as planned; the database apparently didn't update properly with new co...

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

Answer
77%
+5 −0
Q&A Are there best practices for sticking conditions in WHERE clauses vs the JOIN statement?

@BruceAlderman gave a good answer with different aspects that covers the most. I'm not very good at SQL, so my answer is more general. When I have to choose between two different things that are e...

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

Answer
77%
+5 −0
Meta Multiple code blocks have the code in different colors

#NotABugForOnce This is down to language guessing. If you don't tell the highlighter what language your code is in, it guesses. Sometimes, it guesses wrong, like here. I've edited the post and ad...

posted 4y ago by ArtOfCode‭

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
Q&A How does Caveat work?

One of the fonts available (to me) on Google Docs is Caveat. The following is in 18-point Caveat on Google Docs: I found that Caveat is available at https://github.com/googlefonts/caveat/tree/ma...

0 answers  ·  posted 5y ago by msh210‭  ·  edited 4y ago by Alexei‭

Question google-fonts fonts
77%
+5 −0
Q&A Mapping generic handler to generic query in MediatR

I am using MediatR in an ASP.NET Core 3.1 application and I want use a generic query and a generic request that deals with getting lists of some standard items I am using in drop-downs and similar:...

0 answers  ·  posted 5y ago by Alexei‭  ·  edited 3y ago by Alexei‭

Question mediatr asp.net-core asp.net-core-3.1 generics cqrs
77%
+5 −0
Meta Asking software architecture related questions on Software Development community

These questions boil down to "what are do the people who curate the site want to maintain?" The higher the percentage of people who do that curation (and that includes closing and deleting content ...

posted 5y ago by shagie‭  ·  edited 5y ago by shagie‭

Answer
77%
+5 −0
Q&A Does using an Integer have any speed/performance benefits over a string in JSON

JSON is a standard. Performance is implementation specific and dependent on what is being done with the data. The answer really depends on what your environment is. Some languages may have slight p...

posted 5y ago by jla‭  ·  edited 5y ago by jla‭

Answer
77%
+5 −0
Meta How does the community feel about resource requests?

How does the community feel about resource requests? For example: I have been working on a project recently. By which I mean: mostly stumbling through by trial-and-error. The particular open source...

3 answers  ·  posted 5y ago by QuietEnigma‭  ·  last activity 5y ago by Lundin‭

Question discussion
77%
+12 −2
Q&A What gets allocated on the stack and the heap?

I was told by my professor/book that computer programs use two kinds of memory and that all variables get allocated either on the stack or on the heap. Is this true? How can I tell where a variable...

2 answers  ·  posted 5y ago by Lundin‭  ·  edited 4y ago by Alexei‭

Question stack-memory heap-memory memory-management
77%
+5 −0
Meta Long code lines are not wrapped

This is a small bug (cosmetic) that I have noticed while adding some code in a post: I have artificially added some whitespace here and there, otherwise the line would have been way longer.

2 answers  ·  posted 5y ago by Alexei‭  ·  edited 5y ago by Monica Cellio‭

Question bug status-completed editor
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 5y 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 5y ago by Peter Taylor‭

Answer
77%
+5 −0
Q&A Multiple catches with almost the same code.

One solution would be to catch a more generic base class, like std::exception. If all your exceptions derive from that, you should be safe. Another solution I like better is using destructors to d...

posted 4y ago by Ayxan Haqverdili‭  ·  edited 4y ago by Ayxan Haqverdili‭

Answer
77%
+5 −0
Q&A min-height for HTML form's submit buttons from a web accessibility standpoint

There is no universal accessibility standard for how tall your buttons should be. Consider that when you're using a simple link, users have to click on the text itself to follow the link; as long a...

posted 4y ago by ArtOfCode‭

Answer
77%
+5 −0
Q&A F-bounded polymorphism, interface operators, and type inference in C#

C# language version 8.0 introduces limited support for static methods, operators, etc. in interfaces. However, there are still limitations. I was hoping to use the new language features to try a ge...

0 answers  ·  posted 4y ago by Peter Taylor‭

Question c# polymorphism type-system operator-overloading
77%
+5 −0
Q&A How to match standard email addresses with regex?

I want to match standard email syntax (lowercased English, numbers and perhaps also some hyphens and underscores) with regex for a sed operation that matches and changes a single email address insi...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by hkotsubo‭

Question regex email sed
77%
+5 −0
Q&A How to prompt a user for an expanded variable in Bash?

How about this for bash: #!/bin/bash echo "What is your web application root?" read web_application_root web_application_root="$(envsubst <<< "$web_application_root")" echo web_...

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

Answer