Newest Questions
24,191,734 questions
0
votes
0
answers
4
views
SQL attempting to group by multiple columns with "chained" column generation
I'm trying to get SQL to generate a count of rows based on 2 values, that the results are then grouped by two values
Table Data:
ID | NAME | VALUE
1 | name_1 | enabled
2 | name_2 | ...
1
vote
0
answers
6
views
Opening a pop-up window when error from a worker running in Qthread occurs completely freezes the program
I was trying to create a little Python program with a GUI using Pyside6. I ran into a problem when creating a thread for a worker to do a task (check files with a certain condition and then copy them ...
-1
votes
0
answers
11
views
Andoid App Crashing After Opening In Internal Testing
I have a react native app that work perfectly fine on my device and emulator when i created the builds. However when i uploading the app bundle in the play console and downloaded the app for internal ...
0
votes
0
answers
11
views
How docker containers communicate with TLS in production mode?
My app contains multiple docker containers, they are orchestrated with docker compose and they communicate between them.
I want to secure all communications with TLS.
In development mode, to make them ...
0
votes
0
answers
9
views
The getter isn't defined for appSchema
I'm making a mobile app using flutter. My collections and dto have all been defined and it runs perfectly when I'm building it using dart run build_runner build --delete-conflicting-outputs.
I know it ...
0
votes
0
answers
12
views
Quadratic behaviour examples generating of libc++ sort implementation
I'm studying sorting algorithms at the moment and I have one question that is actually quite well-known but still I can't find a full answer that is comprehensive enough for me. So, the topic is libc++...
0
votes
0
answers
7
views
Grouping rows, and then deleting only a sub range (based on their dates) from each of them
I use Psql on my web server in order to record incoming queries into a table "calls2", basically writing a single row each time with lots of repeating information, such as a date field (&...
0
votes
0
answers
5
views
PySpark 3.5.5 CharType in read.csv schema definition
I'm using a PySpark notebook inside of Azure Synapse.
This is my schema definition
qcew_schema = StructType([
StructField( 'area_fips', dataType = CharType(5), ...
-1
votes
0
answers
11
views
Move Labor Cost Formula from Sheets to Excel
Problem
I have created quite a convoluted formula in Google Sheets that Sheets doesn't seem powerful enough to handle for more than ~80 rows of data, so I wanted to try moving it over to Excel. Seems ...
Best practices
0
votes
0
replies
9
views
How to intercept calls to a function that returns file paths in gmock
I am working on a C++ code base that has a function called "getConfigFilePath()" in name space "utils" which returns the file path to a config file. The config file is really hard-...
-2
votes
0
answers
31
views
Why won't this recursive function return true
public static boolean isWordSymmetric(String[] words, int start, int end){
if (words[start].toLowerCase().equals(words[end - start].toLowerCase())) {
if (start == end){
...
-1
votes
0
answers
13
views
Tizen (React) memory not being garbage-collected immediately after state update
I've built a memory simulation tool in React to test low-memory conditions on my Samsung Tizen TV (2020 model).
To "fill" memory, I create large Uint8Array blobs and store them in a React ...
-1
votes
0
answers
21
views
Problems with containerizing cs2 servers in docker [closed]
I started trying to set up my own hosting system out of the box. Most servers like Minecraft and some Discord bots are fine, but when I started working on CS2 servers, I can't seem to connect to the ...
0
votes
0
answers
13
views
TypeError $table.DataTable is not a function when rendering a shinylive app with R
I'm trying to develop a shiny app that can be hosted on a website via the r-shinylive app. In this app, I want to have two tables. I would like the user would be allowed to select cells in the upper ...
0
votes
0
answers
20
views
How to make repeatable chords in VSCode
I have a key binding such as alt+s alt+u. It works when i hold down both keys alt and s, then just press u. But if I press u again, it doesn't repeat; i must release alt and s, then hold them down ...
0
votes
0
answers
18
views
Way to open a clicked link of a certain class in a new tab in TamperMonkey
based on this question and answer:
This very helpful method provided by Brock Turner enables this for links (anchor tags) containing the string cars :
// ==UserScript==
// @name NOT an AutoClicker,...
0
votes
0
answers
8
views
How can I create a "managed type" for a Spring Data 3.4 @NativeQuery interface to access data with?
We have a very sparse DAG stored in a MySQL 8 table. I want to get all of the nodes leading into (and out of) a given node. The query can be written without too much trouble with the help of this ...
-2
votes
0
answers
16
views
How can I create a pop-up modal in React [closed]
How can I create a pop-up modal in React that collects user input and closes automatically after submission
Advice
0
votes
1
replies
16
views
Organisation/Person tagging using Spacy
We’re working on a problem where our master dataset contains names of organizations and individuals, but some entries are untagged. We only have the names (no additional details such as email or ...
Advice
0
votes
2
replies
28
views
Is it possible to auto select a Python venv without using the terminal or VSCode?
Ok so I am the only technical person at a non-technical company. I am writing some scripts that I will be disseminating to my team. My goal is for everyone else on the team to be able to right click ...
0
votes
1
answer
24
views
PHP Intelephense code parsing error: why?
I have this php code in a class called "Test.php".
<?php
class Test {
private string $testVar;
public function __construct(string $val) {
$this->testVar = $val;
}
}...
-2
votes
0
answers
30
views
Converting local variable into global variable [duplicate]
I have made a function to get the name of a file and it is i want to get the file outsidethe function can you please help me and i have tried this
openerfile.addEventListener('change' , function (...
0
votes
1
answer
17
views
Sybase ASE avoid permission issues
I want to query multiple tables across databases, something like:
declare @sql varchar(100)
select @sql = 'select * from mydb1..mytable'
select @sql = 'select * from mydb2..mytable'
exec(@sql)
...
0
votes
0
answers
24
views
AI Ollama console application, pass an image to the LLM using KernelFunction
I’m writing an AI chatbot, a console application written in .NET 9 C# using Visual Studio 2022. I’m running on Windows 11 and using Ollama version 0.12.10, which runs on:
http://localhost:11434
http:/...
-3
votes
1
answer
24
views
I need VPS server hosting for my side-project [closed]
everyone. My name is Denis, I'm new to this community (before this, I only read posts but didn't post anything myself), and I need your help.
I'm a developer, and I recently decided to start my own ...
0
votes
0
answers
22
views
Why all browsers are executing scripts as headless on windows 11 when I trigger from Jenkins job
I need to run RPA python scripts on on windows11 device ,When I start executing from local machine using pycharm it’s physically browsers are visible.
But when I trigger same code from Jenkins job ...
0
votes
0
answers
20
views
How to Post empty Json HttpClient
var url = $"{BaseUrl}/asdfg";
var content = new StringContent("{}", Encoding.UTF8, "application/json");
var response = await Client.PostAsync(url, content);
The ...
-1
votes
0
answers
17
views
Using BayesOpt for real-time Bayesian tuning of FRC coefficients with AdvantageKit logs in Java with WPILIB
I’m working on a FIRST Robotics Competition (FRC) robot using Java and WPILib, and I want to implement real-time Bayesian optimization to automatically tune the coefficients in our ...
0
votes
0
answers
8
views
Vercel production deploy failing with Contentful ETIMEDOUT during Next.js static generation (but preview and local builds succeed)
My Next.js app deploys successfully in preview and builds fine locally using a .env.
However, the Vercel production deploy (triggered via GitLab CI) fails with multiple
FetchError: request to https://...
0
votes
0
answers
11
views
Power BI Show all of X while filter of Y is True
I am trying to make a visual in Power BI that shows me what people order second, if they order x product first.
It is important that I be able to click the first product in a Slicer as a form of ...
0
votes
0
answers
9
views
UITextField inputAccessoryView transparent background with custom inputView
I'm trying to use UIPickerView as the textfield's inputView and also add UIToolBar as the textfield's inputAccessoryView.
In iOS 26, it adds some weird transparent background (like a liquid glass ...
Advice
0
votes
1
replies
18
views
"Inheriting" a property from another class assigned to the same element?
Inheriting is the wrong word, I know - as there's already a concept of inheritance within CSS - but I wasn't sure what to title it as.
I'm looking to have a transition of background colour on an ...
3
votes
1
answer
32
views
Change the font color of data labels in a Sunburst chart in Excel
I’m trying to change the font color of the data labels in a Sunburst chart in Excel using VBA.
So far, I’ve tried several approaches over the past two days, but I can’t seem to access or modify the ...
0
votes
0
answers
31
views
Checking set in Poker
I am trying to simulate a deck of cards that can be shuffled, create a hand of 15, then check the hand to see if there is three of a kind within it.
I've added the code I have so far used to create ...
0
votes
0
answers
14
views
How does git read-tree behave in a single-tree merge, since it doesn’t seem to fully follow the documentation?
I created the following test repository (you can copy the commands):
$ git init repo && cd repo
$ touch file
$ git add . && git commit -m "Initial commit"
[main (root-commit) ...
2
votes
2
answers
80
views
Why do GCC and Clang fail to auto-vectorize simple loop?
I have two functions counting the occurrences of a target char in the given input buffer. The functions vary only in how they communicate the result back to the caller; one returns the result and the ...
0
votes
0
answers
17
views
Docker Compose fails on RHEL 7.2 with - possibly malicious path detected" error on /etc/resolv.conf
Environment
OS: RHEL 7.2
Docker and Docker Compose installed via RPM
Attempting to start containers with docker-compose up -d
When I run docker-compose up -d on my cluster setup, the containers fail ...
0
votes
0
answers
14
views
window .postMessage is not returning when popup window is closed,
I am opening a window popup for login and once login is completed I am closing the popup window. after closing. I want to know what is the exact method to capture the closing the popup window , (...
0
votes
0
answers
15
views
Using filtering recursive struct in rust
I have this big rust struct (DictWordMetadata), with more structs contained inside it. I have to check the value of a specific field in this struct or the structs contained inside it agains the value ...
2
votes
2
answers
34
views
I'm getting an 'index out of bounds' error using solve_ivp
I'm trying to find the outbreak time (when the number of zombies >= number of humans) as a function of the zombification rate gamma, using the following code:
arrOutbreakT = []
arrGamma = np....
0
votes
0
answers
11
views
Firebase Init Hosting failed to return firebase projects
As follows, I run firebase init hosting and it returns:
Error: Failed to list Firebase projects. See firebase-debug.log for more info.
I tried logging in and out of firebase and running:
gcloud ...
1
vote
0
answers
9
views
"permission denied" error in Cloud Function that imports gmail
I'm stuck getting a "permission denied" error when using the gmail googleapi in a firebase cloud function to "import" syntetic emails to a workspace email box.
I've followed this ...
0
votes
0
answers
6
views
How to use `@azure/msal-browser` in SAP UI5 application with `ui5-tooling-modules`?
I am trying to integrate **Microsoft Entra ID authentication** in an SAP UI5 application using the `@azure/msal-browser` library.
### **Body**
I am trying to integrate **Microsoft Entra ID ...
-1
votes
0
answers
16
views
Existing Teams bot installations not receiving activities after endpoint correction
I have a custom Teams app with a custom bot that is distributed in our organization through an organization-wide manifest import (not published in the public store).
The bot is used only for ...
1
vote
1
answer
29
views
Unexpected degenerate triangle when ray tracing a quad with NVIDIA Warp python library
I wrote a simple program that renders a quad using Nvidia Warp library. In the kernel, I simply query triangle points and check for degenerate triangles, but surprisingly, I find one even though the ...
-1
votes
0
answers
18
views
What is the recommended processes to update assets and properties in AWS IoT SiteWise in a bulk mode?
I have a project in aws sitewise that contains some thousands of assets and properties.
I want to update some hundreds of properties in different assets, for example I want to make them to allow to ...
-1
votes
2
answers
53
views
Why does console.log just paste everything in one line when I wrote everything in different lines in the code? [duplicate]
I'm doing an exercise for my programming class and I want the end results to appear in different lines like this:
x students did excelent
y students did very good
z students did well
v students failed
...
Tooling
0
votes
0
replies
23
views
Is it possible to migrate a container from one server to another server?
Server 1
Server 2
On server 1 I have a container running abc and I would like to copy the container to Server 2. Is it possible?
1. Is it possible to do it using docker checkpoint?
2. Is it possible ...
0
votes
0
answers
19
views
why fetch not working in firebase studio?
Every time i try to load file from storage in my web app it gives me fetch error, i tried creating a cor.json file and deployed it as well, load works fine in the live web app but not in the studio, ...
0
votes
0
answers
22
views
7zip command line: include hidden / system files in backup [closed]
I want to use the 7zip command line to back up files in a hidden or system directory on Windows 11 24H2. The folder I want to back up is
C:\Users\markc\AppData\Roaming\Microsoft\Windows\Start Menu
...