All Questions

Filter by
Sorted by
Tagged with
-1
votes
3answers
13 views

Can anyone please give me the correct justification , because i expected the anser to be 9 while the result was “0”?

def print_nums(x): for i in range(x): print(i) return print_nums(10) Through this code I was expecting the answer to be 9 but I was really surprised to see 0 as the answer. ...
0
votes
1answer
10 views

Flask Template for loop issue

I am having running into an issue using flask framework to generate some html pages using a template (this is my first using Flask or any framework for that matter) I am calling the template using the ...
0
votes
0answers
2 views

Is there a way to use a Shape's ID in PowerPoint VBA to then determine it's color?

I have a macro to build a consolidated PowerPoint presentation from about 25 separate, individual slides. The slides have a status circle that are either red, yellow or green to display the current ...
0
votes
0answers
12 views

open cv module has no member error. any fix?

The problem with this is that open cv was never recognized. Already installed it in my local files and still no fix. Tried reinstalling it but the outcome is still the same any tips on how to resolve ...
0
votes
1answer
5 views

Need help writing a mongo API query in Javascript(React) that needs info from multiple levels

So I have a collection called "contributors." Within that collection the objects look like this: { "_id" : ObjectId("5ef1f75f7e6fb579ed3e5e8a"), "@attributes" : ...
0
votes
1answer
16 views

nodeJS - findOne query did not cast into JSON object even query result was good

findOne was able to find document in MongoDB. However, the result was not rendered into JSON object employeeLs. Findone result was printed in console and it was clear that query returned good result....
0
votes
3answers
930 views

react-datepicker gives wrong values

I am building an application and I am using react-datepicker however i have a strange behavior of the component. The selected date shows wrong format. Here is what i am using: this.state={ ...
2
votes
1answer
8 views

How do i get a guild by its invite link? discord.js

I've been looking all over the internet and I can't find a answer to my question, I am trying to get a guild by it's invite link, so like I have a discord invite link such as https://discord.com/...
0
votes
0answers
10 views

Flutter Calendar - Showing custom data on days not works well

I´m using flutter with a calendar carousel (https://pub.dev/packages/flutter_calendar_carousel) For each day for which there is an entry in the database, I want to display an icon in the calendar. ...
0
votes
0answers
7 views

Two codes that apparently do the same thing but one gives me an error

I am playing with Reality Kit. I have created an Experience.rcproject with two scenes: "Ground" and "Wall". The first one has an object called "ArrowGround" attached to ...
4
votes
2answers
35 views

ST_geomfromtext function using Spark / java

Since the ST_GeomFromText is not the part of org.apache.spark.sql.functions so it will not recognise it internally.I need to first define the UDF for this function. means I need to define the ...
0
votes
0answers
4 views

How to apply method on Constructor

I created two separate classes, main and leads. The following is from 'leads' , I am trying to apply Leads.primeLead(); if the user answers Yes on the first question, and if not, I'd like to write a ...
0
votes
0answers
12 views

Why don't Eclipse shortcut keys (CTRL + space) work?

When I installed Eclipse to write java programs, I found the feature of shortcut coding (CTRL + space) doesn't work popping up error message, giving that Eclipse version is Neon.3 Release (4.6.3)
0
votes
1answer
14 views

I'm trying to set up a marker inside of a QR code, but can't seem to get it to work

My client wants users/readers to be able to scan a QR code and be taken to the URL which has the AR experience. The same QR code should then be able to trigger the AFrame AR experience. I've dropped a ...
0
votes
1answer
22 views

React useContext not causing a rerender

So I am attempting to use a custom hook that utilises useContext which I would expect to cause a rerender of my ToastContainer component when ToastContext changes. However the ToastContainer component ...

15 30 50 per page
1
2 3 4 5
1321545