All Questions

1
answer

Doubt about page width, display none and size (MB)

Is there an ideal width for a web page? When we put an image with display: none , does the image load with the page load or when we click on it? What size (MB) is considered "light" for a site?
asked on 15.01.2016 / 23:30
1
answer

How to use the parse.com site?

With parse.com is it necessary to move my database to their site? I have a database on the company server and do not want to put it on their site. Do they offer the option to access my database without being through their website? For ex...
asked on 07.07.2015 / 13:08
1
answer

Voice recognition in Pt-BR [duplicate]

How to use Speech Recognition when my OS (Windows 8 x64) is in Pt-BR? I want to use commands in English. I'm using the following code: private void Form1_Load(object sender, EventArgs e) { SpeechRecognizer sr = new Spe...
asked on 03.09.2015 / 20:04
1
answer

Servlet Doubt

Hello, I have a question with Servlet's. Imagine the picture: raiz / / formulario.jsp / Servlet / retornos / retorno.jsp The form sends the data to the Servlet by post or get! After this submission, using RequestDispatc...
asked on 14.08.2015 / 13:04
1
answer

Permutation between two vectors

I'm studying some algorithm techniques and I came across a problem that I'm stuck in, I need to do all the permutation possibilities between two vectors. For example: [1,2,3] and [5,6,7] You need to generate: [123] and [567] [125] an...
asked on 29.08.2015 / 22:41
1
answer

Code block freezing and not throwing exception

I am using the twain library for scanner, and the application lists some devices that when selecting does not work, so I debugged and saw that it does not throw the exception that I treated, but it freezes in that code public void Acquire()...
asked on 12.07.2015 / 14:42
1
answer

Access database in OpenShift

I deployed a project in OpenShift , I used a cartridge to create a Mysql database soon after the creation of the database this information appears:    MySQL 5.5 database added. Please make note of these credentials:       Root...
asked on 05.10.2015 / 22:35
1
answer

Remove duplicate elements in Array

I am getting an array by JSON , and using array_unique to remove duplicate values, however, it is displaying the following error: <b>Notice</b>: Array to string conversion in <b>/var/www/html/.... </b> on...
asked on 26.08.2015 / 17:08
1
answer

Using constructor and using set () for same attributes

I am studying JPA following the example of uaiContacts . His project is in GitHub. I took the example of the modelContact.java file: The Contact class is mapped: public class Contact { @Id @GeneratedValue private int...
asked on 28.08.2015 / 16:51
1
answer

Validate email in JavaScript [duplicate]

Good afternoon, I have a question in an exercise that I have to solve and I wanted to ask you to help me: How do I make a function in JavaScript that takes a string as an argument and verifies that an email is valid, that is, if it conta...
asked on 03.07.2015 / 13:48