All Questions
22,746,703
questions
-1
votes
0
answers
18
views
Why is the check() function not running in flutter?
I'm getting data from two APIs and I have created a check() function to check one data field if common in both the data I am getting but the check() function doesn't seem to work in the first place. ...
0
votes
0
answers
21
views
Can't retrieve link from webpage
I am using bs4 to run through a bunch of websites and grab a specific link off each page but I am having an issue grabbing that link.
I have tried getting all the links using.
soup = BeautifulSoup(...
0
votes
0
answers
14
views
Can Riverpod detect changes to Objectbox state / data?
I am using Riverpod with ObjectBox. Can Riverpod detect changes to Objectbox state / data? Riverpod appears to just ignore changes, presumably treating it as the same object instance.
This reads the ...
0
votes
0
answers
24
views
vector.puch_back() improving performance
is there any way to improve the performance of this function? As I have to call it ~10-100M times for 1 calculation it's slowing down my program and most time has been lost in this line:
myHand_param....
0
votes
0
answers
14
views
How to deal with NotImplementedError in training Unet model?
def train_fn(data_loader, model, optimizer):
model.train()
total_loss = 0.0
for images, masks in tqdm(data_loader):
images = images.to(DEVICE)
masks = masks.to(DEVICE)
optimizer.zero_grad()
...
1
vote
1
answer
15
views
Accessing this value from a website using the selenium library in python
I was able to use selenium to create a driver, and use it to login to this site and load this page
How should I go about trying to access this 2.8 ± 0.5 value? I was able to access the <iframe> ...
0
votes
0
answers
9
views
Unable to spawn process '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc' (Argument list too long)
I am developing a flutter application and running an Xcode archive for application release.
However, the build fails with the error Unable to span process '/Applications/Xcode.app/Contents/Developer/...
1
vote
0
answers
13
views
How to get the query result metadata in sqlite3?
Mysql supplies API mysql_fetch_fields to get the query result metadata.
MYSQL_RES *result;
...
auto fieldsNum = mysql_num_fields(result);
auto fields = mysql_fetch_fields(result);
for (size_t i = 0; i ...
0
votes
0
answers
7
views
How do I convert bitmap fto FIle in kotlin? I use Fragment
This is my code :
private val cameraResult =
registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { result ->
if (result.resultCode == Activity.RESULT_OK &...
-1
votes
0
answers
11
views
How to convert string in Json in react project? [duplicate]
Receiving string as {"details": ["SQ1", "SQ2", "SQ3"]}
I am using JSON.parse({"details": ["SQ1", "SQ2", "SQ3"]})
0
votes
0
answers
8
views
How to apply specific "compilerOptions" to specific file only? (tsconfig.json)
Is it possible that apply specific tsconfig options to 1 file only?
Below is my tsconfig.json
{
...
"compilerOptions": {
...
"keyofStringsOnly": false,
"...
0
votes
0
answers
13
views
how to use survminer::ggforest to draw colourful pictures?
I want to know how to use survminer:: ggforest to draw colourful pictures.
At present, the default is black and white. I have seen the detailed parameters and there is no option for colour theme, only ...
1
vote
0
answers
11
views
where to download c libraries from (windows)
i'm doing a visual studio project and i need to download a few libraries but i can't find them online i only found a header file for each one of them so where can i download the binaries and dll files ...
0
votes
0
answers
8
views
How to improve arcore location in remote area
When using ar core in remote location, that data provided by ar core are incorrect. For example the heading is completely wrong.
1
vote
0
answers
18
views
What does an asterisk mean in a Python function signature in documentation? [duplicate]
While reading the docs for the subprocess module I noticed that a number of methods take an * argument. For example, subprocess.run:
subprocess.run(args, *, stdin=None, input=None, stdout=None, stderr=...
1
vote
0
answers
6
views
tkinter treeview order when i clic in the title
I am writing to consult you, I am stuck on something, I want to order my treeview that has 3 columns, what I want to do is that when I click on the header it is ordered, is this possible?:
...
0
votes
0
answers
10
views
how to pulibc web host and database in local
For database security reasons (but the amount of data is not large), I only count the public web on the host (free), but it use the database on my computer. For example:
-I registered a new doamin in ...
0
votes
0
answers
7
views
Opening file manager using xdg-open gives warnings (nemo:85552): Gtk-WARNING **
I am new to using linux mint. Used "xdg-open ." to open the current directory in the file manager. But when I do this I get the following warnings.
*(nemo:85552): Gtk-WARNING *: 09:21:45....
0
votes
1
answer
22
views
when i opening the website on the dashboard it's fine but when logging in as admin there is an http error 500, what could be the problem?
when i opening the website on the dashboard it's fine but when logging in as admin there is an http error 500, what could be the problem?
and how i bring up the debug, i use this but can't appear in ...
0
votes
0
answers
7
views
How to install JDBC connector/j for mysql for mac m1 pro
Downloaded MySQL JDBC connector/j and has a jar file. How to to connect JDBC connector to mysql on mac
0
votes
1
answer
11
views
Group array by time within given interval
Have array of time records in array
$data = [
['time' => '2022-07-07 10:49:48.430', 'otherData1' => 1],
['time' => '2022-07-07 10:49:48.100', 'otherData1' => 2],
['time' => '...
0
votes
0
answers
4
views
Nuxt3 - NuxtLink to anchor not scrolling on click or page refresh
I'm simply trying to have a page scroll to an anchor point in Nuxt3 and nothing I can do will get it to work. It doesn't scroll on click, or on page refresh with the anchor in the url.
<nuxt-link :...
0
votes
0
answers
3
views
How To Exclude Webdriver As Playwright Parameter?
I have a sample code here that starts Playwright
import asyncio
from playwright.async_api import async_playwright
async def main(input):
async with async_playwright() as p:
browser = ...
0
votes
0
answers
8
views
Plotly doesn't show any graphs
in a Jupiter notebook, it's been upgraded(5.9) and i tested other graphs(not working). even the easy and simple example doesn't work. this example is on the plotly website
it shows just a white space. ...
0
votes
0
answers
11
views
nginx recv() failed (104 connection reset by peer) while sending request to upstream
I am using Google App Engine (Flexible Environment) to deploy my application. My application is written in Flask and I am using Gunicorn. I have a requirement where a user can upload a file and I am ...
-4
votes
0
answers
15
views
C# what this method would return?
What will return this method? If this one: lvModuller.Items is checked true.
string value=";
int value1 = 0;
int value2 = 0;
int value3 = 0;
method_0(ref value, ref value1, ref value2, ref ...
0
votes
0
answers
9
views
Why my accounts always getting banned in WhatsApp Cloud API
I don't know why my phone numbers getting banned always in WhatsApp Cloud API. Even If I add a new phone number after a few hours when I go to the dashboard It says the number is unregistered or ...
-1
votes
0
answers
13
views
New plot symbols for ggplot or other visualisation packages
I'm trying to plot information regarding bee visitation and flowers in R.
Is there a package or a source for different pch or anything that will allow me to change dots in my plot to other shapes ...
0
votes
0
answers
7
views
What is the maximum text length in tokens that can be given as input for summarisation task using a sentence transformer models
Most Bert models take a maximum input length of 512 tokens. When I used sentence transformer multi-qa-distilbert-cos-v1 model with bert-extractive-summarizer for summarisation task. A text with 792 ...
0
votes
0
answers
15
views
How do I sort monthly payment data based on the month that has been paid
I want to sort the monthly payment data according to the order of the month that has been paid. For example, Eliza has paid her bills for January and March. Which means, he hasn't paid his bill for ...
0
votes
0
answers
6
views
Distinct on a tag return nothing in CnosDB
I have following two sample data in CnosDB derived from this doc:
> use oceanic_station
> select * from test_air
name: test_air
time pressure station temperature ...
0
votes
1
answer
10
views
XSLT Avoid namespace in element
I met issue when trying to remove namespace in element tag. It is always display in element tag
I also use exclude-result-prefixes but it is not work.
Please help to support to check this issue and ...
1
vote
1
answer
16
views
JsonWebTokenError: jwt must be a string, node.js
I'm getting error JsonWebTokenError: jwt must be a string when getting the jwt from front end (react.js) and using in middleware to verify token. If i tried to use toString it gives me another error ...
1
vote
0
answers
15
views
ReactJS: How to make file upload with PUT request survive when page refreshes?
I am building my ReactJS SPA (single-page-application) webpage that includes a file upload function. Sometimes users need to upload a large file (over 5 GB) and it can easily take up above 20 or 30 ...
0
votes
0
answers
10
views
Using AWS Elasticache Config Endpoint returns 'READONLY You can't write against a read-only replica'
Disclaimer, I'm new to redis and elasticache.
Referencing an answer in this stackoverflow here.
I have a basic AWS ElastiCache Redis cluster setup:
3 shards, 9 nodes
encryption at rest
However, when ...
1
vote
1
answer
13
views
How to properly set the type for property `d` in `path` element in a d3 react typescript application
I'm trying to draw a triangle using the d3 symbol() method and assigned it to a variable symbolTri.
import { symbol, symbolTriangle } from "d3"
const symbolTri = symbol().size(100).type(...
1
vote
2
answers
36
views
apply css by checking if value exists
I have an array with objects inside. What I'm trying to do is loop through the array and check if a value exists by key and if it does apply a CSS to a div but right now even though the value exists ...
0
votes
0
answers
6
views
generate auth0Sub id by email
Hi there I am new to the Auth0 thing we are creating an app where we use passwordless auth0 user only has to put an email in our app then the auth0 link will send in the user email when the user ...
0
votes
0
answers
10
views
how to keep only application related logs and remove all other Function related logs
I an using Serilog with Azure Function app and all possible extra logs I set level either with warning or error,
var logger = new LoggerConfiguration()
.MinimumLevel.Override("...
0
votes
0
answers
10
views
How to download a trained model as a pickle file using Streamlit Download Button?
How do I download a trained model as a pickle file using Streamlit Download Button?
0
votes
0
answers
10
views
How to print special Latin characters in Markdown pdfs
I need to knit my Markdown script into a pdf file, but when knitted, the pdf file does not show special Latin characters, such as those used in the International Phonetic Alphabet (IPA).
---
title: &...
0
votes
0
answers
8
views
random git guardian emails after linking to Heroku
Does anyone know if Heroku uses git guardian? It's a service that monitors your git hub account for security vulnerabilities. I've been getting random emails from them -or someone portraying as them- ...
0
votes
0
answers
11
views
Convert Json Dynamic Widget
Convert Json Widget By Implement DraggableScrollableSheet from Dynamic Widget Package Dynamic Widget https://pub.dev/packages/dynamic_widget
0
votes
0
answers
13
views
Select Option not sending Values in React
I am building a dropdown menu in React using select/option and pulling from a mock data server side JSON object.
For some reason, my selected value is not passing, it is passing the entire object ...
0
votes
0
answers
7
views
Encode enum.Enum type with ruamel.yaml
I’m trying to serialize and deserialize a dataclass that has a enum member using ruamel.yaml.
from dataclasses import dataclass
from ruamel.yaml import YAML, yaml_object
import enum
yaml = YAML()
...
0
votes
0
answers
9
views
Jest Typescript error importing BabylonJS
I'm trying to launch a Jest test that just happens to import BabylonJS
I'm getting the error below.
export * from "./abstractScene.js";
^^^^^^
SyntaxError: Unexpected token '...
0
votes
0
answers
7
views
H2 Database and Oracle: Data Conversion error converting "INTEGER to INTERVAL DAY TO SECOND"
I ran into a problem when it comes to create a JPA repository that runs this on Native query. For example, in my Repository, I made it like this in a class that we'll refer as testRepo:
@Query(value = ...
0
votes
0
answers
9
views
How to prevent excessive legend spacing in ggplot at high resolution/dpi?
I am trying to write R code that can generate ggplot figures at different resolutions, automatically adjusting the text depending on the scale. However, at high dpi, ggplot creates excessively large ...
1
vote
1
answer
18
views
Updating grouped data based on date
I have a dataframe that looks like the following:
df = pd.DataFrame({'ID': ['1', '1', '1', '2', '2', '2'],
'ID2': ['25', '29', '56', '562', '92', '170'],
'Origin'...
0
votes
0
answers
9
views
Call full initiator web use http client on Golang
i write a api to repeat web backend on golang. when user call api from brower to golang, i will repeat http request to url that i want. but this path needs dependency paths, those dependency paths are ...