Latest Questions

React Router - History

I have a react app with multiple routes. On one of my routes I only want to render a certain component if the user navigated from a specific route. How do I che

SpringBoot | Getting null after success response body when request with token

Returning a response in SpringBoot project like this: @GetMapping("/users") public ResponseEntity<List<UserDto>> getUsers() { return ResponseEnt

whats the current state of navigator.mediaDevices.getUserMedia for audio on IOS

I know this has been asked before but those answers are a little dated and Apple keeps changing things. I have an PWA app that runs fine on mac (safari , chrome

Eclipse Terminal Not Updating / Weird Behaviour

I am using Eclipse (Theme = DevStyle) for Development of Java Maven Projects. When working within Eclipse with a Windows Terminal there's very weird behaviour,

Is there a way to update the value of state provider in river pod after declaring it

final itemCountProvider = StateProvider<int>((ref) { return 0; }); i need to keep track of number of items selected in my project initially the item co

raw.plot() not plotting time series in eeg data

I am using mne to read my EEG data. When I am doing raw.plot(), I am getting an image of this type, rather than a time series. I am unable to interpret this.

Getting an HTTP response status code of 0 and empty message using C++ curl library libCPR

I'm using libcpr to send a GET request. cpr::Response r = cpr::Get( cpr::Url{target.str()}, cpr::Header{header}); For debugging, I

How can I count dictionary items with specific values inside list in Python?

I want to print and count the users who are 'male' and are born on 1973, 1980. Is there a way to search '1973' and '1980' in 'birthday' values so I can count th

Tasks sequence in Prefect Flow Python

I'm currently working with the Python framework - Prefect (prefect.io) I wrote the code below from prefect import Flow, task @task def say_hello(): print('H

What does this error mean and how would I fix it: throw new TypeError('app.use() requires a middleware function')?

I am trying to create a login page and sign up page, my app.js gives me this error, I think it is the last line of this code. I can send you the other component

How to use the domain name of a permanently deleted blog on Blogger?

I created a new Gmail account and a blog on Blogger with it. Then I decided to manage the blog using an old Gmail account. However, before assigning my old Gmai

How to split all multi-valued columns into several columns at once in OpenRefine using GREL

So, I have a complex XML imported into OpenRefine and merged all rows of all records to one using a GREL formula in "All => Transform". Now I have around 50

How to disable input outline in angular material

I use angular material mat-form-field and matInput. But input has this outline . How can i remove it? <mat-form-field appearance="outline" class="form__item

How do I access the AZ Service Bus without a SAS Key

I need help in creating access to AZ a service bus without using thr Shared Access Key in an Azure Function. When I use the Endpoint, SharedAccessKeyName, Shar

Cannot instantiate interface 'ElasticsearchClient'

The official Elasticsearch docs tell to instantiate ElasticsearchClient like this: ElasticsearchClient client = new ElasticsearchClient(transport); Once I writ

why is props undefined?

I'm trying to access the product details on the next component but it says props is undefined. All the details in the card is present and renders correctly. I r

Having issue with installation

I have a project that was just completed on Android Studio, i try to run the apk package on my phone and it giving me there was an error parsing the package. An

Getting paramMap data from another component that is not in the current route (ActivatedRoute) in Angular

Here is my code using paramMap within component A with the activatedRoute and it works fine ngOnInit(): void { this.route.paramMap.subscribe((params) =&

POST HTML FORM verificaton doesn't work with Django

I am currently learning Django,I connected my register FORM with my views.py, and wrote a little backend code, the problem, is that it links successfully with m

Specify the padding between rows in a checkboxGroupInput

This is my shiny application: ui.R # values to show, or not show, these will be the 'choices' and 'selected' values # for the checkboxGroupInput() all_rows <

Getting records by date is multiples of 30 days

I have the following query to get appointments that need remind once a month if they are not done yet. I want to get records with 30, 60, 90, 120,etc... in the

Count Unique Faces from Image dataset

I'm using OpenCV's haar cascade(haar-classifier) to detect faces in the image and storing those faces(cropped from the image) in one folder. I've around 10000+

How can I get type names and member TypeObjects from a ts.TypeObject?

I'm working with a TypeScript compiler to perform some code generation. This is my first time working with the compiler API directly. With some ugly narrowing b

How to calculate the shortest route between a start coordinate and multiple destination coordinates

I'm working on my graduation thesis in Computer Science. I'm developing an application that locates the shortest route to some emergency services in the city wh

Google Tag Manager - Regex match

I want to check if a specific string is included in a GTM variable. The value of this variable is a first-party-cookie value decoded via URI looking like this:

The destination phone number has been blocked by Verify Geo-Permissions. NZ is blocked for key xxx

currently, I am facing an issue with Verify Geo Permissions. I have checked the related docs and reached my admin, and he can confirm that all Verify Geo-Permis

How to use a database connection string in App.config?

I use EF 6, and if I use a hardcode database connection in the OnConfiguring: protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)

How to request a signature remotely from your own account in docusign with nodejs

I will try my best to explain my problem in as much depth as possible. My usecase: I want to request my user to sign a document that I will be sending to his/he

Leaflet map object undefined inside GET request with axios

I am using the Vue framework in combination to create a frontend showing a map --> vue2-leaflet Inside a GET request using axios i want to set the data for a