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
 
75%
+4 −0
Q&A What is a reasonable minimum for making a FOSS project inviting to contributors?

A lot of people who maintain FOSS projects would like to get more contributions. What can the maintainer do to ensure that potential contributors are converted into actual contributors? There are...

2 answers  ·  posted 2mo ago by matthewsnyder‭  ·  last activity 2mo ago by Michael‭

66%
+2 −0
Q&A .NET dependency management: `dotnet add package` vs. Paket?

Many older projects (i.e., older than 5 years) provide instructions to the Paket .NET dependency manager (e.g., Suave), so I started digging into it, got confused, then gave up for while because er...

1 answer  ·  posted 2mo ago by toraritte‭  ·  last activity 2mo ago by toraritte‭

Question .net-core nuget paket
77%
+5 −0
Q&A How can I manage multiple consecutive strings in a buffer (and add more later)?

When looking at this, we might pretty soon note that storing strings in the same buffer by using null terminators as separator is quite clunky. It blocks us from using handy functions like strtok, ...

posted 2mo ago by Lundin‭  ·  edited 19d ago by Lundin‭

Answer
71%
+3 −0
Q&A How can I manage multiple consecutive strings in a buffer (and add more later)?

The fundamental problem here is that it is already ambiguous where the "end" of the data in the buffer is. Strings can be empty (have zero length as reported by strlen); as such, buffer could equal...

posted 2mo ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A How can I manage multiple consecutive strings in a buffer (and add more later)?

This question is inspired by If I have a char array containing strings with a null byte (\0) terminating each string, how would I add another string onto the end? on Stack Overflow. Suppose I have...

2 answers  ·  posted 2mo ago by Karl Knechtel‭  ·  last activity 19d ago by Lundin‭

Question c string
66%
+2 −0
Q&A How to group a flat list of attributes into a nested lists?

The obvious way would be to simply start with an empty list of lists, loop through the input, and for each item decide which sublist to put it in. It's not super dev-friendly to remember which lis...

posted 2mo ago by matthewsnyder‭

Answer
75%
+4 −0
Meta Don't close questions for lack of detail/confusion

No. Terms like "too generic", "unclear", "too broad", "off topic" are absolutely not euphemisms for "stupid question, go away". They mean what they say; and when they are used Somewhere Else, mult...

posted 2mo ago by Karl Knechtel‭

Answer
75%
+4 −0
Q&A Simplest way of getting failure notification emails from kubernetes

What would be the simplest (and most lightweight) way of getting email notifications of failures in kubernetes clusters. Mostly interested in failing pods, so notifying on certain kubernetes event ...

1 answer  ·  posted 2mo ago by Iizuki‭  ·  last activity 2mo ago by Iizuki‭

60%
+1 −0
Q&A How to group a flat list of attributes into a nested lists?

You could create a dictionary to map each attribute to its respective list of items. Then you get the dictionary values to create the final list. Something like this: import re pattern = re.comp...

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

Answer
71%
+3 −0
Meta Is software system design on topic here?

Software design in itself has always been on-topic, as per https://software.codidact.com/help/on-topic. As for system design for a given purpose, I think it is fine within reason. Contrary to popu...

posted 2mo ago by Lundin‭

Answer
80%
+6 −0
Meta Is software system design on topic here?

Is software system design on topic for the software development site? For what I mean by system design, consider the "system design interview" commonly held these days when recruiting software eng...

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

Question discussion scope
81%
+7 −0
Meta Don't close questions for lack of detail/confusion

No. Closing is an integral part of maintaining this knowledge repository. If a question isn't up to our standards, it doesn't belong here, and closing is the first step in ensuring that. If a quest...

posted 2mo ago by Andreas from the dark caverns‭  ·  edited 2mo ago by Andreas from the dark caverns‭

Answer
30%
+2 −7
Meta Don't close questions for lack of detail/confusion

tl;dr: When a question is unclear, don't close right away, especially if it's possible to discern what they are trying to ask. Instead, use comments and edit suggestions to work with the asker and ...

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

