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.3k posts
 
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 3y ago by Alexei‭  ·  last activity 3y ago by Lundin‭

Question discussion tags
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 3y ago by Charlie Brumbaugh‭  ·  last activity 11mo ago by Dirk Herrmann‭

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 3y ago by klutt‭  ·  edited 3y ago by klutt‭

Answer
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 3y 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 3y ago by Charlie Brumbaugh‭  ·  last activity 8mo ago by billkarwin‭

Question mysql join
87%
+12 −0
Q&A What does the static keyword do in C?

What exactly does the static keyword do in C? I have seen it used in several diverse contexts: 1) As a variable outside a function: #include <stdio.h> static int x = 5; int main (void) ...

1 answer  ·  posted 2y ago by Lundin‭  ·  last activity 12mo ago by Lundin‭

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 2y ago by ajv‭  ·  last activity 2y ago by hkotsubo‭

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 2y ago by klutt‭  ·  last activity 2y ago by klutt‭

87%
+12 −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 5mo ago by Michael‭  ·  edited 5d ago by Michael‭

Answer
86%
+11 −0
Meta How can we grow this community?

Search engine optimization? I thought this goes without saying, but apparently we aren't doing too well there for some reason. The other day I was having a discussion with someone at SO regarding...

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

Answer
86%
+11 −0
Q&A Alternatives to `EXPLAIN ANALYZE` for queries that won't complete

I have a large and complex PostgreSQL SELECT query that I would like to make faster. EXPLAIN suggests it should run quickly, with the worst parts being scans of a few thousand rows. When run, it do...

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

86%
+11 −0
Q&A Git: How to clone only a few recent commits?

How do I clone the repository with only part of the history? For example, let's say I want to download only the last 5 commits out of thousands.

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

Question git-clone
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 3y ago by jla‭  ·  last activity 3y ago by Stephen C‭

Question javascript regex html
86%
+11 −0
Q&A What is CPU endianness?

This goes back to the various CPU architecture "wars" in the 1970s-1980s between the competitors Intel and Motorola (for example Intel 8086 vs Motorola 68000). For various reasons, CPUs from these ...

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

Answer
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 3y ago by 404‭  ·  last activity 11mo 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 3y 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 3y ago by Welz‭  ·  last activity 3y 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
86%
+11 −0
Q&A What is undefined behavior and how does it work?

I have created this sensational program: #include <stdio.h> int* func (void) { int local=5; return &local; } int main (void) { printf("%d\n", *func()); } This prints 5 even thoug...

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

86%
+11 −0
Q&A What gets allocated on the stack and the heap?

While Lundin has written a reasonably complete answer, I think it suffers a bit from the expert view: conflating core issues with implementation details related to modern hardware architecture. I'd...

posted 3y ago by dmckee‭  ·  edited 3y ago by Peter Mortensen‭

Answer
86%
+11 −0
Q&A Why use an asterisk after a type?

Here I used asterisk after Node. Actually, why asterisk used for? What if I don't put any asterisk after Node (Both Node are structure). It's a pointer. A pointer, like its name implies, poin...

posted 3y ago by Moshi‭

Answer
86%
+11 −0
Meta We'd like to add another moderator -- who?

Several months ago we asked for temporary moderators for this community and two people stepped up. One of them later had to step back, leaving Alexei as a sole moderator. Alexei is doing a great ...

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

86%
+11 −0
Q&A How to do private encapsulation in C?

I'm using an object-oriented design for my C project and trying to implement classes with private encapsulation. How do I do this? Some things I've tried that are problematic: Using a struct f...

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

86%
+11 −0
Meta On self-answered questions, is it inappropriate to mark my own answer "Works for me" immediately?

Bear in mind that unlike on some other question and answer sites, the "Works for me" reaction is not restricted to the author of the question. Anyone can add that reaction, whether they posted the ...

posted 10mo ago by trichoplax‭

Answer
86%
+11 −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 9mo ago by Lundin‭  ·  last activity 9mo ago by Lundin‭

Question c c23