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
 
83%
+8 −0
Q&A Git-ignoring files with special characters in their names, especially newlines

My actual motivation is to understand the semantics of the .gitignore file syntax in precise detail, for a program which is expected to emulate them as accurately as possible. However, while coming...

1 answer  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 1y ago by Peter Taylor‭

Question git linux gitignore
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 1y ago by tarhalda‭  ·  edited 1y 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
83%
+8 −0
Q&A After git fetch, how to fast forward my branch?

I did git fetch to quickly get latest commits. I did this instead of git pull so I could deal with merge conflicts offline. But my repository is still stuck on the old commit, and now git pull fail...

2 answers  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 2mo ago by hkotsubo‭

Question git
83%
+8 −0
Q&A Why is the new auto keyword from C++11 or C23 dangerous?

In older C and C++ standards, the auto keyword simply meant automatic storage duration. As in the compiler automatically handles where the variable is stored, typically on the stack or in a registe...

2 answers  ·  posted 9mo ago by Lundin‭  ·  last activity 7mo ago by celtschk‭

Question c c++ storage-duration c23 c++11
83%
+8 −0
Q&A Map<?, Optional<T>> to Map<?, T>

I have a Map with Optional values. I want to filter it to remove empty values. Map<K, Optional<T>> input; Map<K, T> result = input. // here is some code I'm looking for ...

2 answers  ·  posted 7mo ago by talex‭  ·  last activity 7mo ago by hkotsubo‭

Question java stream
83%
+8 −0
Q&A Reusing HTML without rewriting it

Use a static site generator. There are other possibilities, but they seem more complicated or worse for your use case. A static site generator takes in source data in some combination of markup fo...

posted 8mo ago by Derek Elkins‭  ·  edited 8mo ago by Karl Knechtel‭

Answer
83%
+8 −0
Q&A Are email addresses case-sensitive?

Usually not in practice, but the user name part of an email address can be case-sensitive. Going way back to RFC821 (emphasis mine): Commands and replies are not case sensitive. That is, a comma...

posted 2mo ago by Olin Lathrop‭

Answer
83%
+8 −0
Meta Call for moderators (2025)

Sure, I'll step up for this, since nobody else has yet. I think my credentials speak for themselves, but just in case: I'm an accomplished Python developer with a long history of helping people ou...

posted 2mo ago by Karl Knechtel‭

Answer
83%
+8 −0
Q&A How to declare variable-length arrays correctly?

This is meant as a FAQ Q&A regarding variable-length arrays (VLA). The two bugs described below are surprisingly common. I'm trying to use the variable-length arrays feature of C99 (and newe...

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

Question c c99 variable-length-arrays
83%
+8 −0
Q&A Why does Firefox block based on a restrictive default-src directive, when more specific, more permissive *-src exist?

I am working on a website which unfortunately uses a mix of linked and inline CSS and Javascript (and, even more unfortunately, I can't do a lot about the use of inline CSS and Javascript), and am ...

1 answer  ·  posted 3y ago by Canina‭  ·  last activity 3y ago by Moshi‭

Question content-security-policy
83%
+8 −0
Q&A Why storing variables inside a variable?

Some variables make sense to bundle together. For example, if you have a graphics method to draw an image, you will need to pass in an X and Y coordinate for where to draw the image. Those are two...

posted 3y ago by Dana‭

Answer
83%
+8 −0
Q&A How to get string length in D?

what ways can I get a string's length in D? There are many different ways, and that will depend on the content of the strings, their types, and how you define the terms "character" and "length...

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

Answer
83%
+8 −0
Q&A What's the difference between Inheritance and Polymorphism?

Does Inteheritance actually meant return and Polymorphism meant to print out values? This doesn't make the slightest sense... Probably you should forget all you've heard - don't "watch tutoria...

posted 3y ago by Lundin‭

Answer
83%
+8 −0
Q&A How to read lines into an array in Bash

1st issue As others have said, echo "$array" only prints the first element of the array; I suggest printf '%s\n' "${array[@]}" to print each element on a line. 2nd issue More importantly, th...

posted 3y ago by Quasímodo‭

Answer
83%
+8 −0
Meta Codidactyl game and code - creation process and obfuscation

I am interested in knowing how the recent Codidactyl game and its code were created and obfuscated. See the non-announcement. From other posts, it appears that luap42 and Monica Cellio may have wo...

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

Question discussion obfuscation
83%
+8 −0
Meta How to inhibit auto link generation?

Method 1: <span> (or other HTML tag) It appears that Markdown isn't detected within HTML tags, so you can wrap the URL-like in a span or other tag and it won't turn into a link. <span&gt...

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

Answer
83%
+8 −0
Meta How to inhibit auto link generation?

I have a post where I mention a script named dead.sh Ok... now I have two posts like that. But that is not a website. It is a filename, and not one reachable through an URL. How can I inhibit aut...

1 answer  ·  posted 4y ago by Estela‭  ·  last activity 4y ago by Moshi‭

Question support feature-request
83%
+8 −0
Q&A How to set text-align for whole column of HTML table?

In addition to what Moshi already told you: Among web designers, W3Schools has a somewhat tainted reputation, because it often makes things simpler than they really are. In my experience, this lac...

posted 4y ago by meriton‭

Answer
83%
+8 −0
Q&A How to set text-align for whole column of HTML table?

To start off, here is the complete HTML of a simple example table: <html lang="en-US"> <head> <title>Title</title> <style> table { width: 20em; ...

2 answers  ·  posted 4y ago by Olin Lathrop‭  ·  edited 4y ago by Alexei‭

Question html text-align alignment
83%
+13 −1
Meta Is it OK to use abusive content on code?

"Brainfuck" is the name of a programming language; using the full name of the language is perfectly fine. We don't need to bowlderize proper names. As for your other example - foul language in cod...

posted 4y ago by Mithical‭

Answer
83%
+8 −0
Meta Should "Hello", "Thank you", "Morning" and similar greetings be removed from posts?

I just started to see greetings in posts like: "Hello", "Thank you", "Morning" and other types of greetings. Should this greetings be removed from posts or we just keep them? Sometimes I think th...

2 answers  ·  posted 3y ago by Kevin M. Mansour‭  ·  last activity 3y ago by dmckee‭

Question discussion
83%
+8 −0
Q&A What is a good modern language to use for a Business Rules project?

Caveat When making a decision of such lasting impact, you should conduct your own evaluation according to the criteria that matter to you. This post does not attempt to replace such an evaluation,...

posted 3y ago by meriton‭

Answer
83%
+8 −0
Code Reviews BMPL: The language I'll bring to life

First of all, I realize that this is mostly a library you've implemented while learning programming, for the sake of learning, which is great. So I would rather not put a "wet blanket" over your at...

posted 3y ago by Lundin‭

Answer