text
string
meta
dict
Q: How to get individual sample count in HTML Report in K6 While creating K6 Report the number of samples is empty in HTML report. Only avg, p90, min, max, p95 is getting displayed. Is there a way to include the sample count in the report? I have tried TREND in the report generation, but sample count is missing in that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Order By Not Seem To Be Working With Laravel Eloquent I'm working with Laravel 9 for a forum project and I wanted to return all the questions based on votes of that question. In fact the questions table has two fields named upvotes & downvotes showing the votes of the question (just like stackoverflow): Now in orde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML/JS Looking for way to make url to subpages im looking for solution for my problem. I have site with main page is in file index.html and as subpages I made for example subpage.html. I only replace content of one div in index.html to content from subpage.html and it works good but I cant reload page or copy link ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Different results from any(df.isnull()) and pd.isnull(data).any() I am using the standard Boston houses data frame with pandas and I have noticed something that bugs me: when I'm checking for missing values in 2 different ways - I'm getting 2 different results, though it shouldn't be. Any ideas why this is happening...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implement responder with dynamic status code I'm implementing a generic error responder to handle errors in the rocket rust web framework. Following the docs here: https://rocket.rs/v0.5-rc/guide/responses/#custom-responders This responder works for me: #[derive(Responder)] #[response(status= 500, content_type = "js...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Importing cplex linear program file into python I have written my linear program using cplex IBM studio to .mod file as follows: int I = ...; int J = ...; int ds[1..I]=...; int maxnint[1..J]=...; dvar int E[1..I][1..J][1..6]; dvar boolean V[1..I]; minimize sum(i in 1..I)(E[i,J,maxnint[J]]-ds[i]*V[i]); subject to{ f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: npm run dev NOT generating app.css and app.js file [LARAVEL] Referred to the freeCodeCamp video but there is no app.js or app.css after tons of googling. I want app.js and app.css to show under public
{ "language": "en", "url": "https://stackoverflow.com/questions/75570884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why "No module named tensorboard" shows when i run this code in google colab even tho i already have it? The code the code should work showing the tensorboard interfacde
{ "language": "en", "url": "https://stackoverflow.com/questions/75570885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Copying a slice of bytes into an array of non-matching size tl;dr what is the fastest way to copy a slice of bytes to a local array of bytes that may or may not be the same size as the slice? Given some slice returned from a function as a slice_: Box::<&[u8]>. I want to copy the maximum amount of slice data to a loc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to access an IEnumerable of model from script in razor pages in MVC? Is there any way to access a collection of model from java script in MVC? I want to get them and add some kind of style based on some value for each of them. I know how to handle it once you are dealing with one model. @model Model @section ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send animation file with Telegram api I have a animation file (*.tgs) in project directory. I want to send it with telegram api, I use this code but when I sent a file, it didn't show animation. var path = HostingEnvironment.MapPath("/Content/Sticker/0.tgs" ); using (FileStream fs = new FileStream(path, FileMode.O...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I update this Google Sheet more quickly? I need to update a Google Sheet with about 2000 Instagram likes, and manually updating each like, comment, and view would take too long. How can I update this Google Sheet more quickly? i am expecting to do this in more efficient way
{ "language": "en", "url": "https://stackoverflow.com/questions/75570895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does anyone know what the problem is for this code I am trying to run on arduino? I already installed pip, python3, uploaded standard firmata, and I installed pyfirmata. But I always get this error code Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: ParserError: Error tokenizing data. in SMSA indoBert Tutorial i'm trying to make simple train, validation, and testing data using DocumentSentimentDataset and DocumentSentimentDataLoader but I get this error /usr/local/lib/python3.8/dist-packages/pandas/_libs/parsers.pyx in pandas._libs.parsers.raise_parser_error() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Powershell: Counting members in a list of DistributionGroups Good day everyone. I have the following code, all working and giving a list that format as it shows in the code Name | PrimarySmtpAddress | RequireSenderAuthenticationEnabled Group1 Group1@primarysmtp.com | false/true Get-ADgroup -Filter * -Sea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error E0277 following book example dyn Trait, how to push a dyn trait in vector? My real case is similar to the Rust doc about dyn trait with Screen and Draw trait. So I built an example totally similar to the book. But instead of initializing the vector in place, I need to have a register function to push component...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to build for iOS while target includes a Mac-only package? I am trying to build a multi-platform app and have used the Sparkle framework in the project for the macOS platform. However, Xcode is giving me the error While building for iOS, no library for this platform was found in '.../Sparkle.xcframework', even t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reusable FlyoutPage on .NET MAUI and Prism is it possible to create a FlyoutPage navigation where pages are reusable. For example: The Flyout navigation in the Prism.Maui.Demo contains the view "SamplePage". This view has a button click counter. Is it possible that we use the same "SamplePage" in a Flyout navigation...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: incomplete content during iohttp request I have a program that submit a request as follows. import asyncio import aiohttp import time import socket import aiohttp from aiohttp import ClientTimeout, http ua = "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.13; ko; rv:1.9.1b2) Gecko/20081201 Firefox/60.0" url = ... a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Restlink Apollo Client - Vue - Download CSV - Prevent firing multiple requests I am trying to use RestLink in ApolloClient to download CSV file from a rest API but struggling with two main problems: * *It always send two request (meaning download two time): * *I am using pThrottle and specify the limit to 1 but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Make a function z(x,y) and make logic diagram taskIm not good at pascal substitute x and y,use formula and then find z,when x & y meet the conditions of the task
{ "language": "en", "url": "https://stackoverflow.com/questions/75570918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: What are the differences between AsyncEx.AsyncLock and Scott Hanselman's AsyncLock? I recently had the need to add an asynchronous variant of the lock keyword to one of my applications. There are many implementations to choose from, but the two that most appealed to me were: * *AsyncLock from the AsyncEx library. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570920", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: extract a line from a text file beginning with given prefix How to extract a line beginning with 70863 from a text file? prefix = "X-DSPAM-Confidence: " num = 0 count = 0 with open("foo.txt") as f: for line in f: if line.startswith(prefix): count += 1 num += float(line.split(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make Django slugify not duplicate with Unicode strings? So basically it works fine, but it creates duplicates of slug for some reason class News_Tag(models.Model): title = models.CharField(max_length=150) slug = models.SlugField(null=True, blank=True) def __str__(self) -> str: return self...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: problem connection mongexpress to mongo db in kuberenetes reference: https://www.bogotobogo.com/DevOps/Docker/Docker_Kubernetes_MongoDB_MongoExpress.php created few yamls files to understand the connection between multiple containers in kubernetes. Mongoexpress can't connect to mongo db. Getting the following error ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I fix IOException IOException not working It keeps saying "exception IOException is never thrown in the corresponding try block" and "cannot find symbol" public static void save(int[] row1, int[] row2, int[] row3) { try { FileWriter writer = new FileWriter("theatre.txt"); write...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: inserting more elements to top of page without changing the page I have a webpage that displays a list of text messages. When the user scrolls all the way to the top, i.e. when window.pageYOffset === 0, the page will make an API call to fetch more messages. Those older messages will be inserted into the list and the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to extract all files that match/ contain a string regardless of files extension and copying to another folder using CMD Im using this but i should specify the exact file names in a list. File name in the list (Test1.pdf) I have two files with the name TEST1 & TEST2.pdf My main purpose is i want to get duplicate ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Defining Specific AWS PROVISIONED Read And Write Capacity Units For GSIs In my override.ts file with AWS Amplify, I have successfully managed to write that I would like the table to be PROVISIONED, with specific read/write capacities. resources.models["EmployerAccount"].modelDDBTable.billingMode = "PROVISIONED"; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Facing permission error while deploying package using salesforce ant migration tool I am facing the following error while trying to deploy code package using ant migration tool to a new org. error while deployment It is saying you do not have permission to insert the field. I checked and the permissions on the field...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Invalid opcode 0xFFFF at PC=0xBE78 in Proteus simul when i call the ISR(USART_RX_vect){} I write a code for ATmega328P(Arduino NANO). It will control a servo motor and pump using the Bluetooth module HC-10. Compiler compiles the code without mistakes, but the simulation doesn't work. The same problem happened when i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Request to Github page returns "curl: (35) error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version" I'm trying to open pola-rs' documentation but my browser returns an SSL error This site can’t provide a secure connection pola-rs.github.io sent an invalid response. ERR_SSL_PROTOCOL_ERROR So I tried down...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JPA / Hibernate: Simple "find" results in console text character salad and application stucks hope someone could help: I try to do a simple find with Spring Boot 3 / JPA Jakarta / Hibernate 6. If i do a simple "EntityManager.find" the application stuck. This is the output of my unit tests. I played around with the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: REST APIs using flasgger docstring with authentication details I'm trying to document the REST APIs I'm creating and I've picked flasgger. I'm using docstrings and want to add authentication details. Based on the Swagger docs, it should look something like this, but the generated doesn't show anything. def get_users...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Camera doesn't open from webview in android I'm trying to show the camera in WebView.The webview has a feature that allows the user to scan documents. I got it to work using WebChromeClient. But I am unable to do that. I have seen other references but they could not help me. Is there anything that I have missed on t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: First time logging in in Incognito/InPrivate window doesn't set session or cookie I'm not entirely sure yet whether this only affects incognito windows or also "fresh" normal browser windows (but clearing all browser cache doesn't reproduce the issue). The issue is the following: When I try to login to my PHP/HTML w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getting gmail message as batch request from gmail api messageList we are sending message ids function getGmailMessagesBatch(oauth2Client, messagesList){ var batchBody = \[\]; var indReq = ''; if(oauth2Client && oauth2Client.credentials && oauth2Client.credentials.access_token){ /*Generating the request body for the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which function in python equivalent to quantile type=1 in R? I have a range of number like lista= [100, 200, 350, 700, 950, 275, 563] In R I have function quantile like this: Cutoff= quantile(lista,0.36,na.rm = FALSE,names = FALSE, type = 1) Is there any function that is equivalent in Python? I read document pytho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: getting the index of a combolist from itext I am creating a PDF document using iText7. In this document I have created a few combolist from which the user is selecting the values. Is it possible now to get the values selected by the user to populate other fields? My code to create the pdfDoc is as follow, but I have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: xsltproc crashes on windows 10 I can use xsltproc from http://xmlsoft.org/sources/win32/64bit/ on Windows 8. But after I upgrade to Windows 10, xsltproc stops working and crashes every time. Has Anyone experienced this problem before, and how do you fix it?
{ "language": "en", "url": "https://stackoverflow.com/questions/75570949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter Firebase: how to update user in UI I want my App's UI to update whenever I change something about the currently signed in User, such as changing the displayName property. As you can see, I am using a StreamProvider and the Stream<User> object which is returned by FirebaseAuth.instance.idTokenChanges(). Is th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP retrieve data sorted by month I need your help! I retrieve data from the database as follows: Month Work 2 6 4 1 5 7 8 3 9 5 11 5 and I want the data from the database to look like this; how can that be done? jan feb mar apr may jun jul aug sep oct nov dec - 6 - 1 7 - - 3 5 6 5 - ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I am trying to read id3 tags but on the way i thought i could restream my stream none of this looks like audio I found some super resources that was on github.com but nothing would to do this in its entirety that would work on my serverhost . Now I have this code streaming data its got really confusing as its using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I exclude a pattern and then include back a pattern with Perforce Streams? I have a large depot with large binaries spread throughout in many subdirectories, but following a pattern. Some are only used in some workflows, and some are not used at all. The contents and layout of the repository comes from a thir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why i get 'Stack' object has no attribute 'list' class Stack: def __int__(self): self.list=[] def __str__(self): values = self.list.reverse() values = [str(x) for x in self.list] return '\n'.join(values) def isEmpty(self): if self.list == []: return "Tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: MarkLogic Task server uses only one thread I have a query that needs to be run in a collection of 300,000 documents. I used xdmp:spawn-function(), but when I look to the task server it only uses 1 thread to perform the query whereas in the server specifications, the max number of threads is 16. How can I use all of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check collections for laziness Tell me please. You need to add a collection check for laziness in the method. Imagine that a lazy collection is included in the parameters, a new lazy collection should be generated from it. You need to write a check on the laziness of both collections enter image description here How...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-8" }
Q: nestjs with ServerStaticModul as install or executable I have a nestjs project/build with a ServerStaticModule included and it is running fine. Now I have to install it on an other pc and I don't want to install the source. Is it possible to generate a insall version or a executable from a nestjs project with a Serv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to `go install` from gitea I'm trying to install a package from a self-hosted gitea instance. I'm trying to get a package running go install gitea.urkob.com/urko/go-root-dir but I'm getting this error no required module provides package gitea.urkob.com/urko/go-root-dir; to add it: go get gitea.urkob.com/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PhpSpreadsheet doesn't update absolute row reference when deleting a row In the following code using PhpSpreadsheet I link one cell (A2) to another (A3) using an absolute row reference (A$3). Now deleting the first row should move all the cells up and the old cell A2 becomes cell A1 and cell A3 becomes A2. The formu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting 403 forbidden when accessing any endpoint my problem is with getting 403 forbidden response when trying to access any endpoint with login and password from user via postman. I don't know what am I doing wrong, even when I change access to permitAll() for each endpoint and don't use aneRquest.authenticated()?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SpringBoot gzip compression of json data, does the decompression works automatically? Im seeing some alternatives to reducing the size of my json data here: baeldung guide Im interested in the gzip option, but I was wondering if the decompression is also automatically? For example in my case it is going to be sendin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically assign a default value for Postgres column I have a nullable column whose values are taken from an enum. I want to define that column's default value based on another column's value. For example, given the following table: name | type | status -----|------|------- abcd | t1 | null efg | t2 | s1 The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: EKS upgrade and statefullsets I'm trying to upgrade an eks cluster and I have an issue with a statefullset pod that is not recreating in new nodes. To upgrade, I first begin to upgrade the control plane, and then create a new node group with the new version ant delete the old ones. But I have a problem with stateful...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to devide a shape file into two parts using python I've got a shape file, as shown image. I want to split it into two different shapefile, as shown in the second image. How can I achieve this using python? What I have tried so far is shown below. import geopandas as gpd ; import shapefile ; import numpy as np ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FlaskForm not returning input, only returning None This is an application of which it asks for the details of an individual, including their contact. It then sends an OTP to their number of which they have to verify it in the next form that they are redirected to. The issue is for my OTP form, it is not returning an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to restore images to S3 when they were not uploaded In a Django app I'm using storages and images were uploaded to an S3 bucket. At some point DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage' this part was deleted from the settings and all that time images were not uploaded to the buc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Building a partial JSON from another JSON using variables I'm using the expo-location lib's getCurrentPositionAsync in my react-native project: result = await Location.getCurrentPositionAsync(); to get the current GPS position. Now the result variable will hold this JSON object: Object { "coords": Object { "a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error deploying a simple node server on heroku I was trying to deploy a node server on heroku to take the data posted to the server and insert it to a database and send E-mails but after deploying heroku is showing me application error. const express = require("express"); const bodyParser = require("body-parser"); c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Abstract Angular Directive not providing services I don't understand why this does nothing @Directive({ providers: [CalendarComponentStateService] }) export abstract class AbstractEventsComponent { calendarMonthEventsStateService = inject(CalendarComponentStateService); Other than throw NullInjectorError: R3I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What could be causing my file download from a Node.js server to only appear in the browser's network tab? Server sends a video file with proper headers, but the file is not downloaded and only appears in the network tab. How can I ensure the file is downloaded by the user's browser? app.get('/convert', (req, res) =>...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Update array element data in tableview cell on button click im struggling to find a good solution for items amount in cart, i have functions to multiply and divide price of products, but i dont know how to store them properly and pass to another VC. i want to somehow rewrite cell amount value every time i click the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MPDF not showing arabic fonts when copy paste text We have a pdf creation application which running with php + mpdf. Its working fine for Arabic lanuage with rtl and pdf creating successfully. But in some cases like we have a arabic text which got from a customer input and customer added this input by copy paste the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75570999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No module named 'library' I am trying to add a login system with Google-api-python-client that let's user login with their google account and my frontend is REACT JS. I was following a tutorial and was setting up my serializers.py accordingly but my serialzers.py can't find library and i can't use the googe, registe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firebase URL not working on Torchaudio python I am facing an issue, where firebase storage url cannot be loaded by python torchaudio in WSA (Windows subsystem for Linux). The Error which is shown. Here I am using speechbrain library which uses Torchaudio to compare two audio files and to determine the voice belongs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Establishing a connection to DUKASCOPY in R or Python I'm trying to connect to my broker Dukascopy via FIX 4.4 api (https://www.dukascopy.com/swiss/english/forex/api/fix-api/) here, Jaspal had the same problem: Establishing a connection to DUKASCOPY using stunnel seems he found a solution.. Any suggestion how to do ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I get "cannot unpack" error with PythonNet but not with IronPython? I tried to connect to socket with IronPython and everything worked. But, when I try with Python.Runtime I get Python.Runtime.PythonException: 'cannot unpack non-iterable ValueTuple[String,Int32] object' exception. I use PythonRuntime for python3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: (SOLVED) One line on a line graph sits at the top of the graph, rather than follow its values I have an 'average' (maybe slightly below) experience of matplotlib, but I'm absolutely confused by this. I have 3 lines on a graph, shown in the image, yet one line seems to want to stick to the top of the graph, even thou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do i check for the button thats clicked and submit to the relevant route in laravel I have one form but i want to submit to different route based on the link(button) the user clicks ` {{ Form::open(['url'=> route('finance.invoices.store', ['pending', 'visit_id' => $visit->id]), 'id'=>'inv', 'method' => 'POST']) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Catalan numbers in MIPS assembly Catalan numbers are recursively defined by the following equation. This is the test case: Program input: 0 1 2 3 6 9 Expected output: 1 1 2 5 132 4862 Obtained output: 1 1 2 4 32 256 So my output is wrong when n = 3, the output should be 5 and mine is 4, and so on. here are my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to create a new presto/hive table same as another table in schema but from different s3 files The target table is in parquet and partition by dt. I tried following in hive, but the new table is empty. create table temp.new_tbl like users.target_tbl LOCATION 's3://path/dt=20230220'
{ "language": "en", "url": "https://stackoverflow.com/questions/75571013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What type can be used for a parameter of a generic method that will not be invoked? I am trying to define a method with a parameter that has a generic type, using unknown as the generic type because I don't need it: function f(op: Operation<unknown>): void {...}. It does not work in every case, it does not work if O...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: the click button doesn't work and doesn't stop reading all review text I use this method to read all the review text " "142 reviews from the pop up from selenium import webdriver from bs4 import BeautifulSoup from selenium.webdriver.edge.service import Service as EdgeService import time from selenium.webdriver.suppo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to pass a class reference to a generic type parameter? I want to pass the reference of the same class to the GetInquiry class dynamically that I would to MyClass. public class MyClass<T> where T: class { public T Inquiry(T obj) { string Username = "myUser"; Task<MyClass<T>> myTask = Ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Could not configure nest api with firebase hosting rules rewrite UPDATE: this is work when i have set in nest app.setGlobalPrefix('v2') has to be? because in local is not nice to work like that I have a nest app with nx and firebase I am trying to add a hosting rules to my url: my url is : api.domain.com/v1/XX - th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Spidering ajax Call URL as Stand Alone Content My page has an ajax call that loads fresh html content via a separate url. Google has now spidered these ajax urls and runs it's search console algorythm over them as if it were a stand alone page. In the live environment, the html returned from the ajax script p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Modularization share Application class to other module project I am trying to separate my monolithic module ':app' to multi-module. My problem is that some of data layer needs Application class instance. I use that class for my Dagger2 component injection like sharing its context. I really need an access to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can ChatGPT recognise its own text? Edited question: How a transformer architecture that generates text is able to detect that the text generated is coming from the transformer architecture that generated the text? I asked ChatGpt to write a paragraph. Then I copy and paste the output into another chat and ask ChatG...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How to pass component into another I use useEffect hook in which I want to get some Preview components and pass them into PreviewContainer. Preview component must contain "src", "alt" and "file size" parameters from reader.onload function. How can I do that correctly? I've tried use previewElements with useState - d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform : Error reason: The ARN isn't valid. A valid ARN begins with arn: and includes other information separated by colons or slashes I am attempting to integrate the aws_wafv2_web_acl_logging_configuration resource with the aws_cloudwatch_log_group resource in my Terraform configuration. However, I am encounter...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating custom hook to retrieve user location? This is my SplashScreen.js and I am trying to reach userAddress. But when I start my app: This line of code does not executes: console.log( 'asdfsaf',locationUser); But when I press 'r' and after reload everything works and I am able to see the above console.log. cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I get different output when printing a matrix of char I'm trying to program the game Minefield. I think the best way to make the field is to use a matrix of char. I ask the user for the difficulty, fill the matrix and then output the result just to see if that worked, but it doesn't, here's the code: #include <stdi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Building a Twitter Bot. Error in statuses with Twitter API request I get "Bad Authentication" I am trying to build a twitter bot that scrapes accounts between 10000 and 50000 followers and that are based in the USA and import their profile into an excel file. Here is the entire code: # Import all necessary packages ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: TorchStudio cannot run I seen https://www.youtube.com/watch?v=aNKTdMWO56w . Then I install TorchStudio. My PC: Windows 11 x64, Python 3.10 . I go to homepage of TorchStudio https://www.torchstudio.ai/ , then download. My log Microsoft Windows [Version 10.0.22621.1265] (c) Microsoft Corporation. All rights reserved. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: no String-argument constructor/factory method to deserialize from String value ('debabrata') I am keep facing same problem while posting data from swagger or postman . enter image description here This is the error code with error message enter image description here this is the input data https://i.stack.imgur.com/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting the adjectives and plurals of lemma's in various languages Could anyone point me to a solution/lib to instead of lemmatise, to do inflection(?). And for multiple languages (English, Dutch, German and French). Or to give an example. I have the lemma 'science' for which I need the words 'sciences', 'scientific...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: problem in importing os.chown and shutil.chown i want to import chown from os but it seems there is no chown in os Traceback (most recent call last): File "C:\Users\lenovo\Desktop\fort - Copy.py", line 1, in <module> from os import chown ImportError: cannot import name 'chown' from 'os' (C:\Users\google\AppDat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CIAO 4.15 (X-ray Data Analysis Software): Doesn't work all commands after successful installation I installed a CIAO from the "https://cxc.harvard.edu/ciao/download/ciao_install.html" and it was complete with no issues. All smoke tests were passed and command "ciao" was showed correct result. But all commands (dmcop...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Java boolean expression parser I need a java expression parser, but I don't know how to do it, I can show you how it should look like: String expression = "2==2"; boolean result = parser.eval(expression); String expression2 = "\"text\"!=\"textt\""; boolean result2 = parser.eval(expression2); parser.addVariable(new V...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: LSTM cell from scratch written in c didn't predict the same value as keras predicted I'm using c to write an lstm cell from scratch. I tested it with an input which has the length of 16. The predicted output, which has the length of 10, only matched the last 6 element of what keras predicted. First, I wrote a simple...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run useEffect only once when multiple dependencies change at a same time I am using a useEffect hook with two depencies as follows: useEffect(() => { ..... }, [apiData, currentMeasurements]); Note that, the apiData is obtained through useLazyQuery of apollo/client. Now upon save (say, saving or submission o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: calculate with dataframe and dictionary? I have a dataframe/excel sheet with transaction types of business processes and how often a transaction type was performed: branch Transaction Type occurrences aa red 12 aa green 100 bb blue 20 cc red 12 cc green 100 cc blue 20 I have a second df...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Excel VBA Type Mismatch calling Private Sub from ListBox_Click I have a Sheet that I have put a ActiveX List Box onto, and a function which will update a certain ListBox (it's listfillrange is a named range with has dynamic size) All the following code is within the Microsoft Excel Objects - Sheet1 Function to updat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loading onScrollChange() doesn't work due to notifyItemRangeInserted() in AsyncTask onPostExecute() I am building my first project (to read 18+ content) and I want to add some sort of pagination (when the user scroll down to the bottom, it generates more images) and I noticed that when I call adapter.notifyDataSetCh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to detect the format of output in a currently-executing knitr? I have a function that produces a table. I would like people to be able to use this code to inside of RMarkdown/Quarto documents. I would also like to prettify this table, which would be aided by knowing whether the table is heading for HTML, PDF, or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a rotating view in Android How to create a rotating view in Android using Kotlin? (Like a fidget spinner :)) For example, after a button is clicked an ImageView will spin until the other button is clicked. Do you have any ideas for this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75571054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a whitespace before "((VERB)" only if it is not preceded by a space or the beginning of the string? import re #input string example: input_text = "((VERB)ayudar a nosotros) ár((VERB)ayudar a nosotros) Los computadores pueden ((VERB)ayudar a nosotros)" #this give me a raise error("look-behind requires f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: List files modified date from 12AM - 08AM today - UNIX I new in shell script. I need to list down file TODAY file with specific time range in a directory. Example TODAY : 2023-02-26 00:00:00 - 2023-02-26 08:00:00 I did search https://www.cyberciti.biz/faq/linux-unix-osxfind-files-by-date/ It using date but I need ti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: 404. Route ... not found So I installed wamp.net, for my studies. Installed nginx and php in wamp.net. I got asked to create a basic website, called lab1.dev, and add a php file called 'test', that has some echo in it, in the root folder, i created the file. But when I try to open this website https://lab1.dev/test....
{ "language": "en", "url": "https://stackoverflow.com/questions/75571058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CSS not aligning in one row I have this html/css page, im trying to put in the same row the items of the agenda class , centered in the page with this code : <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>Guia de Pesca Santos</title> <link href="css/Style2.css"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }