https://steemitimages.com/640x0/https://ipfs.busy.org/ipfs/QmPNPiKtoRvonftEKcPhP9gHG9ZW6z4MqWSDFF4oHe8ULc
Hello, after a while, this is my new open source contribution for Utopian and DaVinci as translator. I have been translating different Node.js Files during the past few months. This time, I started translating "process.md" file, because I want to learn more about these concepts by Node.js developers point of view.
I work with an extensive team of translators team whose performance has been excellent. By this time a 37% of this huge project has been translated in a few months. I must say that I'm very excited about that.
I invite you to read this post because it is a knowledge font that provides tools for the people who are working with Node.js or any other open source project development. I hope this contribution is useful.
Repository
https://github.com/nodejs/i18n
Project Details
Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. It lets developers use JavaScript to write Command Line tools and for server-side scripting to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm,[6] unifying web application development around a single programming language, rather than different languages for server side and client side scripts.
It looks difficult to understand at first, but let me explain it with the next example.
Imagine that you have been developing a new android app that uses the APIs from Google Maps and Twitter. When testing the app, you realize that both APIs are written in different languages and you must change one of them to make it work, but that's a lot of work and goes against the reasons to use an API. Node.js is the solution to problems like this because it allows the union between different programming languages without affecting its performance.
I decided to translate this project because I'm an engineering student and innovation is my passion; I love creating solutions to problems like this. Also, I like sharing information and a way to do it is translating the content of a big project like this so people around the world can access to it and share it too.
Contribution Specifications
- Translation Overview
Translating Node.js project is very interesting because there are a lot of concepts different between them, but closely related; for example, my latest translations were about the 9th version of change log files, which is a very particular kind of file; nonetheless, this new contribution is about "process". Process object is "a global that provides information about, and control over, the current Node.js process. As a global, it is always available to Node.js applications without using require()." This object is very important because allows control over the process that is running; this improves the Node.js performance.
As an object, it has a lot of events that give it instructions that must follow. For example, there is 'beforeExit' event that "is emitted when Node.js empties its event loop and has no additional work to schedule. Normally, the Node.js process will exit when there is no work scheduled, but a listener registered on the 'beforeExit' event can make asynchronous calls, and thereby cause the Node.js process to continue.". It looks simple, but the fact that this event allows Node.js to make asynchronous calls is very useful for this kind of process.
- Language
The original language of this change log is English and it was translated into Spanish, which is my native language. I have experience translating in projects like Loopring wallet and Yapbam. These projects make me grow and learn a lot about open source projects.
English
To restart a crashed application in a more reliable way, whether <0>uncaughtException</0> is emitted or not, an external monitor should be employed in a separate process to detect application failures and recover or restart as needed.
Spanish
Para reiniciar una aplicación detenida de una manera más fiable, si <0>uncaughtException</0> es emitida o no, un monitor externo debe ser empleado en un proceso separado para detectar fallos de aplicación y recuperar o reiniciar si es necesario.
English
Note that <0>'uncaughtException'</0> is a crude mechanism for exception handling intended to be used only as a last resort.
Spanish
Note que <0>'uncaughtException'</0> es un mecanismo crudo para el manejo de excepciones destinadas a ser utilizadas solo como último recurso.
English
By default, Node.js handles such exceptions by printing the stack trace to <0>stderr</0> and exiting.
Spanish
Por defecto, Node.js maneja dichas excepciones imprimiendo el stack trace en <0>stderr</0> y cerrándose.
English
It is possible to record such errors in an error log, either periodically (which is likely best for long-running application) or upon process exit (which is likely most convenient for scripts).
Spanish
Es posible registrar dichos errores en un registro de errores, de manera periódica (que es probablemente lo más adecuado para aplicaciones de larga ejecución) o al salir del proceso (que es posiblemente lo más conveniente para scripts).
- Word Count
This translation consist of 1074 translated words
Proof of Authorship
You can visit my profile (navx) on Crowdin's website to find proof of authorship. Also, you can visit the Activity tab in the Node.js project and filter my contributions between December 5th and December 7th, which were the dates of the translation and the corrections respectively.
The next link, redirect to my crowdin profile:
https://crowdin.com/profile/navx