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
 
75%
+4 −0
Q&A Why is git merge from rather than to?

Another reason could be to allow to perform the merge without auto commit and no fast-forward: git merge the_branch --no-commit --no-ff This allows reviewing the merged changes before they are ...

posted 2y ago by Alexei‭

Answer
75%
+4 −0
Meta How can Q&A sites coexist with LLMs?

New LLMs like ChatGPT are now creating competition with Q&A sites like Codidact and StackOverflow. Moreover, this is parasitic: LLMs get "boosted" by Q&A sites because they can use them for...

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

Question discussion
75%
+4 −0
Q&A How to programmatically get current wallpaper file path?

I have written a screensaver program that, in part, uses the current wallpaper for some visual effects. However, finding the current wallpaper in different operating systems and environments is les...

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

Question windows GNU/Linux python-3 macos
75%
+4 −0
Q&A Adding elements to wrapper after calling wrap doesn't work

Remember that jQuery selectors in general can match more than one element. If you had multiple <p> elements in your page, $('p').wrap(wrapper) would put wrapper divs around each of them. So ....

posted 2y ago by r~~‭  ·  edited 2y ago by r~~‭

Answer
75%
+4 −0
Q&A When would one not want to return an interface?

IList<T> is not necessarily representative of the general case; it's an interface that is (A) widely implemented by a variety of classes from a variety of sources, which themselves (B) tend t...

posted 2y ago by r~~‭  ·  edited 2y ago by r~~‭

Answer
75%
+4 −0
Q&A Is partial allocation of an object Undefined Behavior?

Since I don't think the C standard says anything explicitly about cases like this, it is probably undefined behavior, under the "not mentioned in the standard" variety. If something isn't mentioned...

posted 2y ago by Lundin‭

Answer
75%
+4 −0
Meta Deciding if a concept can be materialized to a tag

Note: this is inspired by the comments on this post and especially this one which mentions: We have tags for languages because people have interest or expertise in languages; likewise frameworks...

1 answer  ·  posted 2y ago by Alexei‭  ·  edited 2y ago by trichoplax‭

Question discussion tags
75%
+4 −0
Q&A What's causing mypy to give an `[assignment]` error in this nested for loop?

I started adding types to my (working) solution to Exercism's "Kindergarten Garden" exercise, to learn how typing with python and Mypy (strict) works. While doing so, I ran into a Mypy error that I...

2 answers  ·  posted 2y ago by true_blue‭  ·  last activity 2y ago by Moshi‭

Question python mypy
75%
+4 −0
Meta interface and interface-type tags

My most recent question was tagged with interface-type. I had seen the interface tag when I was creating the question, but the usage information says Please avoid using this tag, as it is too g...

1 answer  ·  posted 2y ago by Moshi‭  ·  last activity 2y ago by Alexei‭

Question discussion tags
75%
+4 −0
Q&A Create self-referencing many-to-many relation

I'm taking a significant leap by guessing what you are trying to do from your other questions. If you provide some additional info, this answer might become more or less relevent. (I am also using...

posted 2y ago by jimbobmcgee‭  ·  edited 2y ago by jimbobmcgee‭

Answer
75%
+4 −0
Q&A Dealing with code maintenance when saving a large and complex entity in a single business transaction

Context I am currently working on migrating a legacy application to an ASP.NET Core + Angular application. The Web API's main project is based on Jason Taylor's template (clean architecture) and a...

1 answer  ·  posted 2y ago by Alexei‭  ·  last activity 2y ago by r~~‭

Question mediatr architecture design-patterns chain-of-responsibility
75%
+4 −0
Code Reviews Writing a testable console program

is there a way to write MockIO so that I don't have to change the signature of IO::println() for the sake of the test class? Yes, implementing mock objects is one of the recommended uses for R...

posted 2y ago by deleted user  ·  edited 2y ago by deleted user

Answer
75%
+4 −0
Q&A Is it possible to get the current function in a trace function?

CPython only very recently started keeping a reference on frames to function objects internally, and that reference isn't exposed from inside Python. There's an old PEP that would have defined a _...

posted 2y ago by r~~‭

Answer
75%
+4 −0
Code Reviews JSON log formatter

I'd suggest using Black to format the code. While there are a number of formatters, it helps to pick one to make the code consistent. (See https://github.com/psf/black) The use of .update({"excep...

posted 2y ago by SLott56‭

Answer
75%
+4 −0
Code Reviews Writing a testable console program

I have a class Foo that prints something to stdout and I want to be able to write tests for it. So I created a trait to abstract println!, and gave it a prod implementation and a test implementati...

2 answers  ·  posted 2y ago by KevinG‭  ·  last activity 2y ago by LAFK‭

Question rust
75%
+4 −0
Q&A Can Matlab packages have subdirectories?

I'd like to organize my Matlab packages into folders. However, if I try to lay out my code like this +MyPackage |---foo.m |---SubDir |---bar.m then I'm unable to reach bar. F...

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

Question matlab
75%
+4 −0
Q&A Can freed pointers undergo lvalue conversion?

I see it such that it is undefined behavior (I refer to N1570 as the OP https://port70.net/~nsz/c/c11/n1570.html): After free(p), the lifetime of the object pointed to has ended (7.22.3p1: "The li...

posted 2y ago by Dirk Herrmann‭

Answer
75%
+4 −0
Code Reviews Vanilla JS Functions Review

I wanted to create a simple static website that would use JS to randomly rotate through a quotes.json file I maintain. My JavaScript experience is more limited as it's not what I do at work, so wha...

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

Question javascript
75%
+4 −0
Q&A How do I get something similar to dictionary views, but for sequences?

It isn't writable (but then again, neither are the dictionary views), but you might be interested in more_itertools.SequenceView.

posted 2y ago by r~~‭

Answer
75%
+4 −0
Meta Should we allow SEO related questions?

The scope currently lists as on-topic: Best practices, as long as clear "best" criteria are provided. Examples: fastest execution, least memory use, widest tool support for a target, most begi...

posted 2y ago by Peter Taylor‭

Answer
75%
+4 −0
Code Reviews CSS grid with expanding cells

Goal Our goal is to create a kind of table, using HTML/CSS/JS, with cells that expand when you click on them. If you click on a header, the whole row or column will expand. This in itself is not ...

0 answers  ·  posted 2y ago by berrie‭  ·  edited 2y ago by berrie‭

Question javascript html css-animations css-grid
75%
+4 −0
Q&A Postgres command-line variable substitution error

According to the psql (version 14) man page, it's possible to set variables using the -v command-line parameter, then use the variable in a query, automatically quoted correctly, with :'variable_na...

1 answer  ·  posted 2y ago by Andrew‭  ·  last activity 2y ago by matthewsnyder‭

Question postgresql command-line-interface psql
75%
+4 −0
Q&A DocuSign eSignature API SDK: java.lang.NoClassDefFoundError errors.

I am trying to implement DocuSign's eSignature REST API by using Java SDK. I am following instructions here: https://developers.docusign.com/docs/esign-rest-api/sdks/java/setup-and-configuration/ ...

1 answer  ·  posted 2y ago by Vanity Slug ❤️‭  ·  last activity 2y ago by Vanity Slug ❤️‭

Question java sdk docusignapi maven
75%
+4 −0
Q&A DocuSign eSignature API SDK: java.lang.NoClassDefFoundError errors.

I am new to Maven so I did not know that I have to "Update Project". If you are using Eclipse editor then you can right click on the project --> "Maven" --> "Update Project" to install depen...

posted 2y ago by Vanity Slug ❤️‭  ·  edited 2y ago by Vanity Slug ❤️‭

Answer
75%
+4 −0
Meta Best practices for posting tabular data

I am trying to find how tabular data is presented in Software Development. So far, I have found one question, How to pivot text?. The question presents tabular data using code blocks, dash to indic...

3 answers  ·  posted 2y ago by Wicket‭  ·  last activity 2y ago by Wicket‭

Question support syntax-highlighting