text
string
meta
dict
Q: Change the precedence of the swagger-ui.html handler mapping When using springdoc-openapi-ui 1.6 in a spring boot 2.7 project, the handler mappings for the /v3/api-docs and /swagger-ui.html urls have different precedences. While working on a project that uses spring-integration-http, I noticed that its inbound compo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS SwaggerUI Popup Recieves Response, Other SwaggerUI Clients Don't Getting into using OpenAPI and Swagger for API documentation. When running the asp.NET core API project locally, Visual Studio pops up a Swagger editor window where a developer can view the endpoints and send requests to them. Requests and responses...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to inherit property annotations in Mapped Types with key remapping? Following the Key Remapping example on the typescript documentation, is there a way to inherit property annotations of the initial Type ? type Prefix<Type, str extends string> = { [Property in keyof Type as `${str}${Capitalize<string & Prope...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617371", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pass HTTP-NTLM authentication token through script to Exchange I'm developing a web-based system which needs to integrate with several backends, including a Microsoft Exchange server (as well as a few others). The system runs in an air-gapped intranet, so everything is on-prem, no cloud. We've not yet decided whethe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What does it mean to have the session and server in sync? I'm trying to understand the following from Mastering Shiny in regards to freezeReactiveValue(): Note that there’s no need to “thaw” the input value; this happens automatically after Shiny detects that the session and server are once again in sync. What doe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL json_object and json_arrayagg with group by not working as expected I've a many to many relationship with this tables Table assets: id name other fields 19 asset 1 ... 20 asset 2 ... ... ... ... Branches table: id name other fields 1 branch 1 ... 2 branch 2 ... ... ... ... branc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: S3FileTransformOperator Permission Denied Error in Cloud Composer On a Script I am trying to use the S3FileTransformOperator with a file transform.sh but I keep hitting a Permission Denied error, more specifically PermissionError: [Errno 13] Permission denied: '/home/airflow/gcs/plugins/some_plugin/scripts/transform...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using SQL like with range operator in Databricks In a Databricks SQL endpoint, the SQL like with range operator is not working. Ex1:- with Cte_Members AS ( Select '1A' as Memid union all Select '2B' as Memid union all Select '3C' as Memid union all Select 'DD' as Memid ) select * from Cte_Members where Memid like '[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Align elements equally in VStack I have two elements within a VStack where I would like to line up the boxes equally. I don't understand why they aren't lining up equally as they have the same paddings as one another. VStack(alignment: .leading) { HStack{ Text("Measurement: ") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python function to print variable names and values in caller A Python function to print variables and their values is def print_all_vars(fmt_name="%10s"): for key, value in globals().copy().items(): if not key.startswith("__") and not str(value).startswith("<"): print(fmt_name%key, value, sep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617385", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Using T-SQL Xquery to extract data from XML with low-ascii represented like "&#x1E"? Or just use T-SQL? I have strings inside XML that contain low-order ASCII. Specifically, the EDI contains special characters like char(28), char(29), char(30) (aka File Separator/Group Separator/Record Separator). The way the devs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Does libssh2 library support SSH certificate based authentication? I want to understand if it's possible to use SSH certificates to sign in to VMs using libssh2 I'm using libssh2_userauth_publickey_fromfile function to authenticate to VM using signed public certificate and I keep getting this error "Public key authe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loading Cropped Image in the Canvas using Fabric js I have this code snippet in Fabric js where am trying to load image in the canvas. I have a windows where am getting the coordinates and using them to crop image. Once image is cropped and save button clicked, the cropped image should be loaded on the canvas. The i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get Postive/Negative/Neutral words from a paragrah? I am trying to take a whole paragrapgh and find the postives, neutrals, and negatives of it. I found something on the site. Link to this is: Python -extract positive words from a string using sentiment vader However I need to do a whole paragraph, not single...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple targets for Htmx I have multiple triggers on my htmx. <input list="users_list" type="text" name="user_name" class="search-bar" placeholder="Username" id="user_search_bar" value="" hx-trigger="keyup delay:500ms, change" x-headers='{"X-CSRFToken": "{{ csrf_token }}"}' hx-post="{% url 'sear...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to customise Folium html popups in a for loop in python using .format()? I am trying to change the standard popups provided with Folium and make these work with a for loop. I am using Django. I succeeded on change the html, following a few tutorials. However I am struggling to understand how to call the variable...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error after installing @nguniversal/express-engine I installed angular universal so my site can be indexed by google and I've had endless errors since, my most recent one is below and I'm simply just running ng build at this point. ✔ Browser application bundle generation complete. ./src/styles.scss - Error: Module ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Difference between HTML display and React render of same raw HTML I have a raw HTML that I want to render in a React component. When I open the HTML file, the display is correct but when the same HTML is rendered by React using dangerouslySetInnerHTML, the display changes. Here is an example: const root = ReactDOM.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617398", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can I run vacuum on live Postgresql database We want to clean up some dead tuples from tables in our application PostgreSql RDS instance. So we are planning to run "Vacuum" command (not Vacuum full) on live DB after taking a Snapshot. Does this have any impact on the application? Do we need to have an application do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to include javadoc into a decompiled code in IntelliJ IDEA? I'm using IntelliJ IDEA Community edition and i previously used to read decompiled source code with javadoc simply by clicking CTRL + ClassName or methodName or so. But i have messed up with some settings which i don't remember and therefore can't find ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need help using methods of the childController in the parentController in javaFX using fx:include I've tried many things but every time i get an error so that the program won't start. I will paste the code relevant code here: package application; import java.io.IOException; import java.sql.SQLException; impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to refresh Authentication Token silently and resend HttpRequest I'm trying to intercept any httpError 401 and resending the Request again with an updated Auth Token. Similair to the following Problem: Angular 4 Interceptor retry requests after token refresh The Main struggles I have are * *understanding how th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Filter per word and the output to an coloumn that will be used later The input is my column description and I want to create the output in a new column named 'Comments' but this column will be appended dynamically by the next part of the code. Description Comments 101783POLB-18:CANCEL ITEM M Contains word Ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Making json keys lowercase Snowflake I have a table that looks like ID DATE FIRST_NAME H&P 12 2023-02-01 JESSICA 40 99 2023-02-03 MINA 98 12 2023-01-14 JACK 12 I've created another table containing these columns as columns by doing SELECT ID, OBJECT_CONSTRUCT(*) as details FROM MY_TABLE; ID DETA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use `shards install` with SSH or gitclone? I have trouble connecting to https://github.com/... When I use git, I could use ssh or gitclone like this: git config --global url."https://gitclone.com/github.com".insteadOf https://github.com In this way, I could use git clone anywhere easily. However, with shards...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kotlin Multiplatform generate single JS from multiple modules I have two modules in my Kotlin Multiplatform project * *shared *lib where "lib" module has API dependency on "shared" module. sourceSets { all { dependencies { api(project(":shared")) } } ... } I am using lega...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to avoid using a loop query to get the result for a transaction? I am trying to wait for the receipt as long as my transaction is valid. At the moment, I use the TransactionReceiptQuery method in a loop, and after each 'failing' query I wait 2 seconds before retrying. Is there a better way to wait for the receip...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Work around borrow issue generates ugly code to implement a registry of objects. Is there another way? I want to create a registry of objects that all implement some trait. So the Registry struct has a register function. But if I declare it returning void type, I can only register one object, then borrow issue for t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does Mission Control show a different GC time to the GC log for a given GC ID? Mission Control shows: * *GC ID: 301 *GC Duration: 2.595 s For id 301, the log shows: [2023-03-02T14:55:45.298+0000][info ][gc,cpu ] GC(301) User=24.55s Sys=0.85s Real=0.64s I have 2.59s (which would be 2.595 truncated and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Repainting when using 'close' for crossover/under Hi I have a script that uses the following code: if (longCondition or ta.crossover(secondlongentryprice, sstoploss)) and inDateRange and is_entry_session For the secondlongentryprice I was using close as the candle value but it was repainting sometimes. My programme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to measure response size data for individual sampler during load test How to measure size of response data of multiple http samplers in JMeter. I need to find the individual size of all http sampler during the load, not for overall. I am using Beanshell sampler but it is giving overall size not individual for ea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: strcpy sigsigev of unitilised value of size 8 I'm writing a BST and have to print it in order, to do fulfill the nodes I'm using strcpy, what givemes a SIGSEGV error and a message in valgrid: ==104951== Memcheck, a memory error detector ==104951== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==104...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Evaluate list element in when clause I have a simple ansible playbook where my when statement is not getting evaluated. I cannot use jinja templating I assume. I think the problem is with - name: Delete mon hosts: localhost vars: nondash_pods: "" gather_facts: false tasks: - block: - name: Get ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jest mock class removes all its instance functions and properties Am trying to mock a class and its properties, how am mocking it: jest.mock('some-npm-package', () => { return { ClassService: jest.fn().mockImplementation((id, access, path) => { return { idToken: id, accessToken: access, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In Angular, how can I access content in *ngTemplateOutlet? I need to find a component in a template. To do this, you need to access the contents of ngTemplateOutlet. I can't figure out how to do it. This is my code. <ng-container *ngTemplateOutlet="searchHeader"></ng-container> <ng-container *ngIf="resize.isMobile$ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: gojs example multiNodePathLinks I want to rewrite the example "multiNodePathLinks" (https://gojs.net/latest/samples/multiNodePathLinks.html) for routing Orthogonal and ports. Any ideas how to rewrite computePoints? enter image description here computePoints() {} https://codepen.io/natorimaru/pen/BaOWgNw
{ "language": "en", "url": "https://stackoverflow.com/questions/75617439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cant repace text with image using docx4j I want to replace a text in a word document with an image using docx4j but till now i cant do it , is there anyone who did something like this before ? any solution ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75617440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the difference between list[i] vs list.ToList()[i] in C#? I am coming back to C# after a long time. Usually, when I want to get or set some value at a specific index, I use .list[i] but recently I have noticed .list.ToList()[i] pattern. Question: What is the difference OR advantage of that? Code: var randomW...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Make a numpy array containing arrays of different shapes In numpy I start with an array import numpy as np blocks = np.array([arr], dtype=object) with arr containing x elements. Now I have a while loop in which I take an element from blocks (an array). I do some operations on this block which results in 2 new block...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically generate a checkbox group, loop through checked/unchecked values in pl/sql I'm using Oracle Apex version 22.2 and this is my first time working with a dynamic checkbox group. Each company has a list of "ParentID's" that they can do business under. The number of PIDs a company can have is from 1-20. I'm u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testing route using express-session with mocha I have a POST route that expects an groupId, and with that, I'm basically generate cookies and session. I use express, and express-session to create a session and it look something like this: export const generateCookiesConroller = async ( req: Request, res: Respons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nginx not bring the file enter image description here I use aws ec2 and OS is amazon linux2 micro my project is running in node js I install Phusion passenger and nginx use passenger that nginx mode when i start nginx then access server ip not get the file path is correct but not bring it i check file using ls -l th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Plotting one sampling day of the dataset instead of all days together in a histogram in r I am running into some problems with plotting a histogram. The dataset is comprised of 4 Sampling days. During these four days prependicular distances to individuals were counted. But now i need to plot the frequency of the per...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Ref with Class Component issue Child Component Parent Component Here I get an issue that My parent Component isn't able to access child Component ref when I click button. It calls the method clickHandler by clicking on button but It shows an error: Error: focusInput is not defined... I got stuck in this probl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: o365 Graph Email for .Net Framework I can't find a good example for Microsoft Graph using .Net Framework (4.8) and the Core examples I'm find I'm having trouble converting to Framework. Anyone know of some Framework examples for Graph not Core. All I'm looking to do is use Graph to get a list of emails. Process ea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Optimized way to check for authentification in Next + nextauth What would be the best way to check for auth and show the user a login component using next auth. Would you rather redirect the user to a login page or just render a login component instead of the component that the user is querying. Not sure if it makes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sometimes ajax request can't change data attribut I have this code : $.ajax({ type:'POST', url:'/store', processData: false, contentType: false, data: formData, async: false, success: function (response) { if(JSON.parse(response).status != 'Failure'){ console.log(JSON...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Left and Right Slider for WebGLimageTransition I work on a distortion effect transition and i need a left slider for but i don't know how to implement it. (I already have a right slider). My project uses GL Transition and three.js to produce a distortion effect on transition. I used this repository as inspiration : ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Every record shows twice from sql local database enter image description here Data from my local database mdf file each record showing two times.
{ "language": "en", "url": "https://stackoverflow.com/questions/75617462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: 'javax.net.ssl.SSLHandshakeException: Incorrect PSK binder' when running numerous requests towards an Elastic cluster on docker I am working with a .NET 6 application that sends requests towards an Elastic cluster running locally in a docker container. Security has been enabled on the container and the elasticclient...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get Client Side Extension (CSE) GUID of a policy area and MMC snap-in GUID of that same policy area? I am trying to implement a GPO "Preference" without a domain according to this guide: https://sdmsoftware.com/tips-tricks/group-policy-preferences-in-the-local-gpo-yes/ and since I am not that experienced with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617467", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Duplicate class com.yqritc.scalablevideoview health Emergency android studio keeps giving this error during build. I tried to follow other guides but all the solutions do not give the desired result. This is the full error: "Duplicate class com.yqritc.scalablevideoview.BuildConfig found in modules jetified-Android-S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "failed with exit code 2" while trying to install rebound with pip I have just started to get into coding and wanted to install REBOUND via pip for Python. I tried using the terminal in VS code and the cmd one but same problem. I have installed VS builder tools 2022 but the problem persists. I have been able to clon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add effect to DataGridTextColumn? I have a DataGrid and I would like to add an effect to a DataGridTextColumn within this DataGrid, but I found no possibility for that. For example for a TextBlock you have the "Effect" property: <TextBlock Text="Test" Effect="Blur"></TextBlock> Is there something similar for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617474", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why use done channel It's not the first time I can see this kind of code and I don't understand the meaning of the done chan: // Context: this code will "watch" a file and react when the file has been changed package main import ( "fmt" "log" "github.com/fsnotify/fsnotify" ) func main() { // creat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert an Observable to a json in order for my method to work I can't make my ng2-search-filter search through a list of Commessa Entity stored in a database I believe for the reason that the Commessa Entity has a field that is another object (joined to commessa with a many to one realtionship). Whenever I t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I scrape data from iframe tag and widget class? Hi am trying to scrape data from iframe tag, inside this tag have widget-loader.I tried to scrape rating and reviews by using scrapy and selenium but I can't able to scrape information. HTML: \<div class="tp-widget-summary__rating"\>\<span class="rating"\>2.3\<...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show video thumbnail using Coil in compose I am trying this code to show video thumbnail from the Phone Where video.uri = ContentUris.withAppendedId(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, cursor.getColumnIndexOrThrow(MediaStore.Video.Media._ID).tolong()) val painter = rememberAsyncImagePainter( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to web-scrape google's search page using dart's lib html in flutter I've been scratching my head for a long time. What needs to be done to display the text result on the screen in cam.result.code i get barcode I think something is wrong with querySelector Also tried to connect a beautiful soup, but it's quite di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to architect a cross platform multiplayer mobile app Im struggling to figure out the proper way to setup this app. Basically I want to create a sort of game that has local multiplayer between ios and android. Im not sure if the best solution is to write each app for its respective platform and then have some sor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Remove password from password protected PDF in frontend without relying on heavy dependencies I am dealing with uploads of PDF files with password protection. Instead of sending the password-protected file with the password to the backend where the file eventually can be decrypted, I want to remove the password in t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Refresh token not triggered Plugin.FirebasePushNotification - Xamarin.Forms I am trying to send remote notifications in my mobile app built using Xamarin.Forms. I have made all the necessary console settings in Firebase and uploaded google-services.json and GoogleService-info.plist. The notification function works p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add another layer of validation for sequencing data I am creating a matchmaking function where 2 players with the same weight will be paired. It is currently working now based on the same weight. Now, my target is, to add a sequence per match. For example. *If player 1 is in 1st match, then player 1's next match sho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: legacy-install-error while using pip install libratom I am running into running into the error codes below while running the command pip install libratom. I'm not sure if this is relevant but I am running this command on a Linux container I'm ssh into via VSCode. $ pip install libratom Looking in indexes: https://a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to turn list into nested in a specific way? I have a list: ["a", "b", "c", "d", "e", "f", "g"]. I want to make it nested and put in sublists of two consecutive values ​​from the given list. if there are no two values ​​left, then one value should go to the sublist. so desired result is: [["a", "b"], ["c", "d"],...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: phonenumber field authentication error in django I am making a login function in django where user will input their phone number and password, they can access the account. but when I run the server, I get error that invalid phone number and password, but I registered proper phone number and password. I did some trou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Get-AzMetrics giving Bad Request error when ResourceId provided belongs to an attached data disk(not VM ID) I am trying to get the maximum value of Data Disk Read Bytes/Sec and Data Disk Write Bytes/Sec over a period of 30days for all the data disks (Premium SSD) in my subscription using Get-AzMetric. I am getting b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Apps Script WebApp onSubmit working on mozilla but not on Google Chrome I am currently developing a WEB form, in which I want to retrieve data in a Google Sheets. When I submit my form, a call to a handleSubmit function is supposed to launch a server-side function, allowing to retrieve the data from the form ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL Constructor returns null? [enter image description here][1]Im trying to code a minecraft bukkit plugin and i wanted to use mysql. I set up mysql and sqlgetter with no problem. In my other class, i wanted to call sqlgetter function so i put constructor but whenever i call function by constructor, it returns nul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ElasticSearch - How to increase rank based on count of terms match Take the following Author example object (jsonified): { "name": "Author 1", "enabled": true, "books": [ {"name": "book1", "popular": true}, {"name": "book2", "popular": true}, {"name": "book3", "popular": false} ] } What I wan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Numba how to use dict in a class as specified below, the dict should have keys 2-tuples of int and values ints. from numba.experimental import jitclass import numba @jitclass({'shape': numba.types.Tuple((numba.int32, numba.int32)), 'dict': numba.types.DictType(numba.types.UniTuple(numba.types.int32, 2), numba.int32...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it good to call another test method in integration testing because it requires multiple steps? How can I create integration tests for a password reset functionality with the following conditions: The function should reset the password The first step is to make a POST request to /forgot-password to generate an OTP...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Validating a collection or enumerable of unknown type I'm looking to add an Attribute validation to my model, to ensure that a collection property has items. Perhaps there is a better way to validate the collection in my model. If so, I'd be happy to use that. Otherwise, I can cast the object to IEnumerable, but as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Redux Slice data is not updated after API Call Im having an error using Redux Toolkit and RTK Query. I have a cartSlice where I have a matcher to match when the api call is fulfilled to store some data in the slice. Then I have a method called addQuantity to look for a certain item in that array, and updated the qua...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get different Polygon with the same points with Shapely For a computer vision project, I am creating an polygon from a list of detected objects if there's more than 3 detected objects. I'm then trying to intersect them with a line. It works great for a few videos, but for others, I'm getting an invalid geom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why do similar signal/slot connections behave differently after Pyqt5 to PySide6 port I'm porting a pyqt5 GUI to pyside6 and I'm running into an issue I don't understand. I have two QSpinboxes that control two GUI parameters: One spinbox controls the weight of a splitter, the other controls the row height in a Qtabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Power simulations for mixed models with factors I'm trying to calculate power for fixed effects in a mixed model where two variables are coded as factors (to test for linear or quadratic effects). But when I run powerSim, the results show 0% even though the effect is significant. This is not the case when I run powe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pad a message sent using C# sockets with null values? I have an application (whose logic is abstracted from me, but I am trying to replicate) that is sending data via TCP/IP to a remote socket. Inspecting the data on Wireshark shows the below output: 0000 fc 73 fb c7 cb 21 f8 e4 3b aa 27 c2 08 00 45 00 .s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenApi Genrator Import conflicts with Generated model and the library org.springframework.http.ResponseEntity. 'single-type-import' error I have a schema named 'ResponseEntity'. The model class gets generated with the same name. This conflicts with the ResponseEntiy class of Springframework and gives an error error...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace all string patterns except for one? I have a string and a pattern that I'm trying to replace: my_string = "this is my string, it has [012] numbers and [1123] other things, like [2] cookies" # pattern = all numbers between the brackets, and the brackets I want to replace all of those patterns except ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: next.js application is not accessiable in private s3 bucket with cloudfront,Access denied i am hosting a website on private s3 bucket with cloudfront as distribution ,under origin access,selected Origin access control settings (recommended) and updated bucket poicy ,deployed next.js sample app, its working but as pe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AES Encrypt/Decrypt raw byte[] vs string with openssl I followed the advice in this question to use EVP, and found the example code on the open ssl wiki. I'm having a problem with byte input (vs char*) I think because I have zeros in my data which is being interpreted as the null terminator. I don't think it's th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert Greater metropolitan area name to country in r? I have a big dataset of location where some names have metropolitan name and others have countries. I was able to use separate to separate out the location to different parts, but there are some cases where the location only have country name or "Greater...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Move the table of content away from the title page in Rmarkdown / bookdown PDF I would like to use the bookdown package to generate a pdf document: --- title: "My Book" date: "`r Sys.Date()`" author: "Author" output: bookdown::pdf_document2: keep_tex: true number_sections: true --- \newpage \tableofcontents...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SQL query to get a row where some fields are from another row with same id I need to display the row from a 'VIEW' where some columns are value from another column having same id/value in a different column [SameTable][1] [1]: https://i.stack.imgur.com/BmT7i.png Currently using below query to fetch the main table SE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: getResourceAsStream return null I tried to get an image with getResourceAsStream and put in InputStream but the value is still return null. This is the code: public static BufferedImage GetSpriteAtlas(String fileName) { BufferedImage img = null; InputStream is = LoadSave.class.getResourceAsStream("/" + fileN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to upload image into S3 via AWS Amplify Backend correctly using multerS3? I'm using AWS Serverless Express, Multer-S3. multer code is here: `const upload = multer({ storage: multerS3({ acl: 'public-read-write', s3: s3, bucket: 'BUCKET-NAME', metadata: function (req, file, cb) { cb(null, {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Characters are being added when loading data from CSV file to DB2? I have a bit of an odd problem - I have a table in my database which is defined like this: CREATE TABLE MYSCHEMA.TABLE1 ( SEGMENT_1 VARCHAR(20), SEGMENT_2 VARCHAR(20), PRIORITY INT ) IN MYSCHEMA COMPRESS YES ; I'm trying to load data into it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to enable additional mouseup event listener on a draggable element in Javascript? I'm making a simple drag and drop interface of dragging a ball into boxes. When dragging, if I change my mind, I want to be able to right click to return the ball to the original box. This feature is what I struggle with. In Javasc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Split on newline-delimited textarea.value returns array of line indices I have a JSON data set that's being deserialized and written into a textarea input in the form: { "key1": "", "key2": "0", "key3": "", "key4": "0" } Using the following for loop: for (var key in jsonObj.myData) { textarea.value += key + ": ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to interpret the given preorder and inorder nodes to form a postorder node? I am unsure how the traversal works and the order it presents consider the traversal of a tree preorder --> ABCEIFJDGHKL Inorder --> EICFJBGDKHLA Which of the following is correct post order traversal? A) EIFJCKGLHDBA B) FCGKLHDBU...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't get go_session_id I can't figure out how to get cookies with the go_session_id parameter, it turns out with other parameters. I attach the program code: import requests, fake_useragent user = fake_useragent.UserAgent().random headers = {'user-agent': user} number = '+79614722233' sess = requests.Session() r ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: expose child component outside my custom angular component after trying to search for my question I sadly had to realize that I do not know the proper nouns to even search. :-( I hope someone can tell me how the following relation. I have a custom component that is shared - let's call it "frame". The "frame" custom ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Theme doesn't change correctly in maui for elements with no background when the system theme is black When changing the theme of the OS, the application normally does not display all entries. I tried to change the background of the entry, but then the frames are not visible on iOS, and if it is empty (without a plac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Responsive carousel How to make the section of the carousel constant when I have different sized items in it and put the carousel in the center (Horizontally AND vertically? My code I tried to find it ongoogle but I tried many things there but nothing happened
{ "language": "en", "url": "https://stackoverflow.com/questions/75617559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R shinyapp mainPanel has a different size than the side panels and causes problem when scroll down the page I have a shinyapp in which I have a tab called "filter-tab / sub-tab". In this page, I have 2 filters panels, one on the left and one on the right. My problem is that when I click on the "Launch analysis A!" b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JMeter tests fail in azure pipeline I have created jmeter tests for my azure release pipeline. I have executed the tests local and everything worked fine. Every time the tests get executed from the azure release pipeline, they fail. I got a Jmeter request to get the token for the other requests. When I execute the t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add an Auto Increment Primary Key to a MariaDB System Versioned Aria table I've made a bit of a mistake and I cannot correct it. I have a table Email and I've used the email address as the Primary Key. This is a mistake and I want to add an Auto Increment ID to the table instead. However, the table is Syste...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to compare multiple date ranges across two sets to find if one set has dates that are missing compared to the other set? For context: There are two sets of data, vehicle data and driver data. * *Driver data is the dates that a specific driver was driving a specific vehicle *Vehicle data is data related to the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Analytics Admin API - Creating Conversion Events with parameters We are trying to create Conversion Events through the Google Analytics Admin API and under the documentation we only see the possibility of creating an Event with an eventName, but no further parameters such as the value of the parameters of the URL to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75617571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }