text string | meta dict |
|---|---|
Q: How are the means to compare two XML files in JAVA WITHOUT import JARs? I need to compare two XML Files but it is not allowed to use tiers tools or import libraries to do it.
So I can't use XMLUnit or JAXB.
Scanner don't seem useful.
For you, what are the options ?
File1 is the opening file and File2 is the modified... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: ActiveMQ kahadb space full I've created a simple test to fill up a queue with messages mark with timeToLive of 60 seconds. I've added the deadletter stategy processExpired="false" so that the messages are just discarded.. When the queue exceeds persistance store size 40mb, it block as expected.. But, when the the re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why the usercontrol size is changing each time i'm dragging the control over form1 designer? once I dragged the usercontrol to form1 designer.
then I tried to change the usercontrol size while it's on form1 designer but then when I drag the usercontrol around the usercontrol size is changing.
here are two screenshot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create fontawesome local template in vue js? I'm trying to create a local fontawesome model to be able to import it into my vuejs application, but I'm not succeeding, could someone help me?
`fontawesome.js
import { library } from '@fortawesome/fontawesome-svg-core'
import { FontAwesomeIcon } from '@fortawesom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Functions: Unable to resolve to ConnectionStringSetting I am creating a visitor counter.
The problem: The connection string setting is not found. I add the connection string setting via application setting in the Azure portal. I'm thinking that the string format is wrong.
The first part of the code is configur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use css to make line under text width the same for all on mobile view I want to line under the text to be the same size width for all. It needs to be uniform width (same size). The line under the 'press' and 'phone' needs to have the same width as the 'questions' line. Here is
I've tried adjusting the width, but no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add one second to datetime with condition See the sample panda data below.
ID DT InOut
120 2022-12-22-02:12:123 IN
120 2022-12-23-04:12:456 OUT
120 2022-12-26-08:11:125 IN
120 2022-12-30-02:12:126 OUT
First I need to change my datetime variable to only 2 digits for the second part (ex:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I cant assign value (String) on first time When I click on button (first attempt) string is assign "word" and on second attempt is assign to right value.
Textview.settext works.
How to make it work on first time ?
import ...
public class MainActivity extends AppCompatActivity {
@Override
protected void on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error code Bot discord 'Bot' object has no attribute 'interaction' I've been trying for weeks to make my discord bot use Interactions(commands slash) instead of prefixes and when starting this code
https://github.com/Arion107/DiscordBot/blob/main/command.py
It gives me the error Error: 'Bot' object has no attribute ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: jaxopt returns the initial values as the final solution for binary logit model I am trying to perform a maximum likelihood estimation of the binary logit model. The sample code generates a sample of data using the true parameters ([0.5,0.5]). I then use scipy, jax.scipy, and jaxopt to estimate the parameters.
As you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Notification not showing My notification isn't showing up. What am I missing?
I'm testing on a Pixel 4a as well as an emulator.
context is the Application.
class MyTimeNotificationHelper(private val context: Context) {
init {
createNotificationChannel()
}
private var notificationBuilder: Notifi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Summation a variable over all possible scenarios in pyomo mpi-sppy I am trying to solve a two-stage stochastic model in pyomo using mpi-sppy library. Two of the constraints require a summation of the variable (e) over all scenarios. How can I model such constraints in Pyomo or at least how to approach the mathematic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to covert a BufferedSource in scala to InputStream? I was reading a file from classpath in scala using scala.io.Source using fromResources which provides with a BufferedSource. How can I convert it to an InputStream as a java method invoked expects inputstream.
scala.io.Source.fromResource("keystore.jks")
A: Y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Filter out the selected value in a slicer within a duplicate slicer ( power bi ) I'm struggling to solve this problem on my ticket. Suppose you have a slicer and has 3 fields. A, B and C and when you select B and C lets say; it will show up somewhere else tile/slicer and there you can filter out and these two slicer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: parse query parameters from request in rust I'm using rust for the first time and i'm trying to parse query parameters from a http request. Lets say the request url is http://someUrl.com?param1=123¶m2=345
I'm trying to capture 123 and 345
A: If you are handling a request in a web server, the web server crate th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apphud takes a while to load I’m using apphud ios sdk to fetch in app purchases and purchase them. It takes a while to fetch the products and purchase them. I mean at least 10 seconds. I’m using refreshStorekitProducts function in app delegate after initializing the sdk to fetch the products.
Does anyone have any id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Include only specific targets from another makefile? Suppose I have two adjacent directories A and B.
In A is makefile_a, and in B is makefile_b.
makefile_b does some preprocessing whose output is later used by the targets of makefile_a. So I would like to define certain targets in makefile_a to depend on targets in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Import "playwright.sync_api" could not be resolvedPylancereportMissingImports I am new to python and playwright and I am trying to import playwright.sync_api in my python project.
I am using VSCode and I have changed my interpreter to point at the python version I installed(3.11.2) and have performed the following..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Power Apps Gallery and Showing or Hiding the Submit Button inside a Form on Canvas App I have a Power Apps Canvas Form where I have inserted several galleries as checkboxes for items that are selected. These are all required fields in the form. I also want the asterisk (STARVISIBLE) to display at the same time the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Weird unwanted Cryptware Ncryptoki Redistributable installation without consent I don't have any IT/tech background, so please bear with my description. I installed an accounting program from its official website (which is very popular and widely used in my country). The program can be downloaded from this link: htt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Sharepoint user who can edit content but not site structure A bit of a noobie question ...
Just getting to grips with SharePoint 365. I've created a site with a document library and another site with a list. The problem I am having is with users. I haven't fathomed out how to give a user the permission to edit th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to decode uidb64 from activation link's url Django I am working on a django project with MySQL.
I am working on the signup part for the candidate with an activation link sent in the email.
When I connected django to MySQL Workbench, It generated a Model file including the "Candidats form" which I am using in my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter inner shadow with TextField or TextFormField I have inner shadows on some containers (code from https://stackoverflow.com/a/62026779/18793228) and it is working fine, unless a TextField or TextFormfield is a child (or subchild) of such an InnerShadow.
In that case, the inner shadow is expanding to a quite bi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write unit test for Ant Design Tree drag and drop function using React Testing Library I have a Tree component using Ant Design Tree and has drag and drop functions.
I am wondering how to write the correct unit test for the drag and drop function using React Testing Library?
Here is my code for the Tree compo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sqlalchemy.exc.ProgrammingError: (MySQLdb.ProgrammingError) (1146, "Table 'testdb.car' doesn't exist") Here is my code and I don't know why I face this issue. this issue always show me that automatic table is not create in database why it's show me always.
sqlalchemy.exc.ProgrammingError: (MySQLdb.ProgrammingError) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: playwright python page source frame This is my first post
I hope to find the solution
This is just a small script code
I want to display the page source code inside the frame
I have tried to use page.content() The results did not show me errors in the page example
Enter a valid phone number.
I'm trying to learn pla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Zero Array Questions -- Figuring Out How a Solution Works https://www.codewars.com/kata/59e270da7997cba3d3000041/javascript
DESCRIPTION:
An array is called zero-plentiful if it contains multiple zeros, and every sequence of zeros is at least 4 items long.
Your task is to return the number of zero sequences if the gi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Python3 Script & PHP shell_exec ascii codec error I wrote a python script to download a video from a popular website using the youtube_dl library. I am able to download and play videos without any problems by running the following command in the Linux terminal.
python3 script.py video_url
The problem starts here, I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I am trying to scrape the minutes it takes for this route from Google Maps. (Using Python Beautifulsoup) The end goal is to have "Task Scheduler" run the program every morning, which will send an SMS to my phone telling me the amount of minutes my route to work will take. Hopefully by this, I can tell if there will ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: geopandas renaming columns when saving to file I am trying to save a shape file locally with GeoPandas, preferably as a zipped file, however I have tried both compressed and uncompressed methods. I'm noticing that after saving the file locally, then reading the file back in, three columns have changed, most importan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Confluent Kafka - Lowest read offset When consuming from a non-compacted topic, how can I determine the earliest available offset on the topic? In my case the message retention is 7 days. Low watermark does not help in this case because it is 0 and of course not what I am looking for. Is there any alternative to
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract a video frame of a participant using videosdk? I am currently doing a medical app whereby live meetings are implemented using a third-party SDK "videosdk", and that we do classification on the patient's emotions during the live meeting. What I am trying to do here is that I want to extract a video fra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a http request with axios from inside Parse Cloud Code function? I'm trying to make a request from inside a Parse Cloud Code function. My attempt looks likes this:
const axios = require('axios').default;
Parse.Cloud.define("loginSchool", async (request) => {
test = await axios({
method: 'get',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native Ignite CLI: Process killed Every command of the ignite cli is terminated with the process being killed. Does anyone know why?
I'm on MacOS Venutra 13.2 with an M1 chip.
The process gets killed in the normal terminal as well as iTerm.
All other commands in the terminal and of react native work perfectly ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: ER_BAD_FIELD_ERROR: Unknown column 'xyz' in 'field list' insert into model(categoryid, subcategoryid, companyid, modelid, vendor, registrationno, color, fueltype, average, capacity, feature, remark, stat, icon)
code: 'ER_BAD_FIELD_ERROR',
errno: 1054,
sqlMessage: "Unknown column 'vendor' in 'field list'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I create an application that allows me to open up VS Code anywhere for quick editing purposes? There are lots of pop-up windows-type applications for vim (vim-anywhere) and emacs (emacs-anywhere/emacs-everywhere). However, I can't find a similar alternative for VSCode or think of a good way to achieve this i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Virtual function in copy constructor I have parent abstract class BinaryTree. Here is its copy constructor.
BinaryTree::BinaryTree(const BinaryTree & other) {
.....
//here about 10 setters
.....
if (other.getLeft() != nullptr) {
this->setLeft(new BinaryTree(other.getLeftConstReference()));
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradle with Selenium Testing failing in Github Actions but passing locally I am currently working on trying to connect Selenium automation scripts to be run using Github action. I decided on using Gradle from how easy it looked to use when running these Selenium tests locally and in Github actions. I have been able ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Modify MongoDB Object Located in an Array that is Nested in Another Array? I have the problem where I need to modify a specific field of a object that is located in a array, but I would need to filter out the object within another array to get that specific object. For example, lets say I have the following ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need Help Whitelisting IP Address Range - AWS EC2 I am struggling to understand the correct format for whitelisting IP address ranges to a database and webbapp hosted on an AWS EC2 instance.
For example, if this is a users given IP address: 23.283.149.136
How would I whitelist the users IP address range? I know IP a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to resolve error of passing email in rest api url at end position? I am creating a GET Rest api
[HttpGet]
[Route("{email}")]
public async Task<IHttpActionResult> GetUsers(string email)
{
//rest of the code
}
When I hit the api from Postman, it gave IIS 10.0 Detailed Error - 404.0 - No... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Matlab class properties as handles, nested handles and class initialization/constructor and preallocation I have been wondering how user defined Matlab classes as handle subclasses works. It seems, and also from what I read, that in some cases they reference to each other that might be unexpected or misleading and c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create broadcast on whatsapp by List of number if I have List of number in My app , how can create broadcast groub on whatsapp by flutter
List<String> recipients = ['0185889898', '0125555555','012552335555'];
String massage = 'Hello this is a broadcast message';
i need a method to open broadcast on whatsapp by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "methodX() is a protected member of MyClass" error inside class that extends MyClass In the following code:
struct A{
protected:
virtual void IAmProtected() = 0;
};
struct B: public A{
private:
A * a;
protected:
void IAmProtected() override;
public:
void doSomething(){
a->IAmProtec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find duplicates in multiple XML files and merge into one XML file in python? I have 3 XML files in which I need to compare against each other. I need to find the duplicates in each file by a part ID inside of these app tags. Then, the file that is the largest (i.e. has the most data) I need to merge those dup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does echo add "'s? Here is my code:
<!DOCTYPE html>
<html>
<body>
<?php
$dir = "Main Dir";
$subDir = "SubDir";
$file = "myFile";
echo $dir."/".subDir."/".$file."<br>";
echo "<img src = /".$dir."/".$subDir."/".$file.">";
?>
</body>
</html>
The 1st echo produces: Main ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is there any possible way to use Controller and RestController annotations in one Spring Boot application? I have my application, which is running on Spring Boot. In my application, I have two controllers, @RestController and @Controller.
Rest is for returning JSON data and Controller is for HTML pages. When I try ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradle doesn't recognize `commandLine` commands The Gradle can't execute any command with commandLine, for example:
After I executed gradle task:
task task1(type: Exec) {
if (System.getProperty('os.name').toLowerCase(Locale.ROOT).contains('windows')) {
commandLine 'echo', 'hello'
} else {
pri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sum a number to each element of an array I would like to sum 5 to each element of an array (not through all dimensions) without using a loop for. As the result, I want to get an array with the exact same dimensions, but each element should have 5 added to it. I tried using the sum and the apply functions, but I eith... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Run multiple update statements in MYSQL 5.7 How do I run the multiple update statements in MYSQL.
For example:
update tableA set col1='N' ,col2='067',col3='123' where col4='912345' and statu='S';
update tableA set col1='N' ,col2='043',col3='133' where col4='962346' and statu='S';
update tableA set col1='N' ,col2='... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: New Hire Original Department Name from monthly Active Employees List- SQL I need to pull new hires per department from active employees list. when running the enclosed query:
*
*using employeeID condition, I get original department which is correct
*using DepartmentName as condition, I see Employee 3 showing as a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Two or More Functions in App Script for Google Sheets I have three triggers created in App Script for a single google sheet.
This Google Sheet receive responses from three different Google Forms.
I set a trigger that is executed when a person fill one of this forms and then, according to the form, fill a google shee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Captions / Subtitles not working with video tag LWC I'm trying to show subtitles / captions in the video tag that I've embedded in my HTML file. However, the captions don't show at all.
HTML:
<video width="320" height="240" controls>
<source src={videoUrl} type="video/mp4">
<track src={myTrackFileUrl} kind="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Concat methods even if return-type is different Sometimes it is handy if a method returns the same object. For example, many String-methods return the new string so concatenation is possible.
str = str.replace ("a", "A").charAt (0).replace ("A", "1").concat ("..");
instead of line by line.
str = str.replace ("a", "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Polars arr.to_struct() throws "pyo3_runtime.PanicException: not implemented for dtype Unknown" exception This is a new question/issue as a follow up to How to return multiple stats as multiple columns in Polars grouby context? and How to flatten/split a tuple of arrays and calculate column means in Polars dataframe?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linker error with make file when using OpenGL functions I am having some trouble with using the openGL library in my program. First of all, I did implement all the relevant stuff correctly:
#define GL_SILENCE_DEPRECATION
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
And, in this program ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Workbook_NewSheet Excel VBA Error MEssage I have added code to my Excel ThisWorkbook in an attempt to add a worksheet_change code to each sheet that is created in my Excel workbook. I run the code and get the following error message: Compile error: Method or data member not found.
Does anyone knwo what this could be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dragging an edge from a button in a context menu of a node My use-case is as follows
*
*Click on a node to see a context menu
*In that, there is an option to drag an edge using the current selected node as source (currently I enable addEdgeMode())
*Once I click that, I want to be able to drag an edge to a target... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Integrate font-awesome pro 5 with ExtJs 7.6.0 ExtJs 7.6.0 comes with the free version of font-awesome (fa) 5. Has anyone been successful in integrating fa pro 5 with ExtJs 7.6.0 (classic)?
If yes, any tips or instructions?
I found these instructions from here but they apply to integrating fa 5 into ExtJs 6.6.0 which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: COS: Google Container-Optimized OS: How do I record process CPU usage over time? I have a VM running Google Container-Optimized OS (COS).
It has been running fine for 6 weeks, then suddenly yesterday CPU spiked to 100% for 12 hours, and disk read IOP/Throughput also stayed high during this time.
What can I run on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tensorflow not detecting dedicated gpu on my laptop I’ve been struggling for weeks trying to enable gpu support for tensorflow for the dedicated gpu on my laptop. I've tried 3 different methods and failed miserably. What else can I try? I am desperate.
My System’s specs
*
*Windows 11 Laptop with integrated and ded... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Bypass or Disable or Toggle Off the Automatic Configuration Script in C# or VB NET I need to be able to temporarily bypass the proxy script on Windows 10 LAN Settings.
I need to do this programmatically with C# or VB NET.
I have a webclient that accesses some content which the company environment has a one si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "The truth value of an array with more than one element is ambiguous" when comparing lists (not arrays) I have a question regarding the equality operator (==) regarding lists. When I run my script, I get an error in an if statement
"ValueError: The truth value of an array with more than one element is ambiguous. Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "Command Error Status: Unsupported" Error on QEMU & OVMF & Linux Kernel I’m trying to compile a (lightweight) Linux kernel and start it on QEMU (and OVMF).
There is the build-and-run script.
In OVMF’s EFI Internal Shell, on
$ fs0:\vmlinuz-6.2.1
I get:
Command Error Status: Unsupported
Calculate Linux 23 (Gentoo-ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JS: importing multiple web components I am pretty new to JavaScript and just playing around with web components. Now it's not clear to me about importing different web components and how to do it a correct way, if there is a correct way. Maybe you could take a look on a way how I do it until now and tell me some adv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The getter 'cellInfo' isn't defined for the type 'Telephony' I can't solve this error even by trying different solutions.
The getter 'cellInfo' isn't defined for the type 'Telephony'
The problem is in this line
final List<CellInfo> cellInfo = telephony.cellInfo;
I tried this code:
class CellInfo {
final int ce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prefab values resetting during runtime I have a prefab Block. In my scene hierarchy, there is a lot of Blocks:
The prefab contains a code that contains an integer value called id.
I wrote a script (to run in edit mode) that sets random values to the id of all blocks and it works well, but when I hit play, all ids g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kotlin Micronaut is not loading application.yml properties After following 5. Team Configuration with @ConfigurationProperties in this document https://guides.micronaut.io/latest/micronaut-configuration-maven-kotlin.html. And created a configuration bean like this
micronaut:
application:
name: sftp-test
netty:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with my CSS and making my game look the same and user-friendly on different screen sizes Running into a big issue with my game when I switch devices. Tried playing around with FlexBox but every step I take I make the situation worse. My project is due in a few days: what should I do? Easy fixes you can recomme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flutter/Riverpod - How update FutureProvider? I have FutureProvider in my app:
final myFutureProvider = FutureProvider<ProductLoadResult<Data>>((ref) async {
final connectivityResult = await (Connectivity().checkConnectivity());
final netAvailable = connectivityResult != ConnectivityResult.none;
if(netAvailable){
fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is a callable object becoming uncallable in python? I am playing around with making an old arcade-style game but I'm encountering an error I don't understand. The game is intended to be played as a single player or a vs 2-player game where you play side-by-side ye olden Tetris style. I found it easiest with the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Golang tgbotapi v5: sendVideo has wrong aspect ratio on iOS I am using v5.5.1 of go-telegram-bot-api to send videos with the following code. However, the actual aspect ratio 4:5 is broken and video seems as 1:1 on iOS devices.
I also have MacOS and videos have correct aspect ratio on desktop app. Can this be an app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why when I create this CSS rule `h1 {font-family: Tahoma}`it doesn't work? I have an exam that asks me to "update the following CSS code so that all level 1 headings, level 2 headings, and paragraph elements use the "Tahoma" font. Then, reset the box model for all CSS elements to border-box."
I searched for a soluti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I've got a Pandas DF using Date as an index, it has data from 2017-01-01 to 2019-31-12. How can I drop all rows that have the year 2019 in them? Deleting all the columns of date which contain 2019 in the index data from 2017-2019
df_raw1 = df_raw1.drop(index=['2019'])
Error
KeyError ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My comment form does not appear on the template page (django) My codes work on local but not work on the net :)
Here is my simple django blog website. When i tested these codes work but when i try live version, it doesnt work. Where is the my fault?
If you wanna see the live page you can look this page https://www.e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EKS nodes scaling to 0 I have a question about EKS scaling nodes to 0. If there are no nodes in the cluster(which means auto scaling group set nodes to 0) how are different services running in EKS . like kube-proxy etc?
Shouldn't these services need a node in order to run?
A: EKS node scaling is only for worker nod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Integrating custom fonts on React Native 0.71.2 giving sources.files.push I got this error when try to link assets following this tutorial:
https://blog.devgenius.io/implement-custom-fonts-on-react-native-0-70-649c16f7609f
erich@Erichs-MacBook-Pro qvapay % npx react-native-asset
info Linking ttf assets to iOS projec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to push ViewController from outside of UIViewController or view? I want to be able to navigate views from classes (singletons) in my app that have no connection to the views. The reason for this is that the data changes (for example as a result of networking calls) at some point after finishing displaying the vi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to "pattern match" into a variable name? I apologize in advance, this is going to be a goofy question but I don't know how to word a google search well enough to get a response for this.
Now I've been occasionally thinking about this, every time it would've made my code easier to write if it existed, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Launching FastAPI/uvicorn app as a Windows Task on startup in Windows Server 2019 I'm trying to setup Windows Server 2019 to launch my FastAPI/uvicorn application(s) on startup, regardless of a user actually logging in.
The settings in the attached screenshots have successfully "run" the task, but when I curl an end... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to fix double permission popup in MAUI ios web view I have a Maui App and i'm trying to open my streaming website inside the WebView.
But everytime i open my streaming website inside Maui WebView ,the website is asking for camera permission "so annoying for the user" (even if the user already granted camera acce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compose navigation: after rotation last object from navigation model is added into backstack My question is related to the Compose navigation and screen rotation.
After screen rotation, for some reason, as I understand, the composable is re-created and latest value of NavigationViewModel is taken and additional comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Correct Implementation of Google Calendar API using Service Account in .Net Core I'm having a headache because of google calendar API. My goal is to access my private calendar, and share some details through a web interface I will create, the problem is that after following all of the steps, I still get the response... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I integration test my types when using ASP.NET Core 6.0 Back in the .NET Framework days, when I developed ASP.NET MVC apps, I would separate out all major concerns into their own projects such as database, domain etc. I would also create a project called IOC where I would place my Ninject IOC container with a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send an array from a react Frontend to a mongo DB BackEnd I have been building a recipe app (both front and back end). My issue is with the data structure and how to maintain it.
My recipe schema has a few properties that have an array of objects as values. On Postman, I am able to successfully maintain this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are you able to use a boolean in a keyPressed Event to trigger a break from a while loop? Is this not the right way to try to solve this problem?
public class GUI {
JFrame mainFrame;
PrintStream standardOut = System.out;
PrintStream standardErr = System.err;
JTextField userInputLoc;
String curInp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to generate a MicroPython QSTR from a C macro? I'm using MicroPython and I would like to generate a QSTR that contains the contents of a macro. For example, I have the following macro:
#define MY_MACRO "hello"
How can I generate a QSTR that has the value "hello" and is called MP_QSTR_MY_MACRO?
When I use MP_QST... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Count number of observations used to calculate the mean in SAS I want to generate a new column n which will answer the question: How many levels was the mean calculated from? 1 or 2 or 3?
Is there a way to calculate N without converting the data from long to wide format? N should tell us the number of observations t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: add full page scrolling ability to all pages I want to add the ability to vertically scroll through all my pages, so i tried implementing into one of my pages, called the details page, whenever I add a singlechildscroll view it gives me errors and i don't know how to fix it, I've tried changing expanded widgets to f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Configure VS Code to use specific JDK version for a single project I've got JDKs v19, v17, and now for a specific older project, I had to install JDK 1.7. VS Code keeps complaining that I can't use JDK 17 and Gradle 2.2 to import that project (which is understandable haha).
I've been looking around and I can't figur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: backgroundImage Not working in my file.js I'm trying to use element.backgroundImage on JS but never change the background.
I changed the file scss to test if it worked and it did but then it was fixed and seems like file js not working :(
Is not a problem with the link on the html or something like that 'cause every... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Where third party api access tokens should be stored? I am building asp.net core application, which uses some client-id and client-secret to get access token from another api (Twitch) for making calls (to IGDB). So the question is where should I store this access token after receiving?
What implementation is better?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: IBM Websphere slowness issue in after some load testing- Need resolution expectedly in Threads and Heap Whenever JVM restarts transactions, response is very fast within 500ms for single query and after some load testing for some complex accounts the same single query take 3-4 seconds to process.
Database has no issu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter using embedded href links in svg to redirect user I'm trying to enable the user to click on a label within my svg and used the href associated with that label to redirect the user. I haven't been able to find anything on this. My svg has the labels defined like this:
<g id="LABELS">
<a xlink:href="http://www... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ArgumentError: Job arguments to CarrierWave::Workers::ProcessAsset must be native JSON types I would like to become more closely aligned to the latest Sidekiq version but I'm not sure what I need to upgrade or update in my code/libraries. Any ideas?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75631781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to isolate the months in javascript daterangepicker? I'm implementing a daterangepicker into my application and am wondering how to confine each month to ONLY that month. For example:
I would like this (see the left hand calendar):
But the default is like this
I've reviewed the DateRangePicker Docu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can i get a random sample from dataframe but have it contain a distribution of a variable? PYTHON context:
i have a large dataframe that looks similar to this but has 200k rows
name
country
id
neymar
brazil
1234
ronaldo
portugal
5678
benzema
france
9012
t. silva
brazil
3456
i want to take a ran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How manage a AWS Private CA in AWS Certificate Manager I created a Root Private CA in my AWS account.
I want to manage it through AWS Certificate Manager, in order to have Lifecycle rules with notifications.
I can't find relevant explanation in the official documentation.
How can I do that?
A: You can use the AWS P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When I extend a class does it automatically create a object of its base class? I'm trying to learn the basic concepts of inheritance but I find this aspect of it slightly confusing, as although I haven't referred to the use of the super keyword to call the Super class' constructor, nor created an object of it in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Need to join on slight similarity between two long text strings using SQL I need to write a sql query that operates somewhat like a fuzzy lookup where it will complete a join if a sentence within a paragraph matches a sentence in another paragraph in a different table. I’m trying to identify similarities between two... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |