text
string
meta
dict
Q: calc() with CSS property inside CSS container query doesn't seem to work I have the following CSS: :root { --some-number: 0; } .header-nav { container: header-nav-container / size; } @container header-nav-container (width < calc(400px + (var(--some-number) * 100px))) { .header-nav-menu__label { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Escaping '@' in JsonProperty An external API sends several properties in their response that begin with '@', e.g.: '@Description'. I'm trying to map it in my API. I thought this would map @Description (from) to the _Description field in my API class: public class Area { [JsonProperty("@Description")] public ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I'm following a tutorial for GODOT for a platformer game. Everything was going great until I started coding death and respawn I've narrowed down the issue to the register player function. If I block that out the game runs fine. But if I don't it crashes and gives me the following error: Invalid type in function 'con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: login via google client->authenticate problem EDIT : SOLVED changed 67 row for this if (($this->handles ? count($this->handles) : 0) >= $this->maxHandles) { Hi if i keep this line of code: $client->authenticate($_GET['code']); the error occur. Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot Add a card to Apple Wallet through the app I’m having a problem with Adding a card to Apple Wallet when pressing the dedicated button in an app I’m working on. It looks like an error coming from Apple, the same card can be added manually through Apple Settings to the wallet however. I guess that the problem i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: same query in snowflake and redshift fetching different results why? same query in redshift fetching just 18 records but in snowflake it is fetching 27k records. I don't know why... even though the data is same in both databases. what are the reasons behind it here is the query SELECT CUR.datasource , CUR.req...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cert is null when retrieving from p12 file I downloaded the p12 file(PKCS12 all-in-one-file format- Certificate password: test) from here https://itv.mit-xperts.com/clientssl/issue/dload/index.php?id=1693731657 I read this .p12 in, and can get the private key out. But the cert is null and I can't get public key from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: Cannot read properties of undefined (reading 'add'), Type error on "classlist.add" I am using a button to add a class to an div but I keep getting this error: Uncaught TypeError: Cannot read properties of undefined (reading 'add'). I have looked around the rest of Stack Overflow and I found a similar post...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to include only specific factor values in a mixed-model formula? I'm very new to Stack Overflow, and apologize in advance as this is most likely a very basic question, but, from the data below, I would like to incorporate only a few of the treatment groups into my model formula. A brief look at my data: My mode...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: QMK Issue with RGB layers I'm facing a strange behavior on my sofle keyboard. I have enabled RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF, so RGB turns ON for layers when the RGB is OFF. This is my config.h regarding RGBLIGHT #ifdef RGBLIGHT_ENABLE #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MulticastSocket in Java I am writing a MulticastSocket program in Java with these requirements. Server will allow multiples Client to connect, then Server will generate a random number from 1 to 10. Each client will guess a number then send this number to Serer. Program close when Server received correct number. Now...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I retrieve images from different urls? I am currently trying to enrich a dataset for machine learning using a script that allows me to download images from google. I first browse a dataframe that contains the fields to search on google, with the selenium webdriver I then retrieve the urls of the images to do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get Virtual Box VM's running on separate computers to communicate over the LAN? For the last two days I've been trying to make a Hadoop cluster. All I want to do is make the two Lubuntu VM's that I have running (each one on a separate computer) able to speak to each other so one can be a Master node and the o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Enable duplicate columns in StackedColumnChart in flutter I am using syncfusion_flutter_charts library 20.4.51 to make charts. My problem is that when the dataChart is repeated, its column is not displayed. For example, in the code below, two columns are displayed instead of three. my code: import 'package:flutter/m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java throwing jakarta.xml.bind.MarshalException even though its there I have the following class: import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.annotation.JsonNaming; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to config nginx for change REMOTE_PORT When connecting to my site, the REMOTE_PORT header is set to a static value that does not change when the page is refreshed. And there is another site called "PHP Proxy Judge" (http://azenv.net/) where this header takes on a random value. Why is that? Is it a reverse proxy,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Fortran-like negative indexing in numpy for physics and math equations In contrast to most languages that use zero-based indexing, Fortran allows to specify a particular indexing: ! array with 10 elements double precision arr(-8:1) arr(-8) = 0 ! 1st element arr( 0) = 1 ! second to last element arr( 1) = -1 ! last ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does this coroutine implementation for std::optional not work? I took the implementation of coroutines for std::future from the documentation at https://en.cppreference.com/w/cpp/coroutine/coroutine_traits and modified it for std::optional #include <coroutine> #include <optional> #include <iostream> template ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why isn't this Md5 bruteforce program not working? The first part of the code is the main program. Combined with the second code, when I run this using gcc b2.c md5.c -o bruteforce -l crypto, nothing happens.The terminal just blinks but nothing is outputted. I've been going over the code but can't find the issue. An...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to read section from the Android app Manifest.xml file in runtime I need to retrieve data that's included in the <queries> section of the app's Manifest.xml file. Currently, I'm able to do this using the approach via ZipFile(File(packageInfo.applicationInfo.sourceDir)). However, I'm wondering if there's a more ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Temporary table does not seem to get created inside SQL function I have created below function successfully, but get an error while executing it: temp table doesn't exist while executing the function CREATE OR REPLACE FUNCTION api."post_publish_Roster"() RETURNS void LANGUAGE 'sql' AS $BODY$ DROP TABLE I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get the parameters (variables) from my DataLayer GA4 API Currently I am using the GA4 API to trigger a custom event from my nodejs code. Everything is working, however, I can't seem to keep the datalayer parameters to use in a GA4 report or Google Data Studio. events: [ { name: "countRenterAccount", para...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read csv file and remove duplicate from csv file and sum specific column enter image description here above image part no 2, 8 is found duplicate value, so how to sum "Qty" value, see part no 2 Qty sum value will be = 4 and part no 8 and Qty value will be 16 bellow is my expected result enter image description here...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Toggle Divs when clicking anywhere on the document Is it possible to have multiple buttons on a page such that clicking on a certain button specifies an ID name of a div to make visible, then clicking anywhere else on the page makes that div invisible? I have encountered solutions for a single button and a single di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CSS: can we get grid wrapping while using relative values? We have a grid of items, which we wish to be 2x2 until the window shrinks too much and then they are stacked, 1x4. We have been trying to say "too much is whenever they would get clipped by the narrowing of the window" (ie when they would be expected to wrap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Detect data table mismatches when NA's in joined table When joining two data tables, mismatches can either be dropped, or show as NA values. But if there's NA values in the joined table, these can't be detected. Sample data: d1 = data.frame(x=c(1,2,3,4),y=c(5,4,3,2)) setDT(d1) ; setkey(d1, x) d2 = data.frame(x=c(1,2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Powershell script - updating grid field in GUI from background job running ping test I will paste the code below but I am a super novice powershell scripter and I am trying to create a little ping test applet to learn about GUIs and scripting in powershell and also to explore the use of LLMs as a way to assist in co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PostgreSQL password authentication failed for user "app" I have a .NET 7 app that uses NPGSQL (v7.0.2) to connect to a PostgreSQL DB (v15.2) running in Docker. The image is pulled directly from https://hub.docker.com/_/postgres. The .NET app is not running in a container. The container is started with: docker run --...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python memory overflow when using mediapipe and opencv I'm trying to train a model for sign language detection and I'm using mediapipe for hand detection and cropping hands. When I try to train my model my memory overflows and this is fixed when I remove the mediapipe module. Here is my cropping module: def hand_cro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Export "mediate" output to LaTeX table I have a model summary from a mediation::mediate call, which I would like to export to LaTeX. Consider this example (from the documentation). # install.packages("mediation") library("mediation") set.seed(2014) data("framing", package = "mediation") med.fit <- lm(emo ~ treat + a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to have weeks and months in the same x-axis? I'm trying to have a "zoomed-in" version, of weekly data, and the overall, monthly version of the same data in the same chart. Here is a sample of what I'm trying to achieve. I'm quite new to ggplot2, but that's the tool I was thinking of using. Any pointers on where...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I pick an Authentication Type in a new ASP.NET Core 7 project? I would like to learn how to create an ASP.NET Core MVC 7 application that has Users. When I create a new ASP.NET Core Web App, I am asked what type of Authentication type I would like to use: I've never done this before, so I really don't know. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to setup monitoring for Spring Boot application without web endpoints I have multiple services on Spring Boot. One of them is gateway for another services. Gateway has web implementation with controller and endpoints. When client makes request to a gateway, the gateway push message with data to rabbitmq so anoth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MATLAB Gaussian process regression - how to fit a basis function but not other parameters I asked this question on Mathworks Answers here but didn't get any answers so reposting here. I'm doing Gaussian process regression with the fitrgp function and want to manually control some parameters such as the kernel parame...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dlib face detection works with masks? I am using dlib's frontal face detector and shape predictor DETECTOR = dlib.get_frontal_face_detector() PREDICTOR = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") in order to detect a face and then extract it with the landmark points. I was wondering if it was po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get server side pagination + search + sorting in grid.js? I can get the table working with server side data and server side search, but when I start trying to add pagination and sorting on top of that (both server side) I get errors and it stops working. I've looked into Grid.js's docs and, while there are so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the trick to building AG Grid locally? I'm trying to check out and build AG Grid locally so that I can make some modifications to it. Running this: npm install npm install sass csso npm run build-prod The build-prod command results in the following error: > ag-grid-community@29.0.0 build-prod > npx lerna run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native: adding *.hprof to gitignore doesn't work I get a list of about 10 errors analogous to the following oen when running git push origin master: remote: error: File android/java_pid60072.hprof is 564.94 MB; this exceeds GitHub's file size limit of 100.00 MB From this post I added *.hprof to my .gitignore f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 15. My style is applied in localhost but not on webserver if (!this.isAuthenticated) { style({ opacity: 1 }) this.displayModal = true; this.newActiveClass = true; this.loginHandlerDisplay = "Login"; return; } else { this.loginHandler...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a Julia Project.toml keyword to run commands like `npm start`? The recommendation to run a Julia project is to run julia --project=. nameOfScript.jl. Julia projects are reminiscent of npm projects, setting up src and tests directories, adding dependencies to Project.toml and locking dependencies version in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Active link for navigation menu in Next Js 13 (next/navigation) How to target the active Link in Next.js (next 13) const Sidebar = () => { const link = [ { label: ' Home', path: '/', }, { label: ' About', path: '/about', } ] return ( <div> {sidebarLink.map((lin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Render a LinkedList in ReactJS Component class Node { constructor(value) { this.value = value; this.next = null; } } class LinkedList { constructor() { this.head = null; this.tail = null; this.length = 0; } addToTail(value) { let newNode = new ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mixing pointers to signed and unsigned in C Suppose I have an integer variable with non-negative value and two pointers to it - one signed and one unsigned pointer. As far as I can tell from the standard, this is fine. 6.5 An object shall have its stored value accessed only by an lvalue expression that has one of t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a type that inherits and thereby can be casted into an existing type I am looking to create a master type, let's call it "MasterType" and then wish to create other types that inherit from the MasterType, but at the same time could be casted into "MasterType". In particular, I wish to do something like below: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: brave baggage when using scheduler and kafka raises outOfMemoryError Vsem privet. V svoyem prilozheniye ya ispol'zuyu kafka stream i standartnyy scheduler postavlyayemyy spring. Pri rabote Scheduller otpravlyayutsya soobshcheniya v kafku a potom vychityvayutsya ot tuda. Pri analize dampa kuchi uvidel chto kopiyatsya...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to assign different output to different variables in bash I wrote this code to iterate over variables and add output to it, it is working fine while iterate over numbers: #!/bin/bash x=100 y=200 app_test () { ((x++)) } for app in 1 2 3 4 5 6 7 8 9 0; do app_test x[app]="${x}" done echo ${x[1]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I copy and paste an entire array of data to another section of my workbook when a condition is met? I am creating an excel sheet to visualize a production of a farm. The rows 8 to 20 are leading and contain all the formulas for the data we need. However, as different age batches enter the farm I need the sam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use cadquery server ui import? I would like to experiment a bit with cadquery, it looks pretty cool! So, I installed the package using pip following the documentation (see https://cadquery.readthedocs.io/en/latest/installation.html). So far so good. Next, I tried cadquery-server to render models (https://pypi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What do rewrite directives do on their own in a location block? As part of a larger nginx config, I have the following: location = /xyz { rewrite [^/]$ $scheme://$http_host$uri/ permanent; } location ~ /xyz/ { rewrite ^(/xyz/)(.*) /$2 last; } This location block will get requests for abc.com/xyz Now my dou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: "npm run build" fails when trying to install custom built package So I have built and published a custom package that was created with a fork off of an existing open source repo. The react application runs when I run "npm run start" and the package exists in the node modules, but when I try to create a production bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: (MATLAB) Converting a P-file into MATLAB P-code I have the following MATLAB P-code file (.p): armxl_tool_logic.p Which I mistakenly opened it with the Notepad app. And this converted the file into .txt To get rid of .txt extension and leave it back as default I followed these steps: https://answers.microsoft.com/en-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bulk web scraping with advanced search operators using python? I'm making a tool to bulk process a list of google dorks into a list of URLs, and my current solution looks somewhat like this: from googlesearch import search searches = ["query1", "query2", "query2"] results = [] for search in searches: for result i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Silhouette Plot for a list of binary and non-binary Pandas dataframe I want to create a Silhouette Plot based on a list of data frames (binary and non-binary). The mut dataframe is binary, whereas the remaining data frames are all non-binary. Binary data is clustered using (Bernoulli Mixture model)[https://bayespy.o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Standard ISO 8601 format of ±HH:MM for ZoneOffset in swagger instead of JSON I'm currently working on Java application, which works with the orders. In some @RestController methods I return an instance of an Order class, which contains a timezone field. @Data @NoArgsConstructor @AllArgsConstructor public class Order...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to query a nested field and get it's full name as the column name? I want to query a nested field of a table, but I want the resulting column name to be the full path of the json field instead of just the lower level name. If I query: SELECT payload.orders.customer FROM `project.dataset.table` LIMIT 1 I get: +-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: slideToggle - dropdown menu closes and opens when a user clicks on nav menu twice I’ve been building this navigation and it works how I want to except for 1 issue. The issue: When a user clicks on the same navigation menu twice the dropdown menu closes and opens. I just need the menu to close alongside removing the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pytest fixtures with selenium I have created pytest fixture for initalization of webdriver: @pytest.fixture(scope="class") def setup(request, cmdopt): browser = cmdopt if browser == "chrome": driver = webdriver.Chrome() elif browser == "firefox": driver = webdriver.Firefox() driver.im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Nuxt 3 @sidebase - Authenticate API request using a bearer token I'm trying to build an app using Nuxt 3 and sidebase. I implemented an API and integrated the KeycloakProvider as an Nuxt authentication provider. When logging in from the integrated Vue frontend Nuxt automatically creates a server session and thus I'm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What class do I use to "new" a command in Avalonia? What do I have to new to instantiate a command in Avalonia? I don't want to use any libraries for that. No ReativeUI, no CommunityToolkit etc. I know I need some methods that will implement the Execute method, but just in order to start with commands, what do I nee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error with nested IFERROR/VLOOKUP - Google Sheets UPD: turns out there was an issue with the reference to Sheet_2, the actual formula is fine, my bad. I have a problem with nested IFERROR/VLOOKUP in Google Sheets. There are two sheets - "Sheet_1" and "Sheet_2". Sheet_1 has three columns: the first column with the tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need a KQL query returning top X records each grouping Assume a table called Cities like the following: GA Augusta 203953 GA Athens 130873 GA Atlanta 522328 GA Savannah 151227 FL Orlando 328354 FL Tampa 399734 FL Miami 455075 FL Jacksonville 987960 I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Return aditional boolean value in sqlalchemy query I have these tables: A: id/id_B 1/ 13 2/ 5 B: id/name/.. 1 name1 .. ... 5 name5 .. 13 name13 .. And I need create a query to get these values: id_B/name/is_in_A 1 name1 False ... 5 name5 True 13 name13 True using SqlAlchemy Thanks A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: in laravel , what is the differace between Route::resource and Route::get? in laravel 9 , what is the difference between Route::resource('/blog',[PostController::class); and Route::get('/blog',[PostController::class,'index']); ? A: Resource route will generate all CRUD routes: Verb Path ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Tableau - Copy and Paste a list from Excel to Tableau When copying a pasting a list into from Excel into Tableau, it works fine. However if there is any differences within the case type (lower or upper case) it will not work. Does anyone know how to copy from Excel into a Tableau Custom List feature and not have to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Aggregating a feature based on a historical data excluding the current date of the record wondering if anyone one here can help or point me in the right direction. Im fairly new to programming so any assistance appreciated Im currently doing some feature extraction for a project of mine and im trying to create some ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ASP.NET Core Incorrect Route for LoginPath I have two controllers in the Controllers folder: HomeController and LoginController. I am using cookie authentication and set the LoginPath to /Login, expecting it to route to the LoginController. However, when I click on the login link, the app routes to Home/Login instea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is navigation from SubjectsComponent.html view failing? In SubjectsComponent.html shown below, the routerLink is supposed to navigate to SubjectComponent view but Angular gives a noMatch error for the url. I also hardcoded the parameters in another routerLink as seen in the latter part of the SubjectsComponent.h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create multiple data frame in a for loop in python I have the following code: ENTREGAS_G1=['19052022','27052022', '02062022','06062022','13062022','20062022','27062022', '05072022','11072022','20072022','26072022', '01082022'] for i in range(len(ENTREGAS_G1)): print('INFOR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python pandas; tag inserted row of dataframe with narration on seperate column I have the following dataframe and code that inserts a rows based on the following. For each row that has hours between >=10 and <=12, I need to: * *change the total of the hours of the current row to 10 *insert a duplicate row to the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to install Gatsby on Mac I've successfully installed Gatsby, but then when I runned gatsby --version it gave this error: zsh: command not found: gatsby I've followed this thread: gatsby --version > -bash: gatsby: command not found but then when I reach the step of installing gatsby, it get stuck here: What ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open a list of music files with batch for being played by default music player one after the other? My grandma asked me for help to get her music easily started. I decided to make a small batch script that opens all files in her music folders. The script should simulate pressing Ctrl+A and then right click to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Boot - Hikari Housekeeping thread fails to stop on shutdown after upgrade We recently upgraded from Spring Boot 2.5.14 to 2.7.8. After the upgrade, we now get an error on shutdown of the application: 2023-02-27 11:09:40.473 WARN [on(2)-127.0.0.1] o.a.c.loader.WebappClassLoaderBase [] [] [] : The web ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to access Azure storage from Azure function when building it out in Terraform. 404s and 403s being raised I have been asked to upgrade our Azure function from Azure 3.7 to 3.42 and ensure that it is only accessible for a specific set of IPs. During this migration, I encountered many problems with the function...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why does mpirun keeps running without any response I am trying to execute the qsort.c file on two VMs using MPI, I am running the following command where I specify the number of processes and the split between the two VMs however the command just keeps running forever without returning any output. mpirun -np 8 -host...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to perform parallel execution on different browsers in cypress for different test suites I have two commands in package.json > "Leeds_TestSuiteChrome": "npx cypress run --spec cypress/e2e/LE_Site_TestSuite --headed --browser chrome --record --key keynumber", "WS_TestSuiteEdge": "npx cypress run --spec cypress/e2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you redirect to Create route when Edit route has no results? I am using Backpack for Laravel (and am new to it). I have a menu item called "My Profile". When a user is created, I do not automatically create a profile entry in the DB until they save one. The relationship is a 1-1 between a user and their profi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Start using github - which folder do I git init? I just started developing and created a local folder structure like this based on what I've seen: ~/go/src/github.com/my_git_name/my_app1/....project files ~/go/src/github.com/my_git_name/my_app2/....project files I just learned how to make use of git and want to sta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When the archive is unzipped into a directory, only 100 MB of 1.5 GB is unzipped. Then - crash private class UnZipTask extends AsyncTask <String, Integer, String> { @Override protected String doInBackground(String... params) { String filePath = params[0]; String destinationPat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error "org.hibernate.query.sqm.ParsingException: line 1:21 mismatched input 'rtn' expecting {, ',', FROM, GROUP, ORDER, WHERE}" I'm stuck with this error when i try to limit result to n rows. The query is defined in the query atribute. Here the method public interface PaymentRepositoryJpa extends JpaRepository<Payme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Lifetime may not live long enough returning this value requires that `'1` must outlive `'static` I am trying to implement sort of a curry function that takes in an initial &str, and returns a function that check if a another string matches that starting from some index. which would look like this in js. const str = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Cloudflare Pages, create-react-app build error: The engine "node" is incompatible with this module My react app builds fine in dev, but when attempting to deploy it on CloudFlare Pages, I encounter a build error message: The engine "node" is incompatible with this module. Expected version "18.7.0". Got "16.19.0" Fou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get two rows to display in SQL I am trying to calculate two values: Cost of Delay and WSJF, using SQL. The calculated sum of Cost of Delay is used to calculate WSJF. When I do the calculation for WSJF, I only get the new row and value for WSJF to display in a table, Cost of Delay is removed. Variable Score Value...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to show postgres date on a html page using node server? fetch('/clientes') .then(response => response.json()) .then(data => { const clientesTable = document.getElementById('clientes'); // Adicionar linhas da tabela com os dados retornados data.forEach(cliente => { cons...
{ "language": "pt", "url": "https://stackoverflow.com/questions/75584764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails 7 importmaps algolia autcomplete-js Trying to import algolia/autocomplete-js using importmaps in Rails 7. Returning TypeError cannot read properties of undefined "tagName" My importmaps.rb contains pins for autocomplete pin "@algolia/autocomplete-js", to: "https://ga.jspm.io/npm:@algolia/autocomplete-js@1.8.1/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sending a revalidation request once a Firebase Realtime database has been changed So, recently I have been dealing with making a blog website where the user can both read everything I want to tell them in the text and leave a comment so that I can know their opinion. I use markdown files to make the blog like that: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to extend index.html but info isn't displaying I am trying to extend this index.html file <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css" rel="s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use if statement with Jekyll liquid to find a period in a string Trying to set up some conditional rendering in Jekyll where if the string from my a data file has a period, I will show it. {% assign member = {{members.basic_info.website}} %} {% if member == nil or member contains "asd" or member contains "alesanchez...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Upgrading expo can not start because of the issue with AsyncStorage and firebase auth Most questions which I read on the topic said they receive Warning while, I receive Error and I can not run my project. Today I upgraded expo-sdk from v.45 to v.48. Since then the whole day I am fighting the following error : Andro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hiding Custom Layer in Mapbox creates a White Map I have several 3D models (animated arrows) that I dynamically add to the map as a user clicks on buttons. Some buttons may have 3D models, while others do not. Whenever I click on a button that does not have any 3D model, I remove all previously added models: fun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Call native .NET interfaces from Python in a client-server architecture There is a game called Kerbal Space Program (KSP), written using the Unity game engine in C#. It has rich modding scene. Some mods add new features and game object types with new APIs. There is one mod, called kRPC, which allows for remote proce...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do I create a subtitle box that resizes and comes out letter by letter? enter image description herei want to create subtitles in a grey transparent box that auto resizes, also the text comes out letter by letter, disappears and the next dialogue is printed out until everything has been printed out, embedded is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trigger a GitHub workflow if two other workflows have been successful I'm trying to understand how I could trigger a GitHub workflow based on two other workflows that has been successful. With some testing I have concluded that it always runs for some reason and even twice. I have one workflow for building and creat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reformat salesforce call to lookup ids in groups of <2000 I have the following code making a call to salesforce to retrieve data about some opportunities: const sfOps = await sfConn.Ops.retrieveList(ids) I believe salesforce limits these types for calls to 2000 records. How can I refactor to make multiple calls in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Both exclude and include filter type (not_expression and expression) in filterExpression() filter on Google Data API using Python seems incorrect? I want to include an audience filter but exclude the internal traffic in that filter. Because "Test Data Filter Name" dimension is not available in audience creation filt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is "this" pointer valid during data member destruction? Let's consider classes below. I am not asking if this is a good practice or a bad one. Naming of the classes are also arbitrary so it doesn't show any pattern or design. class Proxy; class ProxyImplementation { public: Proxy * proxy_; ProxyImplementat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Jetpack compose snackbar not displayed at bottom of screen I tried below code and I observe snackbar is not displayed at bottom of screen. My task is to display snackbar on click of button. I wrote code related to display button in a column in function DisplaySnackBarOnClik() The code to display snackbar is written ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Module not found: Error: Can't resolve 'async_hooks' I have an error in a React project where I am trying to call the results of an autoML model using a fireabse cloud function. I have implemented the code below in my firebase.js file. I am receiving the following error: Module not found: Error: Can't resolve 'asyn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: opengl blackscreen on first triangle I was trying to create my own shaders to form a simple triangle. In doing that I used GLFW to create the window . did not get any error messages and the code run smoothly, however the triangle did not appear. code: #include <GL/glew.h> #include <GLFW/glfw3.h> #include <string> #...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python tkinter script on a one second loop I just wrote one of my first tkinter scripts. I started out with a simple calculator. I got it to a point where I can input two numbers (can be either float or int) and after pressing the button a script is started and the result is presented. This all works as it should. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenXml Paragraph ForEach Docx I want to do something like the example below. I want to print my paragraphs in a loop, every time I get an error, I have no idea why. I wanted to ask you. foreach (var d1 in model.dtable) { new Paragraph( new ParagraphProperties( new Indentation() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }