text string | meta dict |
|---|---|
Q: How to detect connection quality of a web page I have a webapp and I would like to have a js script to constantly monitor the instant quality of the internet connection of the user.
First of all I tought a simple ajax ping or a websocket message exhange and measure the response latency, but I think it is not enought... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does PostgreSQL hash partitioning on UUID key help for frequently accessed data? We've a table with about 800 million rows on PostgreSQL 14.
The table has a UUID primary key. We're thinking of also hash partitioning this table based on the modulus 256 of primary key. All data can be accessed at any time, meaning all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Most useful API for codecs to implement in Rust I've written, and am writing, codecs which maintain some state and transform incoming bytes into outgoing bytes.
Should the public APIs be:
*
*iterators, so that they pull bytes from an upstream iterator when iterated over, or
*traits/structs with a push(in: [u8]) -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot read property - Class WorksheetFunction I have a problem with my Int2PCode function, my basic function which is this :
Public Function Int2PCode(dtc As String) As String
Dim HexaCode, Hexa1, Char1 As String
HexaCode = WorksheetFunction.Dec2Hex(dtc):
Hexa1 = Format(WorksheetFunction.Hex2Bin(Left(HexaCode, 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symbol table entry when using auto return type deduction with templates in C++ Does anyone know the reason why the output of nm -C on an executable that contained a templated function defined with auto return type deduction has the word auto in the symbol table?
Why does it need to know the return type was deduced? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to group the results of a query to avoid repeated lines with same information? This is a newbie question, but maybe someone could answer me. I have a table as below:
TableA:
Shipment
Status
EnteredDate
1
55
31-12-2022
1
55
31-11-2022
1
55
29-10-2022
TableB:
Shipment
Source
1
MDM
My d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas change date time format to only month My Datamframe Date columns has the datetime64[ns] type. it contains date in '%YYYY-%MM-%DD %MM:%SS:%NN. How can I change it to only show the month?
A: Do this:
import pandas as pd
df = pd.DataFrame({'datetime_col': ['2022-01-01 12:34:56', '2022-02-01 23:45:12', '2022-03... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Testing a Flutter app with minSdkVersion 19 on Android Emulator 4.4 not running I am releasing a Flutter app with minSdkVersion 19 for some users with Android 4.4 expected to use it, I am trying to test before release on the emulator but the emulator shows the message ('app name' stopped working')
error message :
W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Segfault on int function without return. Is this a GCC11 bug? I was surprised by this, today:
#include <stdlib.h> // for the 'exit' call
int foo() {
// return 0;
}
int main() {
int res = foo();
exit(res);
}
I know it's not good form to forget to return the expected integer value in foo; but would you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: method inheritance by the subclases I'm trying to creating a tamgutchi by defining a super class and sub classes.
For some reason the subclasses do not inherit one of the methods in the subclases (feed) when it does inherit the others.
attaching the code below:
class Animal:#full tamaguchi like program with clases &... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: surprised by the behavior of 'id' and 'is' for methods For object and function references, id and is behave as I would have expected, but for methods, they don't. The example provided is for a builtin method, but I see the same for other methods.
>>> fred = "abcd"
>>> bill = fred
>>> id(fred)
139890760324016
>>> id(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't use sympy.preview due to LaTeX I'm trying to convert a latex form equation into an image using sympy.preview in the following code:
import sympy
x,y = sympy.symbols('x y')
sympy.preview("$3 x + \frac{y^{2}}{5}$",output='png')
but I get RuntimeError: latex program is not installed error, Any solutions?
I trie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to use `@apply` in tailwindcss for keyframes? I need to apply the following entering and leaving animation
They are presented using tailwindcss classes
Entering: "transform ease-out duration-300 transition"
From: "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2"
To: "tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change a non-alphabetically ordered Categorical column ordering in Polars Dataframe? I'm struggling to change the custom ordering of Polars Dataframe column after it has been created.
If I first create a Dataframe and set custom ordering for it the output is as expected:
df = pl.DataFrame(
{"cats": ["z", "z",... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UNALIGNED usage fault after calling fopen() It works without issue with optimisation level O1, however, with optimisation level set to O0 I am getting a usage fault (escalated to hard fault) when trying to debug the code.
The fault report registers show that the UNALIGNED bit gets set in SCB->CFSR after the hardfaul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grails throws an ArrayIndexOutOfBoundsException when I'm using withCriteria and the input contains a apostrophe So I have this piece of code that returns an ArrayIndexOutOfBoundsException when the input uses an apostrophe. For example, the input is Bo's Place. This input triggers that error, when I use an apostrophe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with flask_serial and flask_socketio. Lost socket variable When data appears in a serial port, a message is sent using socketio. But sometimes the messages are sent repeatedly. How do I fix that?
from flask import Flask, render_template, session, copy_current_request_context
from flask_socketio import Socket... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i use javascript to send an email, like google classroom does I am trying to make a simple feedback button to automatically open email and have it being sent to my email. but i am not sure how.
I have tried geeksforgeeks but it doesnt really work.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75604482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: shiny error: cannot coerce class βc("reactiveExpr", "reactive", "function")β to a data.frame I am writing a shiny app that takes two separate datasets as input, 'd' and 'r':
cats <- c(1,2,3,'R','V')
ui <- fluidPage(
fileInput('d','Deine Daten'),
fileInput('r','Rote Liste'),
checkboxGroupInput('kate', 'Zu beach... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using curl to download a csv I am trying to use curl to download a csv from a famous publicly available dataset (UNSW-NB15) as seen below:
curl https://cloudstor.aarnet.edu.au/plus/s/2DhnLGDdEECo4ys/download?path=%2FUNSW-NB15%20-%20CSV%20Files&files=NUSW-NB15_features.csv
> out.csv
This csv is from this repository.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: discord.ext.commands.bot Ignoring exception in command note I am trying to make a discord bot in python with a note command where te user can make a note. The note gets saved using the database from replit.
Imports, commands, prefix ect, ect (Prefix = !)
@bot.command()
async def note(ctx, *, note_add):
author = c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access root relaxation objective value in JuMP Gurobi I am struggling to get any information on the web on how to store the root relaxation value in JuMP Gurobi.
Of course this is written here:
[...]
Coefficient statistics:
Matrix range [1e+00, 2e+00]
Objective range [7e+00, 6e+02]
Bounds range [0e+00... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to realise a belongsToThrough relationship in Laravel 9 / 10? There are three models: Employer, Instance, Worker.
The important fillables of the models are:
*
*Employer
*
*company_name
*Instance
*
*worker_id
*employer_id
*Worker
*
*name
In consequence I have:
class Employer {
public functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I censor inputs in python As a part of a school project I'm creating a very basic local multiplayer rock paper scissors gameFull code and I've tried to censor the inputs rock paper scissorscensor code but it doesn't workResult
This is the result I'm intending to get
Rock Paper and Scissors are cool
1 for CPU ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Any way to abort hide on q-dialog? I'm trying to build a confirmation modal into a dialog containing form inputs, so i can notify the user that his changes will be lost if he closes without saving. This means displaying the modal every time the user has made changes to the input values and tries to quit the dialog (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am trying to make a letter, number system in python, but I got an error and I don't know how to fix it I am trying to make a string, number system like a1, a2, a3, b1, b2, b3, but I got an error when I tried something. I am fairly new to Python and have no idea what errors mean.
Here is the error :
Traceback (most... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: window.open works different in chrome and firefox I want to open a new tab, if it has not been opened before.
If it has been already opened from the same opener, then show the tab (bring to front without reloading).
My code:
const openWindow = window.open(undefined, 'WindowName');
if (openWindow.location.href === '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting project from angular to ionic-angular results in error upon serve I have an angular project that i tried to convert to a mobile app usinc ionic angular, i replaced the src folder from ionic with the one from my angular project.
Upon using the command: ionic serve, i get the following error:
ionic serve
> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: errno 13 _ Permission denied: Β΄/usr/lib/python3.10/__pycache__/__future__ When running a sail up to install Laravel with docker, I get the following error:
> #0 129.7 [Errno 13] Permission denied: '/usr/lib/python3.10/__pycache__/__future__.cpython-310.pyc.139841984059904'dpkg: error processing package python3.10-mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure DevOps, specifically Pipelines, not Releases In Azure DevOps, specifically Pipelines, not Releases I want to make it compulsory when someone releases a pipeline, they must add a comment, specifically a Change Request number in the comment β¦.Is that possible?
A: No this is not really possible. The YAML pipelin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Validations work when using Long but don't work when using UUID I'm using Java and Spring data jpa. Up until now I was using Long as my Id. But it turned out I needed it in my DTOs. So for security reasons I need UUID or GUID. So I read a little about it and changed to UUID from Long. Expected it to be smooth and no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i get filled inputs on browser using javascript for PDF files? When I open the PDF with input fields in the browser, how can I get the values entered by the user with Javascript?
But I don't want to use the browser's own feature.
My goal:
The PDF opens on my system (a website).
After the PDF is opened, the u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'Error running Coverlet, Please check logs' and 'Coverage file was not created' I am running a powershell script- RunCoverlet.ps1, it's attached in the below lines.
#! /usr/bin/pwsh
param (
[Parameter(Mandatory=$false)]$threshold = 0,
[Parameter(Mandatory=$false)]$startDir = $(Get-Location)
)
function Ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Unity transform.Translate(Vector3.forward); doesn't work I am new to Unity and I am learning through "Create With Code" tutorial from Unity. Here they say, that I can use
transform.Translate(Vector3.forward);
command to move object by Z coordination. But it doesn't work.
My error if you need it:
'Vector3' is an am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to mock Spring WebClient call and stub some data while writing integration tests in Spock Frameowork I am writing integration tests in spock framework for spring web flux application and we are using WebClient to make external api call. How can I mock WebClient and stub data to WebClient calls?
I am using Reques... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Boot pod with multithreading restarts in Kubernetes We have deployed a SpringBoot application in Kubernetes. The application uses ApplicationRunner to get command line arguments from the Kubernetes YAML file and then copies files from a file system to Amazon S3. The copying process always succeeds without err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use a different Azure Pipeline Service Connection on a pipeline? First of all I am sorry if the answers to this question are obvious. I am still on the very steep learning path on this topic.
I have a pipeline in Azure Pipelines using a YAML pipeline defined in a BitBucket Cloud repository. It was create... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Downloading instagram images from URL lists Currently I have a list of instagram post and I am trying to download images (only pics not videos) to analyze these pictures.
So far I use instaloader but somehow I have an error in the middle.
Is there any other way to download images from the posts?
example url is this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angolia + Docusaurus no results I'm trying to integrate Angolia with Docusaurus. I created a crawler using the Docusaurus Angolia v2 example and created an index after running it. In the Angolia web, when I test the index using the browse tab, it seems to bring results as expected, but in Docusaurus, there are no re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NEXTJS/Docker - ENV variables aren't available on the browser when added through command line I am using this example project in order to practice with NextJs and Docker - https://github.com/vercel/next.js/tree/canary/examples/with-docker.
Currently, I am trying to add env variables which will be available in the br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does jshint decide which rules to apply? Is there a list of defaults anywhere? There are various questions on the web about this (including this from SO), but everything seems to have changed over the last few years. The website has what it calls a 'default configuration file' here, but these clearly aren't actu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make a clickable arc that would fill the arc to the point where the user clicked? After fiddling around with using polygons and javascript to try to get satisfactory results. It seems I out of options on how to make this.
The situation is this, I got have to .png images whereby one shows the thermostat and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exoplayer Subtitle Hi I'm trying to add Subtitle for audio
using data of https://grepp-programmers-challenges.s3.ap-northeast-2.amazonaws.com/2020-flo/song.json
playing audio and setting the PlayerControlView was fine but dealing with SubtitleView got stuck
lyric String
how can I sync and show this String through ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a good way to store logging calls for publishing as log messages later I often find myself stuck in the early phases of a program wanting to write log messages before logging has been configured. This might happen if the log configuration itself is being loaded from some remote location or even logging abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When creating a new class in an ontology? (good practice) When should a new (sub)class be created?
What is the good practice?
This standford Protege guide partially answered my question.
Section 4.4 "When to introduce a new class (or not)", 2 rules are hilighted:
Rule1: Subclasses of a class usually (1) have additi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gaussian process regression prediction fails - constant mean I'm trying to implement a Gaussian process regression model using GPFlow. While the training works well, the prediction of the test data fails giving the same mean and variance for all test values.
import matplotlib.pyplot as plt
import numpy as np
import... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Unable to render Formio components on flutter app I am trying to load a sample form on flutter app through webview. I have used sample code from https://formio.github.io/formio.js/ still I am not able to render the components.
I tried to execute the same code on browser, and it loads the form. But when tried on flut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Share tree structure between 2 instances of dict I have the following dict:
d1 = {"parent1": {"get": {"responses": {200: {"content": {"application/json": {}}}}}}}}
d2 = {"parent2": {"get": {"responses": {200: {"content": {"application/json": {}}}}}}}}
I am trying to avoid code repetition so I could do this:
common ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate a duration of a deal when all tasks within that deal are closed in pandas I have a table like this:
df = pd.DataFrame({
'START DATE': ['01/01/2023', '01/01/2023', '01/20/2023', '01/22/2023', '01/13/2023', '01/12/2023'],
'END DATE': ['01/10/2023', '01/15/2023', '01/23/2023', '01/24/2023', '01/14/202... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot use index when creating pandas dataframe from a tuple I'm trying to convert a tuple into a pandas dataframe but I get:
ValueError: If using all scalar values, you must pass an index
The size of the tuple will be different each time, so I may have a tuple with one item, or more than one.If I use the below code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Open Firefox in fullscreen from command line or startup app with specific localhost address How to open firefox in fullscreen mode with my localhost address when i boot ubuntu?
I tried using kiosk but I am not finding way to open as startup application. And kiosk is not working properly for me
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75604555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IncludePath Wxwidgets on MacOS I tried all ways to install wx on the system, but VS Code doesn't recognize wx/wxprec.h and other libraries. I tried to install by cmake, homebrew but none of VS Code compiles directly. If I try to compile via terminal, it works perfectly. Could it be a problem with IncludePath?
In my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i return OkObjectResult via service? i'm new to c# and i was studying web apis; i was asking myself if what i did here is acceptable or very dirty at a code level. If it is, is there a way to leave the entire decision of the response to the service?
Controller:
public class PersonController : ControllerBase
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change style of path element of SVG in Favicon in React I am trying to make the Favicon dynamic in a React application. When certain conditions are met, I want to update the styling of one of the Path elements in the SVG.
It appears the elements are not part of the DOM since they are part of the Favicon.
I was thin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What happens if Kubernetes API is not available? Often cloud providers offering managed Kubernetes clusters speak of the availability of the API servers, and I was wondering what would happen to the workloads if the Kubernetes API servers should not be available for some time?
*
*Will the workload continue to work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In SwiftUI, popover, sheets, and confirmation dialogs break on iPad when tapping on another dialog with a dialog open On iPad, if you have a popover or confirmation dialog(which are presented as popovers) open, it's still possible to click on a button to open another popover/sheet/confirmation dialog in the backgrou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: splitting multiple delimiters into a table I need to put the below grep output into a postgresql table. I am unsure how to do this.
log.txt:
2023-03-01 00:40:26 , "rami"."big_white_shoes"
2023-03-01 13:10:42 , black_shoes
-bash-4.2$
table created as:
postgres=# CREATE TABLE ddl_log (ts timestamp, user text, table v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ONNX operations to create a model Create python library which takes audio as input and provides magnitude after applying RFFT on audio.
Export this method of python library into onnx model.
Run this onnx model and pass the audio and get magnitude as output.
Create a cpp program which takes audio as input and stores ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to customize the appearance of plots in Shiny? Recently, I am trying to practice something new with using Shinny application in R and I am having a serious difficulty to customize the layout for the 2 plots, actually one table and one plot. I am not able to share the whole data I am using but I think, one can fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get PHPUnit 10 working in PhpStorm? PHPUnit 10 has removed the --whitelist option, which PhpStorm automatically inserts into the "Run with Coverage" option. How do I fix this?
Error message:
Unknown option "--whitelist"
I can't find any information online on how to fix this problem.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75604576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hashmap and streams I have a Map ex. :
Map<String, String> hashmap= new HashMap();
hashmap.put("login", "user");
hashmap.put("password", "password");
hashmap.put("topic", "Problem");
hashmap.put("url", "www.problem.com");
hashmap.put("about", "problem has not been founded");
How to print the HashMap values ββon ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Input Validation for exec() I would like to inject python code into a python script. After some research, I'm now using exec() to execute the injected code, but I am using empty globals(), and explicitly specifying locals().
I would like to add a whitelist to validate my input string to check/allow only the syntaxI ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: flutter app crashing i'm using blueooth serial plugin when i navigate to bluetooth serial pgae it crash i'm working on a project i use bluetooth serial plugin but the app crash when i land on bluetooth connectivity screen recently i upgrade the flutter version it's throw exception
FATAL EXCEPTION: main
E/AndroidRun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: merge group by data into single list or dataframe Hello I am new to python and not sure how to achieve.
ID
ENTITY_NAME
ENTITY_NAME
SECTION_GROUP
DOC_ID
1
dNumber
U220059090
GROUP 1
40
2
tDate
6-Dec-22
GROUP 1
40
3
dNumber
U220059090
GROUP 2
40
4
tDate
6-Dec-22
GROUP 2
40
5
sCompany
bp
nan
40
6
dNum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ctypes convert var to float when i use .value I use that code to normalize my Structure vars, but when i call .value its convert original var(without value its c_float) to float.
class CVector(Structure):
_fields_ = [
("fX", c_float),
("fY", c_float),
("fZ", c_float)
]
def __init... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native, jest test failing, Invalid hook call I get the this error with my test can anyone help?
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (suc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I listen to Lock events in Swiftui? Problem:
I am building an app that will be used on a shared iPad. People can log in by passing their username and pin (it does not need to be super secure). When the presses the lock button of the iPad I want to run a function to log the user out.
I am using Swift 5, Swift... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ag-grid how to override Set Filter matching I have an ag-grid with Tree data and one column using a set filter (agSetColumnFilter). I want to override the set filter to only apply to parent nodes at the very top.
for example if I have this data:
A1
-> A1
-> A2
B1
-> A1
-> B1
and I filter by A1, I will get both ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Click Events on Object3D (Mesh,Group, etc) in React-Three-Fiber I want to add click event to my meshes (there are 40 meshes or groups actually). is there a way to add pointer events to the group objects like that in for loop?
object.setAttribute("onClick","console.log(hello);")
instead of adding them onClick attribu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to configure a policy in gateway level to allow access for specific IP addresses to call APIs in wso2 APIM 3.2.0? i want a solution to apply in gateway to allow access for specific IP addresses that only these IPs could call all APIs I created.in which step of Message Flow in the API Manager Gateway I must add t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to draw roads around turns I am using the below code to draw roads on my openstreet map package, everything is working fine, The roads are drawn how ever the road form one coordinate to another is drawn in a straight line, which is understood but if there is a corner or a turn the line will disregard the curv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CakePhp - Dinamically added fields on form not being recognized I'm having trouble with dynamically adding fields to one of my CTP files and having it be recognized by cake.
Basically, what I'm doing is as follows. Here the code is displaying the data that already exists on the database with a button at the end that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vectorization problem in PyTorch (maybe similar to scatter_add_) Recently, I'm trying to vectorize for loop below.
for node in range(num_node):
R[node, :] -= torch.sum(R_vol[nodeConnectivity == node], dim=0)
where shape of each tensor is
R: [num_node, 3]
R_vol: [num_element, 8, 3]
nodeConnectivity: [num_element... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why expandable collapse not working when i click expandable button for collapse it not working how can solve this problem
ExpandablePanel(
collapsed: ExpandableButton(
child: Container(
height: 54.h,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: List iteration optimization I'm trying to create a function to find the longest segment within a given list t, which satisfies two conditions:
*
*The last number of the segment has to be equal or greater than the first number of the segment.
*Difference between the last number and the first number of the segment... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase is not tracking programatically created dynamic link "clicks" We have integrated firebase dynamic links in our app (react-native) and we are creating referral links in our app (programatically) like this https://somedomain.com/yNtqk3AvSGZXSMRL7 that is unique for each user. Now I want to track the click cou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: unexpected symbol in "View(000001.SZ" My code is by quantmod to get stock data from Yahoo wit getSymbols. Tools is RStudio and Quantmod 0.40.2
getSymbols("000001.SZ", src="yahoo",from="1900-10-01", to = Sys.Date(), auto.assign = TRUE )
View(000001.SZ)
There is no problem to AAPL stock data.
getSymbols("AAPL"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calling OracleProcedure from VB.NET Oracle procedure call from vb.net code is working fine if I use "Microsoft.Practices.EnterpriseLibrary.Data" dll. Rewriting same procedure call using "Oracle.ManagedDataAccess.dll" giving error. What am I doing wrong -
Error message : ORA-06502: PL/SQL: numeric or value error: cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React unit test is not covering the custom hook code I have a unit test that should test an custom react hook. The test passes ok but when I check the coverage it says that it is not covering.
My react hook:
export default (element, triggerOnce = false) => {
const [isVisible, setIsVisible] = useState(false);
fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to automatically run python files using python -m in VS Code I need to run files using python -m foo.bar.baz due to having absolute imports in other areas of the codebase.
In VS Code, when I click the top-right corner to Run Python File, I'd like it to automatically do python -m foo.bar.baz instead of python /ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular : Navigating in auxiliary router I have an app with auxiliary router and some nested routes in it.
If I remove navigation to my auxiliary router from my main routes it works fine.
If I do this from a nested route in my auxiliary router, nothing happens.
Here is an example of my routing :
{
path: '',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: unable to select date from calendar in selenium java import java.time.Duration;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set initial state from local storage in next js? I want to get value from local storage in next js. It should look some thing like this in next js. But this don't work. How to do it?
const initialState = {
language: {
lang: "eng",
iconPath: "/imgFolder1/usaIcon.png",
languageFullEng: "English",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Centralized Google project for app scripts hello i am looking to either force any user to select an exsiting project when creating a appscript or make it so it selected to a project by default any time someone tries to create an AppScript ?
is this even posible?
i read the documentation but cant find anything that e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: @react-navigation/elements HeaderBackButton not visible on Android I am using @react-navigation/elements (1.3.17 - latest as of writing this). However the HeaderBackButton component is not visible on Android, but the default header from my stack navigator does show the back button on Android.
<Header
headerLeft={(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WPF Textbox : two textboxes, one need keybord focus and other needs selection of text using mouse In User control,I have two textboxes
Textbox1 - readonly
Textbox2 - editable and it has focus now with code bellow
editableTextbox.CaretIndex = editableTextbox.Text.Length;
editableTextbox.Select(0, editableTextbox.Te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ansible set part from stdout_lines as a fact (variable)? I have a task, to ssh to a host (with a raw module) and generate some useful facts from issued command. I get this as an output after task completion:
TASK [rac : Detect controller] ******************************************************************************... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call Swagger UI from NET Lambda? I have built a full-functional NET 6 web REST api service and deployed it to AWS Lambda.
Locally I do query
https://localhost:8804/p2aws/index.html
and I see the Swagger UI.
But when I call
https://7ph2opocs1.execute-api.eu-central-1.amazonaws.com/p2aws/index.html
no respons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can someone help me out with a solution Running Gradle task 'assembleDebug'...
β Built build\app\outputs\flutter-apk\app-debug.apk.
E/AndroidRuntime(12320): FATAL EXCEPTION: main
E/AndroidRuntime(12320): Process: ng.net.swipe.swipe, PID: 12320
E/AndroidRuntime(12320): java.lang.RuntimeException: Unable to instantia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Repaired Records: Column information from /xl/worksheets/sheet.xml part Hi I'm set the width of my columns and getting this error
enter image description here
My code looks like this
enter image description here
I Tried to this but it seems to be something else OpenXML Custom column width not working
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75604646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Boot uses wrong gradle config? Im having a huge problem in my spring boot application. The application is made in my team and none of my collegues has a similair problem, thats why Im asking here. When building/compiling the application, gradle needs to download several dependencies from our companys server ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: my react app is getting crashed when i tested it with wrong inputs for api I guess ! I have hardcoded the response and tried to map the output.But i can't find the other way. even i want to add the fallback ui for wrong inputs. thanks.
.............code......................
`
import React, { useState, useEffect } f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert c++ std::map to python type using pythonBinding I have a C++ library that needs to be used with a Python application. I have created a pythonBinding for that library.
header.h
enum class enumA {
app1,
app2,
app3};
enum class enumB {
kInit,
kRunning,
kF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are best possibilities for authorizing developers accessing a Strimzi Kafka cluster via kafka cli? Currently we do not have any authorizer active in our Strimzi Kafka cluster, meaning ever dev has admin access. We now want to restrict devs to only be able to access their topics.
Ideally they could use their alr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sonar scanner is not scanning the custom rules SonarQube: Community Edition 7.9.2 (build 30863)
Scanner: SonarScanner 4.7.0.2747
Plugin: sonar-java-plugin-5.13.1.18282.jar γsonar-l10n-zh-plugin-1.29.jarγsonar-java-swagger-plugin-1.0.1.jar(my custom rule plugin)
java: Java 11.0.14.1 Eclipse Adoptium (64-bit)
os: Wind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i'm trying to open my laravel website and in any url it gives me same error the error
tryed to access this website and gives me this a erorr (Call to a member function call() on null) this happen after i reset password
after that when trying to open any url this page appeares
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75604654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: working only once when put inside iFrame (android and ios) I am working on a NextJs project when I needed to implement a file picker. This whole project is embedded inside an iFrame to use for an android and ios projects.
The problem occurs in android and ios (works on the web).
The problem is when the user click t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Telegram Tdlib TdApi UpdateUser - How to interact with user data and create a contact list? I am developing in Android Studio and using TdApi.UpdateUser.CONSTRUCTOR to read Telegram contacts. I have managed to read all the contacts but I can't find an EOF, Size or something similar that allows me to know when I am r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to embed a website without triggering the Content Security Policy? I'm trying to embed a website into a larger web-app by using an iFrame. The website has the Content Security Policy directive 'frame-ancestors' set to 'self' so it won't pass the data along. Is there a way in which I could 'trick' the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Download Image from site with ddos protection I am trying to download images from C# code but it seems cloudfare is blocking it.
string[] userAgents = new[]
{
// List of user agents
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75604662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |