All Questions
24,132,931
questions
0
votes
0
answers
4
views
No propertes through config server on browser
http://localhost:8888/configserver/default
response:
{"name":"configserver","profiles":["default"],"label":null,"version":"...
0
votes
0
answers
9
views
Why is it so hard to make a Maps site?
I am finding a way to make a website that works like this site: https://genshin.gamedot.org/?mid=genshinmaps.
But I found that making a website like that is not easy.
I just need a simple website that ...
0
votes
0
answers
3
views
Arduino-cli commands are not found in vscode using WSL, why is this occuring?
It appears that people have had similar issues using vscode locally, however, I am trying to configure things purely on the WSL side.
I installed the Arduino extension using vscode, however, none of ...
0
votes
0
answers
5
views
CUDA reduce (min) with cooperative groups on float4
I'm trying to reduce an array of type float4 on the GPU. I stumbled upon Cooperative Groups here. I changed the code parts to adapt to a float4 minimum reduction (see code section at the end).
I'm ...
0
votes
0
answers
4
views
How to write function in bash for reuse shell commands inside using osascript?
I want to get rid of duplicates, but get the errors:
178:186: syntax error: A “"” can’t go after this identifier. (-2740)
133:134: syntax error: Expected expression but found unknown token. (-...
0
votes
0
answers
9
views
Java Swing Paint Performance
I'm developing a game using Java Swing and because of high responsive notion of the game, it has to have a high FPS. Yet after optimizing my program in any way I knew, it still takes a lot of time to ...
0
votes
0
answers
6
views
Is it possible to get hashes of individual 16KB blocks from a v2 torrent file? v1?
I want to cache torrent blocks based on their content hash. In v2 instead of simple block hashes there's a merkle tree, whose exact composition I can't quite comprehend.
I am working with MonoTorrent ...
-1
votes
1
answer
11
views
How to achieve MULTIPLE hyperlink styles within a single div?
I'm trying to create a div that has two simultaneous styles of hyperlink in. A primary one for the more important link, and a secondary one that are relevant to describe the primary one. The point is ...
0
votes
0
answers
3
views
Send image string base64 (PHP) to API (Nest) to process in Multer.File
I receive in a API PHP a base64 string image by POST and I need to send it to another API built with Nest.
The API expects it as a file to be processed with the Express.Multer.File library.
api ...
0
votes
0
answers
9
views
Date calculation(Max_repitch_date) as per certain combination Pairs
Team,
Below is the final table end result, i am looking for:
-> Max_repitch_date is calculated by adding order_start_date plus 20.
-> Calculation has to happen as per same combination and ...
0
votes
0
answers
7
views
Open to use styling?
I am working on a react typescript project using react-big-calendar, but I am bad at styling and I do not really like the way the calendar looks out of the box. Does anyone know where I could get some ...
1
vote
0
answers
5
views
Extract first page of PDF, return it in one color with transparency and image detail - PHP
i have this class that process a PDF file (giving only the first page so [0]) and returns it as PNG with a color specified with the $r $g $b values
The process seems to work, but most of the time it ...
0
votes
0
answers
8
views
Connecting puppeteer to an existing Brave Browser instance using
Hi i have a script that would scrape relevant data from a website, and i want to create a headless browser that has a remote connection to the brave browser that is requesting for the website to be ...
0
votes
0
answers
9
views
How do I merge multiple tables into a new table in BigQuery?
I'm pretty new to SQL. I have 12 tables with the same schemas containing the same types of data from 12 months, and need to merge them all into one big table. How can I do this in BigQuery using SQL?
...
-1
votes
0
answers
10
views
Customer Churn Calculation
I am currently working on query in which I want to calculate how many customers placed an order with us historically but not in the current month
The final output should look like this
Month
...
0
votes
0
answers
7
views
spark use the metastore with H2
I'm encountering an issue while trying to connect Spark to an H2 database for managing metadata.
However, I'm facing difficulties with mapping the LONGVARCHAR JDBC type for a particular field (...
0
votes
0
answers
7
views
Differentiate newlines in dart string
I have the following code:
const myString = """
BEGIN:VCALENDAR
PRODID:-//xyz Corp//NONSGML PDA Calendar Version 1.0//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:19960704T120000Z
UID:uid1@...
0
votes
0
answers
4
views
how to serialize Any in Kotlin?
how can I serialize below data? This is AppConfig and value of value could be any type and I can't use Any for serialization.
[
{
"key": "PROFILE_PHOTO",
"value":...
0
votes
1
answer
13
views
Vertically centered axis text in R ggplot2
I am plotting multiple areas using ggplot2 and ggridges. I want to vertically center the y-axis texts. Is there a way to achieve this in an automated way? As a manual approach, I am specifying at the ...
0
votes
0
answers
5
views
FlutterWebAuth2 browser not closing on TikTok login
I've been trying to figure out the problem in my TikTok login flow. I tried integrating native SDK of TikTok Login Kit but it doesn't seem to work very well as my app is already managing a lot of URL ...
0
votes
0
answers
9
views
Mapping one collection of objects into another collection of objects
I have a collection of objects, lets say models, that all implement the same interface. They are all stored in a literal collection. I would like to map them now to different objects and the mapping ...
0
votes
0
answers
5
views
Limit/ clamp rotation
Im trying to limit the rotation as the title says between all axises idk how to realy explain this so i will show you the code
i think its worth mentioning that the object (chessboard) im trying to ...
0
votes
0
answers
7
views
No GPU EC2 instances associated with AWS Batch
I need to set up GPU backed instances on AWS Batch.
Here's my .yaml file:
GPULargeLaunchTemplate:
Type: AWS::EC2::LaunchTemplate
Properties:
LaunchTemplateData:
UserData:
...
0
votes
0
answers
7
views
Typescript error: "./src/models/MenuModel").SortOrder' is not assignable to parameter of type 'number'.ts(2345) (property) MenuModel.order: SortOrder
error on line:
98
/src/models/MenuModel").SortOrder' is not assignable to parameter of type 'number'.ts(2345)
this: this
120
Type 'number | SortState[]' is not assignable to type 'SortState[]'.
...
0
votes
0
answers
6
views
Azure pipeline unable to deploy via a bicep file and set values for its parameters
In my azure-pipelines.yml file I am unable to deploy via a bicep file and set values for its parameters.
Here is the start of my bicep file
targetScope = 'subscription'
param location string = '...
0
votes
0
answers
6
views
Why does this `<Suspense>` child component lose its state rather than render after the suspending promise resolves?
In an attempt to understand react's <Suspense> component, I'm trying to utilize setTimeout to write a simple hook to trigger a "suspended" state for some amount of time before ...
0
votes
0
answers
4
views
Azure Fileshares on a web page hosted from a VM
SO, I know that Azure does not currently have a way to display FileShare data directly to a webpage. SO as a workable solution, I created a VM that hooks into the fileshare from the SMB share as a ...
-1
votes
0
answers
8
views
JPA SPECIFICATION WITH INTERFACE PROJECTIONS
I have problems that how to implement jpa specification with parameters and dynamic where whose response should be a list of interface projections containing some columns of 3 related entities, ...
0
votes
0
answers
7
views
Google sheets formula based upon a unique identifier and a date match (in between two dates)
I have two spreadsheets:
Spreadsheet 1:
An ID #,
A date
Spreadsheet 2 range rows:
ID#,
Start date,
End Date,
Pay
I need to match an ID #, match that the date is between two dates (start and end date) ...
0
votes
0
answers
20
views
For practical purposes does this malloc() code initialize a variable size array?
So if I have some data type called type, does the following code pretty much initialize a variable size array in C?
type InitValue; //initial value I want every array element to have. For my purposes ...
0
votes
0
answers
6
views
Hide canceled meeting invites on outlook
When I try to hide cancelled meeting invites using the method recommended here I'm still facing one issue.
If someone sends a recurring invite and then cancels only one of those invites this method ...
0
votes
0
answers
8
views
Direct access to the internal fields of a CPython object
To improve my understanding of Cython, I am trying to find a way to directly access the fields of the objects defined by CPython.
For example, I wrote the following code to access the ob_item field of ...
0
votes
0
answers
10
views
Show Spinner selection in text view
I have this code below which grabs data from my firebase database, works great! However I now wish to add another feature. when the have made a selection how do I then get the text to show in a text ...
0
votes
0
answers
4
views
Install OpenDevin with Docker
Apologies if my question is too dumb, but I am very new to docker and have difficulties in understanding how to install OpenDevin with the provided docker image.
At the README on github, the following ...
0
votes
0
answers
9
views
Angular @Output event handlers can not return anything. Why not?
In angular, the interface between a component and its consumer is defined via @Input and @Output
The problem is @Input can't be a function and @Output can't return value.
Why do I need that?
Let's say ...
0
votes
0
answers
6
views
Format String Exploitation - Differences in LIBC address leak local vs remote
I tried to exploit a format string vulnerability in a CTF challenge.
The file had no RELRO and the plan was to leak LIBC addresses and overwrite a GOT entry.
My first step was to locally enumerate ...
-2
votes
0
answers
11
views
Display php script in VScode [closed]
plug-ins or extension for PHP in VS code
Hello, I have always run into this error when I tried to execute php script on VS code, today I wanted to print "Hello world!", But it kept ...
0
votes
0
answers
4
views
Why does the API getTeamsTeamActivityDetail has missing data?
I am using the Microsoft Graph API's getTeamsTeamActivityDetail endpoint to track teams activities.
However, I am encountering an issue where the API consistently returns 1011 records active and ...
0
votes
1
answer
5
views
browser doesn't request to vscode xdebug server
I Try to use xdebug in Windows 10.
I had used xdebug in My Mac machine.
But, In windows 10, I installed xdebug 3.1.6 then config it.
It does not work as I thought.
Below is my php.ini
[xdebug]
xdebug....
0
votes
0
answers
8
views
Error connecting to SQL Server in AspNetCore applications [duplicate]
I'm facing an "annoying" problem... Any project that I start in Visual Studio or VSCode and try to connect to the SQL Server database running via Docker, the error below occurs:
Error in SQL ...
0
votes
0
answers
6
views
Applying rollify to calculate percentrank
I have the table Wide_DF similar to the below structure( more rows than below)
DATE
TICKER
Total_Put
2021-01-03
A
23.4
2021-01-03
B
13.1
2021-01-03
C
34.6
The colum TICKER has 3 values A,B,C, i.e ...
0
votes
0
answers
9
views
Download files uploaded to the "static" folder - Django
I need the .wav file that is created in the "static" folder to be able to be downloaded via a link inserted via HTML or viewed via FileResponse.
I tried things like:
<a href="{% ...
0
votes
0
answers
5
views
Bootstrapped confidence intervals for non-linear mixed effects model
I'm trying to get bootstrapped confidence intervals for parameter estimates of a non-linear (Gompertz) mixed effects model built in the lme4 package with function nlmer(). I need to be able to graph ...
0
votes
0
answers
9
views
How to access variable to pass through url_for() as src in Flask App
I am currently working on a web app, in which users upload files, a ML algorithm is applied, and I want to add the functionality to view the images they originally uploaded in a Bootstrap Modal. I'm ...
0
votes
0
answers
7
views
In Blazor app, how do I access the JWT from Google sign-in and set the verified user?
I'm new to Blazor and I'm trying to use Google sign-in from a server-side app. I've gotten to the point where I can execute the sign-in and handle the post request from Google. Here's the class that ...
0
votes
0
answers
7
views
Does Polly Retry on errors like "connection was terminated abnormally" or "A connection with server could not be established" etc
I am using HTTPClient with WinHttpHanlder (for http/2) and my Polly retry policy looks something like this
var waitAndRetry = Policy
.HandleResult<HttpResponseMessage>(r => ...
0
votes
0
answers
9
views
Selenium: "element not interactable error" when accessing the CAISO website but only for downloadNetDemandCSV, but not for downloadDemandCSV
I am trying to fix this code to extract data from it. The code is publicly available here: https://github.com/grgmiller/CAISO_operations/blob/master/CAISO_operations.py
This code used to worked in ...
0
votes
0
answers
9
views
Python. Unzip archive to which the filenames are encoded using urlencode, and because of the encoding, the length of some names is > 260
Creating a backend on FastApi. Post request, the bytes string is received. After that, I create a zip archive from this line. But the file names are encoded using url encoding.
data: bytes - bytes ...
0
votes
0
answers
20
views
How can I sort different elements based on keywords?
I'm trying to sort different sentences from a text file according to the part of speech of the specified word in each sentence. For example: Given the big [house] and the {red} flower, I want to ...
0
votes
0
answers
11
views
Spotify Auth access token givin error code 400
I have been trying to get my spotify access tokens and refresh tokens for my react native application and its been giving me serious issues.
https://docs.expo.dev/guides/authentication/#spotify
I was ...