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
To fix this, create a table in the Lua file, add the function, and return the table: local M = {} function M.say_hello() return "Hello from lua/functions.lua!" end return M
How can I automatically delete any deployment of a fine-tuned OpenAI model on Azure that hasn't been used in the past x hours? I am aware of 15-day timeout. However, this is too long for me, as th...
How can I automatically delete any deployment of a fine-tuned OpenAI model on Azure that hasn't been used in the past x hours? I am aware of 15-day timeout. However, this is too long for me, as th...
If you have enum classes in the code that is being obfuscated, you need to tell proguard to skip obfuscating the values and valueOf method in your enum class, since it uses reflection internally to...
I follow Azure's tutorial on fine-tuning GPT. I follow the deployment phase. Code: # Deploy fine-tuned model import json import requests token = '[redacted]' subscription = '[redacted]' ...
I'm getting the following exception with deserializing a json file using jackson. Any tips on how to fix it? com.fasterxml.jackson.databind.JsonMappingException: No enum constants for class com.dp...
In my project, I try to fetch data from the backend to display in the frontend using fetch API. Each time I do this I get Cannot read properties of undefined (reading 'map') error. When I check the...
These are the methods I know of: Set the form's target attribute to _blank. Add submit event listeners (e.g., this SO thread). In the proprietary web app that I have to work with, every form...
Shouldn't operator precedence guarantee that b() is executed before a()? No. Operator precedence says what to do with values in an expression once you have its input values. Order of evaluation ...
You can get a &ListBox from a &Widget with downcast_ref: let list_box = target.widget().unwrap().downcast_ref::<ListBox>().unwrap();
Ok the solution is installed a older version, on my case python 3.12.6, in the virtual environment that you have created and when you use in the terminal pip install spacy it donwloads correctly. T...
When parsing a program, a compiler creates a tree of nodes. The operator precedence plays a role in how those nodes get organized. Once the tree is complete and considered valid, it walks the tree ...
In my desktop application developed in C++, I am encountering an issue where pressing the Ctrl + X, Ctrl + Shift + X, and Ctrl + D shortcut keys triggers a system sound. I would like to suppress o...
I have a .NET Framework project in Visual Studio. While trying to build it, I get the following error message: Error The "DllExportAppDomainIsolatedTask" task failed unexpectedly. System.Argume...
Note: I originally posted this on Stack Overflow on Stack Exchange here however I am posting the same question here as I might be able to get a answer more quickly here. Project Euler+ #250 on H...
How can I save a plot in a file in PyCharm without changing the code? I used plt.show(), so that the plot shows like this: But how can I save a plot in a file without changing the code? I don'...
You can fix this by installing Microsoft Build Tools 2015: https://www.microsoft.com/en-us/download/details.aspx?id=48159 I found this solution on that other Q&A site. According to the commen...
Not sure if this is really a coding question (maybe the ML or AI Tech proposals might be better suited). Not having distinct begin and end tokens is not that extraordinary. E.g. the GPT-2 tokeniz...
I closed the window containing the PyCharm project and reopened the project: it worked. I have no idea why it didn't work before reopening the PyCharm project. Very strange: I don't see what could ...
A while back, I made this post about reading specified sections in a text file formatted a particular way. I've since updated the format for that file to include links at the start of arbitrary li...
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...
I tried installing Python on an old computer running Windows 8[1]. I know for a fact that there was never any previous installation of Python on the machine. The installation appeared to be success...
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...
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 ...
How do you fix the error 'Failed to load the DLL hostfxr.dll' when running a .NET test executed via dotnet test and starting an x86 .NET application in the test? I'm using .NET 8. Failed to load ...