text
string
meta
dict
Q: Java Stream: Check if record exists and throw exception if not? In my Spring Boot app, I use MapStruct for mapping between entities and dtos. I have the following update method in my service: public void update(TypeRequest request) { final Type type = typeRepository.findById(request.getId()) .orElseT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Autohotkey Pattern Scan memory regions AllocationProtect is PAGE_NOACCESS I modified the function processPatternScan of Kalamity/classMemory to Scan memory regions AllocationProtect is PAGE_NOACCESS processPatternScanModified(startAddress := 0, endAddress := "", aAOBPattern*) { address := startAddre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my query take so long and how can I optimize it? I am trying to combine the results of all these separated (sub) queries into one single result. I have really basic knowledge of SQL. I am able to get a result, but it takes a massive 6 seconds. Edit: Query plan: https://www.brentozar.com/pastetheplan/?id=SJv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Invalid URL and routing to default URL I am using angular for my website. When user enters wrong url, how to redirect to our home page. I have been using wildcard routing also. It works when user give wrong url like www.wename.com/test But it is not working when user gives like www.wename.com/dfdfdsfs.aspx . It send...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pytest fixtures for multiple test cases in parametrize decorator I have a pytest fixture that takes in some parameters to get some test data stored in a test directory, used to create an object foo. fixture1 and fixture2 are fixtures defined in conftest.py. What I would like to do is to test the many components of F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the best Optimised DynamoDB Query? Let's say there is a dynamodb with as columns as below EmployeeId employeeDetails academicDetails joiningDate employeRemarks 123 xyz pqr 123456[timestamp] Avg Employee performance fields take the following set of values Average, Excellent, Outstanding, BelowAver...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native Expo Sharing - Not able to share second time I am using https://docs.expo.dev/versions/latest/sdk/sharing/ to create share button with current screenshot. Here is my coding snippet which is working fine. import ViewShot from "react-native-view-shot"; import * as Sharing from "expo-sharing"; const viewSh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React BrowserRouter - Refresh Page {"status":failed} I am developing full stack website and I used react for client side and I used nodeJS for server side. I gave my web site routes below. If I am in Login page and I refresh page everything is normal but if I go to any routes in website, for example Dashboard page ,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Baseline profiles doesn't work on unrooted device? I created a baseline profile for the project according to the instructions here https://developer.android.com/studio/profile/baselineprofiles then I put baseline-prof.txt in the src/main folder and add dependencies in app.build.gradle implementation 'androidx.profil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't update asynchronous state I am working on a site where users can update a bunch of pictures to my firebase storage. I want to store the downloadURL into an array so I map through the images immediately. I'm having trouble with setting one image, using useState, and then adding that image to an array using useE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using namespace MPI; Error : name must be a namespace name I was trying to execute an MS MPI program , after I have installed libraries : MPI64 lib and directory : MSMPI_INC. The visual studio keeps telling me that using namesspace MPI must be a namespace name. The editor recognize the #include <mpi.h> but still has...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: unexpected keyword argument 'orient' error when printing dataframe from train & test data after splitting I have a function that splits the dataset into train & test. The result is supposed to be a dataframe returned as a dictionary, row-wise. Code def balance_dataset_fun(df, target_variable): # Splitting th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using React to make an offset mortgage calculator using Loan.js I am doing a personal project where I create an Offset Mortgage Calculator. I am using React.JS I have learnt I can use Loan.JS to calculate a basic mortgage and it provides the monthly payments, interest paid etc. What I am struggling with is the next ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Query to get all the dataset in a project across all regions in big query SELECT * FROM myproject.INFORMATION_SCHEMA.SCHEMATA. This query only gives the datasets in US region but not EU or any other region is there a way/query to get all the datasets across all regions. A: According to the google cloud documentatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ungrouped ones in karnaugh map There are ungrouped ones in the answers to the questions I showed in the picture.Bottom one is my solving style but the right answer is upper pic .Shouldn't we group each one in the map? What is this? A: The drawing is a little unclear I think. If you read the actual answer, you'll ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: is there a way in Gem5 to make the binary code interact with the cache? I have added a simple code in the cache.cc source code in gem5. I wish this simple code to be executed only for part of my simulated binary. I have tried shared-mem, and extern bool, I could not achieve that. here is my simple c code to be simul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Scramble and descramble Single script Using TSDuck tsp -v \ -I ip 233.1.1.1:1001 \ -P scrambler --cw bf0fbe87fa57acc7829a1e32d0aec0b0 --aes-ctr 2001 \ -P analyze --interval 30 -o scrambled.txt \ -O ip 235.1.12.12:1234 Scramble and descramble was single script it possible ? A: Use this Script : #! /b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java sorting array based of index value of another array I am trying to sort an array that contains the values 0,1,2...n based of the values of an array that contains n random values For example an array of random values [57,12,84,5,71] would cause the array to be sorted as [3,1,0,4,2] public void shuffle(Object[] a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Find Distinct Values for same value in List C# I have a list which has ordernumber, invoiceNumber and itemnumber fields. List<OrderDetail> lst=new List<OrderDetail>() { new OrderDetail{ ordernumber="O123", invoiceNumber="Inv123", itemnumber="I123"} } lst.Add(new OrderDetail(){ ordernumbe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to align datagrid elements to the right in MudBlazor How can I align datagrid elements to the right side. Actually I need to align prices to the right side. Can anyone suggest a solution by referring below code. <MudDataGrid Items="@Elements" Hover="true" Striped="true" Dense="true"> <Columns> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Reading and editing structs with fscanf() and fseek() I'm doing the following program: Programming teachers want to create a program that calculates students' end-of-semester grade. Currently, all students' partial grades are in a text file with the following format: <first_name> <last_name1> <last_name2> | <AC1> <A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: 500 internal server error for an elastic beanstalk application i have an elastic beanstalk application when I created the sample application and deployed the code through Jenkins it was working fine but after the latest deployment its giving a 500 internal server issue after when i changed its application version an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Perl -d directory exists , does not work on directories with spaces in the name? #!/usr/bin/perl use strict; use File::Find; use Cwd; my $path = $ARGV[0]; my $all_args = join(' ', @ARGV); print "path is $path\n"; #Check if path entered is valid die "$path does not exist, exiting\n" unless (-d $path); In the above s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How I may retrieve value from mutableStateMapOf() in fragment? I've been following some tutorial about wrapping retrofit with generics. Everything is working, I can log value from ViewModel, but I can't collect it, or observe. How I may retrieve the data then? ViewModel var someVar: HashMap<String, Float> by mutable...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can i add a search button that works to find node at d3mitchtree Guys at my laravel project i am using d3mitchtree as a tree view.Everything is working fine except my search button. document.getElementById('focusButton').addEventListener('click', function(){ var value = document.getElementById('f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Difference between setting the prototype of an object using Object.create() vs assigning the prototype of one object to the prototype of another function Student() { } Student.prototype.sayName = function() { console.log(this.name) } function EighthGrader(name) { this.name = name this.grade = 8 } EighthGra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter some image assets are shown and some are "unable to load" I am currently trying to use some images in my Flutter app. However I can't get behind the behaviour of Flutter. I am using an Ink.image with an AssetImage inside. Now when I use AssetImage('assets/images/history.jpg) it works. This goes for "food" an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Compile PHP with php-xml, php-gd and php-common I found documentation that requires me to install the following via yum: php, php-common, php-xml and php-gd. The PHP version required is PHP 5.4 which has reached end-of-life and not included in the AlmaLinux 8 repository or the REMI repository. I have checked many si...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can we implement early stopping in tensorflow 2 object detection API? Basically tfod2 is used for transfer learning in object detection use case, but in this repository there is no any mentioning about early stopping or how to implement it I gone through model_main_tf2.py and lib.py files but there is no any men...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to detect file overwriting using Apache Commons IO? I'm using Apache's FileAlterationMonitor to monitor a specific directory in my project, and I was wondering if there is a way to monitor file overwriting too, since otherwise I'd have to delete a file, wait the monitor to perform a check to detect th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pass Promise to children component in React and typescript This is getting me crazy. I have two components and a service. In the parent component I call a service that return a users list. Then, I pass to a children component that list, and it render the list in a table. So far so good. The table has a delete button...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does a space or enter input not trigger the hasnextint validation check? I have this code boolean dataValidation = false; System.out.println("Please input the id of the car"); do { if (input.hasNextInt()){ id = input.nextInt(); dataValidation = true; } else { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: enums / union types in typescript / svelte i have the following problem with typescript enum / union types when i have the following data structure type Options = SingleOptions | DualDiffOptions enum Modes { Single = "Single", DualDiff = "DualDiff", } type SingleOptions = { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Detox not found in Java testing file in React Native I followed the instruction on the Detox site to add it to my existing project, in the java testing file which I created however, Android studio states that Detox cannot be found: package com.app.workspace; import com.wix.detox; import com.wix.detox.config.DetoxCon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Openstack neutron-linuxbridge-agent keeps going down and creating vxlans everytime I restart it I have an openstack infrastructure that consists of one controller,4 computes, 1 block storage, 1 object storage. Everything was going fine until yesterday when we created a instance and installed ansible on it for the pu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: value for message cannot be cast from ReadableNativeMap to string Error I always get an error when trying to run an app in Visual Studio Code using this code, but this code worked on my brother's PC. It worked well until the JSON part came. The error is: value for message cannot be cast from ReadableNativeMap to st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mediaItems endpoint just returns 2 items, have more than 10K in my libraray So i was creating a script to see what items have been uploaded to google photos and what items have not. Yesterday this worked fine, fetching more than 8K items using the same script, only now its just returning 2 pictures, both taken yeste...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Uvicorn with reload=True not running against database in FastApi app The program module is a fastapi app running on uvicorn with access to an lmdb database. For development (on Windows 11), reload=True is set on uvicorn. It appears uvicorn calls the database handle creation statement twice which leads to an lmdb err...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgres bytea data retrieved is different from what I inserted I have a react front end that can post data into a postgres back end using express. I uploaded a pdf file that is 779 bytes in size as a byte array (U8intArray) from the front end using javascript's FileReader(). The bytes get inserted into my database'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How I can share an Angular Service that contain HttpClient dependency between projects? Hi I have created an Angular Library for sharing some code between several projects. The library is well created and properly installed however when I try to inject a library service into a project service|component I get this er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to extract a user's email address without using Entities in Dialogflow ES? I understand how to configure Dialogflow ES with Parameters and Entities, however, this requires the user to specify those Entities in the question. Is it possible to extract the user's email address automatically (based on the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display a dynamic map in Power BI using Python script I'm trying to display a dynamic map in Power BI through Python script editor. This is my code in Python (it works properly): import pandas as pd import geopandas as gpd import matplotlib.pyplot as plt # Read geojson mapa = gpd.read_file('spain_map.json') ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: code not working after installation of all files import alpaca_trade_api as tradeapi # API credentials API_KEY = 'key entered' API_SECRET = 'secret key entered ' APCA_API_BASE_URL = 'https://paper-api.alpaca.markets' # Alpaca API client api = tradeapi.REST(API_KEY, API_SECRET, APCA_API_BASE_URL, api_version='v2') ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In MySQL If 'CURDATE' is today, what is tomorrow? I want bookings for tomorrow to receive an auto-email as a reminder, but I'm unsure how to only send to tomorrows clients. Set rs = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT * FROM enquiries where emailaddress > '' and bookingdate = CURDATE() and statu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Navigate by RouteObject id in React Router v6 I'm using React Router v6. Is there a way to get or navigate to a route using the id of a RouteObject? I know I can navigate by using a path like router.navigate('frontend/collection/1234xyz'). But I'm looking for something like router.navigateById('editColletion', {coll...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error of Using Scala UDF in Pyspark : Method apply([class scala.collection.convert.Wrappers$JListWrapper]) does not exist I have the Pyspark Program with several UDF Functions. To improve its performance I decided to write UDF functions in Scala and use its Jar file in Pyspark. So, for one of the UDF Function in Sca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does LifecycleScope convert stateFlow to cold stream? StateFlow is a hot flow, but when we use it in an Android view, the LifecycleScope converts it to a cold stream. I want to know how this happens, tks. A: The reason for this is that the LifecycleScope is tied to the lifecycle of the view, and when the view i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Impossible to push Docker image on Azure ACR az acr login --name <containerRegistryName> Login Succeeded docker login <containerRegistryName>.azurecr.io Login Succeeded I am the Owner of the ACR. I can list images : az acr repository list -n <containerRegistryName> [] When I check IAM access for my current user: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I create a circle with text(p/h1/...) inside without using width and height property? I want to create a circle in CSS with a p, then h1, and then 2 p. The content should be vertically and horizontally aligned and the catch is I can't use width and height property. Based on columns width, height should adjus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Best way to name the "stages" or "status" of the sales cycle? I remember reading an article for the best conventions but can't find it any more. Basically I am trying to build a simple database tracking sales stages: * *Pressent the product to the customer *Follow up with customer. *Sold, now wait for customer's...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How add lottie animation on background streamlit app? I have streamlit app and i need add lottie amination on this background. Animation - it is json file on my page. Some code for open json file as lottie images: import streamlit as st from streamlit_lottie import st_lottie @st.cache def load_image_json(path): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Restsharp getting response code 0 while calling url I am using a RestSharp to call a image url. It is showing Status code 0, but while am trying to give same request from Postman it works fine.I tried adding the user-agent but still no luck. What I am missing? Image url which I am trying to download : https://www.se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parsing and evaluating arbitrary source code in Python I have a file like this: a = 1 some rubbish b = 2 some other rubbish c = a + b And I would like to know the value of c. My idea is to evaluate the file line by line since the syntax contains only simple arithmetic operation. The problem is, however, that the fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nextjs 13: application in dev mode crashes after change code Recently I upgraded my application to Nextjs v.13 and now I get crashes of dev server when change something in the code. Example of how to get a crash: Remove a function/variable that used somewhere -> save -> crash with this code app-name | thread '<unnam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NextJs - Kecyloak still login after close browser or close all tab and window Next js and keycloak library : https://www.npmjs.com/package/@react-keycloak/ssr I have a problem keycloak with login in gmail, where if I close the browser all tabs really close the browser there is no opening the tab / browser for authen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ffmpeg - set pts for vfr video from list of values I have a list of timestamps in milliseconds that I want to apply as the PTS values of a video stream. The video is a h264 stream without a container and I want to stream copy into an MKV with the PTS values from a text file. The video has a variable frame rate tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot find control with path when displaying dynamic FormControlNames - Angular Reactive Forms I have built a reactive form where the form gets built dependant of the data. stackBlitz demo In my example a user selects an option from a <select> this triggers a (change) method that gets more data which may add more f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET WebApi returns HTTP 404 instead of HTTP 401 the simple scaffolded Individual Authentication from Program.cs, : var connectionString = builder.Configuration.GetConnectionString("DefaultConnection") ?? throw new InvalidOperationException("Connection string 'DefaultConnection' not found."); builder.Services.Add...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xcode build is missing expected TARGET_BUILD_DIR build setting, can you help me enter image description here I have checked all the answers on the Internet, but there is no solution. I've tried this, it didn't work please help me,thanks
{ "language": "en", "url": "https://stackoverflow.com/questions/75625233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is there any way of write the code to produce epicurve? I want to be produce epi curve of cases using this code plot(i, color = "Salmon")%>% theme_blank()+ scale_x_date( data_labels="%y%m%d", date_breaks = "1week", expand = c(0,0))+ theme(axis.text.x = element_text(angle = 90, size = 7, colour = "black", vjust...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is wrong my code , can't see any error and also not receiving any alert? here is my code What is wrong my code , can't see any error and also not receiving any alert? What is wrong my code , can't see any error and also not receiving any alert? What is wrong my code , can't see any error and also not receiving ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-12" }
Q: making an embed creator command using a prefix discord bot instead of slash commands? node.js im a noob when it comes to discord bot developing, and ive been looking everywhere for the ability to make a custom embed creator command, where you send the command and it gives you prompts to make a custom embed, instead ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PostgreSQL How to use the value of one SELECT as the table name of another SELECT First,I need to query the sequence name SELECT pg_get_serial_sequence('user', 'user_id'); -- public.user_id_seq Then,I need to query the last value SELECT last_value FROM public.user_id_seq ; How to combine these two queries? I trie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How add post caption with image in share offsite on LinkedIn In application i have created one share button for Image URL to share on linkedIn. i want to set static post caption (in what do you want to talk about?) using share offsite. user can change post caption before posting if they want to ,so how can i set pre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: who defined the CLICOLOR_FORCE? who defined the CLICOLOR_FORCE? and which software define the macro originally? why every configure file from autoconf need these lines: # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS searched o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to comapre 2 numbers When trying to compare 2 numbers which are decimal in an if condition, I am getting the following error ./cpu.sh: line 8: ((: 1 -gt 1.0 | bc : syntax error in expression (error token is "1.0 | bc ") ./cpu.sh: line 8: ((: 0 -gt 1.0 | bc : syntax error in expression (error token is "1....
{ "language": "en", "url": "https://stackoverflow.com/questions/75625247", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reduce the time taken to run this query looking updates from another table I have a table of the following format containing a "Period End Date" for each month. There are multiple sets of dates in this table for each different "Label". I have a second table which contains "Label" and "Date" columns. For each date i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My anaconda navigator wont start in my Linux desktop because module 'qtpy.QtSvg has no attribute 'QSvgWidget', how do i solve it? I've installed my anaconda in /opt/anaconda3 instead of ~/anaconda3. After that i ran: sudo chown $USER /opt Once i've completed setting up my conda and integrated both in my terminal and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When using Timeless skin weird gray box appears on bottom of the short pages If you try to use Timeless skin on any wiki, pages like unedited profile pages, login or on any short pages, gray box appears bottom of the page. https://cdn.discordapp.com/attachments/771451216499965953/1079835317584007168/image.png i coul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: 403 error when accessing azure defender 365 using azure ad application I am trying to access microsoft defender end point using application. I am following the guide here my jwt token response is as follow { "aud": "https://api.securitycenter.microsoft.com", "iss": "https://sts.windows.net/aa551af3-e811-4451...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate token for apple pay integration using authorize.net I am trying to integrate apple pay using authorize.net in my php project. Here is my code, $op = new AnetAPI\OpaqueDataType(); $op->setDataDescriptor("COMMON.APPLE.INAPP.PAYMENT"); $op->setDataValue("XXXX"); Here XXXX in the $op->setDataValue("XXX...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to force statsmodels/patsy to treat a categorical variable (1,2,3,...) as continuous? I know C(variable, Treatment(reference="variable reference")) can be used to treat a continuous variable as categorical. However, I am trying to do the opposite. That is, I want my categorical variable to be treated as if it is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL error 21000 when trying to lookup a value I am very new to SQL, sorry if this is trivial. I have 2 tables, film and inventory, they share a film_id column and what I would like is a 3 columns table taking 2 columns from film (film_id, title) and 1 from inventory (store_id). The inventory table also contains film...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: devicePixelRatio not matching absolute px length As I understand it, the actual length of a pixel is ~0.265 mm - so a picture having 810 CSS pixels and 1.25 devicePixelRatio should take up 0.265 * 810 / 1.25 =~ 172 mm. But placing a ruler to the screen I read 182 mm. No idea why: Something is clearly off in my thou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to get unique device ID in android using java programatically? I am developing an application where I need to identify each device's unique Id. Is there any way to get the device's unique Id programmatically in Java? I tried some solutions but the device Id got changed on the device reset.
{ "language": "en", "url": "https://stackoverflow.com/questions/75625259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: wrong output in trying to subset monthly data from multiple .grd files I have a folder with multiple annual .grd files containing daily data. 1 for each year. grd_files <- list.files(path, pattern = "\\.grd$", full.names = TRUE) > file<-load("1971.grd") > file [1] "brick" > brick class : RasterBrick dimensions...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Cloud Config Client not refreshing with webhook trigger I have a Spring Cloud Config Server and Client set up with Spring Cloud Bus. I am using a webhook trigger via the /monitor endpoint on the Config Server to notify the Config Client of any changes. However, when the webhook is triggered, I am seeing the f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find number of speaker in a recorded mp3 file? Find how many speakers are there I am working on Interview sentiment analysis code in which I need to convert a recorded interview file(mp3) to text and from text data I need to find emotions of the candidate. But the problem is when I converted mp3 file to text ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CMD crashes on running flutter doctor when git is added to path Whenever I run flutter doctor in my terminal (without admin priviledges) with either C:\Program Files\Git\bin, ```C:\Program Files\Git\cmd`` or any path containing the git executable, the cmd closes instantly. If I run the command on cmd with admin priv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DB2 docker - Unable to map other port than 50000 My actual docker-compose.yml version: '3.9' services: db2: image: ibmcom/db2 container_name: db2 privileged: true ports: - "50000:50000" environment: - LICENSE=accept - DB2INSTANCE=... ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't my component fill the whole screen? I'm trying to fill the whole screen with 6 rows and 4 columns of SpriteComponent, but there are always gaps in between, I've checked my code and I don't know what's wrong Here is code for FlameGame: List<List<SquareComponent>> grids; @override Future<void> onLoad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm Orchestrate a metadata pipeline for deployed pipeline in DataFusion, Due to organization restrictions I couldn't access DataProc clusters I'm just orchestrate pipeline to retrieve metadata of deployed pipelines in datafusion, due to organization restriction I'm not able to access the DataProc compute details. Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run WPF/Windows Form on a Web browser? I want to run WPF/Windows form on a web Browser. As we already know that WPF/Windows forms are made to run on windows desktop. While Web forms are design to run on a web browser. But Web forms cann't give the functionality , the UI Designing as same as the windows form. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to calculate all records along with search from elasticsearch? I'm trying to execute search on a query (with certain requested records). How do I get count of total records in the same query itself. client = Elasticsearch(#conn_config) s = Search(index=index_name).using(client) outer_query = create_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sanitize data in Google Apps script (XSS) The script: The script i'm working on is getting input from Google Forms and after some things done with the data from the form the script will build up an e-mail and send it to a user / some users. The problem: Now the problem is that if someone is putting html tags like Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace some value on a file using python? config firewall policy edit 1 set name "[PROD] xxxx" set uuid xxxx set srcintf "A-LAN-GF" "A-LAN-01" "A-LAN-02" "A-LAN-03" "A-LAN-05" "A-LAN-06" "A-LAN-07" set dstintf "User-Outside" set action a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to find median of all subarrays of an array efficiently? I've been trying to solve this question, but in no way I am coming up with efficient method. Can someone help me with how to proceed with this problem? The problem definition can be found at: https://www.hackerrank.com/contests/daiict-summer-long-2022/chal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Move to next row of table via VBA I have the below code to check the value of each cell within the range in sheet17 that isn't blank against another range of data within Sheet1. If the value isn't found in sheet1 then the cell value and various cells to its left and right are transferred into sheet2. This works well...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: largest value in R? Why : > sprintf("%f",2.0^64.0-1.0) [1] "18446744073709551616.000000" gives an obviously strange result (the true value is 18446744073709551615)? Did I exceed some largest value? Thanks !
{ "language": "en", "url": "https://stackoverflow.com/questions/75625280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Display only selected properties from the class Assume, I like to display only name and quantity from the class (not "price"). How to set visible property for these fields in the ItemPoints.cs, which I could make use of in razor page to display only these two properties. Below is my class: ItemPoints.cs public class...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EXCEL - Indirect function not working if tab name has for example 11+12 but simple names like 1 or 2 works I am running an Indirect function to look through different tabs and return values from specific cells, for example: =IFERROR(INDEX(INDIRECT(J13&$P$6),MATCH(J13,INDIRECT(J13&$P$5),0)),"n/a") J13 is the tab name...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Codedeploy not deploying to ec2 instance. Unknown Error I setup an ec2 instance running wordpress and I wanted to use git to push updates. I have the wordpress files in code commit and setup code deploy to push updates into the ec2 but CD is giving error at the before installation phase. I have the appspec.YAML incl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Export the summary of a linear regression from R to Excel I have a linear model that looks like this: model <- felm(ln_pd_Mio_med_w_9901 ~ roa_w_9901 + liq + lev_w_9901 + zinsaufwand_TA | nace | 0| nace, data = final_data) I did its summary() and now my task is to transfer it to Excel. I tried all the options fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make the text in the TableCell bold using withStyles? I want to make the text in the table cell bold. `const StyledTableCell = withStyles(theme => ({ body: { fontSize: '12px !important' }, }))(TableCell); ` In the above react material ui code snippet I want to add an attribute so that the text in the cell bec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create and add chapters to book YAML using a function I have the following _quarto.yml for a quarto book, e.g. project: type: book book: title: Example Book chapters: - index.qmd date: today search: true page-navigation: true page-footer: right: | Made with [Quarto](https://quarto.org/) Now I want to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to redirect and rewrite sign - into + in .htaccess I have old web www.example.com and new web www.example2.com. The link to product in old web looks like : www.example.com/dir/product-name-p-123.html I would like redirects this to new web with this link : www.example2.com/advanced_search_result.php?keywords=prod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nested vmap in pmap - JAX I currently can run simulations in parallel on one GPU using vmap. To speed things up, I want to batch the simulations over multiple GPU devices using pmap. However, when pmapping the vmapped function I get a tracing error. The code I use to get a trajectory state is: traj_state = vmap(run_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is PageSpeed API returning a 429 Rate Limit error on the first request? I'm currently working on a program that consumes the PageSpeed API, specifically without an API key because the official documentation mentions not needing one if you limit requests to 2 per minute. The program itself will make multiple requ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make play integrity work with debug key? We have set up Firebase App Check using Play Integrity in our android app. It works perfectly in release builds but I keep getting permission denied in debug builds. Here is why: The company has a private signing key. The owner uses this key to generate release builds ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create new database and table with Ruby and Mysql I'm switching from Sqlite to Mysql and I can't find much information on how to use mysql2 gem. Is this the best way to create a new db and then a new table inside it? require 'mysql2' client = Mysql2::Client.new(:host => "localhost", :username => "root") client.quer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75625312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }