Posts by Gabriel Menezes • 113 points
8 posts
-
2
votes1
answer48
viewsQ: How to pick up specific columns in JS Object
The following code will return me the following result: /** * Dados */ let data = [ { data: "01/01/2021", value1: "21", value2: "98" }, { data: "02/01/2021", value3: "22", value4: "99"}, { data:…
-
0
votes0
answers17
viewsQ: Connection timed out
hello, I am studying about mongodb and I am trying to connect in the cluster I created, using Compass, but this giving the following error: Connection timed out I downloaded the Compass on another…
-
2
votes2
answers53
viewsQ: Show a missing address
I am doing some algorithms in various languages and in Java I come across a problem, in my function researcher when the value is not found in the list it should return me a None or null, but I can’t…
-
1
votes1
answer106
viewsQ: Return Undefined
The code itself is working, as far as I’m concerned, the problem is that I’m not sure why my function is returning Undefined. It’s a simple function that’s returning what I really want, but I really…
-
2
votes1
answer674
viewsQ: zip argument #1 must support iteration (did not understand this error)
I have the following code. v1 = [1,2] v2 = [2,1] def vector_add(v, w): '''Soma entre dois vetores''' return [v_i + w_i for v_i, w_i in zip(v,w)] def vector_subtract(v, w): '''Subtrai elementos…
pythonasked Gabriel Menezes 113 -
3
votes1
answer81
viewsQ: type of incompatible pointer
Hello, programming/studying the language, C, I came across the following error warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] int *ponteiro = &x; Being the…
-
0
votes1
answer136
viewsQ: error in the path to bank connection
I’m trying to add this path to the connection to the bank, and it gives me this error: File "C:/Users/gabri/PycharmProjects/allbd_s/conc.py", line 4 path='C:\Usuario\gabri\SQLite\conx' ^…
-
0
votes2
answers6760
viewsQ: Math Domain error in PYTHON
I know that if the root is less than zero it will not exist, but, something happens, even if I implement that if the delta value is less than zero is to write the error it still continues showing…
pythonasked Gabriel Menezes 113