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
Hello, I am trying to build a docker image for contributing to the devdocs repository, however I am failing to get past the thor docs:download --all command. It fails with the below error: . is w...
I have Box drive on Windows. I use it as a regular folder on the computer. I can store images there. When I store a small number of images (on the order of a couple hundreds) and I do not wait lon...
tl;dr: There's a few ways to bypass this: For all users on the machine: Get rid of /usr/lib/python3.foo/EXTERNALLY-MANAGED. To prevent your package manager from adding it back, replace it with a...
A probable solution. I suspect, I have identified the culprit. It turns out that Box drive limits the number of characters the full file path can have. Note, not usual limit of 256 characters in t...
Use a collect_list collecting the values from all preceding rows up to the current row into a struct Then filter on that struct based on its value and the current row's threshold Use aggregate ...
Hi, I'm trying to code an Enigma machine in Haskell which were used by the German in WWII to transmit coded messages. An Enigma Machine consists of 3 rotors which are substitution ciphers and a re...
Note: this is based on my question on SO and subsequent activity there I am trying to add resilience using Polly to HTTP calls that are performed using Refit library. I am using the Refit factory...
Refit allows such configuration out of the box bt using AddRefitClient (which resembles the well-known AddHttpClient). This indeed requires explicit configuration for the HttpClient, but the config...
Good question, but solid ‘meh’ on the issue. I don't think a preemptive ban is warranted. It's not as if we're being flooded, and it's also not as if that one ChatGPT answer is worse than the media...
I'm using ChatGPT to answer some questions I don't find answers for online. But there are some answers that I don't know if they are actually correct. How can I get the answer checked by someone he...
It seems I'm missing something since the answer should really be obvious. Nonetheless, I'll answer what you appear to be asking to get the obvious case out of the way. The method has already "f...
What does this function definition mean in Haskell? fn x [] = [] fn x (True:ys) = x : fn x ys fn x _ = []
After addressing @Lundin 's suggestions: Implemented in terms of libc functions for performance. const correctness style improvements I have a few more that I realized after trying to repla...
You will find the solution by playing with the demo that's linked on the github page. More specifically by playing around with the interactivity settings.
There's actually a reason I asked the question. There's some similar (very few) questions available in SO but none was answered ever (there's few answers also but they are completely useless in 202...
Well, an "uninitialized" variable is, in fact, not uninitialized as that terminology may suggest; it is just filled with random garbage that happened to be on that memory section. That is to say, u...
I have noticed that we have several questions tagged with GNU/Linux. I would like to rename this tag to gnu to reflect what seems to be the canonical name and also be consistent with tag naming (a...
I have followed Nick Chapsas' tutorial to avoid throwing a ValidationException to treat validation errors and instead rely on LanguageExt.Common.Result<> from LanguageExt library. I have ma...
FreeFormatter resource mentioned in the question is useful and I could use the output as a base for getting to a working configuration. All the changes were manually performed. - enable throw conf...
Adding my own 2 pence here; I would very much like to see these kinds of Q&A These would be better if they could be attributed to community effort (garnering no reward for any persons who cho...
I have just created an ASP.NET Core 6 application and added NLog support for logging: NLogBuilder.ConfigureNLog("nlog.config").GetCurrentClassLogger() However, this API is almost deprecated as ...
Things must have changed, on .99 I get syn this [ "this" ]
Can someone explain why this PHP code is not excluding the watched videos? The email_id parameter is used to specify the location of the watched videos array. The code should remove the watched_vi...
One way to do this, is: Set a read timeout on the TcpStream using set_read_timeout. This avoids a hanging client in case the server has stopped sending but left the connection open. Read from t...
You were on the right path breaking it down into two steps. First identify the cells you want to remove: # Identify the 'Cell' values that meet the criteria cells_to_remove = df[(df['Resistance']...