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
 
71%
+3 −0
Q&A What is a .gitkeep file?

Sometimes there are empty files named .gitkeep sprinkled around a repository. What are these files?

1 answer  ·  posted 9mo ago by Iizuki‭  ·  edited 9mo ago by Iizuki‭

Question git
71%
+3 −0
Q&A Why does `let map f = id >=> switch f` work in F#?

when I look at the type signatures, it is not supposed to work. The types work because they're parameterized. The types of the combinators involved are (renaming all parameters to be unique fo...

posted 9mo ago by r~~‭

Answer
71%
+3 −0
Q&A Open file in script's own folder

Theory Relative paths are relative to the current working directory of the Python process. This can be checked from within Python using the os.getcwd function and set using the os.chdir function. ...

posted 11mo ago by Karl Knechtel‭

Answer
71%
+3 −0
Code Reviews Trie Implementation, Graph Visualization and Auto-Completion in C

General/program design: I would have expected a public header file with the API for the whole thing, rather than having some main() test case calling static functions from the same file. Sure,...

posted 10mo ago by Lundin‭

Answer
71%
+3 −0
Q&A Is it possible to obtain the unlock code from an unlocked Android device via the Android API or the developer command line tools?

I have an Android 10 device where the OS is unlocked but the bootloader is not. I can't obtain the unlock code through the normal channels because of bureaucratic incompetence. Given that the devi...

0 answers  ·  posted 11mo ago by Kevin Krumwiede‭  ·  edited 11mo ago by Alexei‭

Question android android-10
71%
+3 −0
Q&A Why does this work? .collect() automatic conversion to function return type

You're very much on the right track. std::iter::FromIterator trait This trait is indeed what makes it work. In particular, both functions' return types implement the trait: std::result::Result&l...

posted 10mo ago by Iizuki‭

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

I tried to check info bash but only got a copy of the man page. This is when I learned that I could apt install bash-doc to get the "full" Bash manual. After checking both the info pages and the m...

1 answer  ·  posted 10mo ago by aghast‭  ·  last activity 9mo ago by Quasímodo‭

Question bash
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 9mo 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 9mo ago by Karl Knechtel‭

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 9mo ago by trichoplax‭  ·  edited 9mo ago by trichoplax‭

Answer
71%
+3 −0
Q&A What is a reasonable minimum for making a FOSS project inviting to contributors?

Matthew's list is pretty good, although I don't think one has to do all the things on it as a "minimum." I offer one minimum and a couple nice-to-haves. Some of these I have learned as a contributo...

posted 9mo ago by Michael‭  ·  edited 7mo ago by Michael‭

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

I am trying to generate my own root CA certificate. Context My goal is to sign an intermediate CA with this certificate, and then install the intermediate CA on my own client machines. The interm...

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

71%
+3 −0
Q&A What does F#'s `box` keyword do and where is it documented?

box and unbox are operators documented in the F# Core API Reference; it tersely states that they box / unbox (respectively) a strongly typed value. box a returns value a "wrapped" in a .NET Sy...

posted 12mo ago by toraritte‭  ·  edited 11mo ago by toraritte‭

Answer
71%
+3 −0
Meta How can we grow this community?

S.E.O. - Stack Overflow has fantastic SEO, and this is a self-feeding cycle. Currently codidact isn't adding json-ld or oembed information so that these posts won't show up neatly in search engin...

posted 1y ago by rook‭

Answer
71%
+3 −0
Q&A What does F#'s `box` keyword do and where is it documented?

The Null Values article in the F# Language Reference show an example that uses it, but it does not explain what it does exactly. You can use the following code to check if an arbitrary value is ...

1 answer  ·  posted 12mo ago by toraritte‭  ·  last activity 11mo ago by toraritte‭

Question f#
71%
+3 −0
Q&A PEP20 on namespaces: What exactly is it saying to do?

PEP20 aka the Zen of Python has a statement: Namespaces are one honking great idea -- let's do more of those! What exactly are we supposed to "do" according to this? Is it saying we should h...

1 answer  ·  posted 1y ago by matthewsnyder‭  ·  last activity 7mo ago by BlckKnght‭

71%
+3 −0
Q&A Can GitHub rewrite authorship of commits?

It doesn't change commit data when you push. You have to set your local email address to the noreply one. About commit email addresses […] If you'd like to keep your personal email address pri...

posted 1y ago by Michael‭  ·  edited 1y ago by Michael‭

Answer
71%
+3 −0
Meta Enabling 2FA should include some recovery codes

Setting up 2FA now produces a recovery code (with instructions to save it). If you later sign in using that recovery code, it disables 2FA until you re-enable it, getting a new code in the process...

posted 1y ago by Monica Cellio‭  ·  edited 12mo ago by Monica Cellio‭

Answer
71%
+3 −0
Q&A How to troubleshoot ModuleNotFoundError?

Root cause ModuleNotFoundError is a kind of ImportError. It occurs when Python code tries to use an absolute import, but can't find the named module - just as the name suggests. (Failed relative i...

posted 11mo ago by Karl Knechtel‭  ·  edited 11mo ago by Karl Knechtel‭

Answer
71%
+3 −0
Meta Allow tagging answers with tools and version numbers

TL;DR If we allow answers to be tagged with technologies and version numbers, people can more easily check if an answer is applicable to their technology stack. A few days ago, I had a problem in ...

1 answer  ·  posted 1y ago by FractionalRadix‭  ·  last activity 1y ago by Monica Cellio‭

71%
+3 −0
Q&A VS Code: How to open a file and folder in a new window?

Use --add/-a to add a folder code <file> -n -a <folder>

posted 1y ago by Moshi‭

Answer
71%
+3 −0
Q&A How to provide meaningful names for emails in Maildir?

I am writing some scripts that operate on emails in Maildir format. A lot of things are easy in this format, but the filenames are absolutely incomprehensible. For example, one script moves mails ...

1 answer  ·  posted 1y ago by matthewsnyder‭  ·  edited 1y ago by Alexei‭

Question email maildir
71%
+3 −0
Q&A Regex for simplifying Amazon product URLs

The following expression should capture the {dp|gp}/$ID part: https://www\.amazon\.com/([gd]p/[A-z0-9]{10}) A quick explanation: the \. are there to match periods only (otherwise it would ma...

posted 1y ago by mr Tsjolder‭

Answer
71%
+3 −0
Q&A How to open VS code with a particular path expanded?

When you do: cd /some/path code . VS Code opens with that location shown in the "Explorer" sidebar. However, the state of the file tree and the currently open files will be the same as what wa...

0 answers  ·  posted 1y ago by matthewsnyder‭  ·  edited 1y ago by matthewsnyder‭

Question vs-code
71%
+3 −0
Q&A Advanced Regex extension for VS Code

VS Code supports regex search, but the search/replace is UI is just a tiny dialog box. It's okay if you know regex well and the expression is not complex, but when trying to apply complicated expre...

0 answers  ·  posted 1y ago by matthewsnyder‭