Posts by Vitor Couto • 158 points
15 posts
-
1
votes2
answers73
viewsQ: How to remove events that are created using Arrow Functions?
Does anyone know if there is a way in Javascript to remove events that are created using Arrow Functions instead of creating a function for it? Example:…
-
1
votes1
answer1340
viewsQ: Sending body parameter via fetch API
I am trying to send a request asynchronously via javascript to the backend in Node, follow the front code: if ( window.location.pathname.indexOf('/') != - 1 ||…
-
0
votes1
answer38
viewsQ: Sending data via ajax generating new "_id" in Mongodb
I am sending information via ajax to the backend in Node to update a document in Mongodb, but whenever I send the form via frontend, it generates a new "_id" instead of searching for an existing one…
-
-1
votes1
answer681
viewsQ: Select with PHP PDO and Mysql with conditional query values
I have the following table, called 'animal'': And in my PHP application using PDO, I need to select values that are conditional. For example: The user will pass as a parameter only the 'TYPE' and…
-
0
votes1
answer253
viewsQ: Build a knot tree
I need to build a structure similar to a family tree, but with only one Father element that can have "n" children, and each child can also have "n" children. The structure below illustrates a test…
-
1
votes1
answer301
viewsQ: Create and implement Exceptions in PHP
I’m trying to learn to deal with Exceptions in PHP, but not just using Exception default. To solve my challenge, I need to create two Exceptions and fire them in two specific situations. Follow the…
-
0
votes1
answer13
viewsQ: Receiving Radio Box Nodelist and checking if this checked to apply logic
I have the following pure Javascript code (I don’t want to use jQuery here): const petSize = document.querySelectorAll('.sizeRadio') const isChecked = (checkableElement =>…
javascriptasked Vitor Couto 158 -
-1
votes1
answer39
viewsQ: Error calling Setter PHP method with Interface!
Talk guys, all beauty? I am studying Interfaces in PHP and am having an error invoking the Setter method in my attributes. <!-- User Interface --> <?php session_start(); interface User {…
php-7asked Vitor Couto 158 -
1
votes0
answers190
viewsQ: Return Location ID only with Latitude and Longitude - Google Maps Javascript API
Good evening, my question refers to the following case: I am working with the API of google maps V3, and I use services such as Places, Geocoder and Matrix Distance. However I have a huge problem to…
-
0
votes0
answers198
viewsQ: Android Mysql Connection - Error with POST Method
Good night! I am developing a simple interface in Android Studio to login and register users. I followed the steps of a tutorial on youtube and almost everything works perfectly, I’m just having…
-
1
votes0
answers139
viewsQ: Maps Javascript Api - Problem saving searched location in Mysql database
I need that when the user clicks the save button that appears when Mark receives a click, the location information is saved to the database. Hidden fields that receive location values when searched:…
-
1
votes0
answers95
viewsQ: Inserting Script in Android Code for Searchview Search
I’m developing an Android app that works with the Google Maps API, and in it I have a searchView that needs to search the typed location and display on the map. But I do not know how to insert a…
-
4
votes1
answer23147
viewsA: 'Pip' is not recognized as an internal or external command, a operable program or a batch file
Follow step by step to insert the path from the Scripts folder into the windows Path: Go to the System properties and click Advanced settings: Now click on system variables: In the window that…
-
0
votes1
answer330
viewsQ: raise Keyerror(key) from None Keyerror: 'TCL_LIB (.Py to Exe)
I am trying to convert a Python script to exe to run on Windows machines, I have the following code in setup.py import sys from cx_Freeze import setup, Executable import subprocess import socket…
pythonasked Vitor Couto 158 -
1
votes2
answers161
viewsA: How Forms are opened - Visual Studio
Good morning! In the properties of components like Textbox etc. you have the ANCHOR option that resizes the fields according to the form!…