Links
Project Details
Node.js is not a programming language but could be considered as a JavaScript programming framework, although in reality, the definition of a framework is not entirely appropriate, as Node.js could be confused with an environment to create a particular type of applications. To be precise, Node.js is a framework/platform for running JavaScript applications
We therefore say that the most appropriate definition would be that of "platform for the execution of JavaScript applications", as we find written on the home page of the official website; in practice, it is a JavaScript run-time, therefore a motor for the execution of JavaScript code.
Introduction
I'm glad that on Node.js I have the chance to start a file from scratch and working to complete its translation: in my previous project instead, there were many files partially translated by other users that had just some scatter word or sentence to render and this sometimes need more time and makes your work unpleasant and confused.
As I have already explained, the whole Italian team is working on Node.js and we are processing all the first folder (API) files, following the descending order as much as possible, to give a better translation.
Contribution Specifications
In this report I completed the http2.md plus the buffer.md folder.
I processed more than 1550 words, getting 1100 clean words without duplicates and untranslatable words.
Nothing special to report today as I worked on topics already treated.
Translation Overview
1. response.writeHead(statusCode[, statusMessage][, headers])
Note that Content-Length is given in bytes not characters. The Buffer.byteLength() API may be used to determine the number of bytes in a given encoding. On outbound messages, Node.js does not check if Content-Length and the length of the body being transmitted are equal or not. However, when receiving messages, Node.js will automatically reject messages when the Content-Length does not match the actual payload size.
This method may be called at most one time on a message before [response.end()][] is called.
Notare che il Content-Length è fornito in byte, non in caratteri. L'API di Buffer.byteLength() può essere utilizzata per determinare il numero di byte in una determinata codifica. Nei messaggi in uscita, Node.js non controlla se Content-Length e la lunghezza del corpo che viene trasmessa sono uguali o no. Tuttavia, quando riceve i messaggi, Node.js li rifiuterà automaticamente in caso la Content-Length non corrisponda alla dimensione del payload effettiva.
Questo metodo può essere chiamato su un messaggio al massimo una volta, prima che [response.end()][] venga chiamato.
2. Class: SlowBuffer
Stability: 0 - Deprecated: Use [Buffer.allocUnsafeSlow()] instead.
Returns an un-pooled Buffer.
In order to avoid the garbage collection overhead of creating many individually allocated Buffer instances, by default allocations under 4KB are sliced from a single larger allocated object.
In the case where a developer may need to retain a small chunk of memory from a pool for an indeterminate amount of time, it may be appropriate to create an un-pooled Buffer instance using SlowBuffer then copy out the relevant bits.
Stabilità: 0 - Deprecato: Utilizza [Buffer.allocUnsafeSlow()][] al suo posto.
Restituisce un Buffer non inserito in un pool.
Per evitare il sovraccarico della garbage collection per la creazione di numerose istanze di Buffer allocate individualmente, di default le allocazioni sotto ai 4KB vengono suddivise da un singolo object allocato più grande.
Nel caso in cui uno sviluppatore possa aver bisogno di conservare un piccolo chunk di memoria da un pool per un periodo di tempo indeterminato, potrebbe essere opportuno creare un'istanza Buffer non inserita nel pool utilizzando SlowBuffer per poi copiare i bit rilevanti.
Languages
SOURCE LANGUAGE: English
TARGET LANGUAGE: Italian
To check my previous experiences as a translator you can consult my activities on Verdaccio and Joomla projects, selecting my name in the drop-down menu.
You can also view my application for Davinci.
Word count
Words Translated:1550 (+1100 clean words)
Proof of Authorship
You can look up Crowdin project on the following link, as well as the summary of my activities.
Credits
I'd like to thank @davinci.witness and @utopian-io for this wonderful project I have the pleasure to work in and another big thank to the Italian team, especially to the LM @imcesca and our Node.js expert @robertbira.
VOTE FOR DAVINCI.WITNESS & FOLLOW DAVINCI WITNESS TRAIL
(Image by @pab.ink)
The first image is public domain - Source Wikicommon