text
string
meta
dict
Q: How to sort an array that include symbolics? I have: x,y,c = smp.symbols('x y c', real=True) array= [3*y ,7*y, 3*y, 2*y, 7*y ,3*y] I want to sort it in a way that I have [2y,3y,3y,3y,7y,7y] How can I do that?
{ "language": "en", "url": "https://stackoverflow.com/questions/75576049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Save File Through Excel Is there any way that I can save image through excel? I want something like button or anything (in excel) that allow user to load a image and then save it into a specific file. I also need the image to be rename same as the reject id for each row. The image does not need to be shown on the ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why does docker build fail in a newly-initialized git repo? Why does docker build fail/warn when run in a newly-initialized git repo? $ mkdir dockergit $ cd dockergit $ git init Initialized empty Git repository in /home/user/projects/foo/dockergit/.git/ $ cat << EOF > ./Dockerfile > FROM alpine:3.7 as base > EOF $ d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: map over a nested list in mutate and extract specific list elements I have some data which looks like: price unleveragedData <dbl> <list> 1 450000 <list [5]> 2 400000 <list [5]> 3 400000 <list [5]> 4 397000 <list [5]> 5 750000 <list [5]> 6 550000 <list [5]> I am trying to put...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to view the underlying regex patterns used by ctags for a built-in supported language? How does one actually view the patterns used to define parsing and tag-generation for a built-in ctags-supported language? ctags --list-kinds-full=$LANG gives us kind definitions, but what about the pattern-matching itself?
{ "language": "en", "url": "https://stackoverflow.com/questions/75576059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Setting GIFs on UIImage with a delay I am currently using this extension to set GIFs onto UIImage, but every time it loads, it takes 3-4 seconds. For example, if I set a GIF as a background in one of my views, it'll take a few seconds before it loads after performing a segue and I really want to find a way around th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Item color change when scrolling UICollectionView it is a simple question but its so hard to find the answer I have tried too many things but nothing worked for me I'm building a chat app through firebase containing read & unread message functionality I have this bool value coming from the firstore read so whenever ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my tic tac toe minimax algorithm utilizing a 1d representation of a tic tac toe board and allowing for play of both sides not work? I wrote a python program utilizing the minimax algorithm to play tic tac toe. The board is represented by a 1d array. The player is able to play as either side. The program rec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cypress component testing- public and private TS keywords causing wdm build failure- unexpected token When running Cypress component tests- I get the error below. I'm running cypress in a docker container. Cypress config file is copied from cypress docs. I put the foo field property in there to check and see if erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with Go and Httprobe in Linux I have an issue with Httprobe as I can't install it. I've downloaded it via Github and when I try to issue go build main.go I get the following output. root@kali:~/httprobe# go build package github.com/tomnomnom/httprobe imports bufio imports bytes im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to debug ERR_CONTENT_LENGTH_MISMATCH errors I have a web application that serves images using a cherrypy/Apache back end that I tried moving to a new server. On the old machine, all is fine. On the new one I am sometimes seeing a few ERR_CONTENT_LENGTH_MISMATCH errors in the browser (Chrome) in response to a bun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Solr how to change the configSetBaseDir parameter in the Solr.xml using the curl command or solrj java library I want to update the configSetBaseDir parameter in the Solr.xml file because in my solr database the configsets are present in this folder /opt/solr-9.1.1/server/solr instead of this folder /var/solr/data b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The way to convert single maven project to multi module gradle project? I have som single maven projects that are relevant each other. I want to convert them to a multi module gradle project. Is there effective way? (The maven projects are spring boot projects.)
{ "language": "en", "url": "https://stackoverflow.com/questions/75576068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Props data appears undefined when trying to render screen for testing I'm doing jest testing for my react-native app and I want to test that my Game Screen renders correctly. I wrote the following test below to pass the required params to the Game Screen. it("renders correctly", () => { const mockedParams = { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Altering Size of buttons with MainApp KivyMD I am trying to create and app that will move the buttons according to a user input. I want to move the center x and y of the buttons based on the input the user provides, but it is not allowing me to do this. I was wondering how to fix this or if anyone else has had this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to test Laravel Scout adds data to indexes and search results match properly? I'm trying to test my Laravel Scout (Mellisearch) with PestPHP. Testing the model data gets sent to the search index and the search is correct. For the search, if I were to search user $user = User::search('wanna_coder101')->get();, th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any ways to fix "ifconfig command not found" error in centos7? when i try yum install net-tools , it gives the same error , is there any solutions for this i tried "yum install net-tools" " yum update" nothing is working
{ "language": "en", "url": "https://stackoverflow.com/questions/75576081", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AffineTransform translation is not keeping image centered when zooming The code opens a pdf and renders a page as a bufferedImage. The paintComponent() of my JPanel is overriden to use an AffineTransform to scale the bufferedImage and drawRenderedImage(). @Override protected void paintComponent(Graphics g) { sup...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Migrate from Entity Framework 6 to Entity Framework Core (ASP.NET MVC5 project to Blazor WebAssembly(.NET Core Hosted)) Good day everyone Here's my scenario, I was given a task to maintain and update a project that was developed by a previously resigned developer, which I was hired to be his replace, unfortunately, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making a child class Singleton whose parent extends Thread So, i have a class like below public class ClassA extends Thread { protected final InnerClassA innerA; public ClassA(InnerClassA innerclassA){ super(innerclassA.id); innerA = innerclassA; } //override methods like run, i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getopt_long setting optstring[0] to '+' According to the man page for getopt and getopt_long, the GNU version reorders argv so that anything resembling a flag will be first, then it will return -1 when it reaches the first string that is not a flag. It also says that when optstring[0] is set to '+', it will not reo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to label each equation in Sphinx I'd like to align equations and label each equation in Sphinx. Rather than manually label equations with \tag{} I'd like to use :label: role attached to .. math:: with :numbered: under .. toctree:: in index.rst for left aligned equation numbers and reference. I can align equation...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to trim the last 2 words of a string in swift I want the result of this string Feb 26 2023, 17:36:57 PM EST to Feb 26 2023, 17:36:57. The trimming should work if the time is AM as well (For example: Feb 26 2023, 17:36:57 AM EST) How to trim the last 2 words of a string in swift
{ "language": "en", "url": "https://stackoverflow.com/questions/75576097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Results of adonis2 vary depending on the order of my variables. How should I interpret these results? I want to run adonis2() to look for differences in my distance matrix. My samples are grouped based on their type (category of 4), which is baseline non response, post non response, baseline response and post respon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I'm getting "The specified path does not exist" when trying to execute a shortcut from external apps of cmd and file explorer - C++ / Windows I'm not a master of opretive systems and kind of not understanding this. I saved web shortcut to YouTube from Chrome, and I have installed RocketDock, so I tried to add it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Website search form action - what endpoint is being called How can I figure out what endpoint is being called when submitting the search form? I did try to figure it out looking at network/XHR but that did not make me wiser :) This example is from Redfin. I am trying to create a simple search from my own site where ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does parallel source function watermark forward works with rebalance I have following flink code to exercise the watermark behavior with parallel source function. I defined a parallel source function but ony the first partition will have data. Because the watermark is using the minimum value of watermarks of ups...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Select what's cheaper and a condition SQL ORACLE I'm working with Oracle on Live SQL. The task is: Create a query to select what's cheaper: PC or laptop. If the maker doesn't manufacture PCs then laptop should be shown as cheapest and vice versa. As input you have speed, ram, and hd. As output you should show at le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Java Array Marathon progam Write a method that takes as input an array of integers and returns an integer. Pass the array of times to this method. The returned value should be the index corresponding to the person with the lowest time. You can then use the returned integer in main to index into the two arrays to gra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Currency conversion in javascript and float precision As JavaScript has its quirks with floats (e.g. 0.1+0.2 is > 0.3 and similarly in divisions), how to deal with currency conversion? Usually currency conversion rates are in float going from 6 and more decimal points. Converting them from one currency to another an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to create user in Firebase Function Within a Firebase onCreate trigger, I'm creating a user with roughly this code: import { getAuth } from 'firebase-admin/auth' const auth = getAuth() await auth.createUser({ email: 'test@test.com' }) In my index.ts file, I'm initializing like this: import { initializeApp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Are atomic operations alone enough to ensure synchronization across threads? using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApp1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to invert this numpy einsum operation? Is it possible to invert this einsum operation so I get back the input psi4d from it's output psi1 and psi2? psi1 = np.einsum('jqik->ij', psi4d) psi2= np.einsum('kiqj->ij', psi4d) I've tried all permutations (24x24) to reconstruct psi4d being s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to polish return and save to individual JSON/csv file? Below code is from Using word2vec to classify words in categories and I need some help on input and return saveing. Any help would be greatly appreciated. # Category -> words data = { 'Names': ['john','jay','dan','nathan','bob'], 'Colors': ['yellow', 're...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to chane the src of an image with delays in javascript using an array? I have had two problems so far, setting delays for each of the images and the adresses of the images can sometimes be a different adress than what i wanted. I am making this on a django template, so I have this as my array: var data = ["{% s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity X Code Undefined symbols for architecture arm64: "_CGSizeFromGADAdSize", referenced from: Undefined symbols for architecture arm64: "_CGSizeFromGADAdSize", referenced from: +[GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a(GADUPluginUtil.o) "_GADAdSizeEqualToSize", referenced from: +[GADUPluginU...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: GAN, how to run only generator for some epochs I have this code for my gan and I want to do pertaining, so train the generator to generate random images without the discriminator component fo only some epochs. But I am not sure in which steps of the code I should do that: def train(): epochs = 1000 batch_size = 16 l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I print input piped in from a file, but not reprint input entered on the command line, in a simple shell program in C? I have a simple shell program in C that needs to be able to run as a command line and take in input from the user and also take in input from a file piped in as < commands.txt. for the purpo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to connect buttons in QT designer to python so I have a line of code that I would like to connect to a button. I have it setup in QT designer and I have looked and tried everything but I cant get the file to import easily or get the button to run the code when pressed. what I specificly want the button to do is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does Laravel tend to be much more slower than Node JS? Does Laravel tend to be much more slower than Node JS? Or is it just me that doesn't know that Laravel have certain limiter or anything when runs in local machine (even though using production environment on the .env) Let see this basic landing page of laravel s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Audio not playing while taking the picture in safari (Blazor project, Used Javascript) I'm creating a project in Blazor. I've used Javascript to take a picture on button click along with that I need to play a shutter sound. Code I've used is given below private async Task CapturePhotoAsync() { if (cameraModuleRe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use casts with zmod in Lean I'm new to Lean and I'm having trouble obtaining a simple result. I want to use zmod.order_of_dvd_card_sub_one, which requires a proof of (a : zmod q) ≠ 0. While it was easy for me to prove ¬ a ≡ 0 [MOD q] (Snippet 1 below), I'm having trouble turning this into a proof of (a : zmod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is my program not printing the values that I want it to print? I'm just playing around with a linked list trying to see how it all works. Why is my program printing 5 for both the head and the tail instead of 4 and 5 respectively? struct Node { int n; Node *next; }; class LinkedList { public: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-9" }
Q: How to save an excel file from xlsx to xlsb to make file smaller using vba and ms-access? I currently am ingesting excel files through a button on ms-access. The issue I am facing is that the excel files are rather large (~20MB). I noticed that if I change the file format to xlsb the files are significantly smaller ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Standard input in visual studio code So I made a usaco program in c++, and I was trying to debug it. however, I was trying to put in standard input (I commented out the freopen), but I can't figure out where to type it. I got frustrated and now Im confused. Any help would be great, thank you! I was trying to find a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: " ModuleNotFoundError: No module named 'tensorflow' " while calling .py file https://github.com/fwillett/handwritingBCI Recently I'm following the above GitHub BCI project. And I got a strange problem with the TensorFlow package compatibility while running a file named "step4_rnnTraining.ipynb". First of all, I hav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Application of MediaCAS using Android Media Extractor and MediaCode MediaCAS application is being tested using Android Media Extractor, MediaCodec. According to the MediaExtractor and MediaCAS documents and comments, the MediaExtractor When calling MPEG2TS content with CA using setDatasource(), use the mimeType of v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vertical cropping of screenshot after applying changes during onclone (html2canvas) html2canvas works great for taking screenshot but currently doesn't capture longer text in textAreas or more than one variable in a multiple-select. See https://github.com/niklasvh/html2canvas/issues/2008 for discussion. @chawes13 pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to create a new list everytime the first element of a list is repeated? How to create a new list everytime the first element of a list is repeated? For example: list1 = [2, 3, 4, 5, 2, 1, 9, 4, 7, 8, 1] newlist1 = [2, 3, 4, 5, 2] newlist2 = [1, 9, 4, 7, 8, 1] A: A simple way to do this is with a generator. C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Progress bar with html I am making a progress bar, I have a problem wanting to show the gray background. I can't show it. Could you please help me, I would also like not to use the current stylesheet and have my own that I can control. <html> <title></title> <meta name="viewport" content="width=device-width, initi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Change Main page grid's background color from settings page instantly .NET MAUI new to MAUI, i have a MainPage and i have a Settings page, lets say i want to change the background color of a grid inside MainPage. xaml from Settings page and have its affect applied instantly. how can i do it? i already know how to ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: selenium - python - NameError: name 'url_search' is not defined I am trying to reproduce the work of @lukebarousse with his Job_Analysis repo on GitHub: https://github.com/lukebarousse/Job_Analysis Code from the LinkedIn.ipynb jupyter notebook: Cell_1: import time import datetime from selenium import webdriver from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when trying to run .exe made with cmake All goes well the the compiling cmake .. -G "MinGW Makefiles" and the "making" mingw32-make.exe. The problem arises when I try to run the exe - windows gives me this error message: The procedure entry point _ZNKSt10filesystem7_cxx1118directory_iteratordeEv could not be l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: "-L -lmylib" is not working as expected in g++ Here is the file tree: ├── lib │   ├── mylib.cpp │   ├── mylib.h │   └── mylib.o ├── libmylib.a ├── main.cpp ├── main.o ├── Makefile ├── mylib ├── mylib.a └── myprogram This cmd not work g++ -L/home/xxx/make_test -lmylib main.o -o myprogram2 /usr/local/bin/ld: main.o:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: powershell script to execute another script I am trying to write small powerscript to execute an existing .ps1 file as a different user account than the one that is logged in. I need to run the existing .ps1 file on a regular basis. I need a powershell script that can be double clicked to run and it executes the exi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with yahoo_fin , not able to use it anymore I have been using the library yahoo_fin to retreive stock data, but lately there has been some problems using it and I get this error : *C:\Users\Yassine\anaconda3\lib\site-packages\pandas_testing.py:24: FutureWarning: In the future np.bool will be defined as the cor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Visual Studio 2022 can't find Qt6.4 I have installed VS2017+Qt5.9.2, and they works pretty well. Recently I want to try QHttpServer which has been added since Qt6.4. I installed Qt with qt-unified-windows-x64-4.5.1-online.exe. To go with the latest Qt, I installed the latest VS which is 2022. I installed the Qt Addi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: convert list of multiple json files into a dataframe pandas This how I parsed multiple json files in a single list base_dir = 'jsons_final_folder/' data_list = [] for file in os.listdir(base_dir): if 'json' in file: json_path = os.path.join(base_dir, file) json_data = pd.read_json(json_path, lin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run matplotlib FuncAnimation using multiprocessing? It takes a long time (20 secs) to render 500 frames of this matplotlib animation using the code below. Is it possible to produce the same animation anim but make use of more CPU cores, such as with the use of multiprocessing to create more processes that run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change size of QGroupBox I like to change QGroupBox size. Two QGroupBox (horizontalGroupBox, gridGroupBox) are in GUI. I like to have horizontalGroupBox size is according to the widget inside and the rest is taken by gridGroupBox. Now is taking the space half by half. How to set horizontalGroupBox size to be fittin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Vite with React Dynamic Require I am getting this error: My package.json file: { "name": "00-setup-guide", "private": true, "version": "0.0.0", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview" }, "dependencies": { "@emotion/react": "^11.10.6", "@emotion/st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Remove all rows containing certain strings in R I want to remove all rows from a data frame that contain certain strings. The strings - call them "abc1", "abc2", "abc3" and so forth - appear under different columns at different rows in the dataset. For example, "abc1" may appear in the first column at row 15, and th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is there a way to run multiple database tests simultaneously when they are mapped to the same generic ResultList function? I have a weird situation where two tests fetching data from different tables in the same database always have the first test passing and the second test failing. If I change the order of the tes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getApplicationInfo(String,int) deprecated, What is the alternative? I have upgraded targetSdkVersion and compileSdkVersion to 33. Now getting warning getApplicationInfo(String,int) is deprecated. It is suggested to use use getApplicationInfo(java.lang.String, android.content.pm.PackageManager.ApplicationInfoFlags) i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add the input for aws_event.RuleTargetInput.from_object function I have event from event bus rule. Below is an example without adding input transformer. { "input":{ 'version': '0', 'id': '12345', 'detail-type': 'abcd', 'source': 'aws', 'region': 'us-east-1', ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access calendar events of shared calendars via o365 and Microsoft Graph API? I have successfully been able to access my own calendar events by registering an app in Azure and calling the Microsoft Graph API via o365. Here is the code I've been using, thanks to an article I found online: from O365 import Accou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to make name search feature in flutter I'm having a problem doing a name search, where when I type the name of a user, it doesn't appear the way I want and doesn't filter according to the name I'm looking for. List<Data> data = []; List<Data> allData = []; List<Data> _foundData = []; @override initState() { _fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Failing SSL verification for some clients, tracing the missing cert(s) We have a few SSL webservers that work perfectly fine for the vast majority of clients, however a small minority fail to validate the SSL certificate chain. In at least some of the failing cases a proxy server is involved, but we at least do not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't connect to VMs via ssh from Windows 11 PC after it's hard stop I've had an issue with my laptop network adapter (suddenly lost all connection to WIFI and Bluetooth and under the Device Manager, the Intel(R) Wi-Fi 6 AX201 160MHz there was and exclamation mark and device couldn't be started properly). I've done ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access parameters of a function inside a callback Function i am practicing callback functions and i want to know how do i access the result of a function, indide of a callback function without using promises... const mdn = (name) => { if(typeof name === 'string') { resolve() } else { reject() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retrieving value from useState hook I have a problem regarding my current function checkResultOfCards. This function is unable to retrieve a updated value (currentAnswer) from a useState-Hook which I update through a TextInput. My codesample may be long but consider that half of it are useEffect-hooks which render o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is my puppet agent failing to get a certificate from the puppet server? When I run the following command from the puppet agent: puppetssl bootstrap I get the following output: Info: csr_attributes file loading from /home/mkhan244/.puppetlabs/etc/puppet/csr_attributes.yaml Info: Creating a new SSL certificate req...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: exe file puts error: "ps.1 not digitally signed" I keep failing installing Teradici via installer exe file, and the error says: PCoIP Graphics Agent requires port 60443, but it is being used by process ". : File C:\Users\user\OneDrive\문서\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 cannot be loaded. The file C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How does my code work when num_voltages is out of domain in the if statements? I am calculating the largest value in the second column of all my files and then finding their proportional effect. My code works properly and gives me the correct values. However, num_voltages is not defined in the domain and so I'm conf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python DataFrame.fillna() is treating 0 as NA and replacing it I have a DataFrame with a column that contains distances ranging from 0-100. There are missing values that can be filled by calculating based on another column. I only want to replace the NAs not the 0s. Those should stay as 0. When I use data['Column1']...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can you make an array using req.body.password enter image description here Hello everyone, may i ask if how can i make the req.body.password an array in which I can have multiple passwords? I am using ajax as well I already tried putting [] on req.body.password but it didnt worked and also the same as req.body.p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I change the CMake install path inside Dockerfile for the C++ connector for MariaDB? I am trying to integrate the C++ connector for MariaDB into a Dockerfile. My Dockerfile looks like this: # syntax=docker/dockerfile:1 FROM alpine:3.16 AS base RUN apk update && apk add \ libstdc++ \ mariadb-connect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in Bean trying to adapt WebSecurityConfigurerAdapter i am trying to implement a login system on my small website made with SpringBoot 3, I was watching some AmigosCode videos and following a tutorial from you. When you create the WebSecurityConfig class, it extends the WebSecurityConfigureradapter class which ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is it possible to use my .svg icons in vue3 and vuetify? I have several images or icons (.svg) and I would like to know what is the best way to use my svg as vuetify icons. A: there are several ways to manage and show SVG icons into Vue projects * *if you have many SVG files , you can use icomoon and import all ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: enum property setter is not assigning the argument value using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Text.Json; namespace Week05 { enum GenreEnum { Unrated = 0, Action = 1, C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-8" }
Q: Python question Write a program that gets a list of integers from input, and outputs negative integers in descending order (highest to lowest) How do I write a program that gets a list of integers from input, and outputs negative integers in descending order (highest to lowest). For example, if the input is: "10 -7 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How do you get a .Net Maui Map Center Location? If a user scrolls the map I'd like to get the location under the center of the map. I know there's the Map.Frame.Center, but that's the center of the map control rendering, not the map location. If that property is not available is there any information available as to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a varying sized image object in moviepy I am looking to create a visual effect in python which will relate the output of an audio file (WAV) to the size of an object, similar to how many chat platforms will show a ring around a profile pic of the person you are chatting with which will fluctuate when they t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No Matching Signature Error Google BigQuery I have a table in BigQuery with the following set up: Column_A Column_B project783/north {"baseball": 0.34243,"hockey":0.09348, "basketball":0.0294,"golf":0.45657} project783/south {"golf": 0.0615,"basketball":0.5165, "baseball":0.15684,"hockey":0.2156} I am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why are the top: and left: properties inconsistent in my HTML In my HTML page I have a bunch of pictureframe images I'm trying to line up on a shelf image, I'm trying to complete this by generating top: and left: in px the position of each image with javascript. Each img element is identical with the exception of it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python - Django - How do insert record into 2 tables from 1 screen with adding primary record to one table and secondary record with reference key I am working on a screen which inserts record in to two screen one in to master table and one in to its reference table. It creates a record in to a master table and get ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can i show a SVG with a Barcode from a UPC number in ReactNative? i have the UPC ( BarcodeNumber ) but i cant show this in an SVG im try with react-native-barcode-svg but not work
{ "language": "en", "url": "https://stackoverflow.com/questions/75576223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can `if barstate.isconfirmed` section be run twice per bar? Why does if barstate.isconfirmed section run twice per bar in this script: (please see the prints on realtime (only realtime!) bars https://www.tradingview.com/x/JKuAfJKg/) The manual reads: "Returns true if the script is calculating the last (closing)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Emit event dont work and active icon on current button vue3 I try to achieve a theme changer with vue3 and tailwind. The problem I face is with the emit event and I don't know how to show the selected current button. First the emit event problem is I setup "correctly" way, I think, see on code above. The second is I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Injected services in Custom Constraint Validators I found that this problem has plagued many people and lasted for many years. I just want to provide a way to help people in need. You can solve the problem by configuration. @Bean public HibernatePropertiesCustomizer hibernatePropertiesCustomizer(ValidatorFac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a Sentry object and pass it to another folder? Because the project structure looks like this: -- folder 1 with node modules that has Sentry angular -- folder 2 (a servicelib) with node modules that doesn't have Sentry (I need to use Sentry here) I was told to create a Sentry object in folder 1 and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Code-server:Failed to save "filenew.cpp": Unable to write file (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/home/.....') I use docker ubuntu with code-server installed and in it I have mounted with webdav a Nextcloud directory. When I access docker the username (which has davfs2 permiss...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not resolve dependencies in react project I was trying to deploy a git repository with Netlify and i had this error npm WARN Could not resolve dependency: npm WARN peer react@"^18.2.0" from react-dom@18.2.0 npm WARN node_modules/react-dom npm WARN react-dom@"^18.2.0" from the root project npm WARN 6 more (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I set custom boot_volume_size_in_gbs value in my Python Script while using the Oracle Cloud Core Services API I decided to create a Python script for automating the creation process. The script basically tries to create an instance every minute. Everything is working fine except I cant find a way assign custo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to filter join query with Flask and SQLAlchemy Hello I'm trying to query something like this in SQLAlcehmy, Flask and Graphene select d."name", e."name" from departments d join employees e on e.department_id = d.id where e."name" like '%M%' and d."name" = 'IT' so, it would return all employee with name conta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Build Sphinx with Type Stubs Dependency I'm trying to build sphinx docs for a package via sphinx-build in a poetry project that uses pandas. Pandas itself isn't typed but its type stubs are in a different package, pandas-stubs. While the code compiles outside of sphinx, this fails to build docs because it doesn't re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: add values from one column if criteria met in another column R So i've created a summarised data frame from a larger df which i want to use to calculate percentages. tibble::tribble( ~Year, ~Rider_Class, ~yearly_transactions, 2021, "casual", 2528702L, 2021, "member", 3065797L,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What trait isn't implemented? Novice Rustacean here ... coded up an example and found it required version 1.0.8 of actix. That worked fine. Then decided to upgrade it to the latest 4.3.0 and kablooey! I've been staring at it for over an hour. Here's the code and error message. Any hints? fn main() { let s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Syntax Coloring for Studio Code Server YAML file type in Home Assistant Add-on not working? My understanding is the editor add-on should be configured by default for YAML syntax, but mine shows no coloring. How do I enable colored syntax? I tried other plugins such as Prettier but no effect. I've Googled as well bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Race condition from long running task firing update events GOAL: I am trying to implement a concurrent method using event based asynchronous programming (EBAP) model to handle status changes on a viewmodel. I have a long running task that is queued from the UI thread, using a "RunNextItem" method on a viewmodel clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75576242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }