43 questions
0
votes
0
answers
13
views
How do I run multiple BackgroundWorkers that use the same code at the same time in Visual Basic
I want to monitor several folders at the same time and when files arrive process them synchronously. To get a handle on the structure I'm starting by just trying to report the number of files in each ...
1
vote
1
answer
45
views
How to count # of tokens consumed by OpenAI Assistant while streaming the message
I am using openAI Assistant, I get the streamingUpdate using
streamingUpdate = assistantClient.CreateRunStreaming(thread, assistant);
I could iterate through streamingUpdate and send the response to ...
0
votes
1
answer
95
views
Why stable diffusion webui does not correctly generate pictures?
Certainly! Here’s an expanded version of your question for Stack Overflow:
Question:
Hi, I’m new to using Stable Diffusion WebUI, and I’m encountering an issue with image generation. Whenever I try ...
0
votes
0
answers
19
views
How can we modify a function/styings imported via cdn dynamically in reactJs
I am using simplePdf to show pdfs via mobile browsers. Now the component i used for this comes with other features too like downloading etc. I want to hide/remove that parts while displaying the pdf ...
0
votes
0
answers
9
views
a single YAML pipeline file that resides in the default branch (typically main or master),
a single YAML pipeline file that resides in the default branch (typically main or master), and configure it to trigger on pushes to any branch in your repository.
trigger:
branches:
include:
- '*'
i ...
0
votes
0
answers
270
views
Blazor Server App 8 and Antiforgery Token
I am trying to use an EditForm in an application with authentication and authorization working correctly. When I tried to submit an EditForm, I get this error:
A valid antiforgery token was not ...
0
votes
1
answer
219
views
Running module commands in srun
I run into the same issue as where "module" commands are not accessible from within srun.
SLURM "srun module load" command exits with error
The answer there explains that the ...
0
votes
0
answers
27
views
Is there a way to mix grabpass and RimLight?
I started creating a shader that ideally mixes grabpass and rimLight, I learned about multipass, but I don't know how to use them in surface shaders, can someone help or explain it to me?
I searched ...
0
votes
0
answers
41
views
Assigning plant taxa to functional groups in R
I am trying to create a stacked bar plot of the frequency of occurrence of plant taxa that belong to functional groups across different sites.
I am having trouble figuring out how to assign my plant ...
0
votes
1
answer
304
views
raise AirflowException(f"Error while transferring {file_msg}, error: {e}") error: [Errno 21] Is a directory: '/mnt/d/New_folder'
I am using airflow version 2.7.1 I am trying to copy a set of files from a remote host to local machine. I am trying to connect to remote host through SSH operator and copy files through SFTPOperator ...
2
votes
1
answer
102
views
How to run my python script when the sunOS is start booting
I copied the script (server.py) to /etc/init.d folder.
chmod 0744 /etc/init.d/server.py
chown root:sys /etc/init.d/server.py
cd /etc/init.d
ln server.py /etc/rc2.d/Sserver.py
ln server.py /etc/rc0.d/...
1
vote
1
answer
288
views
Invalid call. Nonexistent function 'get_player' in base 'Viewport'
I run the script
func search():
var pl = get_parent().get_parent().get_player()
and I get the error Non-existent function 'get_player' in the base 'Viewport'.
what to do?
I have to get from the ...
0
votes
0
answers
364
views
How to claim unclaimed memory for Intel Comet Lake PCH Shared SRAM?
I have recently come across a hardware component on my computer system called "Comet Lake PCH Shared SRAM" from Intel Corporation. Upon checking the system information, I found the following ...
0
votes
1
answer
270
views
Express-session: not resetting cookie expiration on each request
I'm using express-session to implement authentication in my web application. However, I'm encountering an issue where the cookie expiration time is not getting reset on each request. Below is the code ...
0
votes
0
answers
83
views
Buffer Overflow with structures - C
I am a beginner with programming and I have no idea how to fix my code. I want every students[i] to have the overall variable preset with the characters "none". Every way I have tried to ...