text
string
meta
dict
Q: Deploying a single page Python-Flask app on Hostinger * *I have built a one-page web app using Flask-Python. *I have bought a domain from my Hostinger account I'm trying to deploy my python-flask app on hostinger!
{ "language": "en", "url": "https://stackoverflow.com/questions/75597665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Conduct one sample t test across each element of multiple t test Good evening. I am trying to run one sample t tests across each element of multiple arrays. Ultimately, i would like to create two new 3d arrays of the exact dimensions of the data in which is analyzed, 1 3d array for T values and 1 3d array for their ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GCP API Gateway - Cannot convert to service config with parameter in url path The problem I am getting my yaml file rejected by the GCP API Gateway. According to the docs here my path of /address/state/{state_id}/counties is a perfectly valid url, but I am getting this error. com.google.apps.framework.request.BadReq...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: appending new rows to a Pandas groupby result object I am new to python and I am trying to insert record into group by result object. I have below dataframe where ID 1 & 2 has SECTION_GROUP as GROUP 1 and 3 & 4 has GROUP 2 but 5 doesn't have any SECTION_GROUP. ID ENTITY_NAME ENTITY_NAME SECTION_GROUP DOC_ID ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Loading A Current NOAA GOES-18 Satellite Image on a Page in Squarespace I need to embed the current NOAA GOES-18 Weather Satellite Image onto a web page on the Squarespace platform. Here is the web page at NOAA where they serve the images for Alaska: https://www.star.nesdis.noaa.gov/goes/sector.php?sat=G18&sector=ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Hide right-side axis (latitude) labels for high-latitude non-rectangular projection in Cartopy I am trying to hide the right-side labels (aka latitude) in this Cartopy map using right_labels = False but only works for some values. However, the top/bottom labels can be hidden using top_labels = False and bottom_label...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Python: Issue with "cftime._cftime.DatetimeNoLeap" in applying np.polyfit to an xarray dataset I'm working with CMIP6 NETCdf temperature data with Xarray in Python. I'm able to plot a timeseries at a given point, but cannot create a trendline using np.polyfit. It returns the error: TypeError: unsupported operand typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I open a process with its PID in pymem I have managed to change some bytes in a game by using pymem library. I made it by searching process name. But now I need to do it with its PID. Here is my code: def pattern_scan_all(handle, pattern, *, return_multiple=False): next_region = 0 found = [] whil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to calculate the value share of some sub-category (level 4) out of its corresponding category/parent (level 3) I have to calculate the level 4 categories value share of their parent level 3 category. This is an example of my data frame: The level is given by the code at the start of each name in the category col...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Notepad++, Is there a way to Find/Replace every instance of an XML attribute even when it has different values? I have an attribute under the catalogSeqNumber tag called catalogSeqNumberValue (CSNV), and you can give it a number as its value, like this:: <catalogSeqNumberValue="1"> In this document, there are 20 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't install python-core using pip install I am getting an error pip subprocess to install build dependencies did not run successfully. Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [10 lines ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Moving images in Pygame While I realize that there are quite a few posts about this on the StackOverflow forums, however none that I was able to find have a problem quite like mine. So basically, as you can probably tell from the title, I am having difficults moving an image in pygame. There are no errors, or anythi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exported types from npm package dig into subdirectories when imported into another project I have various .ts files that I'm working with, all of which export types. I notice when I'm using other npm packages, that their types typically live in the same directory as the other stuff, eg: import type { AnimationEventH...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have a structure that I want to sort by one variable and then by another variable. I'm trying to do this in VB.net (VS 2019) I have a class that I want to sort by "Category" and then by "Caption", But I'm not sure how to do it. I can sort by one (like "Caption") but not by two variables. Public Class MenuItems ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongoDB cluster. Replicas stuck in stateStr: 'STARTUP' I've read a lot of different threads about this issue, here and at other sites, and I cannot find a solution so far. Im running three servers at Azure, one at each zone. Server 1 is Windows, 2 and 3 (replicas) are Linux. This is not a production but a "learning"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modify d3 scripts in node_modules folder to test feasibility of symLog axes I'm looking to modify an npm package locally to test if a particular edit gives me the desired functionality. (Specifically I'm trying to implement a symLog axis for my d3 visualization.) There is one main d3 package which has an index.js fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript type for custom Record keys I am trying to write a small library where I want to add type safety to the following object: export const ErrorCodeMap: Record<string, [string, number]> = { NOT_FOUND: ['1001', 222], ALREADY_EXISTS: ['1002', 111], } Now what I want to do is to get a type-safe list of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Triangles not drawing in wgpu with lyon I am making a system for line drawing in wgpu with lyon. My problem is when I call draw_indexed() with the VertexBuffers from lyon nothing shows up. Sorry about the huge amount of code, wgpu takes a lot to get running impl LineDrawer { fn build(self, device: &Device) -> Vec<Bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to remove duplicated label and value in option on react select i have select when i add select it add also the option label and value that i already added i don't want the duplicated and when it duplicated the options look like array inside array in 0 : label : ['sad'] value : ['sad'] here the duplicated one 1 :...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: package.json "alias" entry I've been trying to create a React.js shared library which could be reused across the monorepo. Ultimately all the solutions required linking the React module installed in the library's directory by the projects, to avoid its duplication. I've found a working example generated by TSDX (htt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Store Output of a for loop in python to a dataframe column without append I am generating random alphanumeric strings using below code import random import string import secrets num = 10 res = ''.join(secrets.choice(string.ascii_uppercase+ string.digits) for x in range(num)) print("Secure random string is :"+ str(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I copy a dynamic URL to a cell within an excel sheet? I have code that downloads and manipulates an URL code to download the respective zip file from the previous workday. The macro then extracts csv file within the zip file (see code below) and places is in the following folder:\Commercial Gas and Power Ana...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Losing browser history from Gatsby site to a React site I'm hosting a React app (with Create React App) from my company website. The website is built with Gatsby, the app is CRA utilizing React Router. The problem is, when I click the link to the App, and then try to click the back button, the page does not navigate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error NU5049 The pack command for SDK-style projects is not supported My solution contains Framework 4.8 projects, .Net Standard 2.1 projects and .net6 projects. It has been running without problems for weeks. Today build pipeline has started to fail with the error ##[error]The nuget command failed with exit code(1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: express restapi not working as expected getting 500 or 400 server errors when attempting to post Here are is my server.js and user.js I'm getting error 500 when attempting to post the answer to the server. I'm at a loss for how I should further troubleshoot this code. Im wondering if its an issue with my queries or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Visual studio throwing errors after update I updated my VS 2022 today...bad mistake thanks MS. Now I am getting errors when I try to run my project. First I get an error about "should have two or more class parts" then I get "unable to start debugger". Does anybody have any ideas as to why this could be happening? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How return a collector that forms a special printable String in Java? I need to implement this method: public Collector<CourseResult, ?, String> printableStringCollector() { which return a collector that forms a special printable String as described below. It is multiline String containing a formatted table of all ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apply indexing multiple times on numpy array I have an array A of size N and another array B with permutation indices of the array A. Now I would like to apply this permutation multiple times to the array A. Is there a nice and efficient numpy command for that? As an example for reproducibility: import numpy as np n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to symbolically expand expressions containing abstract differential operators in sympy or in other computer algebra systems? With "abstract differential operator" i mean a differential operator D that is not necessarily applied to a specific function. I'd like to perform operations symbolically on a p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: About hashing and Polynomials I need your advice about hashing and Polynomials. I am not a programmer so I am not familiar with complex technical terms! I am currently creating an app that * *shortens large blocks of text. *have the ability to return back to the original text My first thought was to apply encryp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Undefined symbol error when trying to load Huggingface's T5 Issue I tried to load T5 models from the Huggingface transformers library in python as follows import pytorch import transformers from transformers import AutoModelForSeq2SeqLM plm = AutoModelForSeq2SeqLM.from_pretrained('t5-small') The AutoModel line res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using an expression against a singular child entity I have taken my first dive into expressions as a way to reduce code duplication. I have created 2 expression functions to isolate the work for 2 separate entities. * *Site *SiteServer public class CMSite { public int ID {get;set;} public string Name {get;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make a loop until the user gives correct input in Java, if there's multiple 'correct' paths? I have a program that asks the user to input one of three options- DOMESTIC, STRAY, or CLAN I'd like to make it so that it keeps asking for proper input if the user doesn't answer properly, until "pBackg" has either...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgres ON CONFLICT DO UPDATE all fields I have a database in which the primary key of a record is a string, its name Desire: if a new record is presented that matches the name of an old record, update all fields other than the name. What didn't work: INSERT INTO playlists (name, filter, selection, clips) VALUES ($...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Show all partitions a user can access in SLURM I'm converting a script from SGE to SLURM. In SGE, the script generates a list of which queues the user $USER can access - $ qstat -U $USER -g c CLUSTER QUEUE CQLOAD USED RES AVAIL TOTAL aoACDS cdsuE -------------------------------------------...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using same resource for RTV and SRV simultaneously Suppose that I have a 2D texture array resource, and that I would like to render to one array slice, while using the previous slice as a (pixel) shader resource. From testing, I'm guessing that it is impossible to achieve this by creating only a SRV and RTV for the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to configure NODE_OPTIONS variable in Visual Studio 2022? I am trying to build a react project in Visual Studio 2022 version 17.4.5. While building I got an error, Severity Code Description Project File Line Suppression State Error 0308010C:digital envelope routines::unsupported MyReact Error ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Warning: Failed prop type: Invalid props.style key `selected` supplied to `Text` with conditional styles After upgrading to expo 48.0.4 i get loads of warnings in the console about my conditional styles. I have several elements that are like this: <TouchableOpacity key={`day-${dayIndex}`} ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Call function to specific class I need a specific input field on the page to have its text changed to uppercase. I am aware that CSS can be used to display uppercase on the page but I need this javascript as the underlying input data has to be uppercase. I am using javascript below to change the text to uppercase on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to implement Spring Integration Flow to act as a TcpClient I am trying to set up a Spring Integration Flow to act as a Tcp Client. The Server is running on e.g. localhost:9026. I first tried with simple Sockets, that worked. I expected it to be much more simpler, but I can not make it work. What I want to reach ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trouble getting Bootstrap controls to work in App [enter image description here][1]I am trying to use several controls from Bootstarp in my website. I use the Navigation controls (which work fine), and am trying to use Modal, Carousel, Drop-up button, etc. The script below shows the script tags in my shared _layo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I dispatch a Puppeteer '.on' event? Example, if I don't dispatch it, this event throws an error when I close the browser. await page.on("response", async resp => { if (resp.url().includes("navigator.successRedirect")) { let code = await page.$eval("pre", el => el.textContent); code = JSON.parse(code...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SyntaxError: invalid syntax in return statement def greeting_customer(first_name,last_name,revenue): #for customer in customers.items(): if revenue >= 3001: greeting=print(f' Hello {first_name} {last_name} Youre Platinum Member Enoiy it') elif (revenue in range(2001,3000)): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: set method does not assign text values to a StringVar, no values in shell just variable name The problem is that I am assigning a function to different buttons on a form using functools subclass partial to add text values to a StringVar and when I print these values to the shell I get only the word PY_VAR4 and not t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to search Log File(s) for specific error I would like to preface this question by stating I have little to no prior experience with this I am currently working on creating a yaml file and one of the functions I need it to perform is checking a location to see if a log file exist. However, the log file changes na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: shiro filters with duplicate patterns which one used what happens when you DUPLICATE shiro filters with the same exact pattern? I know the "first match wins" policy applies to two similar patterns, addFilterChain("/secure/**", ROLE_1); // this one is used addFilterChain("/secure/foo", ROLE_2); but what if the patt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keyboard Module Python i am trying to use the keyboard module to press the control button on mac but nothing works, either i am putting in the wrong name or not using the right code. this is the code that im using at the moment however the control part does nothing. keyboard.press_and_release('control + x') i have ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: Cannot match routes - for internal MFE routes I am working with MFE and using module federation for the same. Recently I have updated angular version to 14 and now I am getting "Error: Cannot match any routes" error. I have different MFE with different angular workspace and Shell. When I click on any link fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to bypass z-index on mouseover to trigger a function? I have the following conundrum. I have an unordered list and each li consists of three elements. The bottom element is a short video that plays once the user's mouse is over it and resets/pauses once it has moved away. Above it, I have a div that is black wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter: Errors related to WidgetsBinding and callbacks when implementing honeywell package I was able to implement this flutter package: https://pub.dev/packages/honeywell_scanner I am now trying to use the examples that are provided here: https://pub.dev/packages/honeywell_scanner/example The problem is that my ID...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeScript string equality I've read a lot about string equality in JavaScript and assumed it is the same thing in TypeScript, but I'm puzzled by this problem. I have two strings that are exactly the same and yet having a non equal result in == and === operators. This is the code: thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Comparing Performance of PHP, Python, Node.js, and Lua on an Embedded Linux Device !!This is not a question, It's just sharing an experince with you!! If you're running a web server on an embedded Linux device with limited resources, it's important to choose the right programming language to ensure optimal performan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to generate 1 pdf file from multiple download link? I have multiple download links that download a pdf file. My goal is to have a button that when clicked will loop through an array of download links then after downloading all the pdf files it will merge it all into 1 pdf file then generate a download...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FormBuilderDateTimePicker selected date pass to a function which adds this value to Firebase I am a beginner to Flutter so probably this may be something easy but still I am unable to find a solution for it for a long time. By using 'flutter_form_builder' package I am using FormBuilderDateTimePicker to be able to ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I access the information of a vertex, from source code in Apache AGE? I'm contributing on the development of Apache AGE, so within the source code, if I have the name of a graph as a string, is there a way that I can access any vertex (or edge) information from that graph? I would like to access the graphid,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microsoft Graph: Using a refresh token from a partner account to get an access token to a managed customer's account I am implementing Microsoft SSO for an application that makes calls to Microsoft Graph using GDAP permissions. First, a user signs in with a partner account; we keep the {tenant} in the URL (login.mic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DynamoDB pagination and Go - Always exists a LastEvaluatedKey I'm trying to paginate a query DDB and I got confused with LastEvaluatedKey. func (t *...) GetAllPaginated(ctx context.Context, period string, lastId string) (..., error) { var lastEvaluatedKey map[string]types.AttributeValue if lastId != "" { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MongoDB dabase fetching gives an empty array I am new in MERN Stack and stuck in fething data from mongoDB Database. database connection is established successfully, Schema and model are developed and the hard coded data in database is exactly same as schema. Code is below, I am trying to fetch data but it returns a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I pipe into the 'convert' command? Using Ubuntu 22.04. I have a Bash command that produces a list of GIF files $ <command> file1.gif file3.gif file12.gif ... I would like to convert the files in this output to PNG files using the ImageMagick convert command. For a single file, the command would look someth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I disable the Message "Int-arithr A sub-expression may overflow ..." I am changing a program from VS2019 x86 to VS2022 x64. In the VS2019 version I am getting no errors and no warnings and no messages. In the VS2022 version of this snippet-- int nn; string sParse; sParse = sParse.substr( 0, nn ) + sPar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Different UART port on rp2040 How do I configure non-standard UART pins on the Raspberry Pi Pico in a Rust project? I'm following the Rust rp2040-project-template and, using another Picoprobe, can see log messages in the terminal as the onboard LED blinks. I gather it's possible to use different pins for UART TX & ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Relational database design: More efficient way to store tree with its attributes i'm working on program which require to store a tree-like data model and based on whether a node is a leaf or non-leaf, it will have its own set of attributed. for example a collection that has some movie on it. "Collection" Table ====...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to Interpolate One Segment of One Column in a Pandas Dataframe I have a dataframe in python as below. Say I change the value of second and forth rows as below. Now I need to do interpolate from the second row to the forth row as below. I'm new to this topic. Can anyone give me some ideas or the right function...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: find and replace a formula using regex in google sheets Can I replace a formula underlying a value using regex? For example in the table below, in A2: "John" is the value displayed but the formula text as shown in line A1 is ArrayFormula(Source!A1:A3) =regexmatch(formulatext(A2),"=ArrayFormula\(Source!\w{1,2}[1-4]\:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I created a table in R. I want to combine its counts. How? I created the following frequency table for samples per year. 1975 1976 1980 1995 2017 2018 2 67 44 126 64 133 I need to merge the counts of some years together and keep others as is. Eighties Nineties Two Thousands 2+67+44 12...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add more data to tooltip I'm trying to figure out how to get extra text to popup on the tooltip. I want the tooltip to include a quantity remaining number. I know it has something to do with referencing point.this. I've tried bracket notation like: data: [{x:'Spiderman',y:3.7,desc:'d1'}, {x:'Darth Vader',y:15...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to fix non-working script id in shopify I need help to remove non working script id but how can I locate them inside shopify Can someone teach me how to locate non working Script Id
{ "language": "en", "url": "https://stackoverflow.com/questions/75597799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is openGauss 3.1.1 fully compatible with PosgreSQL 14.2 in SQL syntax? Is openGauss 3.1.1 fully compatible with PosgreSQL 14.2 in SQL syntax? I tried some SQLs with different data types and all went well.
{ "language": "en", "url": "https://stackoverflow.com/questions/75597801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java - Integration testing GraphQL mutations secured methods with @PreAuthorize roles from Keycloak What I've got so far: * *I have working unit tests that return access denied by Spring Security which verifies that my roles are set up correctly with Keycloak. *I have successfully tested a controller that does no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Would it be beneficial for those giving down votes to be required to leave a comment stating why? It seems to be of help to the questioner, answerer, or commenter to know why the statements were inadequate. Also it would put a check on voting out of spite, or wounded pride because their philosophy, doctrine, tradi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to get SwiftUI's .onContinueUserActivity working I'm curious, has anyone managed to get SwiftUI's .onContinueUserActivity working? Looking at the sample code from Apple, it seems to be working in their app (note the testing instructions in the ReadMe file). But when I set up a new project for myself and try to r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Kivy Compiles to APK i cannot install I really would appreciate any form of help, I tried everything I knew and it didn't help. I have created an app in Kivy and I cannot compile it so it would work after trying several methods without a result I could finally compile an APK using google.colab however I cannot insta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ADODB query to table in same Excel file is failing This excel macro used to work yesterday but today it is throwing an error and I can't figure why: Sub QueryTableTest() Dim connection As Object '--- Connect to the current datasource of the Excel file Set connection = CreateObject("ADODB.Connect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Slow file transfer speed within local network I set up a local shared folder on ubuntu 20.04 using the suggested samba apt package. I am transferring os images from a windows 11 pc to the set ubuntu os. What could cause it to be slower than downloading the images directly from the internet? I am planning to create a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to send both data from form that contain file with other data from AJAX to JSP/SERVLET I want to send data from form that contains file and other data to my Servlet by using AJAX My form: <form id="editDoc" enctype="multipart/form-data"> <div class="mb-3"> <label for="...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is Access-Control-Allow-Origin required for the preflight AND the actual request? I am implementing a router to process all web requests. OPTIONS requests come in and I am responding with: header('Access-Control-Allow-Origin: http://localhost:4000'); header('Access-Control-Allow-Methods: GET, POST, PUT, DELETE'); he...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: printf in c printing extra charactors I am new to stack overflow and c. Tell me if i need to add more details I am trying to make a hangman game and when I try to print the board draw_board() Everything works except for printing the word on the board (should be _ _ _ _ for the word free). It gives _ _ _ _ jdgx for t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Using OpenCV image for Azure recognition service I have an already opened OpenCV image in Python 3 that I would like to send to Azure recognition service. I know that I can read my image in binary mode by open and send it to Azure service by using following code: from azure.cognitiveservices.vision.computervision im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with Javascript Mutation Observer on BigCommerce Checkout I have recently written my own JavaScript Address validator and auto complete (deployed to script manager) for the BigCommerce one-step checkout, this works well when checking out as guest. You can see it in action on BigCommerce shop when you checkout ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Asynchronous loading of data in a Table/InfiniteLoader/Autosizer impl I have the following scenario: * *fetch a list of events, which provides initial set of data to be used in Table. *within initial list of events, there are 3 cells which require additional api calls to obtain data more data. I have tried cellD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fedex Tracking API blank response/ Dynamic JSON object blank I'm setting up a connection to Fedex's tracking API, no issues with getting the bearer token; however, entering in the tracking information returns a 200 response with a transaction ID, but a blank "output" JSON object. When viewing this request via a REST...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use a selectizeGroupUI module call with a reactive (user uploaded) file? I am working on a shiny app that takes a user uploaded Excel file, performs some common data manipulations on it, and produces tables and graphs for the user. I would like the tables/graphs to be tied to filters so the user ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I Search A Skycrapper Hotel Booking Website I don't remember which video I came across a while ago, but I came across the website of a skyscraper hotel in a video. There was a tall skyscraper on the main page. And when who clicked on the floors, it was showing the rooms etc. on those floors. Does anyone know the nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: No python detected by vscode jupyter notebook My vscode shows version 3.9.13 64bit of python: However there are many versions of python installed on my machine (dont know how!) When I run python shell in terminal, it picks up version 3.7.9 When I open jupyter notebook, and run any cell it says Also when I run a c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix the mixed content error in Swagger UI? Recently I've moved from SpringFox 2 to Springdoc + OpenAPI 3. It's a bit faster and it works perfectly in my local environment. When I try to use it in the production environment, the Swagger UI page opens fine. The problem is when I hit the API endpoint, Swagger UI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WAN Replication on non-enterprise hazelcast Can we use custom WAN Replication implementation on a non enterprise hazelcast instance?
{ "language": "en", "url": "https://stackoverflow.com/questions/75597839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What's the intuition for recursively defined Haskell Data.Array and strictness? Consider this Haskell program module RecursiveArray where import Data.Array ( (!), listArray, Array ) goodArray :: Array Int Int goodArray = listArray (0, 1) (go 0) where go x = x : go ((goodArray ! x) + 1) badArray :: Array Int...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring finds some beans but not others i have a test like this @ExtendWith(SpringExtension.class) @DataJpaTest public class UserAccountRepositoryTest { @Autowired private UserAccountRepository userAccountRepository; } the autowiring works in another file @DataJpaTest @ExtendWith(SpringExtension.class) publ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I filter *out* dependabot notifications in GitHub? Dependabot is so useful... And so noisy! I'd love to be able to create a custom filter that shows only non-dependabot notifications in my github Notifications tab. The documentation says exclusion is not supported but I suspect I'm not the only one who wishes fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to get a header with css container I am building a report in powershell and I am having trouble getting a block at the top. $CSS = $null $CSS = @" <style> H1{text-align: center;} BODY{background-color: #E5E4E2; font-family: Monospace; font-size: 10pt; text-align: left; padding: 5px;} TABLE{border-width: 1px;bord...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASWebAuthenticationSession crashes Chrome on MacOS Dev environment: MacbookPro, Ventura 13.0.1 XCode 14.1 I’m implementing a feature for an existing MacOS application, which will allow users to launch Zoom (and eventually, other 3rd party services) from the application. I'm trying to implement OAuth2 via ASWebAuthe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: embedding local html page with streamlit componets I am building a simple streamlit app with several pages. In one of the pages i want to display an embeded html and I am using iframe html. import streamlit as st import streamlit.components.v1 as components components.iframe("mypage.html") I get the following erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I remove this strange font from my Terminal? Basically, my mate did this weird thing with my terminal so now it looks like this. I have tried to change the font and stuff like that in the personalisation but it wasn't immediately noticeable. If anyone has a fix that would be greatly appreciated. As stated a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Not claims comes from cookie in ASP.NET CORE AUTHENTICATION i'm making a test with authentication services in a ASP.NET 6 api. With Login endpoint, i created a user whith a claim, but in the "username" endpoint, when i try to get claims, seem like not claims has stored in the cookie. Fullcode: using System.Security...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom code help for a likert scale report So I’m trying to do something a little complicated for Webflow. I’m stuck on how to tackle this problem and I’m wondering if anyone can help. Basically, I’m trying to create a table graph that shows a user the results of a likert scale graph. I got some code that works well...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sign transaction legacy without confirm metamak I'm looking for a way to sign legacy transaction (type 0) without confirm my wallet metamask Hello, I'm looking for a way to sign legacy transaction (type 0) without confirm my wallet metamask. A: A transaction needs to be signed by a private key that derives into the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: dropzone with cropper js to crop multiple images and then upload can anyone help with the core php program for dropzone with cropperjs to crop multiple images and then upload. need to crop multiple images before uploading already tried number of code available
{ "language": "en", "url": "https://stackoverflow.com/questions/75597860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fibonacci sequence generator with fork and shared memory I'm struggling with a homework problem. I'm asked to: Write a program whose main routine obtains one parameter n from the user (n<40), i.e. passed to your program when it was invoked from the shell. Your program shall then create a shared memory and a child pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mocking axios create dynamically with jest I am trying to mock axios with jest. This is what I have currently: jest.mock('axios', () => ({ create: jest.fn(() => function () { return { data: { data: { subscription: [ { tag: 'free', }, ], ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use ipywidgets in IDE like Pycharm I want to visualize some plots interactively. Now there are python based visualization tools that work with Jupyter notebook or .ipynb files. When I run the same in pycharm IDE it simply doesn't do anything: import matplotlib.pyplot as plt import numpy as np from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75597870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }