Posts by arthur.afarias • 61 points
5 posts
-
0
votes2
answers403
viewsA: Communication between C C++ ADDON and Nodejs
In addition to integration through subprocesses with the module Child Process and Unix Domain Sockets with the module Net. It is possible to use another technique called native integration and this…
-
0
votes3
answers61
viewsA: Order newly added entries dynamically
A suggestion of how you could order would be using array.Sort. For this, you could map the results of your query by an array and perform a Sort with a classification function customized.…
-
0
votes2
answers403
viewsA: Communication between C C++ ADDON and Nodejs
Yes it is possible. Node.js has an infrastructure for running processes. This infrastructure is gathered in the module Child Process. In Node.js you can perform the Piping procedure with a Child…
-
3
votes1
answer198
viewsA: Convert value to number returns Nan
It is returning. In this case, parseFloat("") out parseFloat(null) returns Nan, as there is no number. Nan means Not a Number. So if you want the result to be zero when there is no number within…
javascriptanswered arthur.afarias 61 -
0
votes1
answer77
viewsA: What is the best way to check? (Try-catch, if multiples,...?)
The best way to validate XML files is by using a validation scheme. Dtds are generally used. A basic tutorial (in English) on using Dtds for XML file validation can be found here. More information…