Posts by FBidu • 419 points
6 posts
-
1
votes1
answer218
viewsA: Use function in another Golang folder
Within the structure that you put, you can define products as a package products go. package products (...) And in my meupacote.go you do import by the usual way, but setting meupacote as the root…
-
1
votes1
answer133
viewsA: Convert multiple nodes to XML for struct
Yes, you should create the nested structures in the same way as the original document. In the example you gave, it already happens on a single level with Person and Address. What can make it easier…
-
0
votes4
answers1753
viewsA: Comparing list indexes in python?
The problem is that the side starts out as a list and then you turn it into a float. To read a float and add to the list lateral, do so: lado = float(input("Por favor, informe o valor de cada lado,…
-
18
votes2
answers35740
viewsA: What is TCP and UDP? What is the difference between the two protocols?
In general terms - the protocol TCP divides the information to be transmitted into packets. These packets are sent to the destination and if any of them do not arrive, or arrive corrupted, the…
-
0
votes1
answer713
viewsA: Mysql - Derivative Value Triggers
Hello, Pedro. Your answer is close, but some details are still missing. Trigger really is AFTER INSERT and in the table Estuda_em however your code needs two more things: Locate the exact item to be…
-
2
votes1
answer291
viewsA: Competition Webservices ASMX with Ajax
One possible way to address the problem is to declare the [WebMethod] in two parts - one of type IAsyncResult initiating the call and a string that concludes it. I am without access to an IIS server…