50%
+0 −0
Code Reviews Time measurement in an ASP.NET Core application

My team introduces lots of time measurements for various code sections that might take longer than expected in a real-life flow. These rely on initializing a StopWatch, getting the elapsed time an...

0 answers  ·  posted 2mo ago by Alexei‭

60%
+1 −0
Q&A ChromeOS Linux: Debian, how do I install Android SDK manager via command line?

sudo apt install sdkmanager Solved it for me. And then I had to run this to fix the licensing issues: sudo chmod -R 777 /usr/lib/android-sdk/ sdkmanager --licenses ./gradlew build sudo chmo...

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

Answer
50%
+0 −0
Q&A ChromeOS Linux: Debian, how do I install Android SDK manager via command line?

ChromeOS Linux: Debian, how do I install Android SDK manager via command line? I wanted to try this repo https://github.com/JetBrains/compose-multiplatform/tree/master/examples/imageviewer and I g...

1 answer  ·  posted 2mo ago by propatience‭  ·  last activity 2mo ago by propatience‭

22%
+0 −5
Meta Email alerts for notifications

Look more closely:

posted 2mo ago by Olin Lathrop‭

Answer
50%
+2 −2
Q&A How to group a flat list of attributes into a nested lists?

I have a flat list where each item is the key and value for an attribute. I want to transform this into a nested list where each attribute is a sublist. Example input: [ "attr1 apple 1", "a...

2 answers  ·  posted 2mo ago by aditya98‭  ·  last activity 2mo ago by matthewsnyder‭

Question python grouping list
77%
+5 −0
Meta Email alerts for notifications

This feature has not yet been implemented. However, there is a feature request on Codidact Meta that requests it for all communities. You (and anyone else who would like to see this) can add your ...

posted 2mo ago by trichoplax‭

Answer
71%
+3 −0
Meta Issue with the Monospace font

What's wrong As Moshi's comment points out, single backticks only work for inline code (code that appears within a paragraph of other text, and contains no line breaks). The following raw text: ...

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

Answer
75%
+4 −0
Q&A Why does bash seem to parse `sh -c` commands differently when called via `execl`?

Because execl's first argument isn't argv[0]. execl("/bin/sh", "-c", ...) runs the executable /bin/sh, but sets its argv[0] to "-c", as if one had created a link called -c pointing at it and run t...

posted 2mo ago by Emily‭

Answer
75%
+4 −0
Q&A Why does bash seem to parse `sh -c` commands differently when called via `execl`?

When I do this in a shell: $ /bin/sh -c 'echo hello world' hello world it's my understanding that I'm running a process with argv = {"/bin/sh", "-c", "echo hello world"}. That is, the quotes c...

1 answer  ·  posted 2mo ago by Emily‭  ·  last activity 2mo ago by Emily‭

Question bash execl
60%
+1 −0
Meta Issue with the Monospace font [duplicate]

I was trying to ask a code review question but I have observed that it does not support the "Monospace font" for code excerpts properly. It is only considered partially and I see this particularly ...

1 answer  ·  posted 2mo ago by aditya98‭  ·  closed as duplicate 2mo ago by Alexei‭

50%
+0 −0
Q&A What guarantees does Bash make about order of :- Parameter Expansion when it is not in POSIX mode?

The documentation seems to me to hint that WORD will be expanded whether I want it to be, or not. I don't agree, because as quoted: (1) If PARAMETER is unset or null, the expansion of WORD ...

posted 2mo ago by Quasímodo‭

Answer
66%
+2 −0
Code Reviews GnuTLS config for my own root CA, for use on internal server

Does GnuTLS support CA Name Constraints (RFC 5280, 4.2.1.10), so you can limit the valid domains directly in the root CA? I'm not aware of any CAs that self-limit this way,[1] except for when the ...

posted 3mo ago by Michael‭  ·  edited 2mo ago by Michael‭

Answer