text
string
meta
dict
Q: Is there a way to use a Component to display detail of a blog post on click in NextJS? I was trying to create a route that shows details "individual" of a blog post when someone clicks on a post on a blog website (Please keep in mind that the posts are stored in a Component rather than pages) - as such: Component ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I get my background image to fit exactly within its responsive container - i.e. NOT keeping its aspect ratio? All questions I come across talk about keeping an image's aspect ratio. I don't want the image to keep its aspect ratio. I want the image's width to exactly match the container's width, and the image'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python,net in C# development. How to pass value to the method and receive the return value? Am trying to run python script file using ASP.NET C#. Using Python.net since IronPython does not support libraries I use. Is there any Python.net resources or example projects that I may possible use? I want to pass the id fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rewrite Pandas Series, based on two other Pandas series I got 3 Pandas Series, each having the same indexes. Two of them only contain True/False values, while the 3rd contains numbers. Is it possible to change the values of the 1rd Series, if 2/3nd are both not True at the same time? 1st Pandas series Index Valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Return multiple values from 2nd table where joined from 1st table I have 2 tables. 1 Item table & 2 Category table. I need a query which returns the cat_Code, Cat_Desc and Cat_DescShor data from the category table where the value in the Item_cat 1,2 & 3 columns in the item table matches the Cat_ID in the categor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automating spreadsheet to pivot chart error 1004. I am wondering why it comes with this error after I recorded the macro Sub Test() ' ' Test Macro ' ' Keyboard Shortcut: Ctrl+Shift+T ' Range("A1:N226").Select Sheets.Add This is the problem area ----- * ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why Laravel relation is empty but query show data from db I have a strange problem with a relation and I can't find the reason (I have alternative solutions but I want to understand this) I have two models, communities and community_users, with these data communities id name 1 community 1 2 community 2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Python Parallel Processing with ThreadPoolExecutor Gives Wrong Results with Keras Model I am using parallel processing using the concurrent.futures.ThreadPoolExecutor class to make multiple predictions using a Keras model for different sets of weights. But the Keras model predictions using parallel processing are no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get element (text/content) path from an xml file using Python? Let's say the keyword I'm looking for is under root//parentNode//childNode1//childNode2//text, I want the output to be "The keyword you're looking for is under {xml_path_to_element}" I couldn't find a method in the xml.etree.ElementTree documentat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: for loop doesn't modify a global variable python I've declared some dicts that contain keys for each NFL team and an object related to them. Now I'm trying to modify those dicts in order to have a key called 'teams' where I would put the previous values of the dict, and 5 new keys named 2018 to 2022 tmp = ['Packers'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How could I set the default Azure Workbook group state to expanded? How could I set the default Azure Workbook group state to expanded? I want to Show expand / collapse in title of group, but also I want the state to be expanded when a user sees the group for the first time. Right now (by default I assume) the defau...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Force a button to be pressed before executing macro Currently, I have in excel a button panel created where each button has a macro assigned to it that increments the value 1 to 1. I would like to add 3 new buttons where each time I press one of the buttons already created, it forces me to press one of those three b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show the position in a map in a MAUI .NET 7 application? I am testing a very simple application that get the location from the GPS information and I would like to show it in a map. I know that it is possible to use the native maps application of android with MAUI, but it makes me to create a develop account i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get SVG text to align with the outer arc of a circle segment? I'm trying to label a pie chart of sorts. I can't seem to get the text to follow the outer edge, inside the segment. All my attempts to modify alignment result in different variations of the text being jammed into the acute angle. The transforms...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set different node version in different folders I am dealing with two sibling folder and i need to use two different node versions 12.22.11 and 18.14.0 i tried with nvm use but everytime i change it in one directory the other one also changes OS: Windows 10 NVM: 1.1.10 Steps: * *in the firstfolder: * *nvm use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which Material version (v2 or v3) is Angular material based on? Angular Material is based on the Material Design Specification. Which angular material version belongs to which material design specification version (v1, v2, v3)? Angular Material Version Material Design Version 16 ? 15 ? 14 ? 13 ? 12 ?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connection refused when used docker Compose with postgis and nodejs My composed container after docker-compose up always ends up in connection refused error. Following is my docker compose file and my docker file and the error is listed below. The application is a nestjs based graphql application with postgis as dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: View closing when a presented sheet has been dismissed I use sheets for various different reasons, all inside of navigation views within my app. I'm currently having a problem where when someone dismisses the sheet, the entire view closes and exits the navigation view back to the home screen, a similar result to if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I update specific cells in an Excel sheet using Python's openpyxl library based on a pandas dataframe with conditional formatting? Can someone provide guidance on how to correctly iterate over the rows in the dataframe and update the corresponding cell in an Excel sheet based on the values of certain columns...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pylance gives me an error message that i don't understand my code Does anyone know why pylance says "(" was not closed pylance? And it also says expected ":" It seems to only not work when i use "=" but not "!="
{ "language": "en", "url": "https://stackoverflow.com/questions/75606345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Is there any way to get the user's/client internet speed using React js? I have tried several ways but keep on getting errors , one of it which i used is package "react-internet-meter". Is there any other ways that i can try? Error: Module not found: Error: Can't resolve 'react-internet-speed-meter/dist/index.css co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Basic Playwright setup not working in Sveltkit When i run npm test after timeout i get these results: Running 0 tests using 0 workers [Webserver] ... some unused css selectors messages [WebServer] Error: Timed out waiting 60000ms from config.webServer. I did research on google. But materials are very limited and co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CVE Matching with excel I am working on cybersecurity and I would like to add some information on my vulnerability scanner report (excel format). I received on that report the CVE without any information, I would like to know if there is a way to match the CVE form excel file to information online to populate my exc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to add add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" in CamelTestSupport I am creating a test that extends of CamelTestSupport. I am using Apache Camel 3.10. I have tried to set JavaTimeModule() in the test inside the createRouteBuilder, with public ObjectMapper produceObjectMapper() { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linkedin v2 GET posts api returns duplicate posts with different id, any fixes linkedin posts api get posts by author. Getting 12 instance of the same post with different id. I was using this API to get multi images and video posts as it is not possible with ugcposts API. So far working well but I found If user has ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multi threading filesave C++ I would like to multi-thread a nested for loop. Part of it is doing a long computation: (GlauberOnce(Glauber,T_relax,T_evolve,J); measure->transform01(Glauber->SpinsHistory);) and another part is saving these results to the same files. Can anyone help me implement multi-threading for th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: INVALID_ARGUMENT: RESOURCE_EXHAUSTED: Connection closed after GOAWAY I'd like to alter the parameter GRPC_ARG_HTTP2_MAX_PING_STRIKES as documented here (https://github.com/grpc/grpc/blob/master/doc/keepalive.md). with a default value of 2. Want to change it to tolerate 0 pings before the connection is closed with a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NodeJS graceful shutdown of the process only after all tasks have been completed Here is the code/pseudocode that I have: process.on('SIGTERM', () => { console.log("Received SIGTERM to scale down Service gracefully..."); while (tasksCount != 0) { console.log("Waiting for " + tasksCount + " to reach 0 before...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react router navigate(-1) (useNavigate hook) do not work properly I have problem with react-router when I use navigate(-1) (useNavigate hook). For example I'm on '/products' (PRODUCTS), tap on button (using useNavigate('...')) and now I'm on '/products/create' (PRODUCT_CREATE), then I go back using navigate(-1), and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why can I not install cargo-generate? I am trying to run a rust template and I get the error: Error: Required cargo-generate version not met. Required: >=0.16.0, <0.18.0 was: 0.18.1 So I tried to install version 0.17.6 with the following command: cargo install --version 0.17.6 cargo-generate But I get the repeated...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subscribe is deprecated: The declaration was marked as deprecated here in visual studio code the subscribe appears with a line in the middle of it obtenerProductos() { this.productoService.getProductos().subscribe(data => { console.log(data); }, error => { console.log(error); }) } I was ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to delete Spring Boot logging files automatically? I use the following logging config in my Spring Boot apps and save logs in that log file. But it creates many files (e.g. application.log.2023-02-26.0.gz) and after a certain period of time, I need to delete old log files based on size or creation date. logging:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606363", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I'm learning Java and I am using H2 database through JDBC And It is not working. It says that the operation it is not permitted Error code: IO Exception: "java.nio.file.FileSystemException: /Users/Franco/Desktop/h2: Operation not permitted"; "/Users/Franco/Desktop/h2" IO Exception: "java.nio.file.FileSystemException...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vi named register issue I have recently started learning vi/vim. I have stuck. So I have 3 lines inside my file text.txt. I open it using $ vi text.txt. To copy 3 first line I use :1,3y a. Check wether it is in my register by writing command :reg a. It is. After that I open second file by writing command :e text1.tx...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the best way to be able to use WSL on both my local C: drive and my external D: drive? I am using Ubuntu on WSL, which I downloaded a few months ago. However, my storage space on my local SSD (only 256 GB) filled up very quickly. I now have a 2TB external SSD, to which I would like to move my files. I want t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I add a new Project including some .cs files to my solution from a .NET 6.0 application? I'm working on a code generator. After the code is generated, a new Class Library project should be added to my solution which includes the generated files. What's the best way of doing that? A: You could use Microsoft.B...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix that type of error when I try to run command "mongod" for MongoDB mongod {"t":{"$date":"2023-03-01T16:14:48.163+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"-","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":17},"incomingIntern...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Failed joining ejabberd open room I sent my join request to an open room MUC like below: <presence from="myJid@chatserver.com" to="roomname@conference.chatserver.com" id="17cb115c-2a7a-4aa6-8498-458a14c13f4d"> <nick xmlns="http://jabber.org/protocol/nick">MyNickname</nick> </presence> But I keep getting error r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dispose the visualization everytime react app reloads I am trying to display my tableau dashboard on my React app. I am unable to dispose my viz properly. So each time i uncomment "viz.dispose()" to dispose it manually and run the react app again. Because if i do not dispose it everytime i reload the app it throws A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: API Gateway and ALB in AWS I need help with this situation... I have a k8s cluster where I have deployed three services (configured as ClusterIP type) I have created an AWS Ingress that provision an ALB. The ALB has an AWS issued certificate for the domain *.example.co.uk. I configured the ingress with hosted based ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting started on proving 2-SAT is solvable in linear time using dynamic programming I'm asked to prove that solving 2-SAT using dynamic programming takes linear time, and I'm looking for some hints to get me started in the right direction. What I've been considering is some sort of table to store the satisfiabilit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SQS as destination for failing Lambda or directly invoke another function? I use an AWS Lambda function which is invoked by an S3 event and when run successfully it adds a Success entry in a database. In case of failure I would like to add Error to the database. A simple way to handle this is the destination feature...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: console.log is "cheating"? How do I get REAL output from console.log? Ok, I noticed a strange behavior. I am working on a ReactJS app that generates SVG outputs. The crux on the matter is that I want to embed the ReactJS into a CMS and the CMS is sending data to the ReactJS and React is supposed load fonts via opent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606384", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Deploying MAUI app to play store using Pipelines I have a MAUI application that I am trying to release to the play store using pipelines. The app is built using DotNetCoreCLI@2, as show here: task: DotNetCoreCLI@2 displayName: 'dotnet build' inputs: command: 'publish' projects: 'APPNAME/APPNAME.Android.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606385", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can I rely on fetch to cache any resources in javascript? For example, in page 1, we fetch a css file in javascript (assuming mystyle.css is not loaded before): fetch('/mystyle.css'); When the user later visits page 2, which contains this css resource: <head> <link rel="stylesheet" href="mystyle.css"> </head> Will...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Problem with adds animation after the element has appeared I have 3 buttons and have photo - after im press the button i should see photo(if i click button lovers i see lovers photo etc).My code: const headerbtn = document.querySelector(".portfolio-menu"); const headerPhoto = document.querySelector(".portfolio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Memory allocation in for loops Python 3 I can't understand where the object which is put as iterable in for loop is stored. Consider following examples: First case: ls = [2, 1, 4, 6, 7] for i in sorted(ls): print(i) Second case: ls = [2, 1, 4, 6, 7] reverse = sorted(ls) for i in reverse: print(i) I put the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate pdf from a libreoffice calc sheet fitting the page width using CommandLine Im using libreoffice --convert-to pdf to convert file xlsx(excell) to pdf format but i cant change scaling option into "fit to width". How to generate pdf from a libreoffice calc sheet fitting the page width using CommandLine
{ "language": "en", "url": "https://stackoverflow.com/questions/75606397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: can I use address(this) to call a contract? I want to set a function that the address of caller is address(this), which means the smart contract address itself, instead of msg.sender in solidity. Is that possible? If it's possible, could you please show me the function code example? If it's impossible, is it the fea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Osmium: complement tag addr:city to amenity=school query I'm using a .pbf file containing the OpenStreetMap data from Switzerland and I the following Osmium command to extract every entry that contains the tag amenity=school,college: osmium tags-filter switzerland-exact.osm.pbf nwr/amenity=school,college \ -o s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What can be the reason for `clone()` returning a non-PID as reported by strace? I'm trying to track the creation of processes by analyzing the output of strace and after a couple of thousand lines I'm encountering a situation I've never seen before. In this short snippet you can see the first occurrence of PID=50113...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessibility: On P-DIALOG(Primeng), Shadow DOM Component fields doesn't get focus when user clicks "Tab" or "shift + tab" On a P-Dialog, I am using input fields on the modal, and few input fields rendered from the components where encapsulation: ViewEncapsulation.ShadowDom components, when i try to access the field...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in firestore - Collection references must have an odd number of segments, but Accounts/YZnOaRYqjbZqzmT4oYIuNSTVgXU2 has 2 I am trying to save a document to firestore. I have created the following code and it works when the ID is removed and saves a document to the collection. But the problem is, I want the ID ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Karma/Jasmine Expectation error in test with no expectation I am using Jasmine on Karma and I am getting the following assertion error on a test that has NO expectations or assertions: 1) should do something name_of_the_test Error: Expected '403c26ca-169d-4682-8baa-3f4b22c041f0' to be null. at <Jasmine...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Applying a tensorflow function to part of a tensor which meets a condition I have a 2d matrix of values with distances from the origin (to be used for a 2D Fourier Transform): s = tf.linspace(0, 10, 100) x_grid, y_grid = tf.meshgrid(s, s) t = x_grid**2 + y_grid**2 I want to apply a tensorflow function to this tens...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I work with specific version of dependency in maven? I have a project in springboot 3, I want to consume some service from internet, I implemented a webclient, here my webclien definition @Bean public WebClient createWebClient(@Value("${internet.service.url}") String urlInternet) { return WebClie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I solve this warning message? I have just installed the "irr" package but when I try to use it, it gives me this warning: Warning message: package ‘irr’ was built under R version 4.0.3 What can I do to overcome this warning and use the package? Thanks
{ "language": "en", "url": "https://stackoverflow.com/questions/75606416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shopify App Proxy is downling the liquid response as a file instead of rendering I am using Digital ocean As a Shopify App server, and apache is the web browser. When I app proxy, files are getting downloaded, instead of rendering the liquid content response is some like below return response($data,200)->withHeaders...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sum dynamic array that is X number of rows above formula cell based on multiple criteria Looking for a sumproduct formula that will sum a variable number of rows above the formula cell. The summation needs to meet multiple criteria. Criteria is provided in Columns A, B & C, where: * *Column A = month *Column B = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it okay to use ra-02 lora module in india I am from India and developing a project that uses lora technology. I am using the lora ra-02 from ai - thinker based on Semtech's sx1278 lora module. Now as far as I know this module uses the 433MHz frequency for transmitting and receiving but in India the 433MHz frequen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I have a problem with fetching data from json object in react js I have a div element like below and fetching data from a json object from DB but the problem is my data is divided into strings and links and those strings are not fixed either, let say if client wants to add a different text without any links then the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to highlight a cell with 2 parameters in Excel conditional formatting I need to highlight individual cells in a column if: 1)that cell is todays date or in the past 2)if the cell next to it is blank Both of these conditions must be true but I'm having a hard time using IF/AND statements In this image I would ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606426", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GStreamer | How to force deinterlacing of progressive video I am receiving a H.264 progressive video stream which I need to decode and display. However, the actual images that were encoded are interlaced and the two fields were combined / interleaved before being encoded to produce a pseudo-progressive image (with c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: QtRemoteObjects: get signal on host when remote node/replica disconnects I'm searching for a API of QtRemoteObject classes to detect when a remote client node (or even a specific replica, if possible) disconnects from the registry/host. I've seen that this 4 year old question has no answers on stackoverflow: QtRemot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delphi + ios FCM push notification get content without clicking on the push I want to get the content of the FCM push notification when it arrives on the device without clicking on the notification when the app is in the background. Has anyone solved such a problem? Delphi 11.2, iOS - 16.3.1. On Android, this is sol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606429", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Import Python logistic regression results into R using Because Python uses multiple cores and is more efficient with memory, I would like to run logistic regression in Python, but then import the summary table to R (as in the end is used in a Quarto document). My reprex is below. I fail when I try to import the out...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606435", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PowerBi Embedded Is there a way to just present a Visual from the sheet site? I can't find any way to just present a object(like a Table or a matris) from the powerbi sheet in an embedded link? anyone have any ide? A: You can embed a whole report or just a visual (also called tile), more information is here: https:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606438", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Text to speech doesn't ignore the audio speech played from device I've implemented text to speech using Apple Speech framework. At the same time I play audio speech and run the recognition task. When the recognition task recognizes the first word(s), I stop the audio speech. The issue is that the recognition task re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to get the content of a textarea using jquery This questions has been asked before, however, I'm unable to find an answer for my specific scenario. I have a few checkboxes, in which if the box is checked, I want the 'Copy' to copy the content of the textareas next to the checked boxes. function copySelect() { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: an integer is required (got type bytes). config.yml file in RASA_NLU model I am trying to train a model using rasa_nlu. When reading the configuration file, 'config.yml' I get the following error: TypeError: an integer is required (got type bytes) The configuration file is as follows: recipe: default.v1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: vue Array from store is not available (in time) in component In my app I have set of gameCards, stored in the vuex store. The player fills in a gamepin and the the code checks it, and also gets the gameCards for this pin and stores them in the store and opens the Memory-component: checkPinExists(){ /...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: next-i18next problem with NextJs Layout folder inside of _app Hello I am trying to add a multilanguage support with next-i18next inside my NextJs app. Everything is fine expect that I can't use "serverSideTranslations" (next-i18next/serverSideTranslations), inside my Layout component. Layout is inside _app.js The co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why am I getting syntax error with this f" in python print (f"{ses_id} - {f_name}") results in File "<ipython-input-11-db46e57a9ddd>", line 33 print (f" {ses_id} - {f_name} ") ^ SyntaxError: invalid syntax
{ "language": "en", "url": "https://stackoverflow.com/questions/75606450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Creating a classification report for each fold in gridsearchCV I have a question regarding the scoring in gridsearchCV. I have a random forest classifier for which I am hypertuning parameters using gridsearchcv. cross_val = sklearn.model_selection.RepeatedKFold(n_splits = 5, n_repeats = 5, random_state = 0) grid_sea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do only constant constructors in Dart, not non-constant constructor, can't assign different type of value? I'm getting error "A value of type 'Null' can't be assigned to a parameter of type 'String' in a const constructor." from const Text(). class MyHomePage extends StatefulWidget { const MyHomePage({super.ke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: py3270.CommandError: No input field Logging in and navigating perfectly fine through the Mainframe. However, after I login, I proceed to access a new page of our mainframe, this page is just completely blank (it should be blank and always has been). I proceed to input "safe", which is required to proceed to the next...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: NodeJS SerialPort 'The parameter is incorrect' with FTDI Chip I am trying to set up a USB test using an FTDI chip UMFT234XD-WE, Using node-serialport I'm simply trying to open the port in a test script and write an array of data through the chip to another device. But, I can't get that far. For example, using the kn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flask-jwt-extended refresh token expire When the refresh token expires, I think the program gets stuck at @jwt.expired_token_loader and tries constantly redirects to /refresh. Any ideas? app.config['SESSION_COOKIE_SECURE'] = True app.config["JWT_ACCESS_TOKEN_EXPIRES"] = datetime.timedelta(seconds=1) app.config["JWT_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Data modelling for dynamic grouping of rows in Cassandra I have a feed of game events with a schema like; { "gameId": text, "playerId": text, "eventId": text, "ts": bigint, "metrics": map<text,double>, "dimensions": map<text, text> } An example event might look like this; { "gameId": "eb9dafbf-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Increase tags value maxLength of Elastic APM server I have set up an elastic search 8.x and I am sending data from a Java native open telemetry agent. All the connection work but, when sending large data, elasticsearch truncated the tag's value to 1024 characters. I do not have the problem when using jaeger or zipki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606464", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to copy contents of a file in AWS ec2 to a variable using java I am new to AWS. Is there a way to read the contents of a file located in AWS EC2 and store it in a variable so that i can use it to encode the contents. I have written the encode script already. public static void main (String [] args) throws IOExce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I filter out the following data in javascript I have this data format in the below order. The data is corresponding to there employeeId data={ 1200: [ { employeeName: Harish, task: task1, employeeId: '1200' }, { employeename: Harish, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: update specific database cell from form mysql php Hi all I would like to make it so that the "quantità dataplate" column can be updated via the form. I thought that entering the row id would update the "quantità dataplate" cell. But it doesn't work for me, thanks to those who help me. https://unical.atena.net/ <?php...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606467", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Error with Basic Method While Using Cengage I am a student and I am taking a class in C#. Right now we are learning the basics of Methods and the class utilizes Cengage for the learning environment. My code runs fine, but it does not seem to be good enough for Cengage. I have had a couple problems with the sandbox o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I stop an async method I am waiting for from outside the method I am using async methods and a SemaphoreSlim object to wait for and detect a click. Eventually, on a different method being called, I want to stop the async method that is being run and continue as if the method completed. Incase it affects the a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need help editing a bookmarklet I have this bookmarklet that adds a sea dragon on the screen and it moves around.How would i increase the speed of it and add more than one.Here is the code: javascript:(function()%7Bfunction callback()%7Bwindow.SeaDragon.add()%7Dvar s%3Ddocument.createElement("script")%3Bs.src%3D"h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-10" }
Q: Making a df of p values from logistic regressions? I have many univariate logistic regressions, and I would like to find a way to make a df of the outputs (Estimate, Std. Error, p value etc.) other than just copying by hand. I've figured out how to make a table of the AIC values (package AICcmodavg), but not the oth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: increase suffix of a defined number using bash script i have some files named like: aaa1_1.trc aaa1_2.trc aaa1_3.trc ... aaa1_100.trc I need to increase the value by 100 only on the number after the underscore and it should look like: aaa1_101.trc aaa1_102.trc aaa1_103.trc ... aaa1_200.trc Is there a way using bash ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mouse and Keyboard not working on windows server I run a python program on my windows server and which sometimes uses the mouse and keyboard. When I connect to my server with RDP, the program works because it uses my mouse, but when I close RDP, the program does not work because it cannot see the my mouse. So I want...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sequelize Association Modal I'm still learning sequelize and had my association working as intended. My original set up was having a 'History' modal that belonged to a user modal and a video model, so that a specific user had its own video history. This was working and returned the proper userId connected to the vid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel: helper drop-down list i want to make a table with drop down to select title and auto load price for example data : product price product 1 10$ product 3 8$ product 4 2$ product 5 9$ then I want to use it like this on excel also will good if can make it in 3 or more columns. thanks A: Step ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Problem to connect a laravel GC App Engine to GC SQL postgres I try to connect my laravel app (stored on google cloud App Engine) to my postgresql database (stored on google cloud SQL). This is the error : SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to handle GridDropDownColumn change event at server side inside MasterTableView column in radgrid Aspx Iam using telerik grid of asp.net I want to disable column "telerik:GridNumericColumn " in below code snippet on changing "telerik:GridDropDownColumn" I am not awar of how to handle selection change event of G...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML5 canvas drawimage avoid first time load latency I am working on a sidescroller game and it has tiles that I am loading in as needed a little ahead of the player. They are 1000x1000px so not insignificant loading times. While loading in the first time drawimage is called there is a noticeable latency of what I t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to merge 2 pandas dataframes of different sizes/indices on floor(value x, value y) Given 2 pandas dataframes: df1 = pd.DataFrame({col1: [0.5, 0.75, 1.1, 1.6, 2, 3, 5.5, 10, 11.2] }) df2 = pd.DataFrame({col2: [0, 3, 10,15] }) Each of the df1[col1] value is within the range of df2[col2] values: df2[col2].iloc[y]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Importing module from source (google play licensing) doesn't actually import anything I am following this answer in order to setup Google Play Licensing: Google Play Licencing for an Android app in Android Studio Everything perfect until .10 However when I finish importing the module I don't have any module/folder i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In android compose, is using onClick of a button considered a side effect? I saw the definition of side effect A side-effect is a change to the state of the app that happens outside the scope of a composable function. how about Onclick method in button? @Composable fun Counter() { var count by remember { mutab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kubernetes Kafka problem with connecting to zookeeper pods I am trying to setup Kafka in my K8S. For that, I am using Strimzi, with this configuration file : apiVersion: v1 kind: PersistentVolume metadata: name: logs-kafka-worker-01-volume labels: type: local spec: storageClassName: logs-kafka-worker-01 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606504", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I manually import Vuetify 3 components with subcomponents? I use vue 3 and vuetify 3. When i try to import components with subcomponents likes VTreeView and VTreeviewNode i get an error: "The requested module '' does not provide an export named 'VTreeview'" import { VCard } from 'vuetify/components/VCard' //...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FFMPEG and MSA1 Codec Issues when Converting WMV to MP4 Video I have a WMV video file (around 60 MB size, 01:23:00 length) and I'm running a Windows Server 2016 64-bit machine for testing. As far as I know, this video file was recorded using Microsoft Live Meeting 2007 back in April 2010 and there is also an associa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }