Interesting questions
-
2
votes1
answer27
viewsRecord an index-specific value and treat the values
The number of Likes is cumulative, that is, if the post has 0 Likes and receives 5 Likes, it will have 0 + 5 =5 Likes. If soon, this same post receives 7 Likes, will have 5 + 7 = 12 Likes. If the…
-
0
votes2
answers95
viewsBold font CSS Doubt Basica
Hi, I’m trying to paste the font thicker, but I couldn’t get as far as I know the font-Weight code: I would do this. When I use: font-weight: 500; The source becomes normal, more when I use:…
-
0
votes1
answer394
viewsCheck if URL in the correct format
I need to check if the url is in the right format, and if it is not, redirect to the right url. In another Controller already has a code that does what I need, I just need to adapt it to another…
-
1
votes0
answers43
viewsDoubt about the use of JOIN...
I wonder if the field in which I should make the comparison, can only be the one that contains the key Primary, or can be any field... Let me give you an example: CREATE TABLE tabela1( idTabela1…
mysqlasked 11 years, 9 months ago Mr. Bownstone 11 -
0
votes1
answer42
viewsOptimizing Data Output
Good morning: I made this code for an exercise. My question is: How can I optimize the outputs without having to do multiple prints. In this code I made for three exits. Only if it was for 10 exits…
python-3.xasked 7 years, 4 months ago Rodrigo Ferraz 309 -
3
votes1
answer57
viewsFakehttpserver breaks when upgrading to Jetty 9
I’m migrating an application that used the Jetty 7.4.5.v20110725 to the Jetty 9.3.0.M2, using the Maven. I’ve already updated the javax.servlet-api to the versão 3.1.0. But, I’m using the…
-
0
votes1
answer278
viewsMongodb - Add documents that have a certain value within an array
Hello, thank you for your attention. If I have left any questions, please let me know. I found a problem that is driving me crazy. I have the following collection: { "_id":…
-
4
votes5
answers1501
viewsHow to take the name of the variable used in the function argument?
Script1.php Here script1.php calls the function that is in script2: sendData($variavel); Script2.php The function takes the value and includes script 3 to receive argument values: sendData(){…
-
2
votes1
answer193
viewsRegister a custom protocol in Windows
I don’t know if I’m asking you correctly, but I don’t know where to start looking. I would like to register a custom protocol in windows like some applications do. Example: Spotify -> Spotify:…
-
2
votes1
answer772
viewsPaging library for . Net Core
I’ve worked on some frameworks like Spring and Nestjs, and there I worked with a library that listed a query page. Here at . Net Core, I have to create a method to work with it. For example: public…
-
1
votes1
answer339
viewsAbort a specific Thread
How do I interrupt a specific thread? for example: from _thread import * from time import sleep result = 0 def soma(nome, numero, delay): global result while True: result += numero print('{}: {}…
-
0
votes1
answer20
viewsHow to avoid automatic datetime field formation in Mysql with Asp Net?
I’m trying to read datetime fields with Mysql.Data.Mysqlclient, but the value that returns is always different from what is in the database, for example in this bank "2002-05-01 00:00:00.000" but…
-
2
votes0
answers275
viewsExternal database is not loading on android
I need to make an application Android who accesses a servidor, low files .s3db and query about the downloaded files. I can download normally to data/data/meu-pacote/databases/ and I can also do…
-
1
votes2
answers51
viewsHow to loop Mysql based on a query
I wonder if it is possible to create an event in the Mysql database, where every 5 minutes the database makes a query, where it returns all the order ids and based on each id I perform another query…
-
1
votes1
answer51
viewsI cannot delete the correct image by passing id through jQuery via Modal
I have a system that you click on the image and it opens it larger via modal, below has a Delete button, if you click Delete, opens another modal asking if you are sure you want to delete this…
-
0
votes1
answer92
viewsProblem with my Rock, Paper and Scissors game
I have a problem with the job maquina(), the function is not able to perform any action, think the function is not receiving the value of the variable jgdJogador. var comecar = false, i = 1; if (i…
-
2
votes0
answers20
viewsHow do I pass vectors from one controller to another in cakephp?
I wonder if you have how to go from one controller to another passing parameters. For example: I have an array with information in one view and would like to send it to another controller. How to do…
-
-1
votes1
answer53
viewsHow to send mutiplas images with this code!
Just sending a picture! My Form <form role="form" method="post" action="./?action=addmult" enctype="multipart/form-data"> <div class="form-group"> <label>Imagen…
-
0
votes1
answer76
viewsApply responsiveness
As we can see in the first picture with the extended screen is right but when I resize the screen the tables leave the organization, can help me to keep the tables resizing according to the screen…
-
0
votes0
answers162
viewsWhat is the input(). split(" ") for in python?
I’m solving some exercises in python and when I put the code this way: A = float(input("")) B = float(input("")) C = float(input("")) triangulo = float((A*C)/2) circulo = float(3.14159*(C**2))…