Posts by Vinícius Gobbo A. de Oliveira • 5,575 points
114 posts
-
35
votes4
answers3125
viewsA: Precise math division
If you really want exact accuracy for floating point operations, you will need to use a library such as the GMP. User @Maniero gave a reasonable introduction on where to find more information about…
-
1
votes1
answer186
viewsA: how to use LDAP_BIND in php using NTLM2?
Answering your question in the comments, which is simpler: NTML is not an encryption protocol, and without a Challenge-Sponse-based authentication protocol that makes use of hash functions to "hide"…
-
1
votes1
answer509
viewsA: Problem going to the server when loading tinymce component
The problem, as you may have determined, is the HTML formatting of tinymce content: ASP.Net understands this content as unsafe and blocks the request. You may have put the ValidateRequest="false" in…
-
6
votes1
answer1283
viewsA: How to make a screen recorder?
Good morning, The most correct is to capture the information directly from the video card. Screen shot operations are slow because they can involve up to a redraw of the entire screen, and in the…
-
4
votes1
answer432
viewsA: Button running shell script
Use the class QProcess. Since you did not specify the version of Qt being used, I am assuming version 5.3. Check if the first line of the script is #!/bin/bash for Linux to decide automagically how…
-
2
votes2
answers2749
viewsA: Validate e-mail with Angularjs
Utilize ngPattern to change the Angular default behavior: <input type="email" <!-- ... --> ng-model="fields.email"…
-
2
votes2
answers4889
viewsA: I want to save the information to a . txt in c++
The problem with your code is that the operating system is not flush the data to the file due to CTRL+Z. To fix this problem, just replace the '\n' for endl: outFile << numero << " "…
c++answered Vinícius Gobbo A. de Oliveira 5,575 -
1
votes3
answers1080
viewsA: Audio API to calculate the duration of multiple songs
To analyze the duration of the MP3 file, the easiest (and perhaps even efficient) mode is to iterate on all selected files, read its contents and interpret the file header. Data Reading Be it file…
-
4
votes2
answers172
viewsA: How to use Reflection on a COM object?
Is not possible. System.__COMObject is a class declared as internal and all its methods are exposed by System.Runtime.InteropServices.Marshal. Therefore, this class is nothing more than a wrapper…
-
29
votes1
answer1550
viewsA: What is . Native Net?
Question by question. Why Microsoft is doing this? 1. Every language that uses JIT has problems of slow initialization, and lacks several low-level optimizations, such as using vector instructions…
-
2
votes1
answer2756
viewsA: Android connect on Postgres
They say a picture is worth 1000 words... and a presentation? Joking aside, a presentation of the Postgresql Conference 2011 explains how to do: Android & Postgresql…
-
3
votes1
answer213
viewsA: Validate forms and generate dynamic pages
There is no definitive answer to this question, since it is more related to each person’s opinion. There goes my. Despite other languages such as Typescript (Microsoft), Dart (Google) and Coffee…
javascriptanswered Vinícius Gobbo A. de Oliveira 5,575 -
1
votes1
answer96
viewsA: Error in the calculation of values of a vector
Problem 1 You’re calculating values with memory junk. In C, all vectors are indexed from the position 0 until the N-1, being N the quantity of vector elements. In your case, the vector estoque…
-
3
votes1
answer190
viewsA: What characters can I not use for cookie names?
In cookie names you must use any "printable ASCII character" (! until ~ and Unicode \u0021 until \u007e), excluding ,, ;, and =. For the values, the rule is almost the same, except that it is…