Interesting questions
-
3
votes5
answers1923
viewsIs it possible to update the first 100 lines in sql(server)?
UPDATE tbl_venda SET produto=1 WHERE produto=3 The problem is that there are more than 10,000 sales lines and the pc hangs. I wish it was possible to do 100 to 100, 500 to 500, so it doesn’t get…
-
0
votes1
answer12
viewsTogglecss except on some Ivs
I have the following problem: I have a js that adds a certain style in a div or whole html. I would like to know how to ignore some Ivs so that this style is not added to them. Follow the code I am…
-
0
votes1
answer94
viewsHow to import CSV files from a same level folder (and/or above) in Python?
I have already searched several topics here, unsuccessfully however. So, if there is already an equal question, please forgive me and indicate a solution. My project is articulated as follows:…
-
2
votes1
answer193
viewsAjax request with flashing setInterval
The following piece of code aims to place the contents of a text file inside a div. Like the text file can be updated, the div is intended to be updated with the latest file content. But every 2…
-
1
votes1
answer20
viewsproperty Prompt is not working
<div class="field col-xs-3"> <%= f.label :modelo_id %> <%= f.select :modelo_id, options_for_select( @modelos.collect { |modelo| [modelo.nome.titleize, modelo.id] },…
-
0
votes1
answer118
viewsProblem in the condition of Trigger - PL-SQL
My teacher passed that question: Write a Rigger that checks, during registration/change of a sale, the following: 1) The QUANTITY field of the ITEMVENDA table shall not have decimal places and shall…
-
2
votes2
answers188
viewsHow to compare 3 variables?
I want to make an algorithm that calculates which of the 3 triangles has the largest perimeter, but my logic is not working. import entities.Triangle; import java.util.Locale; import…
javaasked 6 years ago Vitor Dias Alves 21 -
1
votes0
answers296
viewsAdjust text from the like and share facebook button on page
I have on my page a script that inserts the Like and Share button and my site has responsive feature and when resized the text is not adjusted on the page. The only thing I have is this script here:…
-
4
votes1
answer421
viewsPython - How to get the output of running a . py file to a . txt
I have the following command: python3 -u teste.py > saida.txt 2>&1 This command causes the execution output of the teste.py be sent to this file saida.txt, case saida.txt does not exist it…
-
4
votes4
answers205
viewsCatch event that happened on page
Is there any way to stay monitoring the events that are happening on the page? Any function you leave by registering on console.log for example, I don’t know, it’s just an example.. There’s a way to…
-
-7
votes1
answer166
viewsEdit MVC . NET error
I have an error when I edit my registration, my Physical Model is like PartialView,the following error occurs: Attaching an entity of type 'Projeto.Models.Fisica' failed because another entity of…
-
2
votes1
answer56
viewsPostgresql build error
Would anyone know if there is an error in the query below: select name, cast(Extract(day from payday) as int) as 'day' from loan; I cannot find the reason for a build error in the URI.…
-
0
votes1
answer121
viewsHow do the istreams of a string work?
To catch a std::string, type pointers are required char, as far as I know. However, to grab a pointer, you have to allocate memory (necessarily, or there will be a runtime error, one Segmentation…
-
0
votes0
answers52
viewsAlternatives for backslashed commands in Postgresql
I’m learning to use the Postgresql instead of Mysql and Sqlserver, but I’m still lost with some basic commands. So far, the only one I’ve been able to get acquainted with is this: listar os bancos…
-
4
votes1
answer59
viewsWhat is Fog Computing?
What would be this term Fog computing (also known as fog or fog computing) that is used in some Iot projects?
-
0
votes0
answers80
viewsSending Ubuntu PHP7 e-mail with error
I am unable to send email through my Vultr cloud account. I have an unblocked account to send emails but nothing happens when I send them. I have installed sendmail and when I send an email by ssh…
-
0
votes1
answer28
viewsSum of values in Mysql
Good evening. I have to add the natures according to each sector of the company, but it is not going with Count. SQL: SELECT examefuncionario.exameFunc_Natureza, setor.setor_Nome FROM `funcionario`…
-
0
votes2
answers232
viewsHow to pass a direct path to an html inside the iframe tag
How can I pass a path to a div calling an HTML page inside the tag iframe ? Example, I have the following help menu that will be available for the user to access from any screen of the system, but…
-
1
votes2
answers53
viewsjs function to hide and show independent Ivs
I’m putting together a quiz where each click takes the user to a part of the quiz. Everything is loaded on the same page so it doesn’t jump between pages. Each slide is contained in its own div and…
-
0
votes0
answers31
viewsProblems running Widfly 14
I am taking a course where I create a client register, but at the moment I will run the server Widfly 14, I have the following error: Can you help me please?…