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
 
75%
+4 −0
Meta What is the difference between `back-end` and `backend` tags?

Quite obviously, these are the same. The name of the two is literally the same except for a hyphen. They only have one question each. Looking at the questions, they are indeed used for the same pur...

posted 9mo ago by Andreas demands justice for humanity‭

Answer
75%
+4 −0
Q&A Json deserialization of enum, forbid int

This is something that could go really wrong. I remember using this, and it was fine initially, until the enum in question evolved, and the ordinals changed, so the values didn't correspond anymore...

posted 9mo ago by ɯıpɐʌ‭  ·  edited 9mo ago by ɯıpɐʌ‭

Answer
75%
+4 −0
Meta What is the difference between `back-end` and `backend` tags?

I found two tags: back-end and backend. Should we merge them?

1 answer  ·  posted 9mo ago by talex‭  ·  last activity 9mo ago by Andreas demands justice for humanity‭

Question discussion tags
75%
+4 −0
Q&A Differences between Haskell tools Stack and Cabal?

The short, broad strokes answer is that (modern) cabal-install uses a nix-style approach where there's a shared global cache, but you can have multiple versions of a package installed or even the s...

posted 9mo ago by Derek Elkins‭

Answer
75%
+4 −0
Q&A What does an exclamation mark mean in a GraphQL schema?

Types are often followed by exclamation marks in GraphQL schemas. What do they mean? type User { id: Int! email: String! name: String! updatedAt: String! createdAt: String...

1 answer  ·  posted 9mo ago by Iizuki‭  ·  last activity 8mo ago by Alexei‭

Question syntax graphql
75%
+4 −0
Q&A What does an exclamation mark mean in a GraphQL schema?

It's a type modifier that means that the field is non-nullable. That is, when uploading these types you must provide values for these fields, and in turn the server promises to always populate the...

posted 9mo ago by Iizuki‭

Answer
75%
+4 −0
Q&A What are X macros and when to use them?

Purpose and use X macros is a design pattern used for the purpose of centralizing data & code maintenance to a single point in the program. Instead of maintaining code based on some data set i...

posted 4mo ago by Lundin‭  ·  edited 4mo ago by Lundin‭

Answer
75%
+4 −0
Q&A Why force designation of a remote main branch?

GitHub seems to require that one of the branches on it be marked as the "primary" branch. I understand this (perhaps mistakenly) to be the origin/HEAD. Why would they make it compulsory? On forked...

2 answers  ·  posted 3mo ago by Michael‭  ·  last activity 3mo ago by InfiniteDissent‭

Question git github
75%
+4 −0
Meta How to handle correct answers that also include spam?

In my opinion, there is a single appropriate response to any incident of obvious, commercial, off-topic spam: an immediate, unconditional, one-strike-and-you're-out, permanent ban of the user and t...

posted 3mo ago by InfiniteDissent‭  ·  edited 3mo ago by InfiniteDissent‭

Answer
75%
+4 −0
Q&A Get the name of the remote tracked branch of my local branch for use in script

Can I programmatically get the name of the remote branch which my local branch is tracking? I'm interested in scripting around git-range-diff(1), so that I could do something like this: [alias] ...

1 answer  ·  posted 4mo ago by alx‭  ·  last activity 3mo ago by Alexei‭

Question git
75%
+4 −0
Q&A Get the name of the remote tracked branch of my local branch for use in script

I'm not exactly sure what you want with the whole of rd, but …programmatically get the name of the remote branch which my local branch is tracking… sounds very much like the @{upstream}/@{u} ...

posted 4mo ago by Michael‭  ·  edited 4mo ago by Michael‭

Answer
75%
+7 −1
Meta How to handle correct answers that also include spam?

A recent answer on Software Development was correct, but was included spam / self promotion (unrelated to the question or the answer). The answer was edited to remove the spam, but it was suggeste...

4 answers  ·  posted 3mo ago by Alexei‭  ·  last activity 3mo ago by InfiniteDissent‭

Question discussion answers spam
75%
+4 −0
Q&A How to find the last line number of a section in a text file (particular format)

Assigning the variable end to ']' gets the line number of every closing bracket To solve this, just set the last line number only if the first line number is already set. Like this: def readS...

posted 3mo ago by hkotsubo‭  ·  edited 3mo ago by hkotsubo‭

Answer
75%
+4 −0
Meta How to handle correct answers that also include spam?

It's a mistake to draw a general question based on this specific incident. The spam in question has been posted to Codidact dozens of times, often in AI-generated texts. There is no reason to assu...

posted 3mo ago by Andreas demands justice for humanity‭

Answer
75%
+4 −0
Q&A Why is SQL usually written in CAPS?

Since the tradition doesn't have any enforcement anywhere, we can't necessarily pinpoint a single reason, but it probably has a lot to do with the available technology of the early 1970s when Chamb...

posted 2mo ago by John C‭

Answer
75%
+4 −0
Meta Should beginner-oriented Q&A here include basic use of a terminal (command line) for developers?

It seems that year over year, computers constantly get easier to use, and it becomes easier for people to start learning to program who have never touched it before. This comes with the consequence...

3 answers  ·  posted 12mo ago by Karl Knechtel‭  ·  last activity 12mo ago by matthewsnyder‭

Question discussion scope beginner-questions
75%
+4 −0
Q&A Why does Pip display "error: externally-managed-environment", and what can I do about it?

Reminder: never use sudo to run Pip. This can never properly fix a problem and only introduces serious security risks. Installing third-party packages from PyPI can run arbitrary code at install ...

posted 12mo ago by Karl Knechtel‭  ·  edited 12mo ago by Karl Knechtel‭

Answer
75%
+4 −0
Q&A Why does Pip display "error: externally-managed-environment", and what can I do about it?

My (non-Windows) operating system came with Python, but that Python didn't include Pip. I followed instructions to install Pip for the included Python, using my system's package manager. But now w...

2 answers  ·  posted 12mo ago by Karl Knechtel‭  ·  last activity 12mo ago by Alexei‭

Question python linux pip
75%
+4 −0
Q&A Managing a dependency for a C application

One of my applications has a dependency on a stb-library. Now I am publishing this application to Github. Should I: Include the header that was used during development with the code? Have an in...

2 answers  ·  posted 12mo ago by Melkor-1‭  ·  edited 11mo ago by matthewsnyder‭

Question c package
75%
+4 −0
Q&A What's the difference between include_directories and target_include_directories?

I have seen others allude to include_directories as disfavored: Having trouble adding include directories Summaries from CMake's documentation: target_include_directories include_directori...

1 answer  ·  posted 1y ago by nogjam‭  ·  last activity 12mo ago by congusbongus‭

Question cmake
75%
+4 −0
Q&A Android Studio IDE refuses to find my device

I've installed Android Studio Jellyfish (snap) on an Ubuntu Fossa VM and was finally able to generate an apk for my project after struggling with Gradle, Java, plugins, etc. The device is detected...

1 answer  ·  posted 1y ago by JohnRando‭  ·  last activity 1y ago by FractionalRadix‭

Question android ubuntu usb
75%
+4 −0
Q&A Understanding Virtual Environments for Python

Why The most important ideas behind virtual environments are: Since there is a separate site-packages, you can isolate the dependencies of your project. This is especially important for testi...

posted 1y ago by Karl Knechtel‭

Answer
75%
+4 −0
Q&A Regex to get text outside brackets

I am trying to capture the content outside square brackets in groups, using this regex: (.*)\[.*?\](.*) And it works perfectly for a simple string like this: testing_[_is_]_done This is the...

2 answers  ·  posted 1y ago by TonyMontana‭  ·  last activity 7mo ago by hkotsubo‭

Question regex python-3
75%
+4 −0
Q&A Why does `tkinter` (or `turtle`, or IDLE) seem to be missing or broken? Isn't it part of the standard library?

I had understood that Python is supposed to come "batteries included", and that the "batteries" specifically include: the tkinter standard library, a simple GUI framework a simple IDE cal...

1 answer  ·  posted 12mo ago by Karl Knechtel‭  ·  last activity 11mo ago by Karl Knechtel‭

Question python installation tkinter
75%
+4 −0
Q&A how to apply ANSI escape codes when a backslash precedes the escape code

I figured out a solution myself. You can use two echo commands to print the two strings separately, where the -n option is used for the first string to prevent the insertion of a trailing newline ...

posted 2mo ago by Trevor‭  ·  edited 2mo ago by Trevor‭

Answer