text
string
meta
dict
Q: Why won't Docker Desktop start after reboot So I spent hours the other day getting Docker Desktop to finally install properly on my Windows 10 computer. I wanted so I could run a program called Audiobookshelf. It was a massive headache to get Docker installed with lots of just plain freezing and nothing happening, n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check type equality between non-template class and template class? Suppose I have class A {}; template<typename T, typename U> class Wrapper {}; I'm trying to check if the wrapper's first inner type is A. typeCheck(new A(), new Wrapper<A,B>); // expect true typeCheck(new A(), new Wrapper<C,B>); // expect ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Institute proper encoding in messages for special characters I have a react app which gets some information from JSON API and display it on web page. But information may contain HTML CODES like &nbsp;. Browser is failing to convert it and display it in proper way. How can i handle this ? EX: Chain &nbsp;(final drive...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I make the first child div sticky while I scroll the second child div? My HTML: <div id="preview" style="overflow:auto;"> <div style="position: sticky;"> <i class="far fa-frown"></i> <span id="message">This should be sticky</span> </div> <table style="overflow:auto;"> <tr s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get all the emails associated with linkedin via B2C login I am using Azure B2C to get the claims from Linkedin login. When i looked at claims, it only sending primary email associated with the account. How to get the all the emails associated with the profile? Which flag should i set to get that.
{ "language": "en", "url": "https://stackoverflow.com/questions/75623768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to receive the file in node js using express when the file is sent from postman as binary and content-type as text/csv I'm trying to receive a file to my node js app, From postman I'm sending the file as binary and content-type as text/csv. used traditional multer, but couldn't able to get the file Note: I need ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I send push notification if there is an item in a firebase collection automatically using cloud function in flutter? I need to send a push notification automatically using cloud function in flutter, consider an example: There is a user he got an order from customer and he didn't accept it, that order is in o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update an image on a tkinter button after edditing it with PILLOW I am trying to work on a tkinter application that takes uploaded images and add a watermark to them and I am facing challenge rendering the newly watermarked image. Here is my code, I am trying to get the 'add_watermark()' function to update th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular - multiple http requests elegant solution I am quite new to Angular. In my project, I load different local .json files using http-requests. It works but I am asking myself, if there is a more elegant solution. I load the local files like this: // load data from file1 this.http.get("./assets/file1.json").subs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Strato - put mail in sent folder via phpmailer I found this question, which is similar to mine: Sent mails with phpmailer don't go to "Sent" IMAP folder I would like to see my mails in the sent folder, which was sent by phpmailer. Provider Strato My code: [some mail config code befor ...] $mail->setFrom('mail@myDoma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deleting an object bound to a TextField that's being edited causes SwiftUI to crash with Fatal error Index out of range I've got an example SwiftUI project as follows below. If you run the code in the iOS simulator, make some changes to the text in one of the TextFields, and click the Button to "deleteAll", you get ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to call a function in a Struct from a Class in SwiftUI I've implemented CallKit in my SwiftUI 5 app. The app is a video conferencing app using WebRTC. When I am already in a call and a second call comes in, if I press the End & Accept button, CXEndCallAction fires and from there I want to call a function on my V...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete space between two strings in text? I have a code for example Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab sequi suscipit quibusdam ratione iusto. Qui, vero mollitia! Harum, eos, iste sint reiciendis repudiandae dolorem. I want to add to this code just 3 three points '...' if I will add i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular Call retries were exceeded exception while ng build My Angular 10 project is getting bigger, and at some point I've started to get an error while trying to build with ng build --prod. When I try to build, I am getting an error at the point of Generating ES5 bundles for differential loading... and it says: An...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I disable `AM_SANITY_CHECK ` macros for autoconf when running the configure script? I'm using https://github.com/bazelbuild/rules_foreign_cc/blob/main/foreign_cc/built_tools/make_build.bzl#L87-L91 foreign rules cc for my bazel build in remote execution remote execution is buildbarn (FUSE worker) so I'd like t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add page number to footer in blade in laravel to print? Using JavaScript i am taking printout in Laravel <script type="text/javascript"> $(document).ready(function(){ window.print(); }); </script> How can add page number in footer of the page? TIA
{ "language": "en", "url": "https://stackoverflow.com/questions/75623788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Enabled address sanitizer causes problems with Runtime.InteropServices In my project I have a .net 6.0 C# wpf app and an unmanaged C++ dll. To detect memory errors, I enabled the 'address sanitizer' option (EnableASAN) in the C++ dll project. This now causes exceptions in Runtime.InteropServices in the C++ and C# in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: zmq: subcriber how to get all the message from publisher while the publisher close after sending all message while the publisher close after sending all message, subcriber how to get all the message from publisher. For example,if I publish 1000 data, the subcriber get 500 data. when the publisher finish 1000 data se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shopify Get Product by ID Get the product by ID shopify. This one is giving first items(Like upto 300), but when I try to get last ones(Like 400+) it will not return it. Anyway to overcome this? {% paginate collections.all.products by 1000 %} {% for product in collections.all.products %} {% if product.id == pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS Code Jupyter Note code cells are raised and line numbers grayed out I use Jupyter Notebook in VS Code. Few days back, the Notebook I was working on crashed, and thereafter, the notebook appearance has changed. Now the code and markdown cells appear raised and the line numbers and output areas are grayed out, as s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to make redis store xpath like key/value I need to understand how to store the xpaths in redis key/value storage. since i am new to this xpath and redis, what are the advantages and disadvantages ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75623800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ Windows Title image I am trying to make a text based game with visual studio and c++. For design purposes I used SetConsoleTitle to change the title, but I was wondering if it is possible to also change the picture/image at the top left of the window title bar. Can someone help me out? I looked on the internet b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to know the moment, when an rxjs Observable gets unsubscribed (cancelled)? Imagine a situation: you have a flag, that points that the request is currently processing (busy). If it is - then return null, else - return results from SomeService. When the results from the API are returend, or an error occured, the b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Expo iOS build failed During React Native application iOs build I'm getting an error ❌ Metro encountered an error: Unable to resolve module ./firebase from /Users/expo/workingdir/build/App.js: None of these files exist: * * firebase(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adaptive card with accordion (Expand/Collapse) not working on Teams Accordion Expand/collapse not working on Teams, same used to work before and now it stopped. I have tried with adaptive card versions 1.0,1.2,1.3,1.5, none of them works. JSON used { "type": "AdaptiveCard", "body": [ { "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a pivot table with multiple columns I'm trying to create a pivot table with multiple columns; I'm unsure how to explain this better. But the following is the desired output, dataframe setup, and code I have tried so far. Desired Output: Dataframe Setup: data = { 'WholesalerID': {0: 121, 1: 121, 2: 42, 3: 4...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to solve this error WhiteLabel error spring boot controller application.. error 404 REST api I am creating basic rest application and trying to use getmapping to display hello world i am stuck with this error since 2 days. Here are the images kindly help please i dont know what to do i have followed every tips l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas Dataframe to nested json with key as value of the column My goal is to convert this CSV dataset to nested json in python, grouped by longitude, latitude and time but also have key of number have the nested json with key as each of the numbers longitude,latitude,number,time,u10 12.1700000763,-70.2799987793,0,2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recursive inheritance through variadic template and use of keyword using I am studying the visitor pattern from the book C++ Design Pattern by Fedor Pikus. I understand recursive inheritance somewhat and the use of keyword using. But i am confused regarding the behavior of below code. In the code below, i have an ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use API Gateway with multiple authorizers i build an API in API Gateway using Serverless Framework where behind the resources lambda gets triggered. The API is exposed through a custom domain and widely used from external systems. My wish is, that internal calls (e.g. one lambda calls another API endpoint) ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: doubly linked list test error message: free(): double free detected in tcache 2 I am a beginner in c and I tried to implment doubly linked list including pop, insert, remove funtions. I got the test error messages and it said "Approaching: Testing popping elements from the list, both ends Test Failed: free(): double...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: gitlab pipeline webhook events are not emitted with all status I added a webhook for pipeline and job event types. Currently pipeline has only one job to echo hello and is using shared runner. The receiver for hook is simple webserver. According to list-pipelines, possible status for pipeline are created, waiting_fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ad Block Detector for React Js I've checked all the previous answers for this question and it seems they don't work anymore. I have also tried all the npm packages but none of them work. Does anyone have a solution for this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75623823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: output of resolvectl query swaps Why does the order of entries randomly swap when running resolvectl query? resolvectl query fedoraproject.org fedoraproject.org: 2a05:d01c:c6a:cc01:269:da52:9ae1:43e6 -- link: enp6s0 2605:bc80:3010:600:dead:beef:cafe:fed9 -- link: enp6s0 2604:15...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: gdb disassemble: No frame selected and GDB info registers: the program has no registers now GDB The code i dont know, where is the problem. i checked the code and it was successfully converted executable.
{ "language": "en", "url": "https://stackoverflow.com/questions/75623825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In automation test the iOS component is rendered as a single component I'm using Katalon Studio to find the `testID which I'll be using for the automation of the testing of some scenarios. I have a component that is developed like this: <TouchableOpacity onPress={onPress} testID={'A'}> <ImageBack...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to connect my two break and check screens through login button using if else statement in flutter This is my Navigate screen. This is my Navigate Screen. In which there are two buttons of Break & check After this screen goes to login screen on which I have to make Condition that if I click on Break then after lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker.DotNet get ContainerState to access StartedAt property I am trying to access "StartedAt" for a Container using Docker DotNet. In my code I can get the Uptime, by accessing the Status property on a container. However, I found the Docker.DotNet.Models.ContainerState Class in the Docker Dotnet code base. Ideally...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I used Python to extract text from a PDF, all good. I tried using a batch file to copy that text to a txt file, multiple times, but I couldn't I'm stupid, simple as that, I searched many ways to get the txt file directly from python but couldn't understand. Also, batch files didn't make it easier :( I'm grateful wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Embedded video youtube ratio I want to ask somthing related to my embedded video from youtube. I'm using Blocksy theme free version. When I access my older posts, all of the video embedded ratio is so weird and not responsive. The problem doesn't occur on my new posts. The ratio actually became normal when I edit th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error creating bean with name with Spring 5.2.20RELEASE Hie Guys , earlier we have used spring 3.x but when we upgraded to spring 5.2.20RELEASE getting below kind of response SEVERE: Servlet.init() for servlet [appServlet] threw exception org.springframework.beans.factory.BeanCreationException: Error creatin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I differentiate whether an error was thrown at git submodule or its parent module? I have a common function to handle errors and create logs in Elastic, now I want some way to be able to differentiate whether the error occurred in the git module or sub module. I thought of the solution of using regex as the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to retrieve Product information I want to retrieve All Add_product data using current user uid How is it possible. My code return only loading widget because my query is incorrect. How can I write my query in a correct way? My database: My code StreamBuilder( stream: FirebaseFirestore.instanc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Getting a curl (3) error while deploying a vm I am getting an error while trying to run deploy_ovf.py The error goes curl: (3) bad range specification in url position 2: ['__add __', How to solve this error or is there any other way to deploy a vm to esxi host from ovf, vmdk files using python?
{ "language": "en", "url": "https://stackoverflow.com/questions/75623851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I pass CloudKit data from one swiftui view to another? In my app, from the main view a user can download a set of Map Annotations that get displayed as buttons on the map. When one is clicked it opens a new view. I am running into trouble passing the unique recordID to each view. I need it so that the view c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Batch file to loop open URLs, check folder for PDF download from URL, if exists move and rename files one at a time I need to download PDF's fron a list of URL's in Excel and rename each with relevant information (Invoice #, Supplier Name etc). When the invoices download, their filenames are randomgibberish.pdf and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement a minium average return in the Python scipy.optimize.minimize function for portfolio allocation I try to optimize a portfolio weight of 4 assets with given Covariance Matrix, expected return and weight array. I want to find the optimal allocation (reduce variance) given three constrains: * *Sum of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: azure aks cluster does not offer id in uuid format I am using terraform to create a role assignment to an aks cluster. However the id of the aks cluster is not in the format of an UUID, it has some other format. Terraform is complaining that it needs an UUID format. I am using terraform data to get an aks cluster: d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't understand how those functions link together I was going through an algorithm course and it demonstrates a basic linear search algorithm and it uses a verify function to verify if the index is right or wrong but I don't understand how the verify function connects with the linear_search function. Take a look ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does anyone know how to "group" turtle objects together so that they can be operated as one single item? I want to understand if we can group two or more turtle objects together so that they can behave as one single unit/item. I tried this code: But I have no idea how to write the create_group() function def snake_b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I control an LED using STM32 and Qt Designer? I am trying to control an LED using an STM32 microcontroller and Qt Designer. Specifically, I want to be able to turn the LED on and off using a button in Qt Designer. I am having trouble getting the two devices to communicate properly. When I click the button in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I didn't get any output (value) from the sqlAlchemy database I create website with flask, I use SQLAlchemy to store my data about the product. In database it show me the two products but when I access my Item in "/market" route and iterate through it. I got nothing. I try to loop through the all the item in Item da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to get if user is already registered in firebase authentication or not I am developing user registration using "FirebaseUI". I want to get if the user is already registered. I'm trying to get by "authResult.additionalUserInfo.isNewUser" as per the documentation. But I get the error "Property 'additionalUserInfo'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove/Uninstall Slather from mac I have tried to install slather for development work. but currently we are not using it. While installing pod for Xcode project I'm getting below warnings. so I wanted to remove slather completely. Error loading the plugin slather-2.7.2. LoadError - cannot load such file -...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: RPG program parm change impact analysis I have a situation where an RPG program used as an API needs to be modified. I am trying to do an impact analysis of this change to avoid any errors in dependant programs. So, the program has two parameters. Both these parms are data structures. The requirement is to add one n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Request to send or receive data was disallowed cause the socket is not connected I am trying to run python script on redpitaya 125/14 board connected via ethernet cable so i can control the led. I am not sure why i am getting this error. Here is the code and error is on the line 79 commented as Error Full error stat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I disable and enable a button I am working with employee attendance, whereas if an employee clicks the "time-in" button, the "time-out" button will be enabled, and vise versa. Thankyou here's my sample code Here's the sample code: span class="input-group-text" id="Employee_ID">Employee ID:</span> <input typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: Unable to format the response string to ordered list I have submitted like this But i am getting like this Although the response is same as request i am sending to save about us. But didn't know how to render on webpage correctly. { "fullName": "Chandan nick", "totalProducts": 4, "totalReviews": 0, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't link more than one word files to my pysimpleGUI program I'm building an Word template generator for work using excel data to create bulk documents. However I can at the moment choose only 1 template and I want to be able to use multiple ones. I can write an if statement to change my word_template_path but I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send Notification to multiple devices token Want to send Notification to multiple devices token which are stored in firebase realtime database Here is my realtime database structure I did a code FirebaseDatabase database = FirebaseDatabase.getInstance(); DatabaseReference tokensRef = database.getReference("users").c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Web based scanning SDK integration with angular Needed to implement a web based scanning feature(can scan files with flat bed scanner) that can integrate on angular .Know any free web based sdk's which can be used on here. The features should include scan files on users side without installing any windows applicatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: hive query case when status "case when , rand" this: drop table if exists temp_a; create table temp_a as select case when rand(123) < 0.4 then 1 when rand(123) >= 0.4 and rand(123) < 0.8 then 2 else 3 end as label from source_data ; select label, count(1) as count from temp_a group by label; but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retrieving reason for deletion in Amazon S3 There's S3 used in the project but presumably some files were deleted. When I query S3 I get the following response: 4b3bc846-a737-4aec-84bf-734f798bca39 The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: ) I tried ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: isEmpty in android kotlin does not check EditText My question is about Android/Kotlin. By clicking on button, there must be checking if the inputs of EditText are filled in. If not filled in, there should be a message in Toast about the error. Here is my code: button.setOnClickListener { try { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why am I getting negative IRR in this cashflow Why am I getting a negative IRR (-8.95%) with cash flow: -800000, -800000, -800000, 4300000, -1000000, -1000000 while I am getting a very positive one (4.68%) with a similar cash flow: -800000, -800000, -800000, -850000, 4600000, -1000000. Does this mean my company will...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to calculate nth business day of a month? How to calculate 3rd, 5th etc business day of a month excluding U.S holidays using python? import calendar import datetime now = datetime.datetime.now() cal = calendar.Calendar() working_days = len([x for x in cal.itermonthdays2(now.year, now.month) if x[0] !=0 and x[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Initial rendering of columns not proper in Ag-Grid-Angular I don't know why but in my project it first render returns 3 columns & later all other columns. But I want to know the reason behind why it not renders all columns together. Also when I call getAllDisplayedColumns() it returns all columns in my view as expec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Get a type as enum values of object and pass the readonly object as props - React Typescript I have the following data: const ActionData = [ { label: 'Edit', icon: 'pen', key: 'edit' }, { label: 'Skip', icon: 'forward', key: 'skip' }, { label: 'Stop', icon: 'stop-circle', key: 'stop' }, ]; which I use to disp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Import uncaught referenceError in JS I try to import the function from the App.js file to index.js file, but it appears that the import function is uncaught(I use type = "text/babel"). I did install webpack, but it still does not fix the issue. index.html <html> <head> <script crossorigin src="https://unpkg.co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Google account login problem in local host refine dev Log in option to continue Not showing any account Whenever I am trying to start my run dev command .. in local host it is asking for google account login, but when I choose to login .. the prompt does not show me any of my google account to continue with... I am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: POST method is not sported THIS IS CODE $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); $.ajax({ method: 'post', url: '{{url('/addtemplatedata')}}', dataType: 'json'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pandas start and duration to boolean time series I have a dataset containing event occurrences, with a start time and duration. I'm trying to get this into a boolean format (i.e. True value when the event was occurring and a False when it was not). Example dataframe: time event_id duration 2 1 3 3 2 15 7...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Save Locations & Photos in #dotnet 7 I have mobile project (Maui) and an API. I have to save many location points with photos throught this API (or other, will speak about). To begin, I'm made this, in the client side: var bigObjectCloned = BigObject.Clone(); bigObjectCloned.Points.Clear(); bigObjectClon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to send the yield value from Python but I cannot see in the dictonrary guests = {} def read_guestlist(file_name): text_file = open(file_name,'r') while True: line_data = text_file.readline().strip().split(",") yield line_data if len(line_data) < 2: # If no more lines, cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find multiple controls in a windows form application using Control.ControlCollection.Find when the name of the control is changing I am a beginner to c# and windows forms. I want to use Controls.ControlsCollection.Find to find multiple textboxes (present in groupboxes) in the form. (Please note that the groupboxes a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PySpark: Create a condition from a string I have to apply conditions to pyspark dataframes based on a distribution. My distribution looks like: mp = [413, 291, 205, 169, 135] And I am generating condition expression like this: when_decile = (F.when((F.col(colm) >= float(mp[0])), F.lit(1)) .when( (F.co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to suppress the prompts during data preparation during fine tuning process of open AI API models Am trying to automate Finetuning process from data preparation step to creating fine tuned model. But during data preparation, open AI API is expecting me to answer for its suggestions. How to make it automated. I tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why ImageView not showing the string image url using Glide library? I have a problem with Glide not showing image URL in ImageView. I suppose to get the image URL and fit it inside ImageView of a RecyclerView item, the it was working fine first, but after some changes it's not showing and i don't know where is the p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Zig `Segmentation fault at address` Trying to build a Huffman Code using zig but getting Segmentation fault at address 0x7ff700000002. I am printing two values: Expected: tree: huffman.Node{ .freq = 15, .value = null, .left = huffman.Node{ .freq = 9, .value = null, .left = huffman.Node{ .freq = 0, .value = 328965, ....
{ "language": "en", "url": "https://stackoverflow.com/questions/75623924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scipy Basinhopping goes further away from the minimum I need to minimize an objective function that has this form: where x_1, x_2, x_3, x_4 > 0 and x_3 \<x_4. I tried using Scipy's basinhopping def run_calibration(self, id, x0): data = self.get_data(id) lb = [0, 0, 0, 0, 0] ub = [np....
{ "language": "en", "url": "https://stackoverflow.com/questions/75623928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change tag value when it required or not I use a my-select.component in form component. <div *ngIf="items?.length"> <select [ngModel]="selectedItem" (ngModelChange)="valueChanged($event)"> <option *ngFor="let item of items" [value]="item.id"> {{ item.name }} </option> </select> </div> I need to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing role permissions on the request even though it is added I am testing sending activity feed notifications to users. I have configured my app in Azure AD app registrations to have delegated permission: TeamsActivity.Send I first obtain auth token by calling: POST https://login.microsoftonline.com/common/oauth2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not find a declaration file for module in Vue 3 working with Vue js 3 and Laravel 8 project. in the project installed via npm vue editor js package as following. https://github.com/ChangJoo-Park/vue-editor-js and I have following app.js file app.js require('./bootstrap'); import router from './router' import {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I cannot get webdriver to work on google colab !apt-get update !apt-get install chromium chromium-driver !pip3 install selenium from selenium import webdriver from selenium.webdriver.chrome.options import Options url = "http://example.com/" options = Options() options.add_argument("--headless") options.add_argumen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not created chromdriver session unknown error: DevToolsActivePort file doesn't exist Google Chrome v.110.0.5481.178 Selenide 6.12.0 webdrivermanager 5.3.2 Window 10 Java 19.2 When execute WebDriverManager.chromedriver().setup(); Selenide.open("https://www.google.com"); I see this Starting ChromeDriver 110.0.5481.77...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extract the co-ordinate and highlight the specific text in image in python image link I have the photo in which I wanted to get the co-ordinate and highlight the text text to highlight and get co-ordinate = 'was the age of wisdom' I search for different solution but didn't find it.
{ "language": "en", "url": "https://stackoverflow.com/questions/75623939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Gulp Font-awesome Icons How can I copy the font-awesome icons src folder to dest folder using Gulp. I have used font awesome free edition and 5.15.4 version I have tried with files exists method but its not working properly as expected.
{ "language": "en", "url": "https://stackoverflow.com/questions/75623945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to send bulk email to particular contact list_ids in SendGrid through Single Sends getting "Json could not be unmarshalled" error I am using SendGrid's new Marketing Campaigns API to send Single Sends (emails to particular contact list). When I try to create a Single Send with the "send_at: now" parameter, I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to improve the compilation speed of pybind11 In my team project, when an .cc file need export a large number functions and classes, compilation speed will become very slow, and it seems like if any include file change, the export file needs to be recompiled. Is there any way to speed up the compilation or solve ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: fetch api from expo react native gives Ty[eerror: network failed connection im tryinf to build a signup page with phone number with mongodb and the database is connected with nodejs successfully but when i try to submit data from the use it gaves the (Typeerror: network connection failed) Signup.js page this is the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Multiple Database with different entities in Room DB I am using ROOM db in my Android application. I am creating multiple DB in runtime,but i am facing difficulty maintaining different tables for these runtime databases. Is it possible to do this in ROOM db? abstract class AppDatabase : RoomDatabase() { compani...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Puppeteer not changing public ip on iproyal proxy servers on socks5 protocol I want to scrap this site http://cheapinsurancebyzip.info/medicare using puppeteer node js and proxy serevers from iproyal. When I scrap this using http or https protocol, its gives error. SO I have to use socks5 protocol for this, But its ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can someone please help me with the query From the below table, I need to fetch all the records that fall under the range. Datatypes are Date for StartDate and Enddate. For example 1: if the variable Start date is 2021-12-30 and variable end date is 2022-09-25 then I need below two records since 2021-12-30. Table: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: I am getting an exception in the browser when I try to hit the login URL of my application I am getting this error in the browser when I hit the login url of my application Error 500: javax.servlet.ServletException: Filter [ContentType]: com.phs.web.filter.ContentTypeFilter was found, but is missing another required...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623958", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter custom Clip Path , Make both top conner radius Click to see image class BackgroundClipper extends CustomClipper<Path> { @override Path getClip(Size size) { var path = Path(); path.lineTo(25,0); //path. path.lineTo(0, size.height); path.lineTo(size.width, size.height); path....
{ "language": "en", "url": "https://stackoverflow.com/questions/75623959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Export face images after landmark generation from MediaPipe-Python and Google Colab I recently took the code from MediaPipe to generate a face mesh landmark from emotional face images (RAVDESS data). However, I seem to struggle in exporting generated face mesh landmark data in the form of PNG. I'm also doing this fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I keep count of the number of comparisons it takes to find a value in Binary Search? I am doing linear search, selection sort, and binary sort. I need to keep count of the number of comparisons it takes to find a value in binary search but i dont know where to corrrectly place count, at the moment I always ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: nginx proxy pass with the response from auth_request I want to redirect with the value from the response of auth_request. But i can't get the value from header. It always redirect to test2.com. I want to redirect to google.com from the response of auth_request. Is there a way to get value from the response and redir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to not call the database table if there is no new transaction happen on the table I have a repository method to fetch records, and it gets called each time I hit a endpoint and it cost me more. I don't want to call the database table if there is no new transaction (insert/update/delete) happen. It should call ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mongo read and write same field on the document I want to update lastUpdatedTimestamp on a Mongo document only if the request contains the same lastUpdatedTimestamp value. I can do that in 2 unique transactions: * *Reading the document from database and comparing it with lastUpdatedTimestamp of the request *Writi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75623970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }