All Questions

3
answers

Is there an application security vulnerability when using AJAX?

I'm a HTML/CSS/PHP programmer for a few years and incredible and impossible to look at, I'm just entering the Javascript world with jQuery and AJAX now. My question is whether the security level is affected when we pass para...
asked on 30.08.2014 / 22:06
3
answers

Parameter embedded in form action is not passed via GET

I have the following HTML code, and in the action section the address obeying my query string: <form name="searchCard" class="serachCard" method="get" action="painel.php?spv=nav/buscarCard"> <fieldset> <legend>Pes...
asked on 20.12.2013 / 17:14
4
answers

Check if a string is only composed of 0

I want to check if for example a string "00000000" is only zeros and give true, however a "0000a0e0b" is false, why I tried with! isNaN and gives true having at least 1 number var palavra = 00000; var palavra2 = a00a0; if(!isNaN(palavra)) // A...
asked on 17.06.2018 / 23:13
4
answers

Reports with Asp.Net MVC

Hello, I would like to know some reporting options with Asp.Net MVC. I tried to use the ReportViewer but it is typed with the database and not used for objects. Would anyone have any suggestions? Thank you.     
asked on 26.10.2015 / 19:36
2
answers

What kind of data (double, float) should I use when representing a temperature?

My question is regarding the use of Double and Float in Java exercises when having to declare a temperature (Celsius scale). Which one should I use in this case? I declare as Double , but the teacher correcting the exercis...
asked on 07.09.2018 / 21:00
2
answers

How does the function int deal with the character \ n?

I've created a list: usuarios = ['123\n','123\n4'] I tried to convert index 0 to integer using int() int(usuarios[0]) Result: 123 But when I tried to do the same with index 1: int(usuarios[1]) result:    ValueError:...
asked on 02.12.2018 / 20:43
1
answer

What is ~ (useful) and ^ (circumflex) in the Composer versioning scheme?

In some cases, I see that some libraries that use Composer , place ~ or ^ at the beginning of the library version, so : "orchestra/testbench" : "^3.6" Or "phpunit/phpunit" : "~7.0" I wanted to know what the purpose of...
asked on 18.07.2018 / 17:55
2
answers

Get Screen Resolution C ++

I am developing a system and would like to know if there is any function / library, anything, to get the screen resolution, if it is for example: 1280x720, 1920x1080, 1366x768, etc... Is there any way to check this in C++ ?     
asked on 11.03.2016 / 19:49
1
answer

What does document-oriented mean?

I've seen that there are a lot of targeted terminologies, such as object-oriented, agent-oriented, aspect-oriented, class-oriented, and many others. But what I saw recently is document-oriented, as stated in MongoDB's description:    Mongo...
asked on 10.07.2017 / 22:35
2
answers

Modifying colors in graphics in ggplot2

How do I change the colors of the graph in ggplot? Type, I'm not able to put a continuous color scale between white and red, I've tried a variety of things but have not yet answered. library('ggplot2') Tipo = c("Casa", "Rua", "Bairro", "M...
asked on 13.06.2018 / 06:11