All Questions

1
answer

Base64 string signature

In my project, I have a rule that I need to sign the string of an XML that I have that is in base64 with the user's CPF ... I have been searching, but I have not been able to understand how this signature works with .NET classes. Wel...
asked on 12.06.2015 / 14:30
2
answers

What is the difference between a symbolic link and a hard link?

In the Unix context, what is the difference between a symbolic link and a hard link and which commands are used to create them?     
asked on 11.06.2015 / 17:53
1
answer

Comparison of PHP schedules

date_default_timezone_set ( "America/Sao_Paulo" ); $dtz = new DateTimeZone('America/Sao_Paulo'); $dt = new DateTime('now', $dtz); $offset = $dtz->getOffset( $dt ) / 3600; $por_do_sol = date_sunset(time(), SUNFUNCS_RET_STRING, -20.7965404, -49....
asked on 23.02.2015 / 21:37
2
answers

Infinite loop trying to calculate whether the number is prime

I have no idea how I will determine the condition of for for prime numbers. I always end up in looping . #include <stdio.h> int main() { int num = 1, primo; do { printf("Informe um numero primo maior qu...
asked on 06.09.2015 / 06:07
2
answers

How does a Container work?

How does container work for web application servers, such as Tomcat?     
asked on 09.10.2015 / 19:54
2
answers

Simplest way to generate a PDF of an HTML, client-side input

I'm developing a web-based teaching material, and within it, there are some exercises where the user has to answer some questions by writing a brief dissertation within a Text Area. After completing the exercise, I would like a PDF to be gene...
asked on 03.03.2015 / 16:59
1
answer

Should I limit the size of VARCHAR columns for performance?

Normally the maximum size for VARCHAR is 255. If I create the column with a smaller size, say VARCHAR (50), will I gain performance or save disk space?     
asked on 11.06.2015 / 14:30
3
answers

How do I display the "Press ENTER to continue" in Python 3.4?

I wanted to know how to do the " Press ENTER to continue", or the " Press any key to continue " in Python 3.4 without having to create a variable just to store the ENTER.     
asked on 18.06.2015 / 04:18
3
answers

Is there a justification for this change? Change in the pattern of variables

A co-worker read in a forum that using short, int, and long was the right and best way for system performance, so it began to change on all the screens and classes in which it worked. I searched and did not see any gain except that there is some...
asked on 15.07.2015 / 19:25
1
answer

Creation of two projects in single Git repository

I am creating a project in Java web and want to create another project in Android. But I would like to create just one repository and within it own these two projects with their respective commits trees, as if they were separate components. I...
asked on 07.10.2015 / 04:39