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
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!
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...
Figured it out. It should be a List. The data type of the list should be object, but the individual objects in the list should be compatible with the data type of the fields of the struct. For ex...
If my struct column has the data type of struct<string, integer> then what should be the equivalent java object that should be inserted into that struct column? I'm trying the following code...
This response is about closure in general, not any specific question. (A moderator has already addressed the specific case.) The close notice also includes the following text (emphasis mine): ...
I am currently working on an Angular SPA that supports multiple languages and relies on ngRx for state management. Although the application state is handled by ngRx, the current language is stored...
Eq is a type class, and type class names are capitalized (like types and constructors). Changing eq to Eq should get you past that error. Conversely, in SimpleEnigma = SimpleEnigma rotor1 rotor...
Highlight.js version: 11.6.0 Node version: v18.12.0 npm version: 8.19.12 When I provide a plugin with the following code to highlightjs (full code is at github): /* Language: BQN Requires: A...
Besides what Olin already said, I guess too many people were taught C using K&R book, which was great at the time, but it completely neglects modern SW engineering best practices (encapsulation...
Create a hash map and precalculate the sort key in it: // Set up: Create mock input let u = ['4', '16', '8', '2', '6']; function expensive_key_fn(x) { console.log("Doing expensive operation...