Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 12111 articles
Browse latest View live
↧

Python find max value recursive call [closed]

Why the output would be as follows:49 5341 5387 5387 5323 87... As far as my understanding goes,Initial call as:items[0] = 6val2 = find_max([20, 8, 19, 56, 23, 87, 41, 49, 53])Recursive call:val1 =...

View Article


Bouncing ball is glitched

I have problem with the bouncing ball, while creating it using class. The ball move but it stuck at the bottom of the page. Please help!!Thank you!!!The ball move but it stuck at the bottom of the...

View Article


Why video is taking much time to load in ionic with capacitor

I'm not finding any solution to load video within 1s or so in iOS / iPhoneiOS/iPhone loading time:31 GB video takes 5-7 seconds92 GB video takes 7-9 seconds401 GB video takes 16-18 seconds.here is what...

View Article

Image may be NSFW.
Clik here to view.

Firestore Pagination: Updated realtime data moving between pages unexpectedly

I'm using Firestore and querying data with orderBy set to updatedAt in descending order, and limiting the results to 2 items per page (for testing purpose). However, I'm encountering unexpected...

View Article

python web3 error 'replacement transaction underpriced' with uniswap

I try to write simple python script with web3 package witch swap tokens on polygon matic network with uniswap v3 exchange, it just create swap contract call, and wrap it to native tansaction with some...

View Article


golang module to forward custom requests to Jupyter server [closed]

I have a Jupyter kernel running (based on golang) and I am trying forward my custom requests to this kernel. I searched for libraries in Jupyter repo but couldn't find any in golang.Can someone help me...

View Article

MIDICallbackInstrument, UIBackgroundMode and Apple Store Review Rejection

I'm building an iOS app using AudioKit to play MIDI files and then play the melody using MIDIPlayer.The AudioKit documentation states that: (here)You will need to enable "Background Modes - Audio" in...

View Article

Modify module feature by subclassing

I would like design a python module so that its features can be modified by means of subclassing. This pattern is for instance used by the unittest module where you make a subclass of unittest.TestCase...

View Article


Pandas bug when trying to loc data on a quarter

With a dataframe that has a datetime index, I am used to getting data for quarters with the syntax eg. df.loc["2014-Q1"] to grab the data for the first quarter of 2014 (Jan, Feb, Mar).This works...

View Article


Dialogflow ES, detecting intent without executing webhook

Is there a way to send a request to Dialogflow ES without executing the fulfillment/webhook if it is activated?I just want to know which intent (intent.displayName) would have been hit.Thanks for your...

View Article

How to check if the input includes an object called 'name' in a class...

Im making a program where you can make a city and I want it so that if you type info and then the building name which is an argument in a class. All the buildings and roads are stored in 2 lists so how...

View Article

How do images change according to the size of the computer screen?

I am building a website project in the course. But when I code on my computer, everything is fine until I show the article on my computer with another frame and there is an error. Someone help me and I...

View Article

How to validate input after removing focus from it in a...

I have a Vite+Vue3 project and I use Shadcn framework, and Vee-validate and Zod to create forms. When I start typing in a input, immediately form validation works and shows error until I enter the...

View Article


DeepLearning4j - Getting error while reading csv file with string data

i am new to deeplearning4j and i am writing code to read below csv fileKey,ValueEmployee ID,Associate IDEmployee ID,Worker IDEmployee ID,Employee IDBelow is the Java code that i tried with DataSet...

View Article

Why is networkx behaving weirdly? Unable to load...

It's long story so please bear with me...All was working fine, I was using jupyter notebook (for python) through anaconda like I have for the past year. I was trying to plot a violin plot using seaborn...

View Article


Why is there no ".BackColor" when using a ListItem.ListSubitems(i)?

i am currently working on a display in form of a Listview. When trying to assign a color to the background i get a run time error 438.When i looked into the properties and members i found a ForeColor,...

View Article

How to handle inheritance with onBackPressedDispatcher?

Let's see, I have launcher Activity as HomeComposeActivity which extends BaseComposeActivity and it extends BaseActivityV2HomeComposeActivity -> BaseComposeActivity -> BaseActivityV2 ->...

View Article


How do I create an abstract or base Notifier class in Riverpod?

I have multiple notifiers with similar search and other logic, the only difference being the API call. How can I abstract that logic out? And reuse my Notifier in multiple places?Example...

View Article

"Cannot use import statement outside module" error when attempting to read...

I am attempting to read content from a PDF file using Node with the Pdfreader module, but it is giving me the following error in the terminal:(node:31780) Warning: To load an ES module, set "type":...

View Article

How do you even know that there's a built-in method instead of writing logic...

const getCount = str => { let count = 0; let vowels = ['a', 'e', 'i', 'o', 'u']; for (let i = 0; i < str.length; i++) { for (let j = 0; j < vowels.length; j++) { if (str[i] === vowels[j]) {...

View Article
Browsing all 12111 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>