text
string
meta
dict
Q: Extending a query with calculated value I have a log table something like the example below. I have a query which will group by FK and colB to show the most recent entry for each fruit per FK. This query is listed below. I would like to extend this query if possible to calculate the time difference between the curre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SQL Pivot giving NULL values I have a simple data table that I wish to pivot using the normal pivoting method, however I am only getting NULL values when it is executed. create table #Results (ID varchar(50), Name varchar(50), Course varchar(5), Ranking int); insert into #Results (ID, Name, Course, Ranking) Val...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: After save image in specific location in external storage not display in gallary in flutter, how do it programatically After save image in specific location in external storage not display in Gallary in flutter, how do it Programatically. MediaScanner.loadMedia(path: file.absolute.toString());
{ "language": "en", "url": "https://stackoverflow.com/questions/75625768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement Facebook login in SwiftUI (Swift version 5.8)? As I'm trying to implement the login with Facebook, "FBSDKLoginKit" requires the older Swift version, I'm using Swift 5.8 in Xcode 14.3 beta, and when I downgraded Swift, other libraries also broke. How can I fix this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75625771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: On clicking the submit button of a form, it's not responding Form submit button is not responding even though I have specified the action, in the form action field. <div class="container"> <form action="php/record.php"> <h3>Enter the following details :</h3> <form autocomplete="off" action=""> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't solve an equasion with sympy I tried to solve a simple equasion for x whice i wanted to print 0 Code: import sympy as sp a, b, c, d, x = sp.symbols('a b c d x') f = sp.sympify( 'a/b' ) f1 = sp.sympify( 'c/d' ) f2 = sp.sympify( 'a/b - c/d' ) eq = sp.Eq(f,5) eq1 = sp.Eq(f1,5) eq2 = sp.Eq(f2, x) ans = sp.solve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Merge selected values from multiple json files into main json file Having main json file name as main.json with content as below { "expand": "schema,names", "startAt": 0, "maxResults": 300, "total": 2, "issues": [ { "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Same variable returns different values (number and NaN) Why in code below var c out of function returns number and within function returns NaN? var a = 30; var b = 3; var c = a / (b * b); console.log(c); function calc(a, b) { var c = a / (b * b); return c; } consol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: I have a frontend application which we do authentication using rest api. Now we want to add login with google functionality by using firebase So how to handle the token that comes from firebase. The token generates by rest api and firebase are completely different. So how to authenticate the users who choose to logi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to draw 5 graphs of different colors at once using the same formula in R I want to get graphs like this, source https://math.stackexchange.com/questions/1209858/what-equation-will-create-a-3d-rose-curve \begin{alignat*}{3} x(s, t) &= a\cos(mt) \cos^{k}(ns) &&\cos(t) &&\cos(s), \\ y(s, t) &= a\cos(mt) \cos^{k}(ns...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Application Gateway Unavailability and generate Alert My Use case is, as soon as App Gateway gets down due to any reason an alert should have generate and follow its action. However when i tried to put a resource health alert in Azure, it seems Azure Doesn't provide the Unavailable Event for it. Hence, when ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with MLRun Spark service start and impact all Jupyter notebooks I reconfigured Spark infrastructure in K8s (as part of MLRun/Iguazio platform) and after that, I got a lot of issues in level of services: * *Spark service (with information Failed) *All jupyter notebooks (with information Failed dependencies) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: press buttons on gamepad i am trying to press buttons on the gamepad i am using a gamepad descriptor for the gamepad but i cant find out how to press the buttons on the gamepad is there any way to press the buttons? i am using an raspberry pi pico for this import usb_hid GAMEPAD_REPORT_DESCRIPTOR = bytes(( 0x05...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to resolve When run nix-shell attribute 'https://github.com/well-typed/plutonomy.git' missing issue? I am working at cardano plutus smart contract project. When I try run nix-shell, I am getting below error attribute 'https://github.com/well-typed/plutonomy.git' missing I am not sure what info need to share to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use unique groups to remove files from pathway I have files with different dates but same tags per group. From these, I want to keep only the most recent file from each group. In code terms, I can achieve this with a dictionary where these tags are turned into keys. However, in the pathway only the most recent file ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Embedding 2 HTML tables ( one after other) in email in shell script I have to print data of 2 tables ( which is output of sql query) one after another and send it in email ( using sendemail utility) of shell. I have html code as below echo "MIME-Version: 1.0" #echo "Content-Type: multipart/alternative; " echo "Cont...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Openstack SDK, create new server only IPV4 `` conn: Connection = create_connection() nics = [{'net-id': '`net_id`', 'subnet-id': '`subnet_id`'}] params = { 'name': 'Instance_app_2', 'networks': [{'uuid': 'net_id'}], 'nics': nics, 'security_groups': [{'name': 'GroupName'}], 'user_data': create_u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter cloudwatch logs on variable field names? Cloudwatch turns our log arrays into numbered fieldnames. Accessed.file.0 565 ... Accessed.file.## 810 The number of fieldnames is not fixed. Is there way I can search all fields for matching value. So far my solution is just to generate a search with Access.fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Allow user to add an entry to page in Confluence without using edit button I'm using Confluence 7.13 and I'm looking to create a page where people can add ideas and thinking along the lines of a table or a form where users can enter ideas. I need it to be able to be able to capture multiple entries. What is the be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get MethodInfo of static method with generic parameters when method ambiguity occurs? The method I would like to obtain is Observable.Return from System.Reactive. It's defined like this: public static IObservable<TResult> Return<TResult>(TResult value) { ... } I've tried with Type observableType = typeof...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Service loader not can't find providers when using gradle but works with maven I have created a repository here https://github.com/bigbang4u2/query-dsl-hibernate-types (This has been copied from here). Repository created by me here contains both gradle and maven. When using maven all providers are loaded correctly i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extracting data from multiple PDFs I have 200 PDF files, all formatted similarly. Currently I am opening each PDF and looking for the two relevant values and typing them into an Excel table, all manually. I'm wondering if there is a way to automate this. My (non-IT background) idea is to write a program that OCR sca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use matplotlib fig.canvas with pyplot object oriented API? I'm writing a script where I want to programmatically extract a matplotlib figure as a ndarray of pixel values. To achieve this I'm using the fig.canvas.buffer_rgba() method. I've noticed this works when I use the pyplot functional API but not the obj...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GitHub Actions completes job as success even it receives non-zero exit code I made my test.bat to be executed from GitHub Actions. The issue I have is that GitHub Actions completes job as success even it receives non-zero exit code from the test.bat. Here is the YAML file for GitHub Actions. jobs: run_test: r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Combine 17 pandas dataframes on index (date) in python I wish to combine df1 to df17 on index (which are dates). The problem is - since df1 starts 2015, all of the other dataframes I add also starts at 2015. I wish to update the combined dataframe with the longest date (like 2000 for df2 and so forth). Anyone know ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Show and Hide event with checkboxes Fullcalendar6 My events have a extendedProps, "nomeUtente" that it indicate the user that save the event and in my calendar I have these 2 checkboxes: When the first one is checked it should show only the events with the same nomeUtente (the one next to the name event: "domiziana...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get second number in a javascript calculator like app I would like to store an input value to a variable. I have an event listener to all buttons shown in html document and to the input field. I test if the string value of the input is a number, then I store this value in prevNum and show it in input field. Then I c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Manifest not loaded correctly from .NET Core Web Application Just to try and see what's possible from a technical point of view, I am trying to make a .NET Core Web Application with Razor Pages (NO MVC!) into a Progressive Web App (PWA) but I am running into a problem here. My browser does not want to load the manif...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Configure a contact form in Reactjs (Sending an email) I'm busy creating a website for a friend and one of the components is a contact form, where visitors of his site can send him emails. I'm using React and JavaScript. Currently playing around with SMTPjs. But I just wanted to check. Are there any others ways to d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send signup confirmation email at DRF? What I want to achieve An email was sent to the user's address when signing up I want to implement a flow like completion of registration when a link is clicked premise I am using a class called UserViewSet to implement the signup function but I'm struggling because I ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: flutter go_router unnecessary rebuild on push and go back Here is example of test app: dartpad Inside app we have 2 main routes: ListPage and ListItemViewScreen. ListItemViewScreen is child route from ListPage. In this case, ShellRoute used only for example Problem: when we click on any item in list(row 81 - push), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a card next to icon on click like a dialog in compose There exist cards & existing UI in background. On click of icon, I want to add this card kind of layout which has custom shape. Right side of the card has a arrow pointing to icon. How can I achieve this in compose And on click of icon again or anywhe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Type conflict in typescript (with Vue-Meta) I use a function from a library, but the arguments I receive do not correspond to the types indicated. This is the prototype of the Vue-Meta function: type elements = HTMLElement[] interface MetaInfoOutput extends MetaInfo { titleChunk?: string } changed?: <T extends Met...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Data need to store with 2digit after decimal New data is dumping in SQL but data is with more digits after decimal, I need only 2/3 digit after decimal without changing data type, kindly give me the solution. I tried below function, its working for existing data but for new data which is dumping its not working. UP...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: chartJS - How to hide the part of the gridLines that are out of the grid I have created a lineChart using chartJS library, and I cannot find the way to hide this part of the gridLines in red the part of the gridLines that I want to hide This does not appear in the documentation, and although it is not a big deal, I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sending multipart form data with Sttp library Within the frontend, I'm attempting to send a user-filled form to the backend (REST API) using Sttp (a Scala Http client). The form can include uploaded files so I'm using Multipart Requests as per the documentation. Here's a sample: Library "com.softwaremill.sttp.client...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Qt Remote Object - Problem writing my .rep file I'm working on a Qt project with a client and a server. To send data between the server and the client, I use the Qt Remote Object. To configure the Qt Remote Object, I make a .rep file for each service. The problem is : I have a class A and a class B. So, I make one s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uncaught TypeError: (0 , firebase_app__WEBPACK_IMPORTED_MODULE_0__.initializeApp) is not a function I am currently using Vue3 with Vuex and firebase. I am trying to build authentication feature with firebase. I have followed every step described in different videos, tutorials, etc. However, I am currently having an ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flipping Coins Until Some Event Happens Imagine I have 3 coins . * *Coin 1: Probability of Heads = 0.5, Reward Heads = +1, Reward Tails = -1 *Coin 2: Probability of Heads = 0.8, Reward Heads = 0.2, Reward Tails = -0.1 *Coin 3 Probability of Heads = 0.3 Reward Heads = + 3, Reward Tails = -5 Now, imagine a gam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetch last indexed document from every index with matching pattern I have multiple indexes let's say test-node1 test-node2 test-node3 test-node4 test-node5 test-node6 Now i want to fetch latest indexed document from every index (pattern would be test-*) in one query. How do i do that? Result will contain total 6 d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error: ambiguous overload for 'operator[]' I have an error I don't understand. The following snippet compiles #include <iostream> class Foo { std::string m_name; public: explicit Foo(std::string const& name):m_name{name}{} Foo operator[](int index) const {std::cout<<"size_t const\n"; return Foo{m_nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Power BI DAX required to get Top 5 results I would like to know how can I get the following results using DAX or anything else in Power BI:   I am using following example to explain the scenario and the desired results:   I have a table called Registrations. It contains all the Registrations of Products since last 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Custom URL Link in pushnotification / Android Studio Webview A App with webview has push notifications. The push notifications are declared in the file JavaScriptInterface.java. showNotification(String title, String message, String imageUrl, String redirectUrl) The link is inside of the redirectUrl and this redire...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Public URL is accessible from curl, while it gives error using get_headers and file_get_contents My PHP version is 7.4 and I'm trying to download twitter images using its API. I use get_headers to get mime type and other information but it doesn't work. Whereas if I use curl it works. The error I get is Name or se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex to filter word with suffix from string I'm currently working on a .NET 4.6.2 application. I need to write a regex to filter certain files. The filename must not include the word "house" as well as the file suffix png, jpg, or gif. So far I came up with this regex: Regex regex = new Regex(@"\b\w*house\w*\b.+.(j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python stops writing to a file with no errors Recently I ran a code in R that wrote to a TSV table and only then realized that I set up a p-value threshold too generously, resulting in ~300 GB table. Not wanting to load this entire file into a dataframe to filter, I wrote the following script in python to filter the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can't open python script in browser with apache Can't connect to server. I tryed restarting apache and changing interpreter path to #!python.exe Here are my interpreter path and error logs path script error.log
{ "language": "en", "url": "https://stackoverflow.com/questions/75625856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Multi-Tenancy Laravel (Client-Server) I have 2 projects -> client: frontend -> server: backend My client is running at localhost:8001 and Server at localhost:8000 So, I open the localhost:8001 in my browser, and try to do the login I'm using fortify to do the login, the project was already created. I'm trying to add...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Calculation of average of all possible slices of 1d-array I have a (big) 1d array of measurement data. I want to calculate the average for every possible slice defined by a start-index and a stop-index. Like cutting at both ends of my data and average every possible cut. The result should be stored in a square 2D ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issue with OrangeHRM customization I have forked Orange HRM 5.5 version,I want to customize it as per needs of my organization. I want to add a new plugin for Invoices. But its coming empty when I try to access it. I have copied the structure of other plugins for the same but its still not working. Does anyone has a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I faced an error "Application '/LM/W3SVC/2/ROOT' with physical root '######' failed to load coreclr." after upgrading my site to DotNet 6 I have upgrade my site from DotNet Core 2.1 to DotNet 6. It seems to work fine for couple of days. Then it started to crash in random interval of time. I checked in the Event Log ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: function called in render return undefined I passed my last 2 days to fix a little problem in my React project (builded with ViteJs, react-router.. and Strapi backEnd) but I need your help ! The case is : I have an images gallery component with a precise structure and images called with an API request to Strapi and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to limit kafka consumer poll result in bytes? My setup has three Kafka brokers and a dozen of topics with 15 partitions each. Java application starts 15 thread in which every consumer subscribes all topics. Let's say every consumer is assigned with three partitions of different topics. Topics has String records,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Downloading specific files(regex specific files) from FTP folder using java I am trying to download files from FTP folder using java but I want to download certain files not all the files. How to add the regex to the code to download the files. right now I am able to download all the files from FTP location. I want...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Print to console specific lines from log file generated using nohup command I am running the following command: nohup myscript.sh &> file.log & The process takes very long time to complete. The nohup will collect the output and error and write it into the file.log above. myscript.sh will activate scripts in the bac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to lunch symfony command via shell script i have a symfony command that i want to lunch it from a shell script. exemple: symfony mycommand. i have a script shell figuring in the project folder and i'm passing to it the symfony command to execute as an argument. the sh script: time=$1 php_script_path=$2 log_file=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How I get the record of two table which don't have foreign key relationship? Hi Anyone can help me to solve this problem I have 3 tables FundsPlanning , GradeMst and SupplierMst I want column SupplierId, WeightLoaded, DeliveryDate, InvoiceAmount, GradeName like this way. But the problem is there is no relationship b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Prolog print all possible Lists I am trying to print out every possible list for a given variable. With native functions, this is working fine, but as soon as I do this with lists, prolog throws an exception. This is my code (simplified): first(A, L) :- L = [K|_], A = K. % First element of L is A seco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use sequelize-typescript without creating custom getter each time to retrieve a number from database using sequelize? I would like to know if something exist to avoid create custom getter each time I want to retrieve a number from the database using sequelize paired with sequelize-typescript. Seque...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: relocation R_X86_64_32S against `.data' can not be used when making a shared object I hope I can get some assistance on this Assembly language issue I have been facing lately. Basically I am trying to build a dynamic library in an Assembly language that can be linked against from the C++ code. It shall provide some ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: main.jsbundle.map could not be found. Ensure the --sourcemap-output option is passed to the react-native bundle command Issue I tried to archive my react native project using Product > Archive on XCode14.2. But I'm getting this error: export WRAPPER_SUFFIX\=.app export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Server Driver for Linux 10 and armv7l? I want to write a Python script which is connecting to a Microsoft SQL Server database on a remote server from a RevolutionPi running Linux 10 with armv7l architecture. First I installed the Microsoft ODBC 18 using the instructions below (for Debian 10) https://learn.micros...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Matching the UID of an IMAP message to a Microsoft.Graph message This is probably an unusual request but I am writing a .NET replacement for a PHP email handling application for a company. This is only required to pick up emails from the default mailbox of a dedicated email address and process the email and any atta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Null check for a single id parameter on the Controller method In a Spring Boot Controller, I am trying to validate an id field in Long type as shown below: @GetMapping("/{id}") public ResponseEntity<EmployeeResponse> getById(@PathVariable @NotNull Long id) { final EmployeeResponse response = employeeService.getB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: apply if condition in pdf html using nodejs Display only if condition is true only if condition is true Salary ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way by which we can integrate playwright with karate?. any sample project or gudilines Is there any way by which we can integrate playwright with karate?. any sample project or guidelines available. I 'm trying to integrate playwright with karate so that i can run my tests created a new maven project fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add additional requestMatchers in multiple SecurityFilterChain? Lets assume I am adding some security in Spring Boot 3 using the SecurityFilterChain @Bean multiple times. The first @Bean looks as follow: @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http.authorizeHttpR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Encrypting using AesCryptoServiceProvider in c# is decrypting file to different size I must encrypt files using AES256CBC. The problem is when ever I encrypt a file, and decrypt it, it changes the decrypted filesize slighty. One file starts at 64920KB and ends up at 65536KB This is my encryption method: public stat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Auto Login with sessions php Im a begginer in php and i have a little project where i have a profile page with username and password, and i want the user to introduce them one time and if they are correct do whatever he wants and when he goes back to profile page he doesnt need anymore to introduce the credentials a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Get minute from datetime in SQL Server using JDBC I have a JDBC program to get the minutes from data, but it's not working and has an error: The result set is closed. Here is my program: String ip = InetAddress.getLocalHost().getHostAddress(); String selectSecondDateTime="SELECT date_time" + " FROM [dbo].[os...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to display the correct tooltip message based on series data in ApexCharts? I'm working with ApexCharts through the Angular wrapper ng-apexcharts. I have a chart that displays two series of data, and I'm trying to set a custom tooltip that shows a different message depending on which series the data point belongs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ get column from 2d array I cannt get max value from each row and col from 2d array As an input i have array: int arr[3][4] = { {1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12} }; Also have count of rows and cols: cols = 4 and rows = 3 Code: * *to get max value from array int getMax(int *arr, int size) { int m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Find all paths in undirected acyclic graph using Prolog `I want to print all the ways to reach Node e from Node a in a weighted unidrected acyclic graph. but my program misses a few long routes. This is my program. %Declare all the edges edge(a,b,1). edge(a,c,6). edge(b,c,4). edge(b,d,3). edge(b,e,1). edge(c,d,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Pass markdown files to Vue component through router I'm using VueJS. I have externally generated markdowns, and I want to generate static pages out of them thanks to a vue component. I'm using the vite-plugin-md to convert imported md files into a component. Working example Config (vite.config.js) import Markdown fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is padding images with zeros a better practice than directly rescaling them with resize() when it comes to training a CNN model for face recognition? I am new to deep learning and am currently working on a face recognition project. In my project, I used YOLOv5-face to perform face detection and I found the letterbox...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: js functions turns red inside ejs Good Afternoon, I'm Working with EJS very frequently and suddenly today visual studio decide to color my js functions (inside ejs tags) with red colored err's style. files that work perfectly fine with no "Error's" is now turned red.. I think the problem comes from the latest windo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Contravariance in Java with Classes I am learning Java variance. I am getting the Covariant to work but not Contravariance where I can accept a super type. I have a simple class hierarchy for this: Animal, Cat, Lion Then I have two classes as Generic holders: CovariantAnimalHolder ContraVariantHolder The ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: undefined is not a function (near '...markedDates.push...') When I was developing an app using React Native, the following problem occurred. TypeError: undefined is not a function (near '...markedDates.push...') I'm trying to put the following data into markedDates. {'2023-03-03': {marked: true, dotColo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CocoaPods dynamic framework copy bundle resources to project App main bundle my dynamic framework ABCView.framework use CocoaPods my ABCView.framework podspec: s.resources = [ 'ABCView/Assets/abc.png'] use to App main project App: abc.png in path: App.app/Frameworks/ABCView.framework/abc.png I want now is this:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: My mql4 expert advisor opens multiple positions even though I want it to open only a specified limited number I have manged to code a simple forex trading strategy (this is for experimental purposes, so no criticisms). When the rules to open a position are met, the expert opens a position alright.The problem is, The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How are hana Datatype ARRAYS stored While reading array types from HANA pandas show weird output theme_array [1, 0, 0, 0, 36, 39, 80, 111, 108, 105, 116, 1... I try to decode this using decode'utf-8' thinking that it was a byte data. However, no luck , how do I go about this
{ "language": "en", "url": "https://stackoverflow.com/questions/75625928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get list in list array from user? I want to write a function that the user enters the values and a list like the list = [[[1,2],[3,4]],[[5,6],[7,8]]] output is created. thanks for your help i have no idea what should i do about it :)
{ "language": "en", "url": "https://stackoverflow.com/questions/75625929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does update method does not work when estimation is wrapped in function? Apparently the update() method cannot retrieve the dataset the estimation was based on if I wrap the estimation function in another function. Is there any way around this, e.g., by specifying an environment? library(fixest) data(trade) # f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Setting Background color on Canvas I am trying to make a Fullscreen window that displays a solid white image in wpf. The window contains a Canvas with a Black frame that indicates the area that is 25% of the imagesizes length/width from the edge. The resolution may vary, so I need to create it at runtime. The issue ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GNU Assembly documentation There are many GNU tools like autotools and especially for autotools there's a really detailed documentation, as well as for make build system, but I didn't find any docs related to GNU Assembly syntax. For example NASM has a very good documentation, but is there something like that for GN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stop flask server by clicking a UI button. If the server is running using Flaskwebgui I need to stop my flask server by clicking a UI button (which will call a python function). If the server is running using Flaskwebgui. Server will shutdown if I'm closing the browser popup. But i would like to stop the server usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Magento 2 - Advance pricing for a particular quantity of a configurable product does not work when different size attributes are chosen On my Magento 2 website, I have a configurable product in which I have advanced pricing. if the total order quantity is 10 then price would be $4.25 but if the quantity is less than...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeScript does not correctly infer type? Problem description I want to have a function with generic return type which iterates through given object and do some operations with each of object values. Example I have a function: function clearObject<T extends object>(obj: T): T { const newInstance = { ...obj }; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get my Node JS code to run on a loop? I am trying to write a program in node js that scans a barcode then gets the address from a database and then plays the album using Volumio. So far I have achieved this but it only does it once. How can I make it loop continuously? const prompt = require('prompt-sync')(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read csv data into R (read.csv) I want to read in a csv (excel) file in my R file. Usually I use read.csv but this time it does not work can anybody help me? My code: persons <- read.csv("persons.csv", header = FALSE, sep = ",") Console gives out: Error in file(file, "rt") : cannot open the connection In addition: W...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does slotting work in this component without specifying the slot name? I have two Web Components made with Stencil.js. A Dropdown and a Card. Inside my Dropdown, I have this: <div class='dropdown'> <slot name="button" /> <slot /> </div> I nest the two child elements like this: <ifx-dropdown> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need help to put a sequential number in the middle of my filenames in LINUX I have some files in a directory and I want to rename them in such a way they will have sequence. Original Filenames: Customer_Branch_Record.20230303.1349.DAT Customer_Branch_Record.20230303.1356.DAT Customer_Branch_Record.20230303.1527.DA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to use column values in window function range between I have a pyspark dataframe which looks like this (formatted for better view, data partitioned by company_id and as_on_date ordering by t_tax_period) +-----------------+----------+------------+----------+--------------+---------------+---------------+ |company...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to show only certain props(eg;-fields comming from query) by converting to Dto in nestjs? I want to acceept certain fields from query params, and show only those field while showing the response,i am using dto conversion after getting the response from the db, is there any way to hide dynamic props while convert...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.lang.NoSuchFieldError: value in JSP page I am migrating an old application from WebLogic to JBoss EAP 7.4. One of my JSP pages is giving me this error: ServletException in '[mypage].jsp': value: javax.servlet.ServletException: java.lang.NoSuchFieldError: value [...] Caused by: java.lang.NoSuchFieldError: value ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to define an idempotent consumer in Apache Camel YAML DSL using a combination of headers? I am using the Camel Main component version 3.19 with the following YAML DSL route to successfully load files from an AWS/S3 bucket to the local file system: - beans: - name: IdempotentRepositoryBean type: org.apa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: All possible combinations of 15 elements (can be repeated), but from different variations for each on Python Hello everyone Help pliz (not strong in combinatorics). Maybe someone knows how to create all possible combinations of 15 elements (can be repeated), but so that each element strictly accepts only the values ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Getting "The '+' operator cannot be applied to type 'symbol'." when trying to concatenate $route.name Trying to get the current route name within a template, to pass it on to a router link (i.e. passing the current route to the login view, so I can return users there after they authenticate). It works as expected, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the possible event scenario for sessions with 0 screen views in Google analytics? My App team has the firebase analytics implemented in a mobile app, I was just working on some data analysis tasks in big query, and I found that there are sessions with 0 screen views. I just want to understand what could be a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: button.set is not a function Im building a bot in discord and i get this error. I My code is this one const { readdirSync } = require("fs"); module.exports = (client) => { client.handleComponents = async () => { const componentFolders = readdirSync(`./components`); for (const folder of componen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }