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
These are fine, IMO: Here is my specification of what the program should do /--/. I'm stuck at x, (optionally: here is my code), where do I go from here? Is this implementation of x (code follows)...
Which concept is best for managed background services? 1. RunAsync(CancellationToken): interface IWorker { Task RunAsync(CancellationToken cancellationToken = default); } ... IWorker worker =...
The site is called Software Development, not "Applications". Meaning programming. On-topic: Questions about different behavior of web browsers in the context of web application programming. Questi...
I've been doing a lot of reading on implementing the repository pattern in C# projects and found controversy, or shall I say some strong criticism, made by seemingly very smart people with previous...
Suppose we have N points on XY plane, ie. (x, y) and x, y are integers and multiple queries where each query is of the form y = mx + c and m, c are integers. Is it possible to count number of poin...
An alternative to grep is Awk, which makes this pretty easy. To find lines which contain both: find . -type f -exec awk '/foo/ && /bar/' {} + (Maybe add { print FILENAME ":" FNR ":" $0...
I am working with JSF 2.3 and have a selectManyMenu component that is marked as required but that I want to be cleared if the user unselects all items. Currently, the user can unselect all items, b...
I haven't developed with Perl or DBUS myself (but I have used GTK), so I can only give an answer in general terms rather than specific details. In most, if not all, GUI frameworks, the "run" or "m...
I just found a post in Codidact Meta using showing a rendered table. Looking at the post content, it is using markdown. Playing a bit, I found that the following "plain text" (intended to show ma...
I have found Can we migrate office suite related questions to the Power Users community?, apparently, with a score of +7, 3 answers, but it looks like no decision have made so far. Despite not hav...
Done. I've merged all these tags together and synonymized them. I've also gone ahead and given you the ability to edit tag wikis - we're in need of people who can curate tags!
Makes sense to me! Done as of a few minutes ago.
Nowadays DRY is usually with regards to code, not data. Regardless, even for data, DRY does not outlaw duplication, it just requires a single "authoritative" copy. There are certainly similar ideas...
LEFT returns a text value, so it's working as expected. You might put the LEFT function inside VALUE function to convert the value returned by LEFT into a number. This applies to other spreadsheet ...
Good question. It's not any more 🙂
I joined Codidact a few days ago. I have looked around to learn the platform features and how things are handled in some communities. I just found that excel is a child tag of openoffice-calc. I ...
Reading from a union member who's size is larger than that of the last written member is explicitly allowed since C99, but the value of the extra bytes is unspecified. From the cppreference page on...
This can be achieved using SFINAE, making the default overload invalid for non-numeric types: template <class T, class... Types> constexpr bool in_variant(const std::variant<Types...>...
My large, multi-module Maven project validation (Maven Enforcer plug-in) is playing tricks on me. moduleA> mvn validate correctly finds all modules runs enforcer on all of them displays co...
I realize this might not be feasible, because course all of that hinges on the possibility to get some acceptable data on a users behavior on other sites, but for me the biggest hurdle is that to c...
I don't know the "real" answer, but from bash on Linux at least, it's possible to work around the issue by using -f instead of -c, using process substitution to supply the SQL: $ psql -v foo=bar -...
I don't think the question is trivial. Maven is very complex and confusing at first. The documentation is also quite something. It's not easy to figure out what's going on unless you already know. ...
I'm coming down strongly in favor of command-line arguments or options over interactive I/O for a number of reasons: Providing arguments on the command line is vastly superior for programmatic...
Using the write method The write method of a file offers a much more limited interface. It only accepts one argument - a string, for a file opened in text mode - and outputs just what it's given. ...
It seems like what you want to do can be achieved by using data.assign_coords(t=[0.123]) The error message is extremely confusing in this respect, but it seems like the new value for the coordi...