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
 
96%
+46 −0
Meta How can we grow this community?

Codidact's communities have a lot of great content that is helping people on the Internet. Our communities are small, though, and sustainable communities depend on having lots of active, engaged p...

18 answers  ·  posted 3y ago by Monica Cellio‭  ·  last activity 2mo ago by user253751‭

95%
+36 −0
Meta Welcome to Software Development!

Welcome to the Codidact site for Software Development! We're glad you're here and we're excited to see what you will build. This community is starting "from scratch", without importing Q&A fr...

0 answers  ·  posted 4y ago by Monica Cellio‭

93%
+25 −0
Meta How can we grow this community?

Increase exposure One way of increasing our exposure is to use Codidact as a source when answering on other forums. As long as we are treating Codidact as any other source, there is absolutely not...

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

Answer
92%
+24 −0
Q&A What is HEAD in Git?

In Git documentation, there are lots of references to the term "HEAD". But what exactly is it? Some places refer to it as "a pointer to the current branch". So it's a branch? What is it used for?

1 answer  ·  posted 3y ago by hkotsubo‭  ·  last activity 2y ago by hkotsubo‭

Question git terminology
92%
+24 −0
Q&A Should a salt be stored in the same database as the hash?

The purpose of a cryptographic salt is to make the same input (password) hash to different values in different instances, yet retain the hash function's deterministic properties. Salting accomplish...

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

Answer
92%
+23 −0
Q&A What is HEAD in Git?

First, we need to understand what a Git repository actually is. For that, refer to this article: it explains that a Git repository is actually a DAG (Directed Acyclic Graph). I'm not going into the...

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

Answer
92%
+22 −0
Q&A How does Zalgo Text work, and how can I prevent my application from accepting it?

First, let's see how Zalgo Text works. Unicode Combining Characters Unicode defines the concept of combining characters. Basically, some characters can be combined with others, to "make/create"...

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

Answer
92%
+21 −0
Q&A What is the purpose of `if __name__ == '__main__'`?

It makes difference if the script is being imported. Let's suppose I have a file my_file.py: # my_file.py def some_function(): print('do some stuff') print('calling function:') some_fun...

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

Answer
92%
+21 −0
Q&A What must a C compiler do when it finds an error?

The C standard does not speak of "errors" and "warnings", those are not formal terms. The compiler is only required to produce a diagnostic message, as specified in C11 5.1.1.3: Diagnostics A c...

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

Answer
91%
+20 −0
Meta Getting rid of "company tags" early on

So it appears that we've gotten our first "company tag", Apple. We know from SO that company name tags were always problematic since: Questions are about products, not companies. Given that the pr...

1 answer  ·  posted 4y ago by Lundin‭  ·  last activity 4y ago by Alexei‭

Question discussion tags
91%
+20 −0
Q&A Should a salt be stored in the same database as the hash?

To protect against dictionary and rainbow table attacks it is well known that passwords should be salted before hashing. The salt (unique to each password) gets stored with the hash, often in the s...

5 answers  ·  posted 4y ago by jla‭  ·  last activity 10mo ago by bencurthoys‭

Question security hash salt
91%
+19 −0
Q&A Why are list comprehensions written differently if you use `else`?

It's not a matter of order; Python simply does not directly allow else clauses as part of list comprehensions (docs). When we use [num if num != 11 else 22 for num in hand] We are actually usin...

posted 3y ago by Moshi‭

Answer
90%
+18 −0
Meta Why using images for code, errors, logs or similar should be avoided?

There are multiple reasons why using images of code, errors, logs and other text resources used in programming instead of the actual text is strongly discouraged. Shortly put, the question should ...

posted 3y ago by Alexei‭  ·  edited 2mo ago by Andreas witnessed the end of the world today‭

Answer
90%
+18 −0
Meta How can we grow this community?

By having decent source code formatting that isn't completely inferior to other sites like Stack Overflow. We might want to post/view snippets longer than 13 lines without suffering some scroll whe...

posted 2y ago by Lundin‭

Answer
90%
+18 −0
Q&A What is C23 and why should I care?

The C language has gone through many iterations and the latest one not yet released is informally called "C23", supposedly because they hoped to release it in 2023. The latest draft version N3096 i...

1 answer  ·  posted 1y ago by Lundin‭  ·  edited 10d ago by Lundin‭

Question c c23
90%
+18 −0
Q&A Are "strong passwords" at all meaningful?

Whenever registering to diverse sites on the net, you are often forced to enter a so called "strong password", which would ideally contain both upper case letters, lower case letters, digits, and s...

4 answers  ·  posted 11mo ago by Lundin‭  ·  last activity 4mo ago by Michael‭

90%
+18 −0
Q&A What must a C compiler do when it finds an error?

What exactly must a C compiler do when it finds a compile-time error? The most obvious kind of errors are language syntax errors, but the C standard also speaks of constraints, which are rules tha...

1 answer  ·  posted 4y ago by Lundin‭  ·  edited 3y ago by ghost-in-the-zsh‭

90%
+18 −0
Q&A Does the location of an import statement affect performance in Python?

When writing Python-based apps (e.g. Django, Flask, etc.), it's often the case that import statements can be found all over the place, often more than once for the same module. For example, you can...

1 answer  ·  posted 4y ago by ghost-in-the-zsh‭  ·  last activity 4y ago by ghost-in-the-zsh‭

90%
+17 −0
Meta Should we allow answers generated by ChatGPT?

We got our first (mostly) ChatGPT answer in our community. Also, a question includes an adapted ChatGPT code that does not seem to do the job. StackOverflow has already banned ChatGPT answers and ...

9 answers  ·  posted 2y ago by Alexei‭  ·  last activity 1y ago by Monica Cellio‭

Question discussion answers
90%
+17 −0
Meta Why using images for code, errors, logs or similar should be avoided?

I have noticed that virtually any question containing an image of some code or error got a comment asking to replace it with the actual code, error text. Why is it so bad to include an image inste...

1 answer  ·  posted 3y ago by Alexei‭  ·  last activity 2mo ago by Andreas witnessed the end of the world today‭

Question discussion
90%
+17 −0
Q&A What is the purpose of `if __name__ == '__main__'`?

I often see the construct if __name__ == '__main__' in Python code. For example, the queens.py demo in the Python repository ends with these two lines: if __name__ == "__main__": main() Ho...

1 answer  ·  posted 3y ago by J-hen‭  ·  last activity 3y ago by hkotsubo‭

90%
+17 −0
Q&A Are "strong passwords" at all meaningful?

Passwords are annoying. Nobody really enjoys passwords, which is why "The End of Passwords" articles keep circulating. I'm looking forward to the day the prediction comes true, but in the meantime ...

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

Answer
90%
+16 −0
Meta How can we grow this community?

In light of another fiesta on a "competitor site", I poked my head in here again. Here's my twocents. When a ship starts going down, there's only three courses of action for every individual Fi...

posted 1y ago by Passer By‭  ·  edited 1y ago by Passer By‭

Answer
90%
+16 −0
Q&A How to do private encapsulation in C?

The concept you are looking for is referred to as opaque type or opaque pointers. This is the proper method to achieve private encapsulation in C and can also be used for inheritance/polymorphism (...

posted 3y ago by Lundin‭  ·  edited 2y ago by Lundin‭

Answer
89%
+15 −0
Q&A What's the correct way to merge a branch and its dependent branch back to master?

I think a branch is a set of commits Well, technically no, it's not. But first things first. DAG (Directed Acyclic Graph) Personally, Git became much more easier to understand after I've r...

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

Answer