All Questions

1
answer

What is an automated test?

Looking at it, the term in question seems to me essential in the development routine, so simply, what is an automated test and what are the advantages? if possible a practical example of how to do them.     
asked on 06.10.2017 / 14:28
1
answer

I do not understand the order of execution of a code

public class Rope { static String result = ""; {result += "c";} static {result += "u";} {result += "r";} public static void main(String[] args) { System.out.print(Rope.result + " "); System.out.print(Rope....
asked on 09.11.2017 / 22:06
1
answer

Is there anything similar to SQL SERVER WITH (NOLOCK) in ORACLE?

I recently discovered in SQL SERVER the option of not locking tables for insertion while reading some data, and thus gain some performance in some specific situations. I searched, but I did not find anything similar in ORACLE. Does anyone kno...
asked on 12.02.2016 / 13:59
3
answers

Convert seconds in days

I have a very simple question: How to convert seconds into days? tried using: <?php echo date('d', $userstats['OnlineTime']); ?> but goes only up to 31 days. <?php $userstats_a = mysql_query("SELECT * FROM user_stats INNER JOI...
asked on 11.11.2017 / 20:39
2
answers

How to send an error message to view

I'm a little lost here, I'd like to put a parameter in the view to tell the user that their password is wrong, expired, and so on. the problem that spring-security identifies. WebSecurityConfigurerAdapter @Configuration @EnableWebSecurity...
asked on 17.03.2016 / 18:51
1
answer

Error Notice: Trying to get property of non-object when getting the title of the page

I have a code that should take the title of the page example "Facebook - enter or sign up" but that is giving error in this line $title = $dom->getElementsByTagName('title')->item('0')->nodeValue; this is the code: function websit...
asked on 23.03.2016 / 16:36
1
answer

Questions about formatting hexadecimal numbers in java for use in MD5

I'd like to know why the article's author has put this part: senha = String.format("%1$032X", i); I was curious how he got this string: "%1$032X" Follow the complete code: import java.math.BigInteger; import java.security.Messa...
asked on 13.03.2016 / 16:50
1
answer

Bug in code, function repeats call when open excel file

Following this question: link Code: Function PrinciQualidade14(LNumber As Integer) As String If LNumber < 15 And LNumber > 0 Then InsertPictureInRange LNumber, Application.ActiveCell Else Debug.Print "Numero incorre...
asked on 12.02.2016 / 17:51
2
answers

PDF decode base64

I'm setting up a job where I need to download the file in pdf , however this file is saved in the database it is in base64 format. My idea is to do when the comrade clicks on the line he does the download , of the file....
asked on 08.03.2016 / 18:42
2
answers

Should I compress files to save to the database?

   I do not want to take into account whether saving files in the database is good practice. Since many systems save the files (images, pdf's, doc's, etc) in the database, I'd like to know if it's a good practice to compress these files by z...
asked on 26.02.2016 / 21:16