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.7k posts
 
60%
+1 −0
Q&A Optimized representation for sets?

First store the universe of potential elements as a sequence, then encode each set as an unsigned integer interpreted as follows: if the 1s bit in binary is set (1), the set contains the 0th elemen...

posted 1y ago by Karl Knechtel‭

Answer
60%
+1 −0
Meta Should self-answered Q&A use separate answers for different techniques/approaches (even if there's a caveat that applies overall)?

I believe one of the main strengths of Q&A websites is that they provide a more digestible alternative to dense documentation. Especially for programmers who do not yet know how to find/use th...

posted 1y ago by mr Tsjolder‭

Answer
60%
+1 −0
Q&A How to validate Ansible role dictionary argument's "additionalProperties"

Apparently there just isn't an equivalent of additionalProperties in Ansible. The way around this is to break the dictionary argument into a list of key/value pairs: argument_specs: main: ...

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

Answer
60%
+1 −0
Meta Should self-answered Q&A use separate answers for different techniques/approaches (even if there's a caveat that applies overall)?

the answer is incredibly long It really isn't - though it might look that way because of the extensive use of large font headlines. I think it is a good answer - there's no problem in discussi...

posted 1y ago by Lundin‭

Answer
60%
+1 −0
Q&A How do I install Chart.js as a file?

I'm trying to replace Flot.js with Chart.js. In my application, Flot.js is included as a normal JavaScript file, like so: <script language="javascript" type="text/javascript" src="jquery.flot-...

1 answer  ·  posted 1y ago by CavanWright‭  ·  last activity 1y ago by Ullallulloo‭

Question chart.js
60%
+1 −0
Q&A VS Code: How to open a file and folder in a new window?

Best I could do was: cd /foo/bar && code --new-window . && code baz.txt The cd is not necessary but makes the command cleaner. I would still like to know if there's a cleaner wa...

posted 1y ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How to delete a local branch in git?

How to delete a local git branch which hasn't been pushed to anywhere, and only exists locally?

1 answer  ·  posted 1y ago by Iizuki‭  ·  edited 1y ago by Iizuki‭

Question git git-branch
60%
+1 −0
Q&A How do I pass field names containing dashes in dbt source yml file?

There may be a better way to handle this but this eventually worked for me. It's necessary to add quote: true below each field name with a dash. E.g.: tables: - name: my_table ...

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

Answer
60%
+1 −0
Q&A A function to round negative numbers towards 0

Yes, several. Example outcomes from various inputs and functions are shown in the table below, with those compliant with the current requirement highlighted: CEILING CEILING.MATH CEILING.PRECISE

posted 4y ago by pnuts‭  ·  last activity 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A Iterative references in LibreOffice Calc

An as yet unanswered Q from Stack Overflow [SO] enquired: how to stop looping this formula where the formulae were: in B9 =16,50 in B10 =B9-B11 in B11 =B10/2 without changing ...

1 answer  ·  posted 4y ago by pnuts‭  ·  last activity 3y ago by Alexei‭

60%
+1 −0
Code Reviews Cache data using Redis Cache in an ASP.NET Core 3.1 project

This is an unanswered code review request of mine from Code Review Stack Exchange. Overview I have developed a small ASP.NET Core 3.1 Web API that provides information that is rarely changed (sever...

0 answers  ·  posted 4y ago by Alexei‭

60%
+1 −0
Q&A Iterative references in LibreOffice Calc

Since the formulae have circular references (Err:522) the spreadsheet setting needs to be changed to enable iteration (Tools > Options… > LibreOffice Calc > Calculation, tick Iterations an...

posted 4y ago by pnuts‭  ·  last activity 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A How to calculate how much data is stored in a MySQL column?

The reference indicated by ‭jcsahnwaldt‭ indeed specifies the space required by VARCHAR columns, namely (L = string length): L + 1 bytes if column values require 0 − 255 bytes, L + 2 bytes if valu...

posted 4y ago by Alexei‭  ·  edited 4y ago by Alexei‭

Answer
60%
+1 −0
Q&A What is the rationale of having Cascade as a DeleteAction in EntityFramework.Core?

I have noticed some time ago that Entity Framework assumes a CASCADE behaviour (implicit value, if not specified) for referential constraints (FKs) when deleting items. This means that by default, ...

1 answer  ·  posted 4y ago by Alexei‭  ·  last activity 4y ago by Alexei‭

60%
+1 −0
Q&A Data validation applied to tickboxes

Given ColumnA contains a Text header (A1), an allowed maximum number (A2), fifty tickboxes (A3:A62) and a formula in A63 of: =countif(A3:A62,TRUE) how can I block application of more than the a...

0 answers  ·  posted 4y ago by pnuts‭  ·  last activity 4y ago by pnuts‭

60%
+1 −0
Q&A Summing values formatted for a different locale

A couple of year ago a user of Super User reported difficulties with summing values purporting to be Euros imported to LibreOffice Calc in CSV format. In the Q the user does not mention the locale...

1 answer  ·  posted 4y ago by pnuts‭  ·  last activity 1y ago by Wicket‭

60%
+1 −0
Q&A How to add to the value of one cell an amount that depends upon the range of a different cell?

One way is to create a lookup table (sorted ascending) and take advantage of VLOOKUP's is_sorted parameter to opt for "the nearest match (less than or equal to the search key)". Say a table like so...

posted 4y ago by pnuts‭  ·  last activity 3y ago by Alexei‭

Answer
60%
+1 −0
Q&A Trigger Conditional Formatting by Check Box

One part of an as yet unanswered Q on Super User asks whether conditional formatting in OpenOffice Calc can be used to highlight an entire row based on whether a checkmark in the row has been selec...

1 answer  ·  posted 4y ago by pnuts‭  ·  last activity 3y ago by Alexei‭

60%
+1 −0
Q&A What is the rationale of having Cascade as a DeleteAction in EntityFramework.Core?

After toying a little more with Delete actions for referentials, I think the rational of having the CASCADE DELETE as default is the following: having to DELETE the children before the parent is ...

posted 4y ago by Alexei‭

Answer
60%
+1 −0
Q&A Permutations of an array - APL

In Dyalog APL, there's a predefined function in the dfns library to generate a matrix of permutations for a list of the numbers from 1 to n. I want to create the same functionality, except that it...

1 answer  ·  posted 4y ago by Razetime‭  ·  edited 4y ago by Alexei‭

60%
+4 −2
Meta Site scope - draft proposal

I don't really see the point of listing specific things as "on topic." Any such list is bound to either be incomplete or have a grey area overlap with things off-topic. I also disagree with some of...

posted 4y ago by Moshi‭  ·  edited 4y ago by Moshi‭

Answer
60%
+1 −0
Q&A Can renaming a MySQL column be sped up by dropping indexes or foreign keys?

I need to rename one column in 170 tables in a MySQL database and its going really slow. [...] Doesn't make much sense. A column name should be easy to rename and somewhat independent of the data...

posted 4y ago by .                                                .‭  ·  edited 4y ago by .                                                .‭

Answer
60%
+4 −2
Q&A What are the pros and cons of a composite primary key versus a unique constraint?

One could either do a unique constraint on those foreign keys or a composite primary key on those columns. For elegance, canonicity, a primary key is necessary. You would initially have a primary...

posted 4y ago by .                                                .‭  ·  edited 4y ago by .                                                .‭

Answer
60%
+1 −0
Q&A How to upgrade a recent (>= 8) Angular CLI?

Angular CLI official page indicated how to install the CLI, but provides no information about how to upgrade it. I am interested in how to upgrade the CLI.

1 answer  ·  posted 4y ago by Alexei‭  ·  last activity 4y ago by Alexei‭

60%
+1 −0
Q&A cpulimit and sensors

I'm using GNU/Linux. I'd need some program or script or solution which would wrap make so that it would launch cpulimit on g++ processes in order to be nice to sensors output. Or, more genericall...

0 answers  ·  posted 4y ago by .                                                .‭