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
On the old sites, if you wanted to tag something with [sql] and [mysql] that required two tags. However, because we have hierarchal tags where [mysql] is a child of [sql] you only need to tag it wi...
I have added Swagger UI for an ASP.NET Core 3.1 application and I have realized that all endpoints requiring Windows Authentication fail. This issue is created by the fact that generated HTTP reque...
(Elsewhere...) You look over a post on Code Reviews, and you don't find any problems. Should you post an ‘it's fine’ answer, stay silent, or do something else? Seems to me there's some value in hav...
You could start to track down the problem by using Assembly.LoadFrom() to attempt loading each library individually. I have a routine in a .NET 5 solution that performs some analysis on assemblies...
I've got a HTTP Error 500 when trying to access this post. Here's the quote error ID's: ef4f6ec1-8d0f-4be3-9553-36e01b5f01c4 and bbeb9bf9-2c58-43b1-be05-c9e914bb80bf. I've browsed to another pos...
Thanks to comments by elgonzo the solution was quite easy. hsl expects the first component (hue) to be in [0.0, 1.0] instead of [0.0, 360.0] and the third components (lightness) to be in [0.0, 1...
When working with a qmake subdirs project you may want to share configuration between multiple projects. In a less common case you may including a external project within your own as code and want ...
Sometimes I see bad questions (e.g Off-Topic questions) but I see perfect high quality answers to it but since the question is Off-Topic, so I think that who answered the question is being a victim...
I am not a Java developer, but a C# .NET one, but I guess static concept is very similar between the two. As in many areas, it depends, but for most applications using static should be avoided: ...
If I have a one-dimensional array, I can get the length of it quite easily: var x = moves.Length(). However, if the array is multi-dimensional, .Length() returns the total number of elements. If ...
"Hash Sum mismatch" printed by apt-get on Debian and derivatives means that the file as downloaded had a different cryptographic checksum (hash) than what's listed in the packages list. In this ca...
Overall the structure seems sensible. Style It's Python style to have two blank lines after a function or method, not just one. You seem to be trying to line wrap before 80 characters. Maybe you...
I think what you are looking for is Array.GetLength which: gets a 32-bit integer that represents the number of elements in the specified dimension of the Array.
I have finally received access to a trial account on OpenAI and I took it for a spin. My interest is with code generation, so first tried something simple using the playground: Q: generate a stand...
There are two issues here. The first is that this code isn't rolling over at 8PM as expected: if (now.getHours() > 20) { now.setDate(now.getDate() + 1); } This change happens at 9PM as...
I want to remove a deprecated entry from the default build.gradle file as well as change the default layout of an empty activity to use Relative Layout instead of constraint. I'm using Android Stu...
I would argue that functional programming predates functioning computers. Alonzo Church developed the Lambda Calculus in the 1930s. This may be a fairly austere form of functional programming, bu...
As a big fan of tacit/point-free programming in general, I'm looking at different tacit programming systems for inspiration (for a language I'm creating). What are the advantages and disadvantages ...
I think a lot of the bad press about iframes stems from W3C deprecating them in HTML 4 strict mode, which caused the herd of web developers to internalize that iframes are bad and should be avoided...
Overview Our development team is currently trying to develop and migrate a Web application that is split in two: legacy: ASP.NET MVC 5, jQuery, old-style JS programming overall "next": Angular...
I went ahead and made a proposal on Power User that a separate category for office suites should be made. I suggest that we wait and see where that proposal lands. If a category for these question...
When posting this question, I noticed a difference between editor's preview and the post's final render. When editing, the preview correctly shows the Zalgo Text: But after the post is saved, i...
Should be avoided secondary discussions or debates on controversial points (please ask a question on meta). Just when is a discussion secondary? I think r~~ used the term "digressive", wh...
I found simple steps to repro the issue on Firefox: In your preferences, set some favourite tag(s). Make sure you click outside of the favourite tags edit field to make sure the edit field has...
TL;DR To count the number of li items, just do: console.log(document.querySelectorAll('ul.example > li').length); That's all, no need to complicate with filter.call (but I'll explain that t...