text string | meta dict |
|---|---|
Q: Why I can't play audio automatically using html? I'm trying to make web page in which there will be music playing in background.
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Website </title>
</head>
<bod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Web worker cannot acces the static files I'm doing the application using React 18 with TS + webpack5. In this project, I'm using the web-ifc to open IFC files and get some information from them. This library requires to setWasmPath, which is crucial for the application's working. Because of some heavy calculations, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: Failed to get document because the client is offline I have setup my firsebase with this code
import { initializeApp, getApp, getApps } from "firebase/app"; import { getAuth } from "firebase/auth"; import { getFirestore } from "firebase/firestore"; import { getStorage } from "firebase/storage"; import { enabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: script for calculating btc first and last key of each area of interest For example we already know the first key may look like 0x00010001000100020001000100010002 but this one too is not valid even though does not violate none of our rules. But this is a subject for later.
So the script, if it does math calculations,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Difficulty applying the join_all function to two different lists of dataframes (it doesn't work with the second list), in R This question is in continuation of the question I posted:
previous question
There are 500+ csv files in a /data folder, each with different columns and rows. Unique IDs are available, since th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Not able to run bash script in Jenkins through github I have a repository https://github.com/bizimunda/Jenkins-run-bash-script and in that repository I have a .sh script.
This is my stage code
stage('Running script file') {
steps {
sh "chmod +x -R ${env.WORKSPACE}/myscript.sh"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Numpy giving wrong Eigenvectors from numpy.linalg import eig
import numpy as np
A = np.array([[1,2],[3,4]])
eval, evec = eig(A)
print("Eigenvectors:", evec)
gives:
Eigenvectors: [[-0.82456484 -0.41597356]
[ 0.56576746 -0.90937671]]
while in mathematica:
A = {{1, 2}, {3, 4}};
{eval, evec} = Eigensy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need help: Discord Player FFMPEG Process Not Terminating Properly - Return Code -9 I am encountering an issue with Discord Player's FFMPEG process that is not terminating properly. I receive the following error message:
"INFO discord.player ffmpeg process 10984 has not terminated. Waiting to terminate...
INFO discor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python app that applies nlp on scraped text and streams data I'm trying to choose the proper tools for an app that I'm building.
I would like to scrape multiple platforms and save the scraped data somewhere, then I would like to clean and apply nlp (nltk) and analysis on the scraped text then stream it in real time ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Get source element with Selenium or pywebcopy I'm trying to scrape a site (https://www.scoresway.com/en_GB/soccer/eerste-divisie-2022-2023/1w03tfpd5nc6woo8j2nc9239w/match/view/50ytn2x7zvgjl6v7lunp4eh3o/player-stats) with python. When I use pywebcopy's save_website() I don't get the folder and file shown in the scree... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Filtering configurations with CMake for Visual Studio 2022 Hello im trying to add configuration specific definitions to my project but it doesn't seem to work the way i expect it to.
My code works fine if i specify the configuration when i run cmake however this makes it a bit weird in visual studio since if i have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to fill values from multiple dataframe into new empty dataframe I have 2 dataframe with different value.
#1 Dataframe
Player A
Time
a
b
c
d
1
1
5.83
10.21
3.12
2.33
1
2
5.64
10.16
3.15
2.37
1
3
5.60
10.11
3.19
2.42
1
4
5.55
10.08
3.22
2.46
1
5
5.52
10.02
3.27
2.50
1
6
5.48
9.97
3.33
2.55
#2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to force symbols to break line in textbox I generate text on runtime and I need my textbox NOT to break symbols such as "+" or "/". It will break the line just fine with words, but text such as "+3/+3" isn't considered a whole word so it breaks.
Example
Any way of forcing the textbox to treat those symbols as a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need to find how much light is in a point in Unity3D I'm trying to create a video game in unity. In this video game, we have a thing named Mental Health. This decreases by 1 point per x seconds. The illumination of the surroundings of the player determines the seconds.
So, the problem is simple, I need to know how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: The right time to learn Django REST API I would like to know what the right time is for learning django rest api ,
should I go for it after learning the basics ?
thank you.
nothing to show here
A: You should learn the python basics first and then move to learn web frameworks. also, you should have looked into fasta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: STM32: HAL_UART_Transmit issues I have a problem with HAL_UART_Transmit() function. I have a endless loop until switch press to stop it HAL_UART_Transmit data. But after 3500 cycles HAL_UART_Transmit() stops transmitting. Any idea about this
I tried resetting the buffer. But it did not help
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Type issues with d3js I'm getting the following error, when trying to build a graph with d3. It's a basic vertical bar chart with all data provided from the server side. The JS code is doing an Ajax call and then sending the data to d3.
TS2345: Argument of type '(this: BaseType | SVGRectElement, d: Analytics) => num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dahua HTTP Request via ESP32 i have this problem: i want to get a image from dahua with url="http://192.168.1.8/cgi-bin/snapshot.cgi?channel=1&subtype=0" of a DAHUA recorder with a DIGEST AUTH with username="admin" and password="admin" and send this image to a telegram api. I am using an esp32-gateway and the ardui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Class with generic types compiles in Eclipse but not in GitHub Actions I'm trying to fix CI errors in the GH Actions build for my computer game, MultiMachineBuilder,
but the error does not appear anywhere in Eclipse.
Full erroring code: https://github.com/MultiMachineBuilder/MultiMachineBuilder/blob/master/src/mmb/c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I use .txt filenames "dynamically" as Keys for a python dictionary? First of all, sorry for my bad englisch - please bear with me.
Secondly; can I create a dictionary so "dynamically", that I can use the "Endings" of the .txt Files I want to read/open with the script as keys for a dictionary?
The Background is; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Because chatview >=1.0.0 depends on intl ^0.18.0 and mobile_app depends on intl ^0.17.0, chatview >=1.0.0 is forbidden I have this project which works fine when I had not added chatview: ^1.2.0+1. Now after adding it as a dependency, I get an error of
Because chatview >=1.0.0 depends on intl ^0.18.0 and mobile_app d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: W/System.err: java.lang.IllegalStateException W/System.err: at android.media.MediaRecorder.start(Native Method) Initially When I check logs it is saying
E/CheckPermission: media_record-code= 10
E/CheckPermission: media_record-code= 10
E/CheckPermission: media_record-code= 10
E/CheckPermission: media_record-code= 10
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Overriding CSS of div inside a #shadow-root We are using a third party plugin and im trying to override the CSS of one div in particular. The problem is that i dont understand how you are suppossed to work with #shadow-root
Image with shadow-root code
I have tried using regular CSS to style to override the .choice--... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tensorflow2.10 c++ api crash ,terminate called after throwing an instance of 'std::bad_alloc' My first contact with deep learning and tensorflow , Recently, I want to compile tf2.10 by myself, and then use c++ api to load the save_modle model, and the compilation is successful (getting tensorflow_cc, framework.so), ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can't change image source in xamarin on xaml.cs I want to change the Image source in xamarin but I can't see the value I gave to x:name in .cs somehow?
.xaml :
<Image Source="{local:ResourceResimExt ResourceId=OzelKalem.Content.images.yellowicon.png}" x:Name="resim_icon" VerticalOptions="CenterAndExpand" Horizo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i automatically save logs in docker localy? Running this command on the terminal works:
docker logs -f container name > logs.txt,
but i need to type it everytime at the terminal. is there a way to code a similar command in the dockerfile or yml? so everytime i will use docker-compose to build and run it it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid constraint error in python xpress a_F = np.array([xp.var(name = 'a_F_{0}_{1}'.format(i+1, j+1))
for i in nodes for j in nodes], dtype = xp.npvar).reshape(n+1, n+1)
CG = np.array([xp.var(name = 'CG_{0}_{1}'.format(i+1, j+1))
for i in nodes for j in nodes], dtype... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do you change variable name and all occurrences of the variable in your code at the same time with a shortcut? I was wondering if there was a keyboard shortcut to change a variable's name in your code but in a way that I can do it for all of the occurrences of the variable in your code at the same time.
Double-c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Does a PWA need to be installed to be used offline? I have a PWA served e.g. at https://my-pwa.com. Users may "install" this PWA by adding it to their homescreen. The PWA is then available offline as it uses a service worker.
My question is if the "add to homescreen" step is necessary for the app to work offline or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to access elements of an arrays in an array in dart flutter? I am trying to create an flutter app that takes command from speech and then according to specific command, it will print specific text. For this, I have created a class Command that have an array of commands that further contain 3 arrays as follow:
cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MapStruct : Setting value of now while mapping? I am trying to set a DateTime field in my mapped classes using MapStruct, but could not see any example.
So, can I set a DateTime or Instant field value as now() while mapping from DTO to Entity? How can I do this? I tried something below:
@Mapper(componentModel = "spr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why cmap='Greys' does not do anything for a colored image? Why simply changing the color map does not convert a colored image to black and white?
img = imread('https://cdn.shopify.com/s/files/1/1257/7487/articles/bee-flower_1024x.jpg?v=1585344606')
plt.imshow(img, cmap='Greys')
plt.colorbar()
plt.xticks([])
plt.yti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do I get decimals when I use the substr function to get the first six characters in R? My dataframe looks like this:
I have used the following function to extract the first 6 numbers of the hs10 variable:
us_chn_tariffs_18$HS6 <- as.numeric(substr(as.character(us_chn_tariffs_18$hs10), 1, 6))
However, some vari... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best way to stream and store fast changing financial data? Let's say we have an Exchange microservice, that can process exchange between a number of currencies or even digital currencies. For example the user has USD and wants EUR instead.
Few requirements:
*
*If all of the instances of this service re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a button to the bottom of a page with a TextField on the page Currently, I have this page in Flutter :
Unfortunately, when I click on the textfield the keyboard shows up and the next button goes on top of the keybord, hiding the textfield :
I don't exactly understand why it behaves like this.
This is my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to debug file upload in Chrome? I have tried to debug file upload process in Chrome, but I don't see proper tools for it. I created simple HTML form like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>File upload</title>
</head>
<body>
<h1>File upload</h1>
<form... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems with drawing graph of MSE error for ridge model in R I built the optimal ridge model:
library(glmnet)
data(Hitters, package = "ISLR")
x <- Hitters[, c("AtBat", "Hits", "HmRun", "Runs", "RBI", "Walks", "Years", "CAtBat", "CHits", "CHmRun", "CRuns", "CRBI", "CWalks", "PutOuts", "Assists", "Errors")]
y <- Hi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: C# Winforms Search With ListView I am working on a C# Winforms project where I use ListViews.
In the current ListViews, as soon as you press a letter, the ListView unrolls and displays the first item starting with that letter. A new press searches for the next item.
But in my forms, as soon as I press a letter, noth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to preview external files ( pdf, word, ppt etc ) which stored in my firebase storage without downloading it? me and my team making an social media application for office using react native and expo managed work flow , in which we decided to allow employee of office to upload their files (pdf , doc , ppt etc ) an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kafka: Retrieving the topic lag in parallel with poll() `What is the best way to retrieve the Kafka topic lag in parallel with poll (from the same process)?
*
*Using the same consumer and calculate the lag using consumer.committed and consumer.endOffsets in parallel with poll() will results with unsafe thread erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Integrated Terminal Tool Window instead of external console Window for ASP.Net Core projects in Visual Studio? In the ASP.Net Core projects development process by Visual Studio, an additional icon appears in the taskbar for the console window. This can be a little bit annoying during windows change by ALT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What additional security does a salt impose to password - PHP Okay! I'm working on a project and I'm aiming to increase the security of user authentication.
I've spent lot of my time reading about using salt to make access difficult for hackers but there's one problem I don't seem to understand here.
I'll be using s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Using mouseover event with all elements with the same class I want to use this script with nav links on my site.
https://codepen.io/Hyperplexed/pen/rNrJgrd
But it only works with the first link of the list. I need to make it work with all elements, that have the same class. I've searched for some solutions and as I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can I see the probability table or the result score of a sample using Python' sklearn.naive_bayes module and GaussianNB class? I bought a machine learning and data sciente course that is dated from around 2020.
After teaching all the Naive Bayes theorem and its implementation on Python, the instructor says: "unfortu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to create equal width columns in a flex container without content wrapping? I have a flex container that contains two columns, each with variable amounts of text. I want the columns to have equal width and not wrap, but I can't set a fixed width since the content is flexible.
I have tried setting each column to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Node.js | Getting a specific page from a pdf file I am looking for a way that when the client enters the address /file?file=x.pdf&page=10 he will receive back only page 10 from the x.pdf file.
I use Node.js & Express.js.
Does anyone have an idea?
I tried using the pdf-parse library and it returned me only the text o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: PHP: PHP -S in background is there a way to execute php -S localhost:8000 -t public/ but in background
Something simiar to -d in docker.
Thank you
A: This would put your process in the background. you can see the background processes by running a ps command
php -S localhost:8000 -t public/ > output.log 2>&1 &
the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: publish a project at gitHup pages I have created a new respiratory and uploaded all the code (HTML, CSS,js) and images to it and I made the pages main and root and I have checked 5 times on the actions and they all have succeeded and I have waited over more than 35 minutes but it still gives me error 404 files not f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't check signature: No public key I am trying to verify the signature of a CLI I am trying to install into a GitHub action.
steps:
- uses: actions/checkout@v3
- name: Download SnowSQL
run: curl -O https://sfc-repo.snowflakecomputing.com/snowsql/bootstrap/1.2/linux_x86_64/snowsql-1.2.24-linux_x86_6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SwiftUI: Why is my button not responding to a .keyboardShortcut modifier with KeyEquivalent? I have a button that should perform its action when the user presses the spacebar on the keyboard. Sounds simple, but the code below is not working:
struct ContentView: View {
var body: some View {
Button("Quick ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uploading new version of my flutter app to google play fails - Version code 1 has already been used In the Goolge Play Developer Console, I'm trying to upload a new version of my already successfully released app.
I go to: "App Bundle Explorer" -> "Upload new release" in the top right corner -> but then get the erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Initialize a database from a header file or c type file I'm working on an assignment of creating a "cat" database using a struct to record the name, gender, weight etc. of cats using C. I have made a few header files below:
Cat.h
#pragma once
#include <stdint.h>
const int MAX_CAT_NAME = 50;
enum Gender {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: suspend fun is not waiting until await() in coroutine I have suspend fun to do the work in order.
suspend fun graphStepFun() {
val startDate = LocalDate.of(
formatThisWeekStart.substring(0, 4).toInt(),
formatThisWeekStart.substring(5, 7).toInt(),
formatThisWeekStart.substr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculation problem after pandas grouping In pandas, how to achieve, grouped by date, in each date group, each row of column A and B multiplied and then summed, and then divided by the sum of all B columns in the date group.
I have tried:
(df.groupby('date')['A','B']
.transform(lambda x: (x['A'] * x['B']).sum())... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a dictionary to count value (username) appearances in two files? - Python trying to complete a task for my course;
I have two files that I need to read from and compare to get a count.
One file contains login information in the format of:
username, password
The other file has the tasks in the format of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I skip all compiled recipe but only re-pack the image in yocto populate_sdk_ext SDK I use QTI yocto sdk to create a populate_sdk_ext SDK for no-license customer to develop their own application on top of my project.
But the populate_sdk_ext SDK still try to rebuild all the recipes which related to QTI's prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python has stopped working when I import folium in my django project, why? I'm facing a problem with my django project
I'm creating a geolocation app with
django 4.1,
Python:3.11
Everything was working fine but when I import folium in my views, the local server crash, windows says "python has stopped working", and w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to stream audio and play it with Plugin.Maui.Audio I'm creating a Maui .Net 7 application that can play audio files and works well for local files on Android and Windows using Plugin.Maui.Audio. For local files, the below code works correctly.
var player = AudioManager.Current.CreatePlayer(await FileSystem.Op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to show all errors for gradle build and why -Xmaxerrs does not work? I'm running ./gradlew clean build and getting many errors. Only first 100 are printed, however I need the complete list.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradle build error when trying to build Android Game with java plugin, in Unity Currently I am trying to test my plugin. This is the first time I am creating a Unity plugin, and I have never used java before..
The plugin I made is for using the heart-rate sensor of the phone, in Unity. I am not even sure if it works... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FusionAuth - 401 after passing valid token in I'm integrating Fusion Auth into my .Net Core API.
My Program.cs looks like the following:
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.IdentityModel.Tokens;
using System.Text;
var builder = WebApplicati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CS50 pset 4 smiley - what's the meaning of code line from license taks? RGBTRIPLE (*image)[width] = calloc(height, width * sizeof(RGBTRIPLE))
I don't fully understand the code. What I understand is that:
*
*calloc(height, width * sizeof(RGBTRIPLE)) - we are organizing a place somewhere in heap memory of a certain ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: AN ERR IN STATUS BAR PROBLEMS PHOTO here
I tried through these commands.
*
*sudo apt-get update
*sudo apt-get check
*sudo apt-get install -f
*sudo apt-get autoremove
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: type of the result of function is 'None type" i need to use the result of fuction to be a list , but it gives me 'none' because the function result has a 'none type' so what to do??
from math import sqrt
import numpy as np
def add_num(x):
num=x
square_root=sqrt(x)
add_num=[num,square_root]
for num in a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Springboot MongoTemplate sort by String-Array Property I am trying to sort the result list of Objects by using MongoTemplate on a springboot environment based on the containing property of an String-Array.
I do have a rather simple document object which mainly looks like
@Document("TestEntities")
@Data
public class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: break loop with CancellationToken I have a function that prints a number every 100 milliseconds in a while loop. I want to end this loop viaCancellationToken, But it does not end.
my function:
public async void writeAsync(CancellationToken ct)
{
int numberOfWrite = 0;
while(!ct.IsCancellationRequested)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Do I remove peers after a certain amount of time?(mainline dht) I just finished implementing mainline dht with a flat based routing table. I recall from kademilia something about an updated peer list and efficient key republishing and I started to wonder if after a certain amount of time I should remove peers from p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is Spring Cloud Config Server intended to serve application logic configuration? When I mean application logic, I mean business logic that drives how application behaves.
Our application deployed on DEV will always use the configuration from develop branch and PROD will always use the configuration from the master b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling GraphQl Api from Webpack generated React App running on Express I have this React App which is published using Webpack and is running on Express js. In other word I am trying to implement SSR version of my React app using this example. Everything works while I try to add a GraphQl call Api from Contact compo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open URI in web in react native? Code
App.js
useEffect(() => {
axios
.get(
`https://newsapi.org/v2/everything?q=bitcoin&apiKey=6529d29d039d45d591fc53ee553c0e92`
)
.then(response => {
// console.log(response.data.articles)
setNews(response.data.a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: std::bad_alloc "bad allocation" while trying to load a neural network model from the Darknet framework I'm trying to use OpenCV's DNN module with C++ in Visual Studio 2019 for the first time and I get this:
"Unhandled exception at 0x00007FF8DD52CD29 in ConsoleApplication1.exe:
Microsoft C++ exception: std::bad_allo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is not cloud function working with puppeteer? For the last week I have been trying to set up a cloud function that scrapes website information. Everything is working locally but when I deploy the cloud function it breakes. I have tried setting the executable path manually still no changes. Does anyone know the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Unity camera moving up and down speed is very slow The project uses the main camera with orthographic mode and rotation of 45 and 30 degrees in X and Y. How can I change the code so that the camera moves at the same speed up/down and left/right? In the current version, due to changing only two coordinates, I cann... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I would like to prevent writing when there is the same document ID in firestoreb
I would like to prevent writing when there is the same document ID in firestoreb.
I am new to flutter.
As the title says, when writing from flutter to firestore, if the same document ID exists, it is usually overwritten.
So, I would li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why my RecyclerView doesn't appear with the different buttons it should contain I'm trying to add a RecyclerView to my Fragment, The RecyclerView should contain buttons.
But I can't get this RecyclerView to appear.
Here is the code my Fragment xml:
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parameter types in React Router action method I'm trying the React Router tutorial in TypeScript. The code works but I find it hard to identify the parameters' type definitions, e.g.
export async function action({ request, params }) {
const formData = await request.formData();
const updates = Object.fromEntr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ CLR UI Freeze So basically my CLR C++ Project Freezes after i press a button. The after the press, a openfiledialog should show up, and allow the user to choose a .txt file or any other file, but after the button_click function is called, it freezes, no error, no warning just freeze.
#pragma once
namespace Atta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Using python ,write an OpenGL program that allows interactive creation of polygons via mouse input Using python ,write an OpenGL program that allows interactive creation of polygons via mouse input. i.e. , I click to create new vertices forming a polygon, then make some indication (double click, right click, press a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to solve "Error: can't open elf64 for reading: No such file or directory" I was compiling libvpx-1.7.0 on ubuntu-20.04
the configure command is:
./configure --disable-vp8 --enable-vp9 --enable-libyuv --target=x86_64-linux-gcc --enable-debug --disable-install-docs --log=yes --enable-internal-stats --disable-unit-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cron job isn't working in Cpanel - Laravel 9 I want to write a schedule in Laravel 9 which requests to an API and saves the results in the database.
Then I should add a cron job in my Cpanel to run it every minute.
My Laravel code:
<?php
namespace App\Console\Commands;
use App\Models\CurrenciesChart;
use Illuminat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Jasper Write To Excel File I have a problem when using jasper to write data to excel files, when trying to use custom pagination and writing multiple times to same file, either it gets corrupted or only have the final list only, although i noticed the size of the file keeps getting larger with writes.
How can I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I want to create component of form such as input and button in flutter and get data from input I create a flutter app file structure is screen divide in components
this is my component
form.dart
import 'package:flutter/material.dart';
import 'package:outline_gradient_button/outline_gradient_button.dart';
void main(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to scrape a website that has dynamic content in multiple pages or categories using python I'm learning web scraping with Python and as a learning project I'm trying to extract all the products and their prices from a supermarket website.
This supermarket has more than 100 categories of products. This is the page... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Event Category Filter with React I'm trying to create a filter for my event category. It would display each events based on the category selected. But it failed to work.
Whenever a category is selected, the event displayed should be for the category selected alone and not all events.
My Event Filter code:
const Even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Encountering some problem about SDL2 with vscode I encountered this error with SDL:
process_begin: CreateProcess(NULL, g++ -I src/include -L src/lib -o main main.cpp -lmingw32 -lSDL2main -lSDL2, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:2: recipe for target 'all' failed
make: *** [... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Java.Net.ProtocolException: unexpected end of stream when trying to upload file as a byte stream I have an image file that I am trying to upload to a database using a http API. every time I try uploading I get the same error:
[monodroid] Not wrapping exception of type Java.Net.ProtocolException from method `Read`. T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to configure second database (For only Select queries) in Spring Boot I have a spring boot project with a MySql DB already configured along with the migration scripts.
I have a new requirement where I have to configure an Oracle database(part of another application) to my application.
I understand that we can co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: custom audio for Toast Notification in a wpf application using Microsoft.Toolkit.Uwp.Notifications doesn't work Currently, i am working on a wpf application which one of its functionalities is to display a Toast Notification to the user with a custom audio.
new ToastContentBuilder()
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why padding cuts off rounded img edges? I was just wondering, how come when you use a padding property on a img element, the rounded corners gets cut off?
Do you always have to use margin in these scenarios when you want to shift image in some direction but keep the border-radius working? Thanks!
cutOff corners
wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I correctly include library in QTCreator? I have a library in
/home/dal/Desktop/Libraries
I want to be able to access this library in my QTCreator. The header file is power.h. But when I do #include "power.h" I get "No such file or directory".
I read that I should go to "Projects" -> Build -> Build Environmen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Traversing ANTLR parse tree for python I've managed to successfully parse my python code using ANTLR and python3.g4 grammar files. Now that I have a parse tree result, I can print this however I would like to traverse the tree result so that I can identify things like variable declarations, method and class creation... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to interact to LMP of HC-05 bluetooth module? Kindly help to enlighten me about the following queries. Thanks in advance.
*
*Is HC-05 module a Bluetooth controller?
*If it is a controller, can we write a host stack for it?
*Can it replace any Bluetooth chip (e.g WCN Bluetooth chip of snapdragon by Qualcomm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My code is executing the passenger summary too soon My train program is working correctly and doing the correct calculations however it is firing the passenger ticket summary information too soon before I have a chance to enter more than one child's name.
Although the data it lists is not wrong I want the summary of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create a partially striped letter in CSS Does anyone know how to achieve this effect in CSS? Is it even possible? I know CSS Grid to solve the positioning of letters, but I have no idea how I can achieve a partially striped letter.
I have looked into text masking but other than using a vector editing tool (e.g. Illu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: `AttributeError: ‘NoneType’ object has no attribute ‘size’` I’m trying to input the features in 3 parallel model architectures ( 2*CNN + transformer encoder).
# change nn.sequential to take dict to make more readable
class parallel_all_you_want(nn.Module): # base module
# Define all layers present in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ReactJS I have to click twice to get my display updated I have a mongoDB database which I connected to my app. What I want to implement is a CRUD operation using react. I created a component named "Code" which represents the data from the db.
I have an input field to add data to my db. at first, I fetch all the data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Uploading multiple files to release on Github using Python I am trying to create a release and upload all files with a specific ending as an asset. My code is as follows:
# This uploads all apkg files in the current directory to a release on GitHub.
import github
import dotenv
import os
import glob
dotenv.load_dot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to count and measure multiple key presses I am trying to develop a tool for gaming for key analysis to be able to make the right keybindings without having to spend 1000+ hours in game.
The idea:
The program is supposed to count and measure key duration during gameplay and at the end output the stats to see whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am unable to disconnect/re-enter my git credentials account from my visual studio? Hello Dev's I am unable to disconnect my git account credential from my visual studio IDE I need to commit the changes for but unable to do it as it is showing my file explorer changes in my IDE while I decide to commit my changes i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What Machine Learning model can I use to predict the shape of a polygon using another polygon? I have a database of individuals in which, each individual has two polygons with different numbers of vertices and shapes, I would like to use one polygon's information to predict the shape of the second polygon. Which Mac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |