Newest Questions
24,257,887 questions
0
votes
0
answers
2
views
How to set Managedby Property in Azure ARM template
According to this doc (https://learn.microsoft.com/ga-ie/azure/azure-resource-manager/management/delete-resource-group?view=azurermps-6.10.0&tabs=azure-powershell#how-resource-manager-determines-...
0
votes
0
answers
3
views
How do I correctly capitalize words that contain non-alphanumeric characters in Common Lisp?
Thanks in advance for the help!
Here's the situation:
I want to capitalize the first word in a sentence. I have the individual words in a sentence, stored as strings. In the case of the first word, I ...
0
votes
0
answers
3
views
PHP: pg_query() or pg_insert() functions generate a query with the table name doubled? `relation does not exists`
So this is very strange.
I have a server where I run this code:
$result = pg_update(
$conn, "schema.table",
array(
'thing' => "value"
),
array(
...
0
votes
0
answers
4
views
How can I load a pretrained transformers model that was manually downloaded?
I am unable to download huggingface models through the Python functions due to SSL certificate errors. Perhaps it's due to my company firewall.
I am able to download the contents of a huggingface ...
0
votes
0
answers
4
views
I get no instance of overloaded function on CreateHwndRenderTarget
Im trying to make a UI library for my game in DirectX11 using DirectDraw and d2d1.
This part gives me the following error: no instance of overloaded function "ID2D1Factory::CreateHwndRenderTarget&...
0
votes
0
answers
3
views
Problem in dynamicCache: index -1 is out of bounds for dimension 0 with size 0 in cache_position[-1]
I am trying to use DynamicCache with an input prompt. After caching the prompt I want to generate one output at a time (and append it to previous prompt) and generate again. I am running the following ...
-1
votes
0
answers
4
views
Best practice for service and repository layer communication
I am wondering what is best practice or what are good approaches to have a clean service and repository layer separation, especially when it comes to Entities / Domain Objects and data exchange ...
0
votes
1
answer
9
views
VBA Copy from a list and paste to one cell at a time and run query
I'm new to VBA queries so I'm asking for assistance. I have a separate SQL query that creates a list for me to manage off of each month. From that list I run the outcome client one client at a time ...
0
votes
0
answers
7
views
What is the purpose of the instructions that gcc emits?
I have an example of C code with an issue (integer promotions from uint16_t to int, and then cast to uint32_t):
#include <stdio.h>
#include <stdint.h>
int main() {
uint16_t x = 48000;
...
0
votes
0
answers
8
views
Making a game on phone in python
I basically have this code that I made on a sleepover. I am trying to use Pydroid3 to make this text called as code work its magic.
import random
import time
import pygame
pygame.mixer.init()
pygame....
0
votes
0
answers
3
views
VHDL Generic number concatenation of std_logic_vector
I have an array of std_logic_vectors. The length of the array and std_logic_vectors are variable based on generics. How can I concatenate all the std_logic_vectors in my array without knowing the ...
0
votes
0
answers
5
views
How to remove the area on the left of QTreeView first column?
How can I remove this area seen inside the red rectangle?
Things I have tried:
setIndentation(0);
setRootIsDecorated(false);
overriding drawBranches
Styling it with QTreeView::branch and setting ...
0
votes
0
answers
5
views
Contingency table imported into R from excel, how to convert to table for chi-square test?
I have (lets say) some data about students who live in different halls of residence who pass or fail a fire safety test. I've been asked to do a chi-square test to see if there is an association ...
1
vote
0
answers
4
views
AWS Redshift unload not respecting order by
I defined a redshift table (some fields omitted from this sample) with this DDL:
CREATE TABLE public.my_sorting_test (
timestamp_utc timestamp without time zone ENCODE raw,
filtered boolean ...
0
votes
0
answers
9
views
How To Fix Cannot Create a File When That File Already Exists?
I was about to build a Godot extension that I made in C++. It was going fine with the building of the godot-cpp library, but I got an error when I tried to build the plugin (with my code) by running ...