Latest Questions

Find if two strings are anagrams

Faced this question in an interview, which basically stated Find if the given two strings are anagrams of each other in O(N) time without any extra space I tr

How to execute subscribe firstly before another subscribe angular 8?

I work on angular 8 i have two subscribe i need to execute first subscribe and after finish execute second subscribe . but i don't know how to execute subscribe

VSC: How to auto close curly brackets in f-strings

Hi I want to ask if it's possible to enable auto closing curly brackets in f-strings in Visual Studio Code. In Python you use often f-strings and therefore you

Snapchat OAuth: invalid code_verifier

I'm running a vanilla OAuth flow with PKCE to get a user access token from Snapchat. The initial request is straightforward. I generate a PKCE pair in my Python

Heroku Error. Cannot find module 'Mongoose'

For some odd reason (i have been deployed on Heroku for around 1.5 years) my instance decided to throw a weird error regarding not finding 'mongoose' after atte

Append Radio Button inputs on UI upon User textInput in R shiny

I'm trying to get the textInput from the user and upon submitting it through an action button,I need to update the choices (Append the user input to already exi

Nuxt3 deployment on vercel error 404 not found

i am trying to deploy nuxt3 app to vercel . I get the build success as well. But once deployment is done getting 404 error page. nuxt.config.ts export default d

Insert tomorrow's date in a VS Code Snippet

I have an Alfred Snippet that types the outline of a weekly Markdown checklist for me. Here's what it comes out looking like: ## Week (4/25–4/29) - [ ]

How can I find updated Ag Grid React localization file?

I have currently using a AG_GRID_LOCALE_EN locale file but it is outdated, there are missing keywords. Need the last version of it for the localization. Searche

KMM IncorrectDereferenceException in Thread

I have been trying to upload an image to aws s3 server using shared module KMM. It works very well in Android but in iOS I have been getting this issue :- Uncau

How to distinguish two mat-table (Angular UI) in same component

I use two mat-table in the same component and now renderRows() not working for the second table. @ViewChild(MatTable) tagsTable: any; @ViewChild(MatTable) s

Run rules on database using rule engine

Is there a way where we can define the rules in rule engine like REDHAT decision manager and implement those rules on the tables in databases . Thanks in advanc

DF with values for Time Intervals

I am trying to make a manual dataframe.. I would like to have a time stamp with a time interval, for example: df1: Time Interval Price 10:00 - 11:00 $15 11:00

Getting AttributeError: 'NoneType' object has no attribute 'shape' error while woring in Kivy

I am exploring kivy to deploy my ml model. I have wrote the code to access the camera using kivy but I'm getting AttributeError: 'NoneType' object has no attrib

Flutter error Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102

Hello I have a flutter error although i dont have any bugs in code. This is all error: /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.2.0/lib

In Mediawiki's tinymce extension, how to enable/disable buttons?

In https://www.mediawiki.org/wiki/Extension:TinyMCE, there a section with Toolbar buttons including a Citation/reference button which looks like this: Furtherm

In Mediawiki's tinymce extension, how to enable/disable buttons?

In https://www.mediawiki.org/wiki/Extension:TinyMCE, there a section with Toolbar buttons including a Citation/reference button which looks like this: Furtherm

(CLOSED) Generating faceted pie charts to indicate weightages

I am looking to build a visual with multiple pie charts to showcase different sleeping conditions and their weightage across a week. Here's my dataset: structur

" End of script output before headers" error in Apache

I'm trying to use python cgi module with apache, but I'm getting "500 Internal Server Error ". I've configurated the server following those instructions. I trie

Javascript Tensorflow in Chrome Extension not working due to 'unsafe-eval'

I'm trying to update my Chrome Extension to Manifest v3. I use a JSTensorflow Model and it pops this error: Uncaught EvalError: Refused to evaluate a string as

Unable to use short cut keys (hotKeys)

I am writing e2e tests in NightWatch v2.1.3 using page objects. There are list of items, and an item can be selected either by click or by hotKey of its index.

Unable to use short cut keys (hotKeys)

I am writing e2e tests in NightWatch v2.1.3 using page objects. There are list of items, and an item can be selected either by click or by hotKey of its index.

flask-restful unable to add headers into response

I have a flask-restful Resource like so class UserLogin(Resource): @classmethod def post(cls): return {"msg": "test"}, 200, {"Foo": "bar"} It s

Get the raw request that is sent with HttpClient and HttpRequestMessage

In my C# code running .NET 6 (Azure Function) I am sending an HttpRequestMessage using HttpClient. It doesn't work but it should work, so I want to get the raw

Is there a way to make directional line with geographic data in Hvplot

I'm using hvplot to make flow representations. So far, looking in the documentation, I haven't found ways to direct the lines. I'm using the line representation

Laravel Scout (Meilisearch) - Says imported data, but doesn't

I've installed and configured meilisearch + Laravel Scout package. My Model: class Post extends Model { use Searchable; } When I run php artisan scout:impo

(FLUTTER) --- RangeError (index): Invalid value: Valid value range is empty: 0

Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Padding( padding: const EdgeInsets.all(8.0), child: Icon( password[0] == null ? unchangedPassword

Warning when fitting the LSTM model

When I try to fit my model i get an error. Here is the code: model = Sequential() model.add(LSTM(128, activation='relu', input_shape=(trainX.shape[1], trainX.sh

ImapLib How can I limit the number of messages fetched?

I have many e-mail messages in the inbox which I am trying to clean up. I am using the following code I found on the net, but it is exceeding the Maxline limit.

Is there a way to make directional line with geographic data in Hvplot

I'm using hvplot to make flow representations. So far, looking in the documentation, I haven't found ways to direct the lines. I'm using the line representation