text string | meta dict |
|---|---|
Q: Cilium installation with custom ip range Can I install Cilium with a different IP range than 10.0.0.0/8?
My private network where the nodes are located is on 10.0.0.0/24 and therefore has a conflict with the Pod network.
I have installed cilium as follows:
cilium install --cluster-name k3s-cluster
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Continued Issues with NPM Install I've been at this for over an hour and all I have managed to conclude is that I need help.
I'm on a new computer where I haven't been doing SharePoint Framework development, but now a bug has come up with one of the web parts and I need to get back at it. I tried to do an npm insta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mistake made in too many up-votes on one comment; how do I erase this mistake? If I mistakenly up-vote a comment or answer twice (since I don't keep a ledger of all my voting) how can I erase it back to normal?
I was afraid to hit the flag icon, so I don't know what to do to remove the box that showed up.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4 at Main.main(Main.java:24) error import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
// TODO: Your code below this line
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-8"
} |
Q: What's the idiomatic way to use io.ReaderAt with the io/fs abstraction? I'm writing something that will read ranges of data from files at specific offsets from different types of filesystems.
I want to be as idiomatic as possible, and use Go's io/fs abstraction.
io.FS is pretty minimalistic, and offers just one way ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bootstrap Carousel messing up style on web page I am trying to add a Bootstrap Carousel to my HTML file in Replit. However, once I do so, my style gets messed up. I have determined that the problem lies within the rel="stylesheet" in this piece of code:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HTML tags close carrots highlighted red for some reason Yesterday, my VS Code started highlighting html tag carrots in red in my react app. Does anyone know what is causing this?
I am tried fixing my registry, restarting computer, all my jsx files are highlighted in this way now. I can confirm it only happens with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ttk button background not changing color after theme has been set - python tkinter I am creating a tkinter GUI using ttk, and I have downloaded and imported the Azure theme for my project. I then tried to change the color of one of the buttons to red using a style but this didn't work despite no errors coming up. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HttpClient using existing TcpStream Assuming I create a TcpStream object:
var tcpClient = new TcpClient("host", 443);
var tcpStream = tcpClient.GetStream();
Is it possible to use the connected stream as the underlying transport for an HttpClient?
Pseudo'ish, meaning:
var httpClient = new HttpClient(tcpStream); // P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to replace a string with an integer using mapping? So the problem wants me to input a string, parse it for words (not removing punctuation) and then putting the words into a vector. Then, I need to replace words that appear more than once with a matching integer value, to sort of mimic the concept of file compre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ Generic programming: HPP and CPP with template functions and regular functions Imagine we want to create a UTIL.HPP file specifying some utility functions and a UTIL.CPP to implement them.
Why can't we have in the UTIL.HPP both template functions and regular functions?
The code below doesn't compile (the compile... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can you perform an arithmetic operation where the two operands are in different bases? I am performing modulo operations and the two operands are in different bases. The question is such that the operand on the left must be in base 40. Do I have to change the second operand on the right which is in base 10 to base 4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: SynchronizationContext Problems with Prism DelegateCommand created on a background thread I moved the creation of one of my classes to a background thread in my C#/WPF app. It exposes a Prism DelegateCommand object. Suddenly my app starts crashing. I think my hack of a fix is the wrong way to go but I don't know ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradle project causing path errors not there otherwise
I am building a java project using Gradle, in Visual Studio.
It uses the LWJGL library, and when I initialize the window I get this error :
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Using HttpClient.ReadAsStringAsync() to return result string via function I am calling a web API that returns a JSON string. This is the first time I am using HttpClient and I can't figure out how to get a function to return a string.
Public Async Function CallWebAPI(sIPAddress As String, sCommand As String) As Tas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use CensusReporter API or Census API to always pull latest? I need to pull a bunch of tables from a census, API for Maryland and Baltimore city Maryland together. I would either like as many tables as possible, or a list that I can input.
I can’t get it to work
Census api help
Is there anyway to pull only the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems registering and logging in a user using Laravel Socialite I'm wanting to enable the use of a third-party account (in my case a Google account) to create a new user without having to fill out the normal user registration form, but I'm having problems logging in with the user that I registered using the accou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create an object or associative array with puppeteer evaluate or eval methods? I can easily get some single attribute from set of selectors, but cannot create some sort of object or associative array with some "key" and "value".
This works with 2 attributes
const kefs = await page.$$eval("div[data-event-treei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import RAO using OrcFxAPI I want to import a text file that contains information about RAO (response amplitude operator) in a model created using the Lib OrcFxAPI.
I searched in this lib and I found a function called ImportVesselTypeData(), but when I try to call this function, the message "this function does not ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't legacy ASP.NET MVC app compile after upgrade to VS 2017? I have to run an app that was built in VS2013 on my local machine that has VS 2017 installed but it I get compilation errors, and in my local version, when I view any of the Razor views in VS, they are all containing errors of this nature:
When I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Unable To Decrypt GPG File: Bad Session Key I'm trying to decrypt a gpg file containing an archived directory (via tar) with my important files. Here's the output when I run my decryption script or run the decrypt line outside of the script
gpg: AES256.CFB encrypted data
gpg: encrypted with 1 passphrase
gpg: decrypt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IRC error in bot written on ruby Connection reset by peer @ io_fillbuf - fd:5 (Errno::ECONNRESET) I was trying to make an IRC bot in ruby, and get some really strange error. I didn't find anything in the web about it. There error is Connection reset by peer @ io_fillbuf - fd:5 (Errno::ECONNRESET) It's weird, and I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pre-populate ng select - multiple select with data from api I can't get the multi-select data to populate, but the single select one works.
Directed below is the HTML for the single select part that displays pre-populated data that works
<h2>Current Type:</h2>
<ng-select
clas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: typescript conditional generic type in Netflix conductor sdk I am reading the following piece of code in Netflix conductor SDK.
type O2T<O extends {}> = {} extends O
? []
: {
[key in keyof O]: [key, ...O2T<O[key]>];
}[keyof O];
After importing this sdk into my project, the build always fails, with fol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing a Binary File to a Linked List, why does it create an extra node?? (C) I've been having a problem with a C program that works with a binary file, by passing it's contents to a linked list. When the file is empty, I just create the linked list and manipulate it in the program, that mostly works fine (debuggin... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75632545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic Parameter Passing to Dataset in AWS Quicksight When we create a data set , how to pass the parameter to queries.
Example, I want to have a outer join with A table which doesnt apply any criteria and B table apply criteria in which need to pass a parmeter.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parse website sitemap.xml using Ansible XML There is this website with a /sitemap.xml file such as follows:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://example.com/es/</loc>
<lastmod>2023-0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Next 13 Route Handler having issues getting data from body (app/api/auth) When I try to get the body out of the new export async function POST( req: Request) I am getting it as a stream instead of the content type.
Here is the route handler located in api/auth/signup
Folder layout image
export async function POST( ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extracting data from .json TMDB api with javascript Error I am using javascript to extract data from a .json (tmdb)
Attached file Api code
This is the code I'm using to extract the data from tmdb "still_path" & "episode_number".
"next_episode_to_air" == e && ((g = l.next_episode_to_air.still_path),
$('#next_still_pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to stop the entire ApexChart from rerendering on annotation update I tried to make annotations a property of the component itself instead of the chartOptions, but it still does not work.
I'd like the chart to stay as it is, meanwhile the annotation will be update frequently. Is there a way to achieve this?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can EF Core use MetadataType for migrations? Is there a way to get EF Core to honour MetadataType annotations for MaxLength etc when creating DB migrations?
I've created a person class and decorated it with MetadataType but the annotations aren't considered when I add a DB migration.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i achieve a complicated flink pattern from single stream to multiple and then join back to single stream My question is how will you achieve flink streaming based on the picture below ...
here are the steps
*
*I get streams in kafka (each msg in the stream has an id)...
*I process the streams in a process... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dividing using vectors, but I am dividing two queries to find a percentage data. Sometimes the query in the numerator receives any data, because the value doesn't exist. But when I divide by the other query it still retrieves data as 1's.
(count(job{branch="qa", status="failed", project_id="123"}) OR vector(0))/(cou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error occurred when I try to print out ArrayList in JSP file
ID NAME
1 minjae
2 kangkyu
3 doingin
4 boyeon
5 hyunwoo
6 jihyun
7 eunsung
8 heejung
9 eunswoo
10 youngin
I am trying to print out ID,NAME on jsp file.
It seems I can safely import this data.
@GetMapping("/emp")
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What else should I check when I get an Access Violation for an address that seems to be valid? I have a crash dump for a C++ app that reports an access violation on what seems to be a valid address.
The code is relatively simple:
#define BIG_BUFFER_SIZE 2048
const size_t in_buf_size{ BIG_BUFFER_SIZE };
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to make Django ModelForm filed to update the attrs, so the style can be displayed successfully from django.forms import ModelForm
from django import forms
from .models import Project
class ProjectForm(ModelForm):
class Meta:
model = Project
fields = ['title', 'featured_image', 'description',... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: APIs for accommodation search and price comparison: Similar to Booking.com I'm a university student working on a thesis about price monitoring for accommodations. I'm trying to use the Booking API to gather availability and room information, but I've discovered that it's not available. Can anyone suggest alternative... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Constrained Imputation I actually have two original datasets (each one for a departure that are related to each one in a specific way , but it's not important to know how exactly) , but these 2 datasets contain some outliers in the column 'value' that i deleted and which led to the creation of 2 new datasets filtere... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add line break after every nth dot in string? I'm working on a project for my employer. It's a shop site based on asp.net core mvc. I'm going to leave AboutUs section empty, so he can add some content later. I defined a model with all the sections needed to be filled by the employer; including title, contact ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Quarto extension installed but not found during render Environment: RStudio 2022.12.0+353, Ubuntu 22.04.2 LTS
I am writing a scientific manuscript using Quarto/RStudio. I just installed the section-bibliographies filter as an extension using quarto install extension pandoc-ext/section-bibliographies which concluded ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache2 File Read & Write Permission on Ubuntu I've spent the better half of my afternoon trying to figure out how to allow apache2 on Ubuntu 20.04 to create, write, read files.
I've tried:
changing ownership
changing access
changing permissions
i've tried re-installing apache2 $ PHP
I've tried adding groups
plus ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How i can use reducer to wrap some pages in nextjs I have a project using NextJs is content a 10 pages. I am used to reducer to manage the state .Right now reducer cover all the pages I passed it IND _app. J's her I'm facing some problem the home, about and contact page consume data from reducer, but I don't want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Blazor Server Hybrid app download file to android does not work - using BlazorDownloadFile I have a Blazor Server Hybrid app in .Net 7. I have my .razor componets built in a razor class library and I have two projects, one for web and one for Blazor MAUI. The Blazor MAUI app is pushing a build to my phone which i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PowerShell: Microsoft.Build.Evaluation.Project ctor fails with "Illegal characters in path." In PowerShell, I am trying to use Microsoft.Build.Evaluation.Project to query C++ and C# projects with VS2022.
This was working with Visual Studio 2017.
I created a new console app "newproj" which is the Hello World example ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating Input Field Value from Dropdown Selection with Javascript (in Dubsado CRM Form) I use a platform called Dubsado as a CRM. They allow you to add custom HTML (including <script> tags) to their forms, but I cannot get this particular script to work, and hoping you all can help!
The issue seems simple: taking t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Auto increment a string type id using hibernate I want to auto increment an ID in my database which in string datatype,(using hibernate)
for an example ----------- ID0001 this should auto increment to ID0002
can you give me a solution for this matter please.
I tried @GeneratedValue annotation but it gives me an exce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing the private members of a derived template class I have two classes a List and a DerivedList where I want the DerivedList class to be able to access the private members of the List class. According to this answer I can do this by making the DerivedList a friend of the List class.
I think my problem occurs b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check if permission was granted for all pictures in the gallery in flutter I am using permission_handler to get permission for all pictures in the user's gallery and I want to restrict using the app if the user decides to give permission only to some, but not all pictures (it is possible on ios). How can I check if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do WeldConstraints still work with MeshParts and do they still show lines when pressing alt/option? I have started watching a tutorial by Alvin Blox about making a hatching system. At the start he connects the pet using Weld Constraints. Is that still necessary to do? If it is, does it still show lines? And if it do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GCP Billing error when Billing is enabled I have this Python code:
def upload_to_gcs(bucket_name, local_file_path, gcs_file_name):
"""
Uploads local files to Google Cloud Storage (GCS).
:param bucket_name: string
:param local_file_path: string
:param gcs_file_name: string
:return: None
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular RxJS keyboard input emit on enter or debounce time I have a search input feature that I would like to be invoked when the user presses enter or when a debounce timeout has elapsed. Basically I want to combine these two paths into a single RxJS observable:
This executes the search on enter:
<input [formContro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Appscript to bring Variant Data using Shopify API Can any one help me, I am trying to bring the variant option data from shopify using appscript, but I know I am making a mistake on the authorization part. The error is:
Exception: Login information disallowed: https://96023a859a51c154e170b62521df8724:shpat_9b8a5a0c4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React hook form - passing an array of strings as constant to useWatch not working I would like to watch some fields in my component, but would like to make sure I pass in a constant as an array, so that I make sure the order of fields is kept the same through the app, so that I know which fields have been updated.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can we make a Drag and snap 3D map in React Native Here are some example of what I want to acheive, of course without textures and complications, I just want to be able to create a map, orthographic camera, and being able to drag and drop objects in react native
I tried react-three/fiber, which worked, but then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do i get microphone pitch as an integer easily? i want to be able to get pitch from microphone in a way like
import <moulule>
while True:
print(str(getMicPitch()))
and that would print the pitch of the microphone. also, volume detection would also be fantastic.
there are other questions like thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to click on a button in Python Selenium without name and id in tag? The story is I'm trying to click on a button but everything I found is the class name. Here's the code:
<div class="zm-box zm-actions playlist-actions"><button class="zm-btn action-play button" tabindex="0"><i class="icon action-play ic-svg-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find the most occuring value in whole matrix
Is there python library which help in finding most occuring value in whole matrix ? Nulls should be ignored .
eg output of snapshot should be Delhi .
If there are more than one then it should return all most occurring values .
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to apply a function to the values of one column, then take the output and apply it to multiple other columns in pandas Alright y'all, maybe my strategy here isn't ideal, but I've got a very awkward dataset to work with and I need help.
I have a pandas dataframe that's structured such that only the first column h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fastest way to apply histcount on an array grouped by previous bin result I have 2 large numpy arrays which I need to bin according to some bin values. The first array needs to be binned with the data1Bins values. Then the data in the second array needs to be grouped by the result of the bins on the first array. Whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A function like pandas.index.get_indexer that can accept two possible lists of values, but not both Sometimes I will need
read = pd.read_csv(file, delimiter=',', skiprows=2)
column_real, column_im = read.columns.get_indexer(['re:Trc3_S24', 'im:Trc3_S24'])
and other times I would need
read = pd.read_csv(file, delimi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Go Loop over elements and insert into mongodb I have an issue that I cannot figure out how to solve it. I have a Go endpoint to read the content of a txt file and return its content. This file is structured as follow:
usertest1,usertest1
usertest2,usertest2
The first step is to read the lines and split at the comma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wrap v-model changes in a $patch I need to wrap v-model changes in a $patch. I am using vue3 and pinia, and have a working solution, but wondering if there is a better way to do this.
My current working pattern is:
<script setup lang="ts">
someAttribute = computed({
get() {
return store.someAttribute;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want get data from API but I have problem: All data that I want to get disappears.
So my question is how i can get ["Price"] and ["marketcap"] and push this in to new array?
I try i this way:
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-8"
} |
Q: generate object based on parameters count I would like to refactor my code. I have 3 classes that differ only by the number of points they take to be initialized (from 2 to 4). They all have the same method name and number, but their implementation is (really) different.
I would like to have a class that, depending ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Place level and parcel level data, want to calculate and create new variables of the percent of each place by tract I'm working in QGIS and R, and have place level spatial files with most of the variables I need, but want to add land use data that is at roughly parcel level. I want to create new variables in my plac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: slurm with K8s or Kubeflow possible? I understand that both Slurm and Kubeflow/K8s are workload manager. we wanted to leverage features of slurm parallelism etc., and use with Kubeflow or Kubernetes for ML workflow, is it possible? can they coexist or work together?
Example: We want to submit training job from Kubef... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MSBUILD - project.assets.json does not exist on build server I am using AWS CodeBuild as a build server.
I have created a buildspec.yml file using the section explained in this walkthrough.
Here are my build commands -
build:
commands:
# Start by restoring nuget packages
- .\nuget restore
# Build project and c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check if a KQL query returns null or not in Power Automate In Power Automate I am running a KQL query titled 'cmdletsForEmail' using the action 'Run KQL Query'. The query returns a row with a couple of columns if there is a problem.
I try to check if the query body is empty using this:
empty(body('cmdletsForE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate Row Decile/Quantile by Column Dplyr R I have a data frame that contains price returns by row displayed in columns that are each a different year. I'd like to either insert a new column after each existing column with a decile or quantile value for the value in the row of the annual return column to the le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native switch component's state resets after re-entering screen I'm using React Native's switch component to toggle between Light and Dark modes, using States, Context and Event Listeners and the switch's state is resetting after re-entering the screen where it is at with a weird behavior I haven't seen anywhe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP cant't import arabic chatrts in CSV file when i use this php code to import CSV file arabic charts show like : �����
how can solve this issue to import all data from csv file with the right charts to store in mysql
if(isset($_POST["Import"])){
$filename=$_FILES["file"]["tmp_name"];
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: clearInterval not working electron js How to resolve this? clearInterval not working in this code. How to resolve this?
var inter;
ipcMain.on("start-stop",(err,data)=>{
console.log(data.data)
function start(){
inter = setInterval(function (){handlegole();}, minsNum * 60 * 1000);
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Clicking edge of button is broken in Chrome & Firefox On Chrome and Firefox, clicking the edge of a button gives odd behavior:
The CSS active state is triggered, but not the JavaScript onclick event. Only at the VERY EDGE of the button.
I tried changing the button border-width (no border and also a thick border). N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I give a useful generic type to a function that copies an object with a key added or replaced with a new value? I have written the following function:
function extend(obj, key, value) {
return { ...obj, [key]: value }
}
Ideally, I'd like be able to use this function generically, with obj being an Object who... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EvenListener in setInterval Everything is working except addEventListener
const attack1Animation = [
{ transform:'rotate(0deg)' },
{ transform:'translate(-67%, 320%) rotate(90deg)'}
];
let weapon1 = document.getElementById('weapon1');
var attack1 = setInterval(function(){
weapon1.style.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conversion pine script from version 1 to version 5 I am trying to convert the below pined script from version 1 to version 5. I need this code in version 5 because I have to merge this code with my another version 5 code.
Even if I update the functions to the latest ones, it always tells me: "Errore su 7:0 mismatch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Ionic react listen for browser back button and prevent if dirty flag Evening all. I'm hoping someone can shed some light on this.
I have a react/ionic app I'm working on. Part of the app uses Ion tabs which rum on their own router. I need to be able to prevent a user navigating away from the IonTabs page if there ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I access a static data field? I was studying for my java cert, and I had a question that I got stuck on, namely:
Suppose the class F is defined in (a). Let f be an instance of F. Which of the statements in (b) are correct?
public class F
{
int i;
static String s;
void imethod () {
}
static void smet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to track graphics memory usage in Android app? So this will provide a rough estimate on the Java memory usage: Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()
Is there an equivalent for the amount of graphics memory? Used up from loaded Textures and such?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What the difference between Premium And Dedicated Plans for Azure Functions? I'm trying to choose the plan that suits me best, but I can't figure out what the fundamental difference is between them. Both have autoscaling up to 100 entities, both include Virtual Network, private endpoints, always warm feature and all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TSQL msdb.dbo.sp_send_dbmail - how to add email signature? Using MS SSMS v18.x, the code below emails a specific recipient with a custom subject & body.
How do I include the Outlook signature?
declare @body nvarchar (max) = 'Body goes here'
Execute msdb.dbo.sp_send_dbmail
@recipients = 'name@name.com',
@body=@body,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Getting the filepath of a file from the local computer I am trying to get the filepath of a video from my local storage so that it makes my video streaming dynamic. Please help. It's a nodejs project I'm working on. A nodejs video streaming app
I tried to use multer. But multer works just for the project file
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75632656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript URL formatting: evaluate if abbreviation, then use the whole-word version I'm sorry for pasting the whole code, this is my first attempt at JS!
I want to access a website using (multiple) variable strings (using Firefox' keyword search).
I scraped together some code an tried to make it work, but currently... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Shuffling array according to assigned random values I watched a video disscussing a shuffling algorithm that runs at O(nlogn)
The following python code is given:
def shuffle(arr):
rand_values = [random.random() for i in range(len(arr))]
rand_indexes = [i for i in range(len(arr))]
rand_indexes.sort(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Does 'friend' declaration affect the accessibility of members in the Base class? I am confused on the effectiveness of a friend declaration.
In the first example, this friend declaration in Base caused me to not get an error on d.j and d.k in the main() function.
However, in the second example, it seems the friend d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error: React.useRef is not a function in Next.js 13 app directory when using LightGalley package I am working on a project with Next.js 13 and LightGallery, to achieve a lightbox within a dynamic page. I am experiencing this error when I install the package and paste the code into my component.
The project is runnin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to load an image from local storage into ByteData in Flutter? How do I load an image from local storage in Flutter? I'm not talking about loading the image from asset. There is rootBundle.load to load an image into byteData from an asset and NetworkAssetBundle from an URI. I can't find one for loading from local... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get Model : "sequential" constant in keras model summary i try to do classification in using keras. everytime I run the code, model(summary) always give increase model sequential index. The code that i use is like this:
np.random.seed(0)
tensorflow.random.set_seed(0)
model1 = Sequential()
model1.add(Dense(10... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why am I getting an ESLint error for async function with Promise return? I have a Next.js application where I am defining an async function with Promise return and using it as an event handler for a HTML anchor element. However, when I try to run my code, ESLint is throwing the following error:
"Promise-returning fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') at HTMLDocument Im working on like/dislike on a post , but I keep running into this error and my pages take way too long to load and axios sends me a timeout error
the error seems to be happening on my main.js file , im working on symfo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fetched data in child component does not update on page change New to Sveltekit 3 and pulling my hair out. I am missing something!
I have a page:
"src/routes/[pageid]/page.js"
"src/routes/[pageid]/+page.svelte"
The page.js fetches data from an api and shows correctly in the +page.svelte page.
In side +page.svelte I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems calculating velocity of physics simulation in Unity I'm working on a 2D game where trajectory prediction is really, really important. So I opted for the most accurate solution I could've, physics simulation. My trajectory and where the ball will actually land/bounce is not the same. I tried Debug.Log each v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Material-UI Datagrid - issue editing cells when displaying a string in place of NaN I'm playing around with the material-ui datagrid component, but I'm running into a minor issue when attempting to edit a cell that potentially displays a string while the underlying format is a number. Some of my data has a value of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Apache Beam Unbounded Pipeline Windowing I have an unbounded Apache Beam pipeline running in Dataflow that does a very simple set of instructions:
*
*It reads a pubsub message (PubsubIO)
*It pulls the timestamp from the message, pulls data from BigQuery, parses the result into KV values (DoFn)
*Windows the data ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: all(map) and any(map) output boolean in Python, but truthy map object in IPython I'm using python 3.10.1, interactively through ipython (7.31.0, calling the same python 3.10.1) for exploration, and then directly through python once my scripts are ready.
I had a bug in my code which I reduced to the following differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I make an array type that must contain all members of a given union Given a union like this:
type MyUnion = 'foo' | 'bar' | 'baz';
How can I make a type like StrictArrayOfUnion.
So that I can get the following results:
type MyStrictUnionType = StrictArrayOfUnion<MyUnion>;
// Arrays that do what I want
const a:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: problem split expenses between people algorithm JS I am making a function that divide expense between people in function what they have paid. But when I split 1€ into 3 people, the return is 0.33 each participant, I want to be
[0.33, 0.33, 0.34]
How can I make it
I was trying to get the total and view the difference... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ansible docker_login module error : Error while fetching server API version I am trying to login to private docker container registry using Ansible module (docker_login) on Mac. It works fine on Ubuntu latest, however Mac fails with below error. I have tried installing pip module for docker, docker-py and requests. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Aviso: o subscrito do tipo char I'm getting error: array subscript has type 'char' [-Wchar-subscripts]gcc in "jump", I'm using Quick Search algorithm to submit in uri to solve challenge 2049 (https://www. beecrowd.com.br/judge/pt/problems/view/2049)
I haven't submitted it to the uri yet, because I want to solve this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: asfreq "BM" robust to federal holidays I have a DataFrame df that includes the Date Open High Low Close
.....
5/28/2021 100, 105, 100, 102
6/1/2021 102, 103, 100, 102
...
Note that 5/31/2021 is a federal holiday, so it is not in df. However, when I say
monthly = df.asfreq('BM')
It looks like asfreq wants to use 5/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75632689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |