Newest Questions
24,247,961 questions
0
votes
0
answers
2
views
kubernetes dashboard create token fails
Docker Desktop For Windows on WSL2
I'm following the k8s blog here :
https://kubernetes.io/blog/2020/05/21/wsl-docker-kubernetes-on-the-windows-desktop/
I'm able to create the kubernetes dashboard
x@y:...
0
votes
0
answers
5
views
Problem with using box-ui-elements and ContentPreview as a React component
I’, relatively new in React and I’ve just started working with Box integration. I managed to use Box by referencing the versions available on Box's CDN (https://github.com/box/box-content-preview?tab=...
-1
votes
0
answers
6
views
Can't move (click and drag) individual legend labels
I know it is possible to click and drag individual labels on the legend, but I can't figure out how to do so reliably. If I have I get a bray box around the label and if I click it turns blue and then ...
0
votes
0
answers
6
views
Aeron ConcurrentPublication vs ExclusivePublication. Is this managing concurrency at the Object level, or at the LogBuffer level?
In Java Aeron, at the Object level, I understand that if I have multiple threads writing to a single Publication instance, it had better be a ConcurrentPublication. But what if each thread has its own ...
0
votes
0
answers
8
views
How to make Git File History use my local date format
For some reason, the "Git File History" command is showing dates in US format, although my Mac is set to use Australian date format.
How can I get it to respect my system-wide date format?
0
votes
0
answers
10
views
How to redirect a page if URL parameters are not in URL on page load
I have a URL that I need to redirect away from if the page visitor does not have a specific parameter in the URL when they visit the page. This is the code I have, but it seems to only work one time ...
-2
votes
0
answers
15
views
How is this still in the scope? [duplicate]
So, my question involves the following code I saw as the answer to a project on Codecademy, called "Abruptly Goblins!"
def find_best_night(availability_table):
best_availability = 0
...
0
votes
0
answers
4
views
Add custom field in prestashop product import
Any expert here can guide me on how to modify Prestashop to accept a custom field in csv file and save it in the database with the product?
I tried modifying this files
/classes/Product.php
/...
0
votes
0
answers
6
views
Shopify Custom HTML Form to Google Firebase Flutter App Not Working
First, I'm really new at this. I have a very simple HTML form on a custom Shopify page:
<form method="POST" action="https://fb-test.web.app:8080" id="myForm">
<...
0
votes
0
answers
3
views
How can I connect a single task to multiple successors in a Gantt Chart?
I am trying to create a Gantt chart and one of my tasks has 2 successors. How can I prepare the data so the 2 lines to the successors are drawn?
0
votes
0
answers
16
views
How can I allocate multiple arrays of different types in a single allocation?
I am coding a probing hash set which internally maintains an array of slots as well as a separate array of slot metadata:
template <typename T, typename Hasher = std::hash<T>, typename ...
-1
votes
0
answers
6
views
Downloading invoices that open in another tab with puppeteer and expressjs
I'm trying to make a invoice scraper that downloads the invoices off a website. The issue I am having is the website needs to be logged in before I can access the PDF's. My current structure is that I ...
0
votes
0
answers
8
views
eBay catalog API call results in HTTP status code '403 - Forbidden'
I'm getting HTTP status code 403-Forbidden when I'm trying to use eBay catalog API sample request from https://developer.ebay.com/api-docs/commerce/catalog/resources/product_summary/methods/search.
It ...
0
votes
0
answers
8
views
Cannot resolve database structure in RESTful
I was performing a technical task for the position of java developer. The requirements for the task are described below. I created 2 tables in the PostgreSQL database according to the requirements (...
0
votes
0
answers
11
views
Esp Now not sending or not receiving
I'm a beginner trying esp now for the first time. I have two Adafruit QT Py ESP32-C3 boards and I'm trying to make one board send a message, and the second board print on serial that it received the ...
0
votes
0
answers
8
views
How to use a Git PAT with Poetry?
One of my projects is using Poetry and has a private GitHub repository as a dependency. When I try to run poetry install it fails due to the URL being HTTPS.
How do I configure a personal access token ...
0
votes
1
answer
17
views
Python and Selenium script and setting focus not working
I have some code I open up a web page and then I try to set focus on a test box so a user can start typing, however when the page opens and the cursor is flashing on the correct text box if the user ...
0
votes
1
answer
21
views
Remove firefox form field highlight?
I'm having this problem with firefox form fields. They're suddenly highlighting in bright, ugly blue, and I'm trying to get it back to the original, more clean dotted line. Actually, at this point, ...
0
votes
0
answers
9
views
Azure Maps rejecting Route Request with ZipCode
When i submit a Zip code as a location to AzureMaps, it returns bad request.
My theory is that the centralized point on the Zipcode is not a navigable point by road.
I've tried a few things:
-...
0
votes
1
answer
14
views
Spring Boot java: cannot find symbol
i am in new learner
Can someone help me .. i followed this tutorial but still I am getting the error.
i followed the each step gave the same file names , variables still the same. what mistake I am ...
0
votes
0
answers
8
views
Unique items for each page in typesense
Lets say im fetching 3 items each page.
Each item has types. Example: BMW - Ferrari - Mercedes ...
I need Distinct items for each page:
1: BMW-Ferrari-Mercedes
2: Ferrari - McLaren - Honda
3: Bmw- ...
0
votes
0
answers
27
views
Why do long and long long types behave differently when both are 64 bits? [duplicate]
Compiling for the x86_64 architecture in Apple Clang (Xcode 14), the following code:
#include <iostream>
#include <stdint.h>
static void foo( long v )
{
std::cout << v;
}
...
0
votes
0
answers
29
views
Can someone help me find the error in my code? [duplicate]
My content won't rest inside my background image properly. I need it to be centered with one another. It's just not happening. The first image is the expectation and the other is mine. Can anyone ...
0
votes
0
answers
9
views
How to organize the receive msg and user current input in C network such that it's clean
The program has two threads, one handle send one handle recv. User will always be prompted with fgets() to input message for send, meanwhile the recv thread will display the message sent to the user.
...
-1
votes
0
answers
22
views
Listing contents of an FTP server with Python
I'm trying to run a Python script that saves the names of folders in an FTP (1 subfolder deep) into a CSV, but it only saves the name of a single folder into my CSV before stopping without errors.
I'm ...
-1
votes
0
answers
20
views
pandas complex merge
How can I merge these two dataframes?
df1
enter image description here
df2
Rule:
Merge based on callsign and re (if not null). If de and d_runway do not match, add a label indicating a mismatch.
...
0
votes
0
answers
9
views
How to call lua functions from another language
Trying to make an engine that calls other language from lua code. And the problem that I stuck into is callbacks.
Converting strings, ints and so on is easy, but what to do with functions?
Lua API has ...
0
votes
0
answers
8
views
Casting string column to pl.DateTime does not keep timezone information while converting to string does
Polars version 1.17.11
I have a json object with the following structure:
json_obj = [
{"timestamp": "2024-10-01T21:23:23Z", "value": 31},
{"timestamp": ...
0
votes
0
answers
9
views
css is not loading on server after hosting but loading when run local
I am trying to host asp.net core website(.NET8) on linux server. At local everything work fine but when i host on server it then the .css is not loaded and it gives 404 not found (please check http://...
0
votes
0
answers
7
views
How to change the language to 8.0 in wpf c#?
in this code example i get two errors.
private Brush GetEventBrush(string eventType) => eventType switch
{
"Created" => Brushes.LightGreen,
"Changed" => Brushes....
-1
votes
0
answers
11
views
How to Improve CNN Model Performance for Image Classification in PyTorch?
I am working on an image classification project using PyTorch and have implemented a Convolutional Neural Network (CNN) model. While the model is functional, I am looking for ways to improve its ...
0
votes
0
answers
15
views
Pitch shifting in frequencies from frequency+amplitude+phase
I have a (C) code that extracts a list of (frequency + amplitude + phase) from an audio (time-based) signal. From that list I'm able to rebuild the original time-based signal with a very good ...
0
votes
0
answers
6
views
Expo / React Native: Allow user to take screenshot of the whole page on iOS
I'm currently having trouble understanding how i can allow users to take screenshots of the whole page on iOS - because in some apps (Safari, ..) it's possible to take such a screenshot and well i ...
-1
votes
0
answers
8
views
"Going inside" 3D model on PowerPoint [closed]
I have loaded a 3D model that I need for a PowerPoint presentation. The problem is, the core part of the model is actually embedded in a sphere and, when I load the model in my presentation, that's ...
0
votes
0
answers
9
views
How to Handle Flavor-Based Builds for iOS in Flutter When Using a Single main.dart?
I am currently working on a Flutter project where I have six flavors for two variants: Free and Pro. Each flavor corresponds to different environments like dev, uat, and prod.
Initially, I had ...
-1
votes
0
answers
21
views
I'm having troubles on Ubuntu accessing Google Drive through the terminal
I've tried opening the drive in Files, right-clicking and selecting "Open in Terminal" and I have tried "Copy Location" and used cd /run/user/1000/gvfs/google-drive:host=gmail.com,...
-2
votes
0
answers
12
views
PowerPoint tool that replaces images and alt-text [closed]
Originally, we posted this to the standard PowerPoint Forum, but they suggested that we should post this query to this forum.
We are seeking assistance in finding or developing a tool that can ...
-1
votes
1
answer
27
views
Why can't I resolve a promise via a ref stored resolve function in React?
I'm trying to create a promisify style hook, the idea is to eventually use it with Redux Toolkit to allow using the new React 19 use hook.
Here's the gyst of how this thing would work:
function ...
0
votes
0
answers
7
views
Compilation Error with R Markdown, kableExtra and LaTeX
I have an error when I compile my PDF Beamer Presentation with R Markdown. In some slides, I generate tables with kableExtra but the code doesn't work :
For instance, my code (in a R Chunk)
...
0
votes
1
answer
26
views
Trigger form onChange on input click in React
I'm creating my custom React component with some extra features. I would like to keep it as close to the default browser behavior as possible. Whenever I change something in the form's input I would ...
0
votes
0
answers
10
views
Could not find any Python installation to use + node-gyp failed to rebuild when building Electron app
I'm trying to build my Electron APP and I'm getting the following errors:
⨯ Error: Could not find any Python installation to use
...
node-gyp failed to rebuild '...node_modules\@parcel\watcher'
I ...
0
votes
2
answers
21
views
Import-Excel: Expand imported Excel columns to become individual row entries
Can someone help me figure out how to unpivot Import-Excel data so the columns can be expanded as individual row entries? This is really more of a question of how to re-render the custom PSObjects ...
0
votes
0
answers
4
views
"Backend QtAgg is interactive backend. Turning interactive mode on"
I am new in debugging so when I try to run my file with Debugging mode it shows me a warning "Backend QtAgg is interactive backend. Turning interactive mode on." and breakpoint doesn't work ...
0
votes
0
answers
6
views
Ambiguous Column Error When Filtering Leads in Laravel Query Body
I'm working on a Laravel application where I need to apply filters on leads based on attributes from the associated company_users table. I've attempted to implement a feature that filters leads by ...
0
votes
0
answers
2
views
Next js Prisma SaaS notification app. My 2 registered users are visible in clerk, but do not appear in prisma studio
Initially, the problems arose because the author of the guide "pingpanda" connected the neon database and the jstack project template contains files tied to connecting to neon. I deleted the ...
0
votes
0
answers
2
views
Error Installing Packages with sdkmanager: "Errors during XML parse"
I'm trying to install Android SDK packages using the sdkmanager command, but I keep encountering an error related to XML parsing. Here's the command I'm running and the output I get:
Command:
...
0
votes
0
answers
5
views
Re-write Shader to be compatible on both Nvidia and AMD
I'm currently working with a very simple GLSL shader written for compatibility with HaxeFlixel that is meant to make an image scroll. It works fine for my computer, which uses an Nvidia graphics card. ...
0
votes
1
answer
17
views
When trying to export pdf or html I keep getting nbconvert is not installed but I have it installed
The output below is what I get when I'm trying to convert it. I'm using a Mac (M1) and I have jupyter, nbconvert and MacTex installed.
23:52:36.218 [info] Process Execution: /usr/local/bin/python3 -c &...
0
votes
0
answers
4
views
AWS CloudFormation: Programmatic conditions in ForEach
I am trying to conditionally create multiple resources. The CFT I intend to specify would like something like the following:
{
"Transform": "AWS::LanguageExtensions",
...
"...
0
votes
1
answer
18
views
How to prevent Native Javascript from redirecting a <button>?
I want to modify a button on a website that is accessed with webview, because the button on the website opens a page with a new tab / window.
<div>
<button>
<span>Button Name&...