All Questions

1
answer

How to create a placeholder when loading page content, same as facebook, youtube, etc.

This is a question asked on various websites, and before I came here, I asked a lot, even on the stackoverflow in English. Well the part of the placeholder in html and css is already ready, I got following tutorials on several sites, missing...
asked on 16.06.2018 / 19:51
1
answer

Average is not calculated

I need to write a code that reads only 20 integer values, in the end add the positive numbers and average the negative numbers. It usually sums the positives but when it arrives at the time of the negatives it always shows the value 0. Her...
asked on 31.08.2018 / 23:43
1
answer

Oracle - Filter by date

I have a column dt_atualiza_log that is with type DATE in the table (it is saved in the 01/12/2011 10:10:48 format) I'm not able to filter on and of my query . I have tried in many ways, the last one: AND ma.dt_atualiz...
asked on 11.06.2018 / 18:29
2
answers

SHA512 return in hexadecimal

I found an example of encrypting a string with SHA512. public static string HashedString(string text) { SHA512Managed sha512 = new SHA512Managed(); byte[] hash = sha512.ComputeHash(Encoding.UTF8.GetBytes(text)); StringBuilder res...
asked on 06.09.2018 / 21:44
1
answer

Parameters for encrypted columns

I'm trying to create a procedure to save a user's data to the SQL SERVER database, however the table has columns encrypted with always encrypted, resulting in a conflict error. I have tried to change the type of parameters for varbinary etc,...
asked on 18.11.2018 / 21:25
1
answer

How to leave the background of a text the size of the text and not of the paragraph?

How do I make the background-color of h4 stay just the width of the text. I can not delimit a fixed width because I do not know the size of the text and I also can not use display: inline-block because I need h4 one underneath the...
asked on 18.09.2018 / 01:59
1
answer

Incorrect method in form generated by CakePHP 2.4

My problem occurs with the following code: <?php echo $this->Form->create( 'Page', array( 'url' => array( 'controller' => 'pages', 'action' => 'delete', $this->request->data['Page']['id'],...
asked on 16.01.2014 / 17:19
1
answer

Matrix Ordering with Values Exchange

Good afternoon! I mounted an array that receives 9 records from a single variable and the values are displayed on the user's screen. However, when trying to put this array in ascending order, I tried to use the value exchange method, but at the t...
asked on 11.12.2018 / 22:03
1
answer

How does the integration between IDE and compiler take place?

Taken from here: What is programming language, IDE and compiler?    In general the compiler is a console program, but there are cases that they are libraries that can be used in conjunction with other programs. The integration between t...
asked on 14.10.2018 / 16:53
2
answers

Login panel does not return the number of accounts

I'm creating a login area, but when I click the login button, it does not return any errors, for example: if the user does not exist I would like the number 0 to appear as the $num variable, however a screen page. PHP :      $co...
asked on 12.12.2018 / 23:41