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
 
88%
+13 −0
Q&A How do I support tab completion in a python CLI program?

It depends. Do you want to have autocomplete on the shell the program runs in, or do you want the program to intercept the TAB key and do the autocomplete by itself? Shell autocomplete If you'r...

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

Answer
88%
+13 −0
Q&A What does the static keyword do in C?

Storage class specifiers static is strictly speaking a storage class specifier, which is an attribute given to a variable or a function stating how it is allocated, how it is accessible and how lo...

posted 3y ago by Lundin‭  ·  edited 7mo ago by Lundin‭

Answer
88%
+13 −0
Q&A Behavior of Pointer Arithmetic on the Stack

This is absolutely undefined behavior. The C standard doesn't say anything about stacks or how they should behave or how local variables should be allocated on them. The word "stack" doesn't even ...

posted 3y ago by Derek Elkins‭

Answer
88%
+13 −0
Meta To transfer, or not to, that is the question: whether 'tis nobler to let it stay or to take arms against Stack Overflow's dominance of FAQ canonicals

Some of you may know me from Stack Overflow or the broader network. In light of recent actions by the company, I finally decided to move over to Codidact. I am a subject matter expert on Google App...

5 answers  ·  posted 1y ago by Oleg Valter‭  ·  last activity 1y ago by Lundin‭

88%
+13 −0
Q&A What are statements and expressions?

When I have tried to read technical explanations of the syntax rules for programming languages, and when I am trying to decipher error messages, I often encounter the terms expression and statement...

4 answers  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 1y ago by Dirk Herrmann‭

87%
+12 −0
Meta How can we grow this community?

I just submitted a proposal to DuckDuckGo here for a new "bang" for their search syntax. If approved: !coddsw search_term will trigger the following URL: https://software.codidact.com/posts/sear...

posted 1y ago by Lorenzo Donati‭

Answer
87%
+12 −0
Meta Are Linux-related questions on-topic?

Linux questions in general are not really topic here. But Bash is. After all, Bash IS a scripting language as much as Javascript. I have a hard time thinking of a question about Bash that is not o...

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

Answer
87%
+12 −0
Q&A For scripting what are the pros and cons of command line arguments versus capturing input at the start?

Let's say I have a script that needs the user to set X number of variables at the start. One can either Pass the arguments in on the command line. Start the program and then have the user input...

6 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 1y ago by Dirk Herrmann‭

87%
+12 −0
Meta Renaming sheets to the more specific google-sheets?

sheets tag sounds a little bit too generic and I feel that it should be replaced with the more specific [google-sheets]. I know that we should avoid using company names as much as possible, but in ...

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

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

When I first learned about salting, I thought the same thing. But as I understand it, because each salt is unique (or substantially unique within a given database table), storing the salt & has...

posted 4y ago by manassehkatz‭

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

Lets say I have two tables, A and B and I need to join a subset of them. Is there best practices of sticking the conditions in the WHERE clause like this, SELECT * FROM A JOIN B on a.fk_b = b....

3 answers  ·  posted 4y ago by Charlie Brumbaugh‭  ·  last activity 1y ago by billkarwin‭

Question mysql join
87%
+12 −0
Q&A What compiler options are recommended for beginners learning C?

When reading questions about C programming from beginners, I very often see them describing peculiar run-time errors and crashes, segmentation faults and similar. They have spent a lot of time chas...

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

87%
+12 −0
Meta What is a minimal, reproducible example?

Sometimes when I ask questions here, I get told that I should include a minimal, reproducible example. What is that?

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

87%
+19 −1
Meta How can we grow this community?

Just my two cents: I found this community because of someone's username on Stack Overflow. That's probably a good start. However I then typed 'codidact' into Google. The first result was codid...

posted 3y ago by metal.carratt‭

Answer
87%
+12 −0
Q&A How do I support tab completion in a python CLI program?

I spend a lot of time writing CLI tools in Python, and I would like to support tab-completion in a style similar to Git. For example, subcommands should be tab-completable, options should expand ba...

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

86%
+11 −0
Q&A What is malloc's standard-defined behavior with respect to the amount of memory it allocates?

I recently told a friend that malloc(n) allocates and returns a pointer to a block of at least N bytes of memory, as opposed to exactly N; that it is allowed to allocate 'extra' memory to meet e.g....

2 answers  ·  posted 3y ago by ajv‭  ·  last activity 3y ago by bta‭

86%
+11 −0
Q&A Behavior of Pointer Arithmetic on the Stack

Generally speaking, pointer arithmetic is undefined behavior unless carried out on arrays. This is how the additive operators behave, C17 6.5.6: For the purposes of these operators, a pointer to...

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

Answer
86%
+11 −0
Q&A Should I check if pointer parameters are null pointers?

When writing any form of custom function such as this: void func (int* a, int* b) Should I add code to check if a and b are null pointers or not? if(a == NULL) /* error handling */ When po...

4 answers  ·  posted 2y ago by Lundin‭  ·  last activity 2y ago by Dirk Herrmann‭

86%
+11 −0
Meta What is a minimal, reproducible example?

TL;DR A MRE (minimal reproducible example) is simply the minimal code and information needed for someone who is reading your question to reproduce the problem you are having. It needs to be enoug...

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

Answer
86%
+11 −0
Q&A Are there references in C?

C does have references, but it does not have pass by reference. A reference is simply an expression that references an object (object here is meant in the general sense, not in the OO sense; for e...

posted 3y ago by celtschk‭

Answer
86%
+11 −0
Q&A Can regex be used to check if input conforms to a very strict subset of HTML?

Tldr; I don't need to parse HTML, but I need to check if user submitted input conforms to a very strict subset of HTML. Can regex be a suitable tool for this? Details I have a frontend sanitiser th...

4 answers  ·  posted 4y ago by jla‭  ·  last activity 4y ago by Stephen C‭

Question javascript regex html
86%
+11 −0
Meta Are code troubleshooting posts allowed?

I assume "help my code isn't working"/troubleshooting posts - which make up much of SO questions - are allowed. However from reading the FAQ, it's not obvious to me that they are. The "on topic" bu...

4 answers  ·  posted 4y ago by 404‭  ·  last activity 1y ago by matthewsnyder‭

Question support
86%
+11 −0
Meta Are code troubleshooting posts allowed?

Yes Questions about troubleshooting your non-working code are on-topic, provided that you include enough information for the community to understand the context (SO names this minimal reproducible...

posted 4y ago by Alexei‭

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

I'm working on an API to respond some data about a bunch of orders and items. The order and item numbers are always an integer (it's the order.id and item.id value, respectively). Originally the re...

3 answers  ·  posted 4y ago by Welz‭  ·  last activity 4y ago by .                                                .‭

86%
+11 −0
Q&A How should we share some content between two otherwise-independent git repositories?

Generally speaking, if two groups of people collaborate on the same software, I'd recommend they put everything in a shared git repository: Documentation is intimately tied to the version of the ...

posted 4y ago by meriton‭

Answer