text
string
meta
dict
Q: Extract certain pages from a pdf file based on a condition I am trying to extract every page from a large pdf file whenever the sentence "quick analysis" is present on that page. I managed to load and read the file using PyPDF2 and even allocate all the pages where that sentence is present. pdf = PyPDF2.PdfFileReade...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to design model that combines similar sources with different columns but keeps detail for PowerBI drillthrough? I am using PowerBI to report Budget/Actual information from different sources that allows the user to drill through and display related detail records. How should data be modeled when "Actual" source t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does assigning a capturing lambda to std::function result in more copies In the following code, assigning to an std function results in more copy constructor calls than assigning to an auto variable. ( actually initializing, not assigning ;) ) I get that a value captured local must be copied. I get that each tim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to manage couple of shops with Business central We're not sure how to manage couple of shopify shops with business central. We've separate URL's for Separate shops and separate products but one business central account. Any documentation for help? A: You can create multiple Shopify Shops in the same company wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: or operator in filter tags on Onesignal Just a quick question. So we are using mobile push notifications with Onesignal. When users mobile devices are registered, it initialize with their own tags registered. Now, I am sending via REST the "https://onesignal.com/api/v1/notifications" in order to get the push notific...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generator function does not pause execution if I call a non generator function inside of it I have a saga that creates a nesting of setTimeout to post messages via axios like this (for this I call a non generator function in my saga): import { call, put, takeLatest } from "redux-saga/effects"; import * as Action fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to resolve subtype with InvalidTypeIdException while reading classes generated from swagger in Java Below is the openapi code using which classes are generated: PipelineTask: anyOf: - $ref: '#/components/schemas/TranslationTask' - $ref: '#/components/schemas/ASRTask' - $ref: '#/components/schema...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java variable path in system envirnoment When I am using command prompt then write a doctor flutter --android-licenses then an error show on Please set the JAVA_HOME variable in your environment to match the location of your Java installation. I tied to add a java variable in system environment but when I open it ag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extracting the numbers I have an integer, 20230302. I need to extract and store the 1st 4 digits (that is, 2023) in one integer variable, 03 in another integer variable and finally 02 in another integer variable. How do I do this? My attempt: #include <stdio.h> int main() { int num = 0; int power = 1; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Keycloak - can First Broker Login flow make some webhook to our system We are using the Keycloak for authorization. In Keycloak we are using the 3rd party Identity Provider. We need to build the flow where user: * *logins with 3rd party Identy Provider (SAML2) *get the Personal ID from the Identity Provider *val...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error retrieving a collection from Firestore I have a collection of users and every user have a collection of properties called portfolio, I am able to read the data but once im trying to make a copy of the document im facing an error "Trailing closure passed to parameter of type 'FirestoreSource' that does not acce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i need help creating a script When importing a CSV file to MYSQL via PHP I have used this site for help for years but never actually signed up - normally because i always find what im after haha i need help creating a script When importing a CSV file to MYSQL via PHP. im building an ecommerce site... when a exported...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Zero safe area in landscape mode in Xcode? I have a simple UIViewController and just try to add a subview which fullfills all available safe area. The result with xib, storyboard and sometimes programmatically is the same - Xcode ignores safe area in landscape mode: The result I expect is approximate the following ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Identify the correct xslt given the xml data The XML file and report can be accessed from this location. Simply retrieve them to proceed with further analysis or processing. <?xml version='1.0' encoding='UTF-8'?> <wd:Report_Data xmlns:wd="urn:com.workday.report/AS-Job"> <wd:Report_Entry> <wd:Employee_ID>5001...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Xpress NonLInear with Pyomo? I wrote a dummy nonlinear example with Pyomo: import pyomo.environ as pyo model = pyo.ConcreteModel() model.N = pyo.RangeSet(0, 2) model.x = pyo.Var(model.N, within=pyo.NonNegativeReals, bounds=[5, 1000]) model.objective = pyo.Objective(expr=pyo.quicksum(model.x[j] for j in mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does the quantile function in NumPy return values in between the values from the input array? I am trying to understand how the numpy.quantile function is working. I got the expected values for 0.25 and 0.5 quantiles but 0.75 quantile seems to be doing something different. Data: 13, 21, 21, 40, 42, 48, 55, 72 0....
{ "language": "en", "url": "https://stackoverflow.com/questions/75616146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spout not waiting for new message from Kafka I am moving Kafka message to JDBC. Currently for the sake of running my code, I am only printing the message on the console. My current Kafka queue is getting printed in console logs but it is not waiting for new Kafka message and the program is stopping without any error...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TFS 2018 on Prem, create new State in the board? We are trying to use the XML templates to try and modify our on prem TFS 2018 instance to have more states on the board. Right now we have 3 (To Do, In Progress, Done) Is this possible to do? We would like to add a 5 State to be something about testing. If that isn't ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Constrain to function objects with one reference parameter of any type I'm probably scratching the possibilities of C++ a bit here. I have this tuple for each function that executes a function for every tuple element. Now I want to constrain the incoming function object in a way that only allows for function objects...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Postgresql cluster upgrade: preventing clashes in txid_current() and upgrading to pg_current_xact_id() I have a database with a table. In that table is a column txid which records metadata about the changes that occurred within that transaction: \d data.transactions Table "data.tran...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Upgrading .NET Core application from .NET 5.0 to .NET 7.0 I have a project which has a backend api on .NET 5.0 and a frontend on React.js. I'm trying to upgrade the project to .NET 7.0. This is the code from startup.cs which throws an exception after I upgrade the target framework to .NET 7.0: app.UseMvc(routeBuild...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No one to discuss achievements in teaching programming I'm learning Python through online courses from home. Faced with the problem of lack of like-minded people, no one to discuss achievements with. How have you solved this? I've tried discussing it with family members and friends who aren't into programming, but i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616157", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Scoring issues while using BM25Similarity While tinkering solr scores in a custom BM25Similarity class using solr params, I find that the scores are logged correctly but score of docs for the same query does not change after the calculation is compiled once. Although in the explain section of response I see the scor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Seperate between Admin and client in the same React web app I'm making a web application using MERN Stack, it has an admin dashboard to insert, delete or update the data that the client is going to need in his side of the app, and I just said there's the client side of the app. What I want to do is to make the brows...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Victory Native - BarChart with horizontal crossing, hovering bar I'm using victory-native, is there anyway to achieve the dashed crossing line and make the bars hovering like this? Also the bars' background is gradient, how can I change it.
{ "language": "en", "url": "https://stackoverflow.com/questions/75616162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: `git rebase --skip` but changes still included I'm learning Git rebase : I create a conflict situation to test the behavior of git rebase -i commands. I git rebase --skip when the attended conflict happened, but a other conflict happened after, and the "skipped" data reappear in a other commit. At the end : No data ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Authenticate towards GCP Bucket via running instance as service account In my GCP project, I'm trying to upload a file to a bucket. The problem in the authorization. I'm running a Node.js webserver within a managed Compute Instance. Trying to follow the docs https://cloud.google.com/docs/authentication/client-librar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ValidationError:password is a required field UnhandledPromiseRejectionWarning: ValidationError: password is a required field,,, what should i do? the project was like register form on the backend express.app am using for validate form "yup library" then.I tried to register then i was expecting a success result then ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Need assistance figuring out powershell script issue I have a script that uses an input csv spreadsheet to query AD and find a list of users managers by using their samaccountname. The problem is, any users in our environment whose manager is a contact in AD and not an actual account cannot be found. How can I modif...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to load DLL "Microsoft.CognitiveServices.Speech.core.dll", could not be found I have a console application that I made in Visual Studio 2022, using C#, .NET Framework 4.8.1, and the Azure Cognitive Services Speech SDK (version 1.25) installed through NuGet. The application works fine in the development enviro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: multiple arguments to `ts-node -r` options I want to add multiple require in my package.json script before executing using ts-node -r. "scripts": { "start": "ts-node -r dotenv/config newrelic src/index.ts", } It doesn't let me add both "dotenv/config" and "newrelic" at the same time. But if I use only on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using AVFoundation to export to mp3 I’m creating a simple application in swift playgrounds on iPadOS that allows the user to screen record and export the recording as an mp3 file, though no matter what I try, it always exports as an mp4. I’ve tried setting it to export as an m4a instead but it still exports as an mp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Logging correctly in python My code looks like this. It is for image reshuffling in a couple of folders. Please assume that I have made all the required imports correctly. logging.basicConfig(filename = 'make_folders.log', filemode= 'w', level=logging.INFO, format='%(asctime)::%(message)s') def get_path_l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: smtp confirm sending email I am using smtp to send email in asp.net how can I confirm that the email is sent to the recepient when I use smtp.Send(msg); To send email to recepient and I am looking for a way to have a confirmation that the recipient received the email A: If the call succeeds then the message was ac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Weird result with sqlite in python I'm trying to get a count of document where the email of my user appear, I'm doing this for every user so I use a loop which takes every email of my user that got a document (to avoid having people with 0 document). So I know for sure that i got 5 row (5 email with document) and in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Unable to login with new phone, no way to get a new 2FA have I lost my account permanently? Got a new phone and downloaded entrust, entrust no longer has passcode fed from heroku. Logging in forces a 2FA. I assume at this point my heroku account is lost forever? logging in expected to login
{ "language": "en", "url": "https://stackoverflow.com/questions/75616177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: error installing PyQt6 on Yocto Linux - Cross Control Panel I have a problem installing a PyQt6 python package. I am in Yocto Linux environment (CCLinux Distribution 2.0 (brant)) on a CCPilot v700. This is the log when I try to install with pip: root@v700:/# pip install pyqt6 Collecting pyqt6 Using cached PyQt6-6...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: problems with scapy, can't import by * and can't run the script can't import all modules can't run the code I'm trying to run this simple script from scapy.all import * # Create an IP packet ip_packet = IP(src="192.168.1.1", dst="192.168.1.2") # Create a TCP segment tcp_segment = TCP(sport=1234, dport=80, flags="S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pass data from a component to Util file I am trying to pass data from a React component to another and struggling to understand how I can call this data to the destination file Basically want to pass a <input /> value from a component.js to a function within the Util.js file. So far I have the following attempt with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: VS Code on macOS python command not found When I try to run some python code on Visual Studio Code terminal gives me the error: [Running] python -u "...project path..." /bin/sh: python: command not found On my mac the command to run python is python3, for example: python3 --version I tried writing in bash_profile ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NoMethodError: undefined method `username' for true:TrueClass Environment * *Ruby [2.6.6] *Rails [4.2.8] *Devise [4.7.3] Current behavior Hello people, I am facing issue while user is already signing and my apps perform actions successfully which are basically callbacks after login and routing to search page. Ba...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: 404 NOT FOUND nginx with Angular dist I'm facing 404 not found when trying to refresh my site page, couldn't find any answer that can help me ! For example if I enter my base URL which is test.com then it routes to test.com/login but if I refresh this page then it will result in a 404 error. this is my server config...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: node js - ReferenceError: navigator is not defined what I want is to register my service worker in my progressive web app. I created my sw.js file and in my app.js file I wanted to do this: if('serviceWorker' in navigator){ navigator.serviceWorker .register('/sw.js') .then(function(){ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: error in linux - FileNotFoundError: [Errno 2] No such file or directory: 'make' i just buy new linux laptop, and i trying to run the code from here: https://github.com/sphincs/sphincsplus.git , the code is build with c and python. i trying to run it, but i get this error: Benchmarking sphincs-shake-128f robust using...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: "Operation failed. No files" when download a file I need help solving a problem I was having while developing my website. I'm trying to insert a download link in my website with a PDF file to download. The problem arises when I press the Download button, the download starts but the browser gives me an error, namely,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeScript: Mapping Enum value to enum key in an utility I have an enum of this type: export enum StateEnum { STARTING = 'starting', RUNNING = 'running', STOPPING = 'stopping', STOPPED = 'stopped', DELETING = 'deleting', } And I have a DTO object like this: export class MyDTO { public state: StateEn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Clock Sychronization I am having a setup the has two components: master and slave. They communicate by uart. Each of them have RTC (real time clock) module, and I want to sync the slave's RTC with the master's. I have few questions regarding to my goal. First I want to present my implementation A. I am intending to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Compile cmake project from NAnt Recently I have found that the latest version of libtiff (4.3.0 and onwards) can be build using cmake only. Can I compile it using NAnt? If yes, how? I have tried searching some resources in google but they are not helpful.
{ "language": "en", "url": "https://stackoverflow.com/questions/75616201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check if eventbridge schedule is existing I want to Check if eventbridge schedule is existing , Or not .. When I use response=client.get_schedule( Name='Name of the schedule' ) It will return the details of the schedule if it's existing , But it will throw exception and will not return any values if it's not existin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: please help me figure out how to fix this ModuleNotFoundError: No module named 'distutils.command.bdist_msi' pip install goodbyecaptcha and this is the error i get when pip goes to pocketphinx==0.1.15 `Collecting pocketsphinx==0.1.15 Using cached pocketsphinx-0.1.15.tar.gz (29.1 MB) Preparing metadata (setup.py) .....
{ "language": "en", "url": "https://stackoverflow.com/questions/75616208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scipy FFT reduce bin count I have a waveform sig that I'd like to run an FFT on. The data is sampled at 40 kHz and I want to analyze a window of 25mS or 1000 points. Using scipy.fft.rfft(sig) I get a resulting waveform that has 500 values. I understand these values to be magnitudes that correspond to 500 frequency b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616210", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BatchId in structured streaming is increasing even though there is no new incoming data I'm using spark structured streaming to read data from kinesis, applying some data transformations and reading and writing them to delta lake using foreachBatch Function. In the last step, I read data from silver table, applying ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django - Moving from one category post to the next and back There is a model and posts attached to it. I can not figure out how to make the transition from the active post to the next and back. I read many articles, but I did not find the right one for me. Here is my code. How can this be done? HTML <div class="bo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getter returning incorrect value I'm building an application for storing/searching/sorting cars and I'm running into an issue with one method. I have six ArrayLists, storing variables of different data types: Car c1 = new Car(1, "Ford", "Mustang", "2013", 200500, "1.3L", 'A', 5550.50); Car c2 = new Car(2, "Audi", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: numpy custom function for sum of 1d/2d/3d array I want to create a custom function that can return the sum of all elements in an array whether its 1d, 2d, or 3d. . This is what I've come up with and it runs but the sums aren't correct and I can't figure out where its getting the numbers from. array_1d = np.array([1,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issues Migrating Hibernate in Spring boot 3 In my application while using spring boot 2.7.7 I was using following classes which render to database org.hibernate.query.criteria.internal.CriteriaBuilder. org.hibernate.query.criteria.internal.ParameterRegistry. org.hibernate.query.criteria.internal.Renderable. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sequential value iteration in R I am currently reading the Dynamic Programming & MDP of Ronald Howard. Particularly in page 29 he presents the toymaker example with two different policies 1 and 2.Each policy has a transition probability matrix and a reward matrix. # Set up initial variables for Policy 1 P1 <- matri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm trying to send multiple messages to Whatsapp using Twilio Sandbox at the same time I have an array of messages following the image below: enter image description here And I want to send to whatsapp using Twilio npm package following the image below: enter image description here But the lib sometimes does not sen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why this error comes as "Error found when loading /etc/profile" I am using Ubuntu18.04. It shows up when I am working on my linux system and it will kill all my processes. Can any one tell me what's going on?
{ "language": "en", "url": "https://stackoverflow.com/questions/75616227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Java compiler evoked from terminal in VS Code doesn't update the file int num1 = 3; int num2 = 5; System.out.println(num1 + num2); This is code example stored inside Hello.java file. If I compile this code via terminal with javac Hello.java, it successfully compiles it, but only the first time. If I make some chang...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Slack notification once ECS service reach steady state Is there any way to send the slack notification to a channel, if the AWS ECS service reaches a steady state after the deployment is completed which was triggered by Jenkins Trying to get the ECS service to a steady state and send it as a slack notification after...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Vega-Lite: Enable Autosizing for Faceted Plot I would like to set the width of a faceted plot dependent on the size of my window (I'm using the Vega-Lite plot in Kibana). This would be a minimal example: { "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "data": { "values": [ {"category":"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to get daily data from yfinance asynchronously? previosly i was just using yf.download for data, but now i have to do it asynchronously. I have this code import aiohttp import asyncio import pandas as pd from io import StringIO ticker = 'BTC-USD' url = f'https://query1.finance.yahoo.com/v7/finance/download/{tic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Keep data validation and drop down same after updating Google sheets using gspread I am working on an existing script made by someone else which updates few google sheets. I am relatively new to Python. Everything is fine, but when lets say it updates an existing row the dropdown option or conditional formatting is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Querydsl does not generate enum type fields in QFiles I am working on a Kotlin Spring Boot project with the following versions: * *Kotlin version: 1.7.22 *Spring Boot version: 2.7.7 *Querydsl version: 5.0.0 The project is built using Gradle version 7.6. I added the necessary dependencies to use Querydsl and gen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to handle Outlined text fied Error in Jetpack compose? like this I tried isError and it showed boarder only I am expecting it to show bottom red text too A: You have to create your own bottom text e manipulate the behavior, i have an implementation i use in my projects, as follows: The base component: @OptIn(Ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: reauth related error (invalid_rapt) when accessing firestore from firebase function after enabling Identity Platform I recently enabled Identity Platform from the Firebase interface for firebase authentication (primary for user logs). Everything worked fine for a few hours. Went to bed. Woke up. Starting working a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: index.php as Vite Entry Point I started a static project with a Plain-HTML-Tailwind-Template. It uses Vite for bundling with default config. What i forgot is that i need a little bit of php so i have to rename my file from index.html to index.php. Of course vite no longer worked and i tried to change the entry point...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Intersecting polyline with polygon in QGIS / postGIS (split line at polygon boundary) I have two datasets (currently in geopackage files) but also have them in a PostGIS database. 1 polyline with about 1 million records 1 polygon with about 50,000 polygons I want to intersect the lines with the polygons, so as to at...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NoReverseMatch at / Reverse for 'athlete_profile' with keyword arguments '{'pk': ''}' not found I'm trying to make a page where i can display an athlete's profile to them by using their primary key as a refernce but I get an error as follows: Environment: Request Method: GET Request URL: http://127.0.0.1:8000/ Dj...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jupyter notebook api: send file from react to jupyter notebook api and save file locally In react js I have choosen a file. File {name: 'FRA_20220128_M43_J18.jpg', lastModified: 1653047526000, lastModifiedDate: Fri May 20 2022 13:52:06 GMT+0200 (heure d’été d’Europe centrale), webkitRelativePath: '', size: 69119, …}...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Accessibility narrator reading the model class name instead of grid content of WPF application In my WPF application, there is a grid view with three columns as Name, City, and Country. Please see the model class: public class Employee { public string Name { get; set; } public string City{ get; set; } pu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring main class not scanning components Im having the same problem in every project that i start, i've checked my project structure, recreated, using Spring intlizr, STS4, i've checked application.properties configuration, dependencies, looked thousands of stack overflow questions, asked to GTP, prayed, but NOTHIN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Decoding JSON with same named repeating coding keys in Swift I need to decode JSON that has multiple keys named the same. The JSON looks like this: [{"errors":[{"extensions":{"code":"INTERNAL_SERVER_ERROR","reason":"INTERNAL_SERVER_ERROR"},"message":"Unexpected error occurred"}]},{"data":{"createCsrfToken":{"__type...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why my replaced Core Data .sqlite file doesn't work until app is relaunched again? Here is how I have defined my CoreDataManager class CoreDataManager { static var shared = CoreDataManager() private let container: NSPersistentContainer lazy var defaultContext : NSManagedObjectContext = { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to locate jar file for EDI Mapping Model URN 'org.milyn.edi.unedifact:d03b-mapping:1.7.1.0'. Jar must be available on classpath I am trying to following this tutorial https://sites.google.com/site/smooksorg/documentation/documentation-smooks-1-1-x/examples/example---edi-to-xml but I am getting in the followin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript: omit undefined/null properties from type I was trying to create new type from a type, but remove any property that it's value is undefined|null, this to create a fetch function that require/not require a payload argument. The main type is: type TEndpointsPayload = { getList: undefined, open: { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Logistic regression sentiment analysis model poor results? Ive trained a sentiment analysis model using a Logistic regression algorithm with the 'Sentiment140' dataset which has 1.6 million tweets in it but im getting inconsistent results It gets the very basics right 'I love this' = Positive 'i hate this' = Negativ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: github.GithubException.BadCredentialsException: 401 - but credentials are correct? I developed a script which predicts some values and saves them into the predictions.csv file using github actions. I then need to update the predictions.csv file on github, because i need to query it externaly. But for some reason i g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to mock the mat-dialog which has ngoninit method ,in angular but it is not getting covered Below is my ts file which I am trying to unit test which has mat-dialog and I am creating a form, till constructor code is getting covered but rest of the method I am unbale to call.Below is my spec file where I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to automatically include Windows system libraries with CMake/MSVC? I have a CMake project that targets Windows using Microsoft Visual Studio generators, and the project needs to link standard system libraries such as odbc32.lib, odbccp32.lib, comdlg32.lib, advapi32.lib, Ws2_32.lib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I use Spyder ide to access micro python on Pico Pi I use Thonny to access my Pico Pi (and /W). It seems like I could make use a lot of the functions of Spyder's scientific side, if I could access my Pico boards. Am I on a non starter or is this possible. Many Thanks if someone can shine some light!! At the momen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using VsCode editor, how can I access public variables of StatusCode class in grpc package using the alias in Dart? Using VsCode editor, how to access the public variables of the StatusCode class in the grpc package in Dart? I am working on a project that involves using the grpc package in Dart to make RPC calls. In...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to make an outline effect that work with SVGRenderer threejs I'm looking for away to create an outline effect similar to this example in threejs that also work with SVGRenderer. I've done some researches and found out that SVGRenderer does not support the use of Shading. The only feasible combination ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change QGraphicsItemGroup position on mousepress? Qgraphicsitemgroup Position not Updating to click mousepress in the scene. How to update the QgraphicsItemGroup position in the scene
{ "language": "en", "url": "https://stackoverflow.com/questions/75616279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: 401 error when requesting ASP.NET CORE with JWT auth In my ASP.NET CORE project I use JWT authentication. Here's code from Program.cs: // For authentication var _key = builder.Configuration["Jwt:Key"]; var _issuer = builder.Configuration["Jwt:Issuer"]; var _audience = builder.Configuration["Jwt:Audience"]; var _expi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I run BERT/ FinBert on my GPU instead of my CPU in Spyder or Jupyter Notebook? I have trouble on running my code on my GPU instead of my CPU. I am trying to run a FinBert code which classifies each sentence of a text as positive, negative or neutral. However, this code takes an eternity to run on my CPU. Bec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get a keypress to function the same as a click listener event in Javascript I've made a simple little "game" where every time you click the picture of a balloon, it gets bigger until it "explodes" & then resets. Now I'm trying to get it to work the same only with the enter button. I want it to be able to do b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Node-RED cannot find local module I am developing a Node-RED Custom Node in TypeScript using a Nx monorepository with following hierarchy: reponame + packages | + package-a | + package-b | + custom-node The Custom Node imports package-b which imports package-a via import { TestClass } from "@reponame/package-b"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to break on exceptions when using an error boundary I am using an <ErrorBoundary> component as described in the docs on error boundaries. However, it seems that Chrome's devtool setting "break on exceptions" no longer works to pause execution on a line of code that throws, which isn't surprising because the erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: org.postgresql.util.PSQLException: FATAL: no PostgreSQL user name specified in startup packet in spark? I am using spark with JDBC and postgres. I create all the prerequisites: val conf: SparkConf = new SparkConf() conf.setAppName("app") .set("spark.scheduler.mode", "FAIR") .set("spark.serializer", classOf[KryoS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AG-Grid full row editing does not work if there are too many columns I am using AG-grid community version JavaScript version and trying to edit rows using 'edit' action button as per the blog given here. When the grid has more columns, edit feature stops working which we can test just by repeating columns in the col...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get SQL Column Types from Complex Query in .NET Application I have this SQL query that I am running on a .NET application, and I want to determine the types of each of the column of the resulting query. The query has multiple joins, column aliasing and possible casting as well. For example I could have something lik...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to configure Cpanel to fix the is not allowed by Access-Control-Allow-Origin. on safari enter image description hereHi there, I working on my own WP theme but have the challenge of loading images and the consol record show as attached images(it's happen with Safari only and my website using ) I would like to ask...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display a view of a base64 text file in React I have a base64 of a .txt file and I want to display it in React. The file looks like this: ID:948201 name:"someText" description:".txt" base64File:"QU5URSBQVVBBQ0lDIEtSQUFBQUFBQUFBQUFMSg==" Can I display the text of the document, which is "ANTE PUPACIC KRAAAAAAAAAAALJ"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when trying to run a project with ionic I cloned a repository with git clone and it downloaded to my computer, I used the npm install command and it installs some things but with the message npm WARN deprecated" and at the end it says "55 vulnerabilities (3 low, 12 moderate, 36 high, 4 critical) To address is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WooCommerce get date of last order with offset I have a client shop with lots of customizations. A primary one is uses the PDF Invoices & Packing Slips for WooCommerce plugin to generate an internal, admin order print out (they are a manufacturing company). The print out has been heavily customized and isn't used as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I can fix 'No CMake configuration found!' in Qt Creator CMake - Configure - Warning i started fresh with qr creator and cmake and do not understand how to solve the problem. I will run a Open-Source project published in GitHub. When i try to run the program, this warning appears. -error: By not providing "FindQt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Program stopped accessing Config file I´ve developped a C# program and I have a problem with configuration file. I use Visual Studio 2022 and Windows 10. The DB is SQL Server. To start, the program acesses the configuration file to read some information, then, after the user enters username and password the program ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use Digest Authentication for network images in flutter? I am trying to determine if it is possible to use digest authentication to get a JPEG image from an Onvif url in flutter. I can get the RTSP stream working by adding the username/password as part of the URL (rtsp://username:password@thecamera...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }