All Questions
24,008,016
questions
-1
votes
0
answers
4
views
Trouble with Python Requests Library: SSL Certificate Verification Error
I'm trying to make an HTTP request using the Python requests library, but I keep encountering an SSL certificate verification error. I'm not sure how to resolve this issue. Can someone help me ...
0
votes
0
answers
4
views
Can we make a better div fade edges while scroll with only css?
I came up with this code after many tries to figure out how to make text fade on edges while scrolling with only CSS no JS/JQ:
<!DOCTYPE html>
<html lang="en">
<head>
&...
0
votes
0
answers
3
views
Public Maven JAR artifact with stubs for android.os.Build and android.util.Log
I develop a Java library that runs on the JVM as well as on Android. On Android, I use the classes android.os.Build and android.util.Log. Currently, I compile against com.google.android:android:4.1.1....
0
votes
0
answers
6
views
General error: 2006 MySQL server has gone away LARVEL VAPOR
I am having this error thrown a few times "SQLSTATE[HY000]: General error: 2006 MySQL server has gone away". It is obviously cause by the server just going down, it always restarts after a ...
0
votes
0
answers
3
views
OpenBLAS Link error - qcc (QNX - c++) with armadillo -
Currently creating a process that uses armadillo - this one depends on libopenblas.so
libarmadillo was ported to qnx71/aarch64le and so was libopenblas.
My problem is when I link the libraries, I see ...
0
votes
0
answers
5
views
Issues implementing Klarna into my own website
I am having huge issues trying to get Klarna working on my own website that I coded myself from scratch. i.e. not an off the shelf package.
Klarna support are pretty useless as providing technical ...
0
votes
0
answers
4
views
proper use of contextvars with asyncio.create_server
The asyncio.create_server listens on the specified address:port and calls the methods of the supplied callable that implements BaseProtocol. Everything seems fine with the examples provided like this:
...
0
votes
0
answers
4
views
How do I run(and access) multiple instances of RStudio Server using Docker?
I have an image that I've built that is built from the rocker team's tidyverse docker image, which has multiple tools installed within the container.
This container was built for use by multiple ...
0
votes
0
answers
9
views
JsonSerializer returning null for valid json
I don't understand why JsonSerializer.Deseralize<>() is returning an empty object?
JSON OBJECT:
public class QuantumItem
{
public string name { get; set; }
public string imgUrl { get; set; }
...
0
votes
0
answers
4
views
React - effect hook causing data loss with stream data
I am creating a radio application that is storing a limited set of data from a WS stream. The data is used to render a time graph based on the data points received. I am rendering the data on a canvas,...
-2
votes
0
answers
5
views
iOS/Android guidelines - download & render interactive content allowed?
I am developing an App, which downloads and renders interactive guides (museums / city tours), which are created by users in a custom markdown flavor and can be downloaded from a store. The guides ...
0
votes
0
answers
3
views
Issue upgrading to JAVA 17 My JIRA Utils project
I am getting error >>
startup failed:
General error during class generation: Unable to make protected void java.lang.Object.finalize() throws java.lang.Throwable accessible: module java.base ...
0
votes
0
answers
4
views
Plotting Likert-type questions with some non-respondents
I am trying to plot Likert-type data, and am using code adapted from this site: https://scisley.github.io/articles/ggplot-likert-plot/
The code to reproduce the example:
# load packages
library(dplyr)
...
0
votes
0
answers
3
views
React and Firebase passwordless link is sent but the user is not signing in
I have a React application in development that was working fine for signing in with a passwordless link from Firebase, but somehow (maybe I changed some codes but could not find where!);
my login ...
0
votes
0
answers
2
views
Unable to install jupytor to environment in anoconda
UnsatisfiableError: The following specifications were found to be incompatible with each other: Output in format: Requested package -> Available versions
i can not install Jupyter to my environment ...
0
votes
0
answers
4
views
Install an app on Ubuntu 18.04 from some .docker files
I have a few files with the extension .docker for an app I need to setup on Ubuntu 18.04.
I have 4 .docker files one with mongo, one with nginx and the others with the app.
I installed docker on ...
-5
votes
0
answers
10
views
Recursion and its usage
How can recursion consumes all space in hard disk if it is there is a error?
there is error while practicing recursion and pc got lagging and showing that recursion is taking too much space and after ...
0
votes
0
answers
2
views
how to debug torch distributed processgroup?
I want to analyse the pytorch distributed backend interface but I don't know how to debug it.QAQ
vscode python,debug+ gbd attach,python C++ debuuger Subprocesses can't be debugged?
I'm wondering if ...
0
votes
0
answers
4
views
How to remove this json node this json via xslt mapping
How to remove {"root": and "" this json via xslt mapping
{"root":[{"TPDName":"160 TPD ","LineName":"J20","JobName":"...
0
votes
0
answers
3
views
running a Fourier form panel ADF test
I used chat gpt to generate some help as im not familiar with python and got the following
import numpy as np
import pandas as pd
from linearmodels.panel import PanelOLS
from linearmodels.panel import ...
0
votes
0
answers
9
views
Three-fourths of an SVG circle works well only with a certain size
I am trying to create a circle by creating 2 arcs with 2 path elements so if I rotate the second arc I can get 3/4, half or full circle.
This is what I am talking about.
<svg width="200" height=...
0
votes
0
answers
18
views
Cannot assign to string when using a constructor
My desire is to create an empty string, potentially assign it a value based on the results of a function that returns const char *, and push the possibly empty string to a vector.
This didn't work:
...
0
votes
0
answers
6
views
Using TensorFlow Lite in an Android Projec
You're saying you want to convert the model found at https://github.com/ukairia777/finance_sentiment_corpus/blob/main/BERT_sentiment_analysis_kor.ipynb into TensorFlow Lite..
How can I convert the ...
-3
votes
0
answers
10
views
Open the site locally [closed]
I have a folder with website files. I need to run it locally on a virtual machine. Databases were accessed through phpmyadmin. Tables were not exported. How to do it?
я скопировал копию сайта в ...
-1
votes
0
answers
4
views
What is the significance of the term "Internet of Things (IoT)" in the context of modern technology, and how does it impact various industries?
The Internet of Things (IoT) refers to the network of interconnected devices that can communicate and share data over the internet. Its significance lies in enabling seamless data exchange between ...
0
votes
0
answers
5
views
How do I fix a wrong 301 redirect from http to https on Wordpress website?
I got a Wordpress website, lets call it example.com, hosted by IONOS. It is a https site with a working SQL certificate, so all http requests should redirect to the requested page but replace the http ...
0
votes
0
answers
5
views
How to horizontally center a 2 line text inside a Text widget
I am trying to create a Text widget within a circle. However I am stuck in the part to make the text horizontally centered.
Container(
width: 80,
height: 80,
decoration: BoxDecoration(
color: ...
0
votes
0
answers
20
views
How to loop in C#?
I am new in C# and programming. I am currently building a calculator in my program and find a problem in my loop and user input. After the first calculation is done, the user will be asked "Do ...
-1
votes
0
answers
9
views
Create product custom permalink in woocommerce
In Woocommerce Product page I have:
H1,
H2 (ACF field) and
SKU
Could I create generated automatically a product permalink with these 3 fields?
With this function I can display the product SKU, but I ...
0
votes
0
answers
3
views
Pairing Test and Control Plots by Euclidean Distance of a Vector in R
Most generally, I am creating a procedure to pair test and control plots objectively. The purpose is to regularly compare change within the test area to change within similar test areas over the ...
0
votes
0
answers
6
views
How can I divide a Tensorflow dataset created from ListFromFiles into train, validation and test sets?
I have a directory with files I want to split into train, validation and test sets. The approach I've taken is:
# Defining the positive and negative paths
POS = os.path.join("*.txt")
# ...
0
votes
0
answers
15
views
using "in" operator with set and list yields different results
I found a difference when using the "in" operator in python but I cannot find the reason behind it. To see the difference check out the minimal example I provide below (note that even though ...
0
votes
0
answers
9
views
HAL define bug with STM32WLE5CCU microcontroller
Im trying to use interrupts from UART DMA and SubGhz with STM32WLE5CCU in STM32Cube IDE.
I noticed that I don’t get interrupts from both when I don’t define delay time between the configurations. The ...
0
votes
0
answers
4
views
How to implement pressing a key to jump between beginning and end of current line in VsVim
I want to write a vim move: pressing s key to jump between beginning and end of current line. I achieved this in neovim and ideavim, but I don't know how to do this in VsVim(Vim mode plugin for Visual ...
0
votes
0
answers
6
views
Apache OpenNLP CLI raised "SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" exception on windows
Based on Apache OpenNLP documentation, I downloaded binary version of OpenNLP, then set JAVA_HOME and OPENNLP_HOME. When I run opennlp command it faced to below exception:
SLF4J: Failed to load class &...
0
votes
0
answers
5
views
How to authorize Firebase user login?
I am working on a WPF project in .NET 6 and have user registration and user login. I successfully created functionality for register and Firebase stored the email and password used for registration. ...
0
votes
0
answers
7
views
Do optimised calls to memcpy@plt respect restrictions on instruction sets?
In c++ I have the following piece of code, that is optimised in assembly to call memcpy.
void do_something(big_struct& a, const big_struct& b)
{
a = b;
}
lea rdi,[rsi+0x4]
mov edx,...
-1
votes
0
answers
19
views
I need to format with a comma separator and two decimals
In this problem, I needed to find the sum of these ticket prices, round it to two decimals and put a comma in the thousands' place. I know how to sum and format simultaneously, and sum and round ...
0
votes
0
answers
16
views
storing date with laravel and react js
public function store(Request $request)
{
$formattedDateHeader = Carbon::parse($request->input('date'))->toDateString();
$reservation = Reservation::create([
'...
0
votes
0
answers
6
views
Avoid RuntimeWarning using where
I want to apply a function to a numpy array, which goes through infinity to arrive at the correct values:
def relu(x):
odds = x / (1-x)
lnex = np.log(np.exp(odds) + 1)
return lnex / (lnex +...
0
votes
0
answers
8
views
After deleting item 1 in the recyclerview when clicking on item 2 it doesn't show anything ( onClick opens Activity where there is a recyclerv items)
So I'm trying to make an app where there is a button + and when clicking it , it shows an AlertDialog with a text "Workout Name:" and EditText with hint " Enter workout name ". ...
0
votes
0
answers
5
views
Randomness vs Perceived Randomness
I've got a 'Random Content' button on my website, and it works, however, I want a more "perceived randomness" rather than true random.
I might not have the terminology correct, but what I ...
0
votes
0
answers
5
views
Not getting option of Java 8 or Java 11 version or spring version 2.x in spring starter project STS 4
I was working on STS 4.8.1(spring tool suite) which was supporting java version 8 & 11 and spring version 2.7.x I worked on few projects. I mistakenly updated the version, since then neither i am ...
0
votes
0
answers
6
views
Unable to connect to MySQL database using Python and SQLAlchemy
I'm trying to connect to a MySQL database using Python and SQLAlchemy, but I'm encountering an error. Here's my code:
from sqlalchemy import create_engine
db_url = "mysql://username:password@...
0
votes
0
answers
6
views
Why RISC-V Assembly Error: Runtime Exception - Address Out of Range?
Code:
assembly
Copy code
.data
ask1: .string "Please enter a number to compute its factorial value: "
msg: .string "The result is: %d\n" # Format for the result
.text
.globl ...
0
votes
0
answers
11
views
Pad left a byte array by multiples of 8
I have a byte array that varies in length. It could be anything: a byte array from a string, bitmap data, or blob from DB.
What I want to do with this data is to pad left it so that it is of multiple ...
0
votes
0
answers
4
views
Video chunks merging issues in laravel 5.8
I'm trying to merge video chunks but getting the first chunk of data in the final video and other chunks of data not exist in the final video. I'm merging chunks using Laravel 5.8. The controller ...
0
votes
0
answers
6
views
How to seed a Prod DB using Prisma, remix and fly
I have been trying to seed my production db using Remix.run , prisma and fly.
It works fine local but when i try and SSH into my fly instance i get
npx prisma db seed
Running seed command `tsx prisma/...
0
votes
0
answers
6
views
I cannot create a snowflake table from a snowpark dataframe with dataframe.write.mode()
I am trying to create a new snowpark temporary table from a snowpark dataframe, using a python worksheet.
I have been trying a lot of things, and finally, I literally copied the code in the snowflake ...
0
votes
0
answers
5
views
Assign a specific color to category coming from shiny widget in a 3d scatterplot regardless of order that it is chosen
I have the shiny app below which create a 3d scatterplot based on sidebar inputs. What I want to do is to assign to every topic label a specific standard color instead of a different color every time ...