Posts by Ruben O. Chiavone • 578 points
13 posts
-
3
votes2
answers3673
viewsA: Linear regression with python
From what I read on scipy runs on Windows yes. [Google Translate] For most users, especially on Windows, the easiest way to install Scipy stack packages is to download one of these Python…
-
2
votes1
answer170
viewsA: Run task synchronized with clock
To accomplish this you can use the class AlarmManager and the method setRepeating, but in the documentation of this method it is said that the use of Handlers. In class Handler you schedule…
androidanswered Ruben O. Chiavone 578 -
1
votes1
answer202
viewsA: Error sending JSON by Socket
Tries to change the JSON reading part of your code on the DataInputStream for BufferedReader: // ... long tamanhoMsg = entrada.readLong(); BufferedReader reader = new BufferedReader( new…
javaanswered Ruben O. Chiavone 578 -
1
votes2
answers2148
viewsA: API facial recognition
Usa Opencv (Open Source Computer Vision Library: http://opencv.org): an open source BSD license library that includes several hundred computer vision algorithms. Written in C/C++ with bidings to…
-
2
votes3
answers3076
viewsA: Refresh page when popup closes
The function Location.reload() reload the document: location.reload(); http://www.w3schools.com/jsref/met_loc_reload.asp…
-
2
votes1
answer1756
viewsA: Changing color of a Checkbox
This color is defined by the theme you use, so a first output would be to change the theme in Runtime - kind of weird, but possible. protected void onCreate(Bundle savedInstanceState) {…
androidanswered Ruben O. Chiavone 578 -
3
votes1
answer404
viewsA: Error in monetary mask, saved with the right digits but at display time 2 digits are missing
The problem is the static method stringMonetarioToDouble(String): it loses information while converting the String and returns erroneously to the persistence layer that while recovering a Produto…
-
1
votes1
answer44
viewsA: How to do in Wizzardpager, build a Fragment according to user’s choice?
Take a look at the sample Wizardpager project: https://github.com/TechFreak/WizardPager/tree/master/sample. In it has a class that calls SandwichWizardModel, which contains all the Wizard options…
-
5
votes1
answer223
viewsA: Configure to Eclipse show parameters name on auto-complete
In view Project Explorer expand your project and then expand the item JRE System Library. There you will find an item called jfxrt.jar, right click and select the option Properties. This will open a…
-
3
votes2
answers1164
viewsA: Java: Understand working Wait() notify() notifyAll()
Despite finding the answer sufficient, I found your question interesting and wanted to complement with a practical example - since you have practical needs, in addition to theoretical ones. A great…
javaanswered Ruben O. Chiavone 578 -
1
votes1
answer273
viewsA: Stopwatch with wrong time
Your problem is that time.elapsed() is the amount time since you called time.start() in milliseconds. Therefore, the difference increases - the value is never zeroed. To tidy up instead of calling…
-
4
votes1
answer197
viewsA: Fire Asynctask class exception
It is possible yes. But before, I wanted to resurface that you are making a design mistake: a AsyncTask is intrinsically linked to the UI, so much so that the methods onPreExecute(),…
-
1
votes1
answer4632
viewsA: Read A tag that sits inside another in an . xml file with DOM API
Your xml has an element problem <teste:numeroLote> is closed with the tag <unimed:numeroLote>. I think this was copy and paste problem, correct? Going to your question, for you to get…