All Questions

1
answer

How to calculate the aspect ratio ratio for "HTML" ("HTML ratio")?

The text of an "HTML ratio" refers to the amount of text on a page against the code on the same page. How to do this calculation, I know I should have to get the DOM probably, but the part exactly what elements and how the caculo works?     
asked on 18.04.2016 / 21:04
1
answer

What are the characteristics of structured programming?

I would like to know what are the characteristics that defines the paradigm of structured programming , and what is the difference of this paradigm with the paradigm of procedural programming ? Both for me it seems the same, and does not chang...
asked on 09.04.2016 / 04:38
1
answer

Convert String to Float with comma in Java

How do I gracefully convert String to float into java? The strings are with the Brazilian location, that is, the values come with a comma as the decimal separator ("12,345"). I think so ... "ugly" to use String prec...
asked on 26.02.2016 / 13:23
4
answers

Digital Certificate A3, e-CPF, how to access information with JavaScript

I'm having to develop an application, which for security purposes, requires the use of an e-CPF by users when trying to log in. I just need to check if the e-CPF number checks with the registered user's CPF, which is trying to log in. Can I reco...
asked on 07.07.2016 / 22:30
1
answer

How should a route data be stored?

I'm developing an application where a route from point A to B will be started and I want to save the coordinates to display the route later. How should these data be saved? Monitor any changes to GPS and save latitude a...
asked on 04.11.2016 / 20:25
1
answer

Find slow point in .Net code

I need to parse a code that is taking too long to execute, the method code is extensive and makes several calls to other methods, I've been debugging to try to identify the slow point, but this is very difficult . Does Visual Studio have any...
asked on 14.01.2016 / 12:14
1
answer

How to automatically fill fields when saving object to bank

I have a system, in ASP.NET MVC that implements an audit form, that when a user inserts or updates an object in the database, some information is saved in an audit table automatically. The interface, which I want to implement is: pub...
asked on 02.12.2016 / 00:54
3
answers

Callback being executed the moment you load the page

I'm doing some testing to learn more about callback in javascript and found the following difficulty: function nome_existe(element) { console.log(element.id); } window.onload = function() { Array.from(document.getElementById...
asked on 17.07.2017 / 14:13
4
answers

LIKE SQL clause does not work with SqlParameter

Following the recommendation that @bigown did in this question I decided to parameterize the SQL queries of my program. See: private void btnConsulta_Click(object sender, EventArgs e) { if (optID.Checked) //Consulta por ID...
asked on 20.12.2015 / 17:13
1
answer

How do I create a homepage for my GITHUB libraries?

Generally, when we enable github page for a given package, a url is generated for you to publish documentation about a particular library in Github . In case, if my account is called username and the lib library, yo...
asked on 13.04.2016 / 13:47