text
string
meta
dict
Q: Error in node module package in nextJS app: SyntaxError: Named export 'x' not found. The requested module 'x' is a CommonJS module I have following problem. I was creating a graph with chartjs and using a cartesian axis https://www.chartjs.org/docs/latest/axes/cartesian/time.html For this I needed an adapter and I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Count Each String In A List with One Character Mismatch I have a list of strings: my_list = 'AAA AAA BBB BBB DDD DDD DDA'.split() my_list ['AAA', 'AAA', 'BBB', 'BBB', 'DDD', 'DDD', 'DDA'] I need to count every element appearing in the list. However, if two strings have one mismatch, we would count them as the same...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I replace text snippets with single words in comma seperated text column in Python Pandas Dataframe? I would like to map the following values in a text column in a DataFrame like this: To this: I thought I could use a dictionary to map the text snippets to the single words. Here is my code that I've tried: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ggplot axis labels not showing in shiny I'm quite new to Shiny and totally new to plotting in Shiny, and I encounter an issue with my plots axis labels when using ggplot. They're just not displaying when I run the app. I apologise if the question has been asked before, I swear I did search for answers before asking ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jq json - select by key name I'm using jq to try to parse some details from an AWS CLI query. Example JSON: "Tags": [ { "Key": "Name", "Value": "db01" }, { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Does Python have a "PYTHONBUFFERED" Environment Variable? I see many people setting ENV PYTHONBUFFERED=1 in their Dockerfile. Just Google it. I know that PYTHONUNBUFFERED exists (emphasis on the "UN"). So my basic question is, does PYTHONBUFFERED exist, do a lot of people just misspell it, or is it a concept specifi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: sql subquery or multiple nested join? My goal is to get a result where it will output all exercise entries, with a single related video, then a concatenated string of all associated tags (where tags is one table and tag_linkage is how the tags relate to the exercises). Ideal end result: My Exercise Name, Somepath/vi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make the bullet point in this box go up? I have my code written on putting a bullet point "•" in a box. How do I make this bullet point go up in the box. I tried "vertical-align:top;" but doesn't work. .stick1 { position: absolute; border: 8px solid #81a1b1; border-radius: 4px; background-color: #...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: set different colums size and number for each different row in plotly graph object subplots I wonder if is possible to make a sublot with different columns size and number per each row USING PLOTLY.GRAPH_OBJECTS and PLOTLY.SUBPLOTS. like the photoes (sry for the hand made). [img 1 row 1 has 2 cols, row 2 has 4 cols:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how change the background color in leaflet I want to change the background color of my leaflet map: My map: leaflet(data = mapa) %>% setView(lng = -50, lat = -15, zoom = 4) %>% addPolygons(fillColor = ~colorNumeric(palette = "YlGn", domain = mapa$n)(n), fillOpacity = 0.8, color =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I save an image to disk using NestJS How do I save an image to disk (image coming from a link) using NestJS. The image comes after the user search. Stay in doc.avatar My Controller: @Get('user/:id/avatar') async setAvatar(@Param('id') id: string) { const userData = this.apiService.getUser(id); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swiper zoom doesn't work in desktop version, but it works on mobile this is the code var mySwiper2 = new Swiper('.swiper-container', { allowTouchMove: false, zoom: { maxRatio: 2, minRatio: 1 }, }) mySwiper2.zoom.enable(); $('#zoom-in').click(function() { mySwiper2.zoom.in(); }) $('#zoom-out...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS code, remote ssh unable to connect I tried to follow the instructions from "VS Code Remote Development" to ssh into some Linux (RHEL 7 & 8) servers. Keep getting the same error: - Failed to connect to the remote extension host server (Error: spawn Unknown system error -8). The log seems to suggest failure occurs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Type ORM migration update doesn't work at all I am building an API using TypeScript and TypeORM, running on Postgres. At first I had a Many to many relationship between two of my tables, but I just changed it into a one to many relationship. Once I run the migration generate command in order to update it it always r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native + Typescript - the Haste package was found. However the module X could not be found I got this error and I've tried many config but nothing works: BUNDLE ./index.js error: Error: While resolving module `screens/BulletinScreen2`, the Haste package `screens` was found. However the module `BulletinScree...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multinomial N-mixture model, node inconsistent with parents error I'm currently trying to build a multinomial N-mixture model for some removal data I'm currently analyzing. I've been going off of the example code given in the book Applied Hierarchical Modeling in Ecology 2016 by Kery and Royle. I was able to run the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: leftmost bracket causing issues on line 10 def main(): try: # open file inputFile = open('text1.txt', 'r') # read file into the list textfile = inputFile.read() # stip /n from each entry for i in range(len(textfile)): textfile[i] = textfile[i].rstrip('\n')...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ggplot & boxplot: is it possible draw a box plot with different variables? Is it possible to draw a bow plot with different variables, considering that these variable are in different datasets? I'd like to draw a box for each one of them to make a comparison A: Depends what you mean by different variables. You coul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Im trying to get the parallel arrays that I set up to properly compare with items in a text file I pulled in some data from a text file and made them into 4 parallel arrays. One array for a currency code, a currency description, an exchange rate and then an array that holds all of them together. The file im trying t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JSON Uncaught (in promise) TypeError: Cannot read properties of undefined This question has been asked many times, but I'm not finding a resolution that applies to my scenario. I'm attempting to parse data from a JSON result, but when I try to access the path via JavaScript, I'm met with the "Uncaught (in promise) T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does pandas read the whole file before returning requested col using usecols param or read requested cols only? When reading csv (read_csv) with param usecols does pandas read the whole file and then return requested cols or read requested cols only? This question is about RAM. A: See this answer to a question sim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java VS Code does not print I have a simple print statement in a driver class and it doesn't work. The code doesn't have any bugs, according to VS Code, and yet it still won't print the statement. MY CODE: public class PointDriver { public static void main(String[] args) { System.out.println("why"); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Is clang always right in warning me to preventing copying? Consider the following code: std::vector<std::pair<char, char>> v; for (const auto &p : v) { // ... } for (const auto &[first, second] : v) { // ... } There is a vector of pairs of chars and two ways to iterate over the elements using range for loop....
{ "language": "en", "url": "https://stackoverflow.com/questions/75560163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How can I remove all the text within two delimiters I want to ignore some text within parenthesis when parsing a textfile. The two delimiters would be (). Note: this is a cmd/batch question. a usable substring (ignore some text in parenthesis) (ignore some text in parenthesis) a usable substring (ignore some ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add development branch in yaml pipeline for azure static web app I have a Repo in Azure Repos named as DogwoodWebPortal , it has 2 branches 1st branch is : main 2nd branch is : development I want to create a yaml pipeline which will deploy 2nd branch : development to azure static web app this is the pipeline ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgres: grouping and ranking For our project, we need to calculate idle time of a vehicle parked at an endpoint. We are given this (simplified) table of events: CREATE TABLE endpoint_event ( time INT, event VARCHAR, endpoint VARCHAR, vehicle ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Fast CGI Handler not installed in Windows IIS I am trying to run a Django app with IIS server. Here are my settings: Windows Server 2019, IIS 10.\ I am following this tutorial. I am setting up my server and added CGI as shown in the image. But, when i deploy the app, i get an error saying that the "FastCgiModule" i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to set frame of Gauge in SwiftUI I want to use the Gauge View on macOS 13. Gauge(value: self.viewModel.memoryUsage, in: 0...1.0) { Text(String(format: "%d", Int(self.viewModel.memoryUsage * 100.0))) } currentValueLabel: { Text(String(format: "%d %%", Int(self.viewModel.memoryUsage * 100.0))) .fon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problems with plotting vector files after raster in ggplot I am trying to plot a raster RGB with a vector file on the top. ### PLOTTING MAPS: data_vector <- st_read("~/Desktop/TramsTenes2.gpkg") ## PLOTIN' RGBs RASTERS: orto <- brick("~/Desktop/of25mtif1676931256706.tif") names(orto) = c("r","g","b") orto_df <- as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Database.CreateIfNotExists() does not create tables I am using a code first approach with migrations in Entity Framework 6. I have reverse engineered an existing database to create a DbContext class called MyDbContext that contains the model of my DB and its 200 or so tables. What I want to happen is if I provide a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Merge 3 Dataframes into 1 to create 1 specific column in Excel using Python Pandas I have 3 columns in my dataframes that I want to join together into one column. Unfortunately, when I try to merge all three dataframes that contain each column, they just create 3 seperate columns instead of one column. Below is my c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert (csv) data to newline delimited JSON format grouping them based on the row using Apache Beam I have a dataset of properties sold/bought. Each row of the data is a unique property transaction, if a property has been bought/sold multiple times in the time-series the data covers, there will be multiple rows for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NavigationBar and TabBar on one screen I work without storyboard. Now I have some problems, cause i dont know how to create NavigationBarController and tabBarController on one sceen. This is a code from SceneDelegate: import UIKit class SceneDelegate: UIResponder, UIWindowSceneDelegate { var window: UIWindow? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: JWT Token Not Being Received by API (React Native -> Apollo -> Next.js API) I had an app that was working as expected, but due to some complications with management, we had to transfer git ownerships, repos, and change accounts on Vercel and PlanetScale. I do not know if this has anything to do with my issue, but it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Formula help on Check IN/Out System for Google Sheets We are trying to create a loaner check in/out system for devices. I have 2 google forms, one for checking out and one for checking in that feed to different tabs on the same sheet. I have a third sheet for tracking for better visibility of how long the asset has ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Example of a git hook that prevents old history falsely restored? In this link Prevent unwanted commit from re-entering git history when doing pulls The accepted answer describes generally the solution of a git pre-push hook that accomplishes the reporter's request. But I cannot find any good example. Question 1: ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to keep the horizontal scrollable and keep the static button on it in flutter I don't know to keep the left side to be scrolling and right to be static at one place with out changing its position. A: try to give the left side specific width or try wrap it using expanded A: Use Row Widget and wrap the first ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Do You Convert a Flux Webclient Get Response to ServerHttpResonse? in my Spring Cloud Gateway filter, if a certain actions happens in the request flow, we would like to make a HTTP request to another service and return the result as the response. How do I use a Flux Webclient to make a request to a URL and then ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Hibernate sequence creation with SQL script? In my Spring Boot app, I want to use sequence for each entity as shown below: @Entity public class Author { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "author_gen") @SequenceGenerator(name="author_gen", sequenceName = "author_seq") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: REACT JS Add Edit functionality type here /* Copyright (C) 2021 Shruti Agarwal (mail2shruti.ag@gmail.com), Aman Dwivedi (aman.dwivedi5@gmail.com) SPDX-License-Identifier: GPL-2.0 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Unable to insert and ENCRYPT_AES() in DB2 DB2: Version 7.3 Product: DB2 UDB for AS/400 v07.03.0000 V7R3m0 Client: IBM i Access Client Solutions (64-bit) Version: 1.1.8.8 Build id: 1380 2021-09-13 13:47:59 C:\Users\Public\IBM\ClientSolutions\acsbundle.jar java.version: 11.0.11 java.vendor: AdoptOpenJDK java.home: C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AbortedException from getObjectAsBytes causing SdkClientException from ConnectionPoolTimeoutException I'm using AWS SDK for Java version 2.17.232 to request data from S3-compatible data object storage. Has anyone encountered the AbortedException or SdkInterruptedException before? Caused by: software.amazon.awssdk.co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Puppeteer in headless mode does not allow me to log in even if the script performs the same steps I got problem with my script where I am logging in to site. I am using puppeteer-extra-plugin-stealth to prevent headless detection. The code works fine when running with headless: false. I manage to log in to the page ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cannot get http response status in angular httpClient I have a post request sent to an API endpoint from angular app. I've used Observable but i dont have headers or status property in the reponse im getting in pipe() function. What could be the issue ? public verifyAuth(username: string, password: string): Observab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make a Json Serializer, to serialize json to an alphabetical better This is an issue I am trying to solve for work. We are using the Json Parser that comes part of the Vert.x library for Java. I need a way to serialize json, so when the generated code is done o in alphabetical order, as the json is going t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VSC compile error cant find find header file Arduino 1.8.19 VSC 1.75.1 Updated VSC last night and now I have D:\Arduino\Projects\WsLogger\WsLogger2\WsLogger2.ino:24:27: fatal error: ATDateandTime.h: No such file or directory There are a number of other headers that also exhibit this problem. If you put the full pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Regular Expression to capture digits in multiline text preceded by specific keywords I have a text for a .scss file and I want to update values in a nested map block. It looks like this: $header-styles: ( small: ( 'h1': ('font-size': 32), 'h2': ('font-size': 28), 'h3': ('font-size': 24), 'h4': ('fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL LIKE wildcard returning rows without match We have a table that's used for logging. It has two columns: queueid (int) message (nvarchar(MAX)) I am looking for rows with a specific userid (seven digits) in the message (output for the log). When I run SELECT queueid, message FROM [dbname].[dbo].[log] WHERE [db...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Trying to provide dynamic inputs to React components, but inputs won't update, and it won't properly clear changes after removing an element * *should be able to change the text of an input field *should work when a row is re-added, modified and deleted after clearing the list I am trying to build a small compon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fix canvas animation on reactjs i want to draw a rectangle with two missing corners and after i hover the button the rectangle stretches the corners back to the normal rectangle, after i move the mouse out it returns to the original missing shape two corners. Currently I have drawn those two shapes but the effect is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can vue routes have a default value for a parameter? Imagine a route with the following path: ':uuid*/form/:step' Can we specify the default value of the step parameter, on the router definition? I've tried setting this value on the view's created function but I'm trying to avoid a redirect. A: Short anwser is: no ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python- Find missing Combinations in a df I have 3 columns in a dataframe. Similar to this I know the year column has a set number of values: 2010-2013 so 4 different possible values. I am trying to find the missing combinations of values. Correct possible combinations Nissan Altima 2010 Nissan Altima 2011 ... Chevy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The timer in Tkinter I tried to use time.sleep(1), but this causes the Tkinter window to hang, please help so that the counter goes. from tkinter import * import time def timer(): d = 60 while d: m, s = divmod(d, 60) mo = 'Время:{:02d}:{:02d}'.format(m, s) tablo['text'] = mo w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how i can fix an smtp error in Django im using gmail i have this error this morning after a year using it. Anyone knows how i can fix this?Error here I was looking for a solution but i cant find anything
{ "language": "en", "url": "https://stackoverflow.com/questions/75560230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I retrieve followers analytics from LinkedIn API? I have a hard time finding how do I get followers from LinkedIn API. I want to get a number of followers for the user with access token. There's an endpoint organizationalEntityFollowerStatistics, but it seems that it works only for organisation pages (they re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to prevent Excel DateTime custom format from auto changing? I have a column with a custom format of dd-mm-yyyy HH:mm:ss. My excel is in .xlsx format. Problem: Whenever I enter a day value that is less than or equal to 12. (ex: 12-02-2023 11:00:00) it automatically changes to 12/2/2023 11:00:00 in the formula bar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Odoo studio calculated HTML field I'm working with Odoo studio , trying to set a html as a calculated field. I'm trynig to embed a google drive folder with the following code: <iframe src="https://drive.google.com/embeddedfolderview?id=folderid#grid" style="width:100%; height:600px; border:0;"></iframe> And when ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Out of range .csv py I am trying to extract values from .csv file the problem is i getting an error out of range when using a file with over 6000 data, however when using file with about 200 There is such an error import csv # Read the csv file and store the data in a list data = [] with open('waves_Output_mono.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microsoft MAUI Blazor Web Assembly mobile project with Java Script - One js script for all pages? From what I read on the net in order to include js script in a page (Web Assembly version of MAUI Blazor) I need to do it in wwwroot/index.html using standard 'script' tag. Then I access js methods from any razor page t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Text Box Remembers Last Entry Working with Excel 2017, I have created a form that allows my user to seek out a specific work order number and add work details. If a match is found in the appropriate worksheet it then loads the PO#, part number, serial number, and the current status, associated with that record. The ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pandas - how to drop rows those are top n% in certain column value? I have a dataframe of two columns: userID | count A | 15 B | 12 about million of rows. I would like to filter out userID with top n % of count values, as I suspect it is a bot activity. I tried it with sorting by count, but I can only com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: VB.NET set Categories / FlagIcon does not update email set the application Outlook2016 Here is the code I have Do While Read All eMails If oMsg.Unread = vbTrue and oMsg.Categories = Outlook.OlCategoryColor.olCategoryColorNone . .Prep the email . Send the Prep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform object identification when created via for_each I have a resource to create subnets like this in azurerm with client_name =["client1","client2"]: resource "azurerm_subnet" "subnets" { for_each = var.subnet_map_large resource_group_name = var.resource_group_name virtual_ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Entity Framework Core: Add or AddAsync sets nested object to null if it's not the last object in an aggregate Imagine I have an object hierarchy that looks like this: public class Template { public List<Content> contents { get; set; } // ... other properties } public class Content { public Posit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading a tarfile is empty in python even though tar -zxcf works Im trying to read and write tar.gz files from memory using python. I have read over the relevant python docs and have come up with the following minimum working example to demonstrate my issue. text = "This is a test." file_name = "test.txt" text_buff...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ACF dynamically change checkbox options based on another field selected I want to add a dynamic filter for my wordpress theme. I used ACF in advanced but for now I have a problem for backend handle this filter options. let me describe it with example. we have some product-attributes (color,size,...) for each attribu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Module scoped global variable with a getter-like access function Within the class I can have the following _m definition which allows me to access it via getter method while still using obj.m notation. I was wondering if a similar mechanism exists in regards to global members, where I could have an access via functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display previous Order history of logged in user from eCommerce website using realtime database from firebase using react js Order Module a. Customer (User Specific) - Show previous orders and should be download invoice b. Vendor (User Specific) - Show the orders which has raised against that particular ve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nestjs - pass exception from guard to filter I wrote a custom JWT guard from which I am throwing an error if I find that an access token is missing from the a request cookie. Problem is, I want to return an UnauthorizedException with a custom message to my React client, instead of ForbiddenException which is now bei...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pivoting dataframe to wide from long to remove duplicates I have a dataframe that has duplicate person_id values (for every city that they have lived in). I want to pivot the dataframe to a wide format to delete these duplicates. Original dataframe: > dput(df) structure(list(Person.Id = c(123L, 345L, 345L, NA), City...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ExpiredToken when calling ListAccessKeys operation when running mock test I'm fairly new to running tests and still learning python in general. I am trying to run some tests on a function in another python file called handler.py. When I run my tests I get an error about an expired token. I want avoid changing any co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need help implementing memory management in my operating system written in assembly and C I'm working on a hobby operating system project and I'm currently in the process of implementing memory management. I'm using x86 assembly and C for my kernel development, and I'm looking for guidance and help from experienced ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Use of ternary operators as function parameter I was here wondering if there is any difference between * *calling a function with the ternary operator as parameter: functionResult = someFunction(someFlag ? paramA : paramB); * *and defining the parameter before and then call the function: functionResult = some...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delete entities of first table before deletion entities of second table error. Spring JPA Can you please help me? I have two entities: @Entity public class Site { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; // getters, setters, etc.. } @Entity @Table(indexes = @Index(nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Permanently delete a version of an MLFlow Model In MLFlow, when a new version of a model is pushed, its version is automatically incremented by 1. If we delete version 14 and push a new version, the new version of the model will be 15 even though version 14 has been deleted. I want to permanently delete a version of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firestore transactions data contention I learned here that Firestore ClientSDK does not accept where clauses in transactions. Here I learned why that is. I think it would be great if I could opt out of firebase making assumptions about my network connection being unreliable, even though that might be for my own good...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: MongoDB collection.find({}) request returning empty array I have a MERN stack application. I am using mongoDB and mongoose to store and access a database in the backend. The database was working fine until today when I was prompted to whitelist my IP address for database access... I presumed there was some IP refre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ionic ion-input vs input - keyboard hides control On iPad (Air 2 iPadOS v15.x) in Safari or Chrome using the Web only, when touching ion-input (v6.x) control at the bottom of the screen, the keyboard shows up and hides the control. Changing the ion-input for a standard HTML input, it doesn't hide it and the control...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing partial modifier on declaration of type 'Program' I started a project with the new console template that uses top level statements, but I wanted to add Program Main back in anyway. However, when I add in the class like this: // See https://aka.ms/new-console-template for more information Console.WriteLine("H...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongoDB aggregation: grouping distinct nested values Using Mongo v4.4 I have a few thousand documents in a collection. Every document has an array of address data, like so: "addresses": [ { "state": "New York", "city": "New York" }, { "state": "New York", "city": "Buffalo" }, { "state":...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HotChocolate merge two services that have the same schema I'd like to use HotChocolate to create an API composition gateway stitching GraphQL from multiple services. This works great when each service has their own schema. However, I also have a case that two services are serving up items with the same schema. Can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot run video segmentation using Mask_Rcnn using visualie_cv2.py I am getting this type of error C:\Users\USER\Downloads\Mask_RCNN-master>python visualize_cv2.py 2023-02-25 00:10:02.147757: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pre-commit only seems to indicate the files to modify if I use pre-commit I can see the files that should be modified, but they are not modified. More exactly: $ pre-commit install pre-commit installed at .git/hooks/pre-commit $ pre-commit run --all-files check for added large files.....................................
{ "language": "en", "url": "https://stackoverflow.com/questions/75560288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a vertical slider with auto-clicking buttons that have smoothly changing opacity? I came across a website (https://get.mem.ai/) that utilizes an event listener on scroll, sticky content, and a 300vh scroll hijacking method. I'm trying to replicate the smooth scrolling effect for practice, but can't see...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to style message and icon in Dynamic Dialog Angular PrimeNG in only one component? I am trying to style the message and icon properties only one dialog in this .ts file and when I use provided .scss code, I am styling all dialogs in the whole app that I do not want to. I think I am doing something wrong with ng-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problems with Python I have so many weird problems with python. I installed moviepy and when I want to run the code using Spyder, it says this no module named moviepy. But, when I run the code on the terminal, everything is fine. My other problem is that I installed jupyter notebook and jupyter lab, but when I want ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to subtract following row/rows with conditions from the previous row/rows in SQL Server in order to calculate cashflow? I am using SQL Server and I am trying to make calculations that has a specific subtraction case, which I will be using in a view. In order to explain clearly I am going to give my table sample:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How find all combinations of two lists with python itertools, repeating one list but not the other I have two lists, listA and listB. List C would be every value of list A paired with a value from list B (list B items can be repeated). I would like to find every possible combination of list C listA = [1, 2, 3, 4, 5]...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS CLI list all load balancers and their associated private/public IPs As simple as it sounds, I am trying to get a list of all my load balancers (network, application, classic, gateways). Haven't been able to get the exact command to get that output from the aws cli. A: Get load-balancer-ids with describe-load-ba...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WPF XAML IValueConverter Math Trouble I have a converter bound to a datagridcell's opactity as such: <Setter Property="Opacity" Value="{Binding Number, Converter={StaticResource OpacityConverterKey}}" /> And here is my Converter: public class OpacityConverter : IValueConverter { public object Convert(object valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create unique slugs from unique integers? I have a table of entities and each has an ID identity column which is a simple incrementing integer, guaranteed to be unique per entity. How can I create relatively short (preferably 10 characters or less) slugs from these identity integers, such that each integer s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to implement table search/filter in react I'm quite new to react and I'm trying to implement search/filter in my react project but it's not working the way I want. so I have two graphql api in the same component. The GET_ALL_USERS api fetches all the users which is supposed to be the default content of the table...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is causing unable to prepare context: path "./springboot" not found? I'm a bit new but I am trying to create a Docker compose which runs an Angular, MySQL and Springboot project. Right now I can't create the angular and spring boot because in both Linux sent me this "[+] Building 0.0s (0/0) unable to prepare c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VBA, loop column and copy cell format if value match in other range on same sheet I have a table that has 4 columns -- the category of the event, the start date, the end date, and if it has been confirmed. The type of event is color coordinated, and formatted using conditional formatting. here is the table that I re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Merging interfaces and passing the result as a Prop to defineProps in Vue 3 In vue 3 composition API im trying to do the following: <script setup lang="ts"> import { computed } from "vue"; // vue doesnt like this line (the export seems to be the issue) export interface ButtonItemProp extends ButtonData, Styling {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assign values based on rows count I have a live order pickup case where below constraints are needed to be met * *if 0 < Orders(rows) <=4, give each row with time value "4am" *if 4 < Orders(rows) <=10, give minimum 4 rows with "4am" and remainder rows with "6pm" 3, if Orders(rows) >10, additional time value "12pm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: getPastEvents doesn't show all events I use getPastEvents to get events from my smart contract and it works well, however I can't get one specific event. This event is not displayed but I can find the event in explorer.
{ "language": "en", "url": "https://stackoverflow.com/questions/75560316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can't push anything with Amplify I am unable to make any changes to my Amplify project. If for example I edit the index.py file in my Amplify function, even if I just add a comment (so any change at all) and then attempt to push with amplify push I get: The following resources failed to deploy: Resource Name: Graph...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: APIM (4.0, 4.1) How to configure apim to retry after receive http/500 with soapfault I have two endpoints: main and failover. When apim sends request to main endpoint, it returns http/500 with SoapFault next apim processes the error and starts prepare request to second(faiover) endpoint and hangs on class XFormU...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pushing image to Github packages throws "denied: not_found: owner not found" I have the following github workflow: name: TS Service Build permissions: packages: write on: workflow_dispatch: inputs: ... jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75560321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }