chore(i18n,curriculum): update translations (#42930)

This commit is contained in:
camperbot
2021-07-19 22:22:21 +05:30
committed by GitHub
parent 31486b368b
commit 7dcb77fa6f
124 changed files with 727 additions and 727 deletions

View File

@ -26,15 +26,15 @@ name=John+Doe&age=25
# --instructions--
`package.json` 中安裝 `body-parser` 模塊, 然後在文件頂部 `require` 進來, 用變量 `bodyParser` 保存它。 通過中間件的 `bodyParser.urlencoded({extended: false})` 方法處理 URL 編碼數據, Pass the function returned by the previous method call to `app.use()`. As usual, the middleware must be mounted before all the routes that depend on it.
`package.json` 中安裝 `body-parser` 模塊, 然後在文件頂部 `require` 進來, 用變量 `bodyParser` 保存它。 通過中間件的 `bodyParser.urlencoded({extended: false})` 方法處理 URL 編碼數據, 將通過先前的方法調用返回的函數傳遞到 `app.use()`。 中間件通常掛載在所有需要它的路由之前。
**Note:** `extended` is a configuration option that tells `body-parser` which parsing needs to be used. When `extended=false` it uses the classic encoding `querystring` library. When `extended=true` it uses `qs` library for parsing.
**注意:** `extended` 是一個配置選項, 告訴 `body-parser` 需要使用哪個解析。 當 `extended=false` 時,它使用經典編碼 `querystring` 庫。 當 `extended=true`時,它使用 `qs` 庫進行解析。
When using `extended=false`, values can be only strings or arrays. The object returned when using `querystring` does not prototypically inherit from the default JavaScript `Object`, which means functions like `hasOwnProperty`, `toString` will not be available. The extended version allows more data flexibility, but it is outmatched by JSON.
當使用 `extended=false` 時,值可以只是字符串或數組。 使用 `querystring` 時返回的對象並不繼承的 JavaScript `Object`,這意味着 `hasOwnProperty``toString` 等函數將不可用。 拓展版本的數據更加靈活,但稍遜於 JSON
# --hints--
The 'body-parser' middleware should be mounted
應該掛載 “body-parser” 中間件
```js
(getUserInput) =>

View File

@ -26,15 +26,15 @@ name=John+Doe&age=25
# --instructions--
`package.json` 中安装 `body-parser` 模块, 然后在文件顶部 `require` 进来, 用变量 `bodyParser` 保存它。 通过中间件的 `bodyParser.urlencoded({extended: false})` 方法处理 URL 编码数据, Pass the function returned by the previous method call to `app.use()`. As usual, the middleware must be mounted before all the routes that depend on it.
`package.json` 中安装 `body-parser` 模块, 然后在文件顶部 `require` 进来, 用变量 `bodyParser` 保存它。 通过中间件的 `bodyParser.urlencoded({extended: false})` 方法处理 URL 编码数据, 将通过先前的方法调用返回的函数传递到 `app.use()`。 中间件通常挂载在所有需要它的路由之前。
**Note:** `extended` is a configuration option that tells `body-parser` which parsing needs to be used. When `extended=false` it uses the classic encoding `querystring` library. When `extended=true` it uses `qs` library for parsing.
**注意:** `extended` 是一个配置选项, 告诉 `body-parser` 需要使用哪个解析。 当 `extended=false` 时,它使用经典编码 `querystring` 库。 当 `extended=true`时,它使用 `qs` 库进行解析。
When using `extended=false`, values can be only strings or arrays. The object returned when using `querystring` does not prototypically inherit from the default JavaScript `Object`, which means functions like `hasOwnProperty`, `toString` will not be available. The extended version allows more data flexibility, but it is outmatched by JSON.
当使用 `extended=false` 时,值可以只是字符串或数组。 使用 `querystring` 时返回的对象并不继承的 JavaScript `Object`,这意味着 `hasOwnProperty``toString` 等函数将不可用。 拓展版本的数据更加灵活,但稍逊于 JSON
# --hints--
The 'body-parser' middleware should be mounted
应该挂载 “body-parser” 中间件
```js
(getUserInput) =>

View File

@ -1,6 +1,6 @@
---
id: 5a24c314108439a4d4036149
title: Extract Local State into Redux
title: Extrae el estado local en Redux
challengeType: 6
forumTopicId: 301428
dashedName: extract-local-state-into-redux
@ -8,17 +8,17 @@ dashedName: extract-local-state-into-redux
# --description--
You're almost done! Recall that you wrote all the Redux code so that Redux could control the state management of your React messages app. Now that Redux is connected, you need to extract the state management out of the `Presentational` component and into Redux. Currently, you have Redux connected, but you are handling the state locally within the `Presentational` component.
¡Ya casi terminas! Recuerda que escribiste todo el código Redux para que Redux pudiera controlar la gestión del estado de tu aplicación de mensajes React. Ahora que Redux está conectado, necesitas extraer la gestión del estado de `Presentational` y añadirlo a Redux. Actualmente, tienes Redux conectado, pero estás manejando el estado localmente dentro del componente `Presentational`.
# --instructions--
In the `Presentational` component, first, remove the `messages` property in the local `state`. These messages will be managed by Redux. Next, modify the `submitMessage()` method so that it dispatches `submitNewMessage()` from `this.props`, and pass in the current message input from local `state` as an argument. Because you removed `messages` from local state, remove the `messages` property from the call to `this.setState()` here as well. Finally, modify the `render()` method so that it maps over the messages received from `props` rather than `state`.
En el componente `Presentational`, primero elimina la propiedad `messages` del local `state`. Estos mensajes serán gestionados por Redux. A continuación, modifica el método `submitMessage()` para que `submitNewMessage()` trabaje desde `this.props` y pase la entrada del mensaje actual desde el `state` local como un argumento. Ya que eliminaste `messages` desde el estado local, elimina también la propiedad `messages` de la llamada a `this.setState()`. Finalmente, modifica el método `render()` para que asigne los mensajes recibidos desde `props` en lugar de `state`.
Once these changes are made, the app will continue to function the same, except Redux manages the state. This example also illustrates how a component may have local `state`: your component still tracks user input locally in its own `state`. You can see how Redux provides a useful state management framework on top of React. You achieved the same result using only React's local state at first, and this is usually possible with simple apps. However, as your apps become larger and more complex, so does your state management, and this is the problem Redux solves.
Una vez realizados estos cambios, la aplicación seguirá funcionando igual, salvo que Redux gestiona el estado. Este ejemplo también ilustra cómo un componente puede tener un `state` local: tu componente aún registra la entrada del usuario localmente en su propio `state`. Puedes ver cómo Redux proporciona un framework útil de gestión de estados sobre React. Alcanzaste el mismo resultado usando solo el estado local de React al principio, y esto es generalmente posible con aplicaciones simples. Sin embargo, cuanto más complejas y grandes se vuelve tus aplicaciones, más lo hará la gestión del estado, y esto es el problema que Redux resuelve.
# --hints--
The `AppWrapper` should render to the page.
`AppWrapper` debe renderizarse.
```js
assert(
@ -29,7 +29,7 @@ assert(
);
```
The `Presentational` component should render to page.
El componente `Presentational` debe renderizarse.
```js
assert(
@ -40,7 +40,7 @@ assert(
);
```
The `Presentational` component should render an `h2`, `input`, `button`, and `ul` elements.
El componente `Presentational` debe renderizar los siguientes elementos: `h2`, `input`, `button` y `ul`.
```js
assert(
@ -57,7 +57,7 @@ assert(
);
```
The `Presentational` component should receive `messages` from the Redux store as a prop.
El componente `Presentational` debe recibir `messages` desde el almacenamiento de Redux como una propiedad.
```js
assert(
@ -70,7 +70,7 @@ assert(
);
```
The `Presentational` component should receive the `submitMessage` action creator as a prop.
El componente `Presentational` debe recibir `submitMessage` como una propiedad.
```js
assert(
@ -83,7 +83,7 @@ assert(
);
```
The state of the `Presentational` component should contain one property, `input`, which is initialized to an empty string.
El estado del componente `Presentational` debe contener una propiedad, `input`, que está inicializada a una cadena vacía.
```js
assert(
@ -100,7 +100,7 @@ assert(
);
```
Typing in the `input` element should update the state of the `Presentational` component.
Escribir el elemento `input` debe actualizar el estado del componente `Presentational`.
```js
async () => {
@ -124,7 +124,7 @@ async () => {
};
```
Dispatching the `submitMessage` on the `Presentational` component should update Redux store and clear the input in local state.
`submitMessage` del componente `Presentational` debe actualizar el almacenamiento de Redux y vaciar la entrada en el estado local.
```js
async () => {
@ -156,7 +156,7 @@ async () => {
};
```
The `Presentational` component should render the `messages` from the Redux store.
El componente `Presentational` debe renderizar `messages` desde el almacenamiento de Redux.
```js
async () => {

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f060b6c005b0e76f05b
title: Build your own Functions
title: Costruire le proprie funzioni
challengeType: 11
videoId: nLDychdBwUg
dashedName: build-your-own-functions
@ -8,15 +8,15 @@ dashedName: build-your-own-functions
# --description--
More resources:
Altre risorse:
\- [Exercise](https://www.youtube.com/watch?v=ksvGhDsjtpw)
\- [Esercizio](https://www.youtube.com/watch?v=ksvGhDsjtpw)
# --question--
## --text--
What will the following Python program print out?:
Cosa scriverà il seguente programma Python?
```python
def fred():

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f06d
title: Comparing and Sorting Tuples
title: Confrontare e ordinare tuple
challengeType: 11
videoId: dZXzBXUxxCs
dashedName: comparing-and-sorting-tuples
@ -8,15 +8,15 @@ dashedName: comparing-and-sorting-tuples
# --description--
More resources:
Altre risorse:
\- [Exercise](https://www.youtube.com/watch?v=EhQxwzyT16E)
\- [Esercizio](https://www.youtube.com/watch?v=EhQxwzyT16E)
# --question--
## --text--
Which does the same thing as the following code?:
A cosa equivale il seguente codice?
```python
lst = []

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f050b6c005b0e76f058
title: Conditional Execution
title: Esecuzione condizionale
challengeType: 11
videoId: gz_IfIsZQtc
dashedName: conditional-execution
@ -10,7 +10,7 @@ dashedName: conditional-execution
## --text--
Which code is indented correctly to print "Yes" if x = 0 and y = 10?
Quale codice è indentato correttamente per stampare "Yes" se x = 0 e y = 10?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f6a0b6c005b0e76f097
title: 'Data Visualization: Mailing Lists'
title: 'Data Visualization: Mailing List'
challengeType: 11
videoId: RYdW660KkaQ
dashedName: data-visualization-mailing-lists
@ -8,27 +8,27 @@ dashedName: data-visualization-mailing-lists
# --description--
More resources:
Altre risorse:
\- [Exercise: Geodata](https://www.youtube.com/watch?v=KfhslNzopxo)
\- [Esercizio: Geodata](https://www.youtube.com/watch?v=KfhslNzopxo)
\- [Exercise: Gmane Model](https://www.youtube.com/watch?v=wSpl1-7afAk)
\- [Esercizio: Gmane Model](https://www.youtube.com/watch?v=wSpl1-7afAk)
\- [Exercise: Gmane Spider](https://www.youtube.com/watch?v=H3w4lOFBUOI)
\- [Esercizio: Gmane Spider](https://www.youtube.com/watch?v=H3w4lOFBUOI)
\- [Exercise: Gmane Viz](https://www.youtube.com/watch?v=LRqVPMEXByw)
\- [Esercizio: Gmane Viz](https://www.youtube.com/watch?v=LRqVPMEXByw)
\- [Exercise: Page Rank](https://www.youtube.com/watch?v=yFRAZBkBDBs)
\- [Esercizio: Page Rank](https://www.youtube.com/watch?v=yFRAZBkBDBs)
\- [Exercise: Page Spider](https://www.youtube.com/watch?v=sXedPQ_AnWA)
\- [Esercizio: Page Spider](https://www.youtube.com/watch?v=sXedPQ_AnWA)
\- [Exercise: Page Viz](https://www.youtube.com/watch?v=Fm0hpkxsZoo)
\- [Esercizio: Page Viz](https://www.youtube.com/watch?v=Fm0hpkxsZoo)
# --question--
## --text--
Which is a common JavaScript visualization library?
Quale di queste è una comune libreria di visualizzazione JavaScript?
## --answers--

View File

@ -10,19 +10,19 @@ dashedName: data-visualization-page-rank
## --text--
How does the PageRank algorithm work?
Come funziona l'algoritmo PageRank?
## --answers--
It determines which pages are most highly connected.
Determina quali pagine sono più connesse.
---
It ranks pages based on view counts.
Posiziona le pagine in base al conteggio delle visualizzazioni.
---
It figures out which pages contain the most important content.
Indica quali pagine contengono i contenuti più importanti.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0a0b6c005b0e76f069
title: Dictionaries and Loops
title: Dizionari e cicli
challengeType: 11
videoId: EEmekKiKG70
dashedName: dictionaries-and-loops
@ -8,15 +8,15 @@ dashedName: dictionaries-and-loops
# --description--
More resources:
Altre risorse:
\- [Exercise](https://www.youtube.com/watch?v=PrhZ9qwBDD8)
\- [Esercizio](https://www.youtube.com/watch?v=PrhZ9qwBDD8)
# --question--
## --text--
What will the following code print?:
Cosa scriverà il seguente codice?
```python
counts = { 'chuck' : 1 , 'annie' : 42, 'jan': 100}

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f068
title: 'Dictionaries: Common Applications'
title: 'Dizionari: applicazioni comuni'
challengeType: 11
videoId: f17xPfIXct0
dashedName: dictionaries-common-applications
@ -10,7 +10,7 @@ dashedName: dictionaries-common-applications
## --text--
What will the following code print?
Cosa scriverà il seguente codice?
```python
counts = { 'quincy' : 1 , 'mrugesh' : 42, 'beau': 100, '0': 10}
@ -35,7 +35,7 @@ quincy
---
[will return error]
[verrà restituito errore]
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f080b6c005b0e76f063
title: Files as a Sequence
title: File come sequenze
challengeType: 11
videoId: cIA0EokbaHE
dashedName: files-as-a-sequence
@ -8,31 +8,31 @@ dashedName: files-as-a-sequence
# --description--
More resources:
Altre risorse:
\- [Exercise](https://www.youtube.com/watch?v=il1j4wkte2E)
\- [Esercizio](https://www.youtube.com/watch?v=il1j4wkte2E)
# --question--
## --text--
What does the word 'continue' do in the middle of a loop?
Cosa fa la parola 'continue' all'interno di un ciclo?
## --answers--
Skips to the code directly after the loop.
Salta al codice direttamente dopo il ciclo.
---
Skips to the next line in the code.
Salta alla riga successiva nel codice.
---
Skips to the next iteration of the loop.
Salta alla successiva iterazione del ciclo.
---
Skips the next block of code.
Salta il blocco di codice successivo.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f050b6c005b0e76f057
title: Intermediate Expressions
title: Espressioni Intermedie
challengeType: 11
videoId: dKgUaIa5ATg
dashedName: intermediate-expressions
@ -8,17 +8,17 @@ dashedName: intermediate-expressions
# --description--
More resources:
Altre risorse:
\- [Exercise 1](https://youtu.be/t_4DPwsaGDY)
\- [Esercizio 1](https://youtu.be/t_4DPwsaGDY)
\- [Exercise 2](https://youtu.be/wgkC8SxraAQ)
\- [Esercizio 2](https://youtu.be/wgkC8SxraAQ)
# --question--
## --text--
What will print out after running this code:
Cosa scriverà il seguente codice?
```python
width = 15

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f070b6c005b0e76f061
title: Intermediate Strings
title: Stringhe Intermedio
challengeType: 11
videoId: KgT_fYLXnyk
dashedName: intermediate-strings
@ -8,15 +8,15 @@ dashedName: intermediate-strings
# --description--
More resources:
Altre risorse:
\- [Exercise](https://www.youtube.com/watch?v=1bSqHot-KwE)
\- [Esercizio](https://www.youtube.com/watch?v=1bSqHot-KwE)
# --question--
## --text--
What is the value of i in the following code?
Qual è il valore di i nel seguente codice?
```python
word = "bananana"

View File

@ -1,6 +1,6 @@
---
id: 5e6a54c358d3af90110a60a3
title: 'Introduction: Elements of Python'
title: 'Introduzione: elementi di Python'
challengeType: 11
videoId: aRY_xjL35v0
dashedName: introduction-elements-of-python
@ -10,7 +10,7 @@ dashedName: introduction-elements-of-python
## --text--
What will the following program print out:
Cosa scriverà il seguente programma?
```python
x = 43

View File

@ -1,6 +1,6 @@
---
id: 5e6a54af58d3af90110a60a1
title: 'Introduction: Hardware Architecture'
title: 'Introduzione: architettura hardware'
challengeType: 11
videoId: H6qtjRTfSog
dashedName: introduction-hardware-architecture
@ -10,19 +10,19 @@ dashedName: introduction-hardware-architecture
## --text--
Where are your programs stored when they are running?
Dove sono memorizzati i programmi quando sono in esecuzione?
## --answers--
Hard Drive.
Disco Fisso.
---
Memory.
Memoria.
---
Central Processing Unit.
Unità Centrale di Elaborazione (CPU).
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e6a54ba58d3af90110a60a2
title: 'Introduction: Python as a Language'
title: 'Introduzione: Python come linguaggio'
challengeType: 11
videoId: 0QeGbZNS_bY
dashedName: introduction-python-as-a-language
@ -10,7 +10,7 @@ dashedName: introduction-python-as-a-language
## --text--
What will print out after running these two lines of code:
Cosa verrà scritto dopo aver eseguito queste due righe di codice?
```python
x = 6

View File

@ -1,6 +1,6 @@
---
id: 5e6a54a558d3af90110a60a0
title: 'Introduction: Why Program?'
title: 'Introduzione: perché programmare?'
challengeType: 11
videoId: 3muQV-Im3Z0
dashedName: introduction-why-program
@ -8,29 +8,29 @@ dashedName: introduction-why-program
# --description--
More resources:
Altre risorse:
\- [Install Python on Windows](https://youtu.be/F7mtLrYzZP8)
\- [Installare Python su Windows](https://youtu.be/F7mtLrYzZP8)
\- [Install Python on MacOS](https://youtu.be/wfLnZP-4sZw)
\- [Installare Python su MacOS](https://youtu.be/wfLnZP-4sZw)
# --question--
## --text--
Who should learn to program?
Chi dovrebbe imparare a programmare?
## --answers--
College students.
Studenti universitari.
---
People who want to become software developers.
Persone che vogliono diventare sviluppatori di software.
---
Everyone.
Tutti.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f070b6c005b0e76f05d
title: 'Iterations: Definite Loops'
title: 'Iterazioni: cicli definiti'
challengeType: 11
videoId: hiRTRAqNlpE
dashedName: iterations-definite-loops
@ -10,7 +10,7 @@ dashedName: iterations-definite-loops
## --text--
How many lines will the following code print?:
Quante righe scriverà il seguente codice?
```python
for i in [2,1,5]:

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f070b6c005b0e76f05e
title: 'Iterations: Loop Idioms'
title: 'Iterazioni: idiomi dei cicli'
challengeType: 11
videoId: AelGAcoMXbI
dashedName: iterations-loop-idioms
@ -10,7 +10,7 @@ dashedName: iterations-loop-idioms
## --text--
Below is code to find the smallest value from a list of values. One line has an error that will cause the code to not work as expected. Which line is it?:
Di seguito è riportato il codice per trovare il valore più piccolo in una lista. Una riga contiene un errore che causerà il mancato funzionamento del codice come previsto. Qual è la linea?
```python
smallest = None

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f070b6c005b0e76f05f
title: 'Iterations: More Patterns'
title: 'Iterazioni: ulteriori modelli'
challengeType: 11
videoId: 9Wtqo6vha1M
dashedName: iterations-more-patterns
@ -8,15 +8,15 @@ dashedName: iterations-more-patterns
# --description--
More resources:
Altre risorse:
\- [Exercise](https://www.youtube.com/watch?v=kjxXZQw0uPg)
\- [Esercizio](https://www.youtube.com/watch?v=kjxXZQw0uPg)
# --question--
## --text--
Which of these evaluates to False?
Quale di queste righe darà False?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f060b6c005b0e76f05c
title: Loops and Iterations
title: Cicli e iterazioni
challengeType: 11
videoId: dLA-szNRnUY
dashedName: loops-and-iterations
@ -10,7 +10,7 @@ dashedName: loops-and-iterations
## --text--
What will the following code print out?:
Cosa verrà visualizzato nella console con il seguente codice?:
```python
n = 0

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f170b6c005b0e76f08b
title: Make a Relational Database
title: Creare un database relazionale
challengeType: 11
videoId: MQ5z4bdF92U
dashedName: make-a-relational-database
@ -10,7 +10,7 @@ dashedName: make-a-relational-database
## --text--
What SQL command would you use to retrieve all users that have the email address `quincy@freecodecamp.org`?
Quale comando SQL utilizzeresti per recuperare tutti gli utenti che hanno l'indirizzo email `quincy@freecodecamp.org`?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f060b6c005b0e76f059
title: More Conditional Structures
title: Ulteriori strutture condizionali
challengeType: 11
videoId: HdL82tAZR20
dashedName: more-conditional-structures
@ -8,17 +8,17 @@ dashedName: more-conditional-structures
# --description--
More resources:
Altre risorse:
\- [Exercise 1](https://www.youtube.com/watch?v=crLerB4ZxMI)
\- [Esercizio 1](https://www.youtube.com/watch?v=crLerB4ZxMI)
\- [Exercise 2](https://www.youtube.com/watch?v=KJN3-7HH6yk)
\- [Esercizio 2](https://www.youtube.com/watch?v=KJN3-7HH6yk)
# --question--
## --text--
Given the following code:
Dato il seguente codice:
```python
temp = "5 degrees"
@ -28,7 +28,7 @@ cel = (fahr - 32.0) * 5.0 / 9.0
print(cel)
```
Which line/lines should be surrounded by `try` block?
Quali righe dovrebbero essere racchiuse nel blocco `try`?
## --answers--
@ -48,7 +48,7 @@ Which line/lines should be surrounded by `try` block?
---
None
Nessuna
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0c0b6c005b0e76f072
title: Networking Protocol
title: Protocollo di rete
challengeType: 11
videoId: c6vZGescaSc
dashedName: networking-protocol
@ -10,7 +10,7 @@ dashedName: networking-protocol
## --text--
What type of HTTP request is usually used to access a website?
Che tipo di richiesta HTTP viene solitamente utilizzata per accedere a un sito web?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0c0b6c005b0e76f074
title: 'Networking: Text Processing'
title: 'Networking: elaborazione del testo'
challengeType: 11
videoId: Pv_pJgVu8WI
dashedName: networking-text-processing
@ -10,7 +10,7 @@ dashedName: networking-text-processing
## --text--
Which type of encoding do most websites use?
Quale tipo di codifica viene utilizzata dalla maggior parte dei siti web?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0d0b6c005b0e76f075
title: 'Networking: Using urllib in Python'
title: 'Networking: usare urllib in Python'
challengeType: 11
videoId: 7lFM1T_CxBs
dashedName: networking-using-urllib-in-python
@ -10,7 +10,7 @@ dashedName: networking-using-urllib-in-python
## --text--
What will the output of the following code be like?:
Quale sarà l'output del seguente codice?
```python
import urllib.request
@ -21,15 +21,15 @@ for line in fhand:
## --answers--
Just contents of "romeo.txt".
Solo i contenuti di "romeo.txt".
---
A header and the contents of "romeo.txt".
Un'intestazione e il contenuto di "romeo.txt".
---
A header, a footer, and the contents of "romeo.txt".
Un'intestazione, un piè di pagina e il contenuto di "romeo.txt".
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0d0b6c005b0e76f076
title: 'Networking: Web Scraping with Python'
title: 'Networking: web scraping con Python'
challengeType: 11
videoId: Uyioq2q4cEg
dashedName: networking-web-scraping-with-python
@ -8,19 +8,19 @@ dashedName: networking-web-scraping-with-python
# --description--
More resources:
Altre risorse:
\- [Exercise: socket1](https://www.youtube.com/watch?v=dWLdI143W-g)
\- [Esercizio: socket1](https://www.youtube.com/watch?v=dWLdI143W-g)
\- [Exercise: urllib](https://www.youtube.com/watch?v=8yis2DvbBkI)
\- [Esercizio: urllib](https://www.youtube.com/watch?v=8yis2DvbBkI)
\- [Exercise: urllinks](https://www.youtube.com/watch?v=g9flPDG9nnY)
\- [Esercizio: urllinks](https://www.youtube.com/watch?v=g9flPDG9nnY)
# --question--
## --text--
What Python library is used for parsing HTML documents and extracting data from HTML documents?
Quale libreria Python è utilizzata per analizzare documenti HTML ed estrarre dati da essi?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0c0b6c005b0e76f071
title: Networking with Python
title: Networking con Python
challengeType: 11
videoId: _kJvneKVdNM
dashedName: networking-with-python
@ -10,7 +10,7 @@ dashedName: networking-with-python
## --text--
What Python library gives access to TCP Sockets?
Quale libreria Python dà accesso ai socket TCP?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0c0b6c005b0e76f073
title: 'Networking: Write a Web Browser'
title: 'Networking: scrivi un browser web'
challengeType: 11
videoId: zjyT9DaAjx4
dashedName: networking-write-a-web-browser
@ -10,7 +10,7 @@ dashedName: networking-write-a-web-browser
## --text--
What does the following code create?:
Cosa crea il seguente codice?:
```py
import socket
@ -30,19 +30,19 @@ mysock.close()
## --answers--
A simple web server.
Un semplice web server.
---
A simple email client.
Un semplice client di posta.
---
A simple todo list.
Un semplice elenco di cose da fare.
---
A simple web browser.
Un semplice browser web.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f170b6c005b0e76f087
title: Object Lifecycle
title: Ciclo di vita degli oggetti
challengeType: 11
videoId: p1r3h_AMMIM
dashedName: object-lifecycle
@ -10,7 +10,7 @@ dashedName: object-lifecycle
## --text--
What will the following program print?:
Cosa scriverà il seguente programma?
```python
class PartyAnimal:

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f160b6c005b0e76f086
title: 'Objects: A Sample Class'
title: 'Oggetti: una classe di esempio'
challengeType: 11
videoId: FiABKEuaSJ8
dashedName: objects-a-sample-class
@ -10,7 +10,7 @@ dashedName: objects-a-sample-class
## --text--
What will the following program print?:
Cosa scriverà il seguente programma?
```python
class PartyAnimal:

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f170b6c005b0e76f088
title: 'Objects: Inheritance'
title: 'Oggetti: ereditarietà'
challengeType: 11
videoId: FBL3alYrxRM
dashedName: objects-inheritance
@ -10,23 +10,23 @@ dashedName: objects-inheritance
## --text--
What is inheritance in object-oriented programming?
Cos'è l'ereditarietà nella programmazione orientata agli oggetti?
## --answers--
A new class created when a parent class is extended.
Una nuova classe creata quando una classe genitore viene estesa.
---
A constructed instance of a class.
Un'istanza costruita di una classe.
---
The ability to create a new class by extending an existing class.
La capacità di creare una nuova classe estendendo una classe esistente.
---
A method that is called at the moment when a class is being used to construct an object.
Un metodo che viene chiamato nel momento in cui una classe viene utilizzata per costruire un oggetto.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f067
title: Python Dictionaries
title: Dizionari in Python
challengeType: 11
videoId: dnzvfimrRMg
dashedName: python-dictionaries
@ -10,7 +10,7 @@ dashedName: python-dictionaries
## --text--
What does dict equal after running this code?:
Quanto vale dict dopo l'esecuzione di questo codice?
```python
dict = {"Fri": 20, "Thu": 6, "Sat": 1}

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f060b6c005b0e76f05a
title: Python Functions
title: Funzioni in Python
challengeType: 11
videoId: 3JGF-n3tDPU
dashedName: python-functions
@ -10,27 +10,27 @@ dashedName: python-functions
## --text--
What is the purpose of the "def" keyword in Python?
Qual è lo scopo della parola chiave "def" in Python?
## --answers--
It is slang that means "The following code is really cool."
È slang che significa "Il seguente codice è davvero cool."
---
It indicates the start of a function.
Indica l'inizio di una funzione.
---
It indicates that the following indented section of code is to be stored for later.
Indica che la seguente sezione di codice indentata deve essere memorizzata per essere usata in un secondo momento.
---
It indicates the start of a function, and the following indented section of code is to be stored for later.
Indica l'inizio di una funzione, e la seguente sezione di codice indentato deve essere memorizzata per un uso successivo successivo.
---
None of the above.
Niente di quanto sopra.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f080b6c005b0e76f064
title: Python Lists
title: Liste in Python
challengeType: 11
videoId: Y0cvfDpYC_c
dashedName: python-lists
@ -10,7 +10,7 @@ dashedName: python-lists
## --text--
What is the value of x after running this code:
Qual è il valore di x dopo aver eseguito questo codice?
```python
fruit = "banana"

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f160b6c005b0e76f085
title: Python Objects
title: Oggetti Python
challengeType: 11
videoId: uJxGeTYy0us
dashedName: python-objects
@ -10,23 +10,23 @@ dashedName: python-objects
## --text--
Which is NOT true about objects in Python?
Quale delle seguenti frasi NON è vera per gli oggetti in Python?
## --answers--
Objects get created and used.
Gli oggetti vengono creati e usati.
---
Objects are bits of code and data.
Gli oggetti sono fatti di codice e dati.
---
Objects hide detail.
Gli oggetti nascondono i dettagli.
---
Objects are one of the five standard data types.
Gli oggetti sono uno dei cinque tipi di dati standard.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f080b6c005b0e76f062
title: Reading Files
title: Leggere i file
challengeType: 11
videoId: Fo1tW09KIwo
dashedName: reading-files
@ -10,7 +10,7 @@ dashedName: reading-files
## --text--
What is used to indicate a new line in a string?
Che cosa si usa per indicare una nuova linea in una stringa?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f06f
title: 'Regular Expressions: Matching and Extracting Data'
title: 'Espressioni regolari: corrispondenza ed estrazione dei dati'
challengeType: 11
videoId: LaCZnTbQGkE
dashedName: regular-expressions-matching-and-extracting-data
@ -10,7 +10,7 @@ dashedName: regular-expressions-matching-and-extracting-data
## --text--
What will the following program print?:
Cosa scriverà il seguente programma?
```python
import re

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f070
title: 'Regular Expressions: Practical Applications'
title: 'Espressioni regolari: applicazioni pratiche'
challengeType: 11
videoId: xCjFU9G6x48
dashedName: regular-expressions-practical-applications
@ -10,7 +10,7 @@ dashedName: regular-expressions-practical-applications
## --text--
What will search for a "$" in a regular expression?
Come si cerca un "$" in un'espressione regolare?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f06e
title: Regular Expressions
title: Espressioni regolari
challengeType: 11
videoId: Yud_COr6pZo
dashedName: regular-expressions
@ -10,7 +10,7 @@ dashedName: regular-expressions
## --text--
Which regex matches only a white space character?
Quale espressione regolare corrisponde solo a un carattere di spazio bianco?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08c
title: Relational Database Design
title: Progettazione di database relazionali
challengeType: 11
videoId: AqdfbrpkbHk
dashedName: relational-database-design
@ -10,7 +10,7 @@ dashedName: relational-database-design
## --text--
What is the best practice for how many times a piece of string data should be stored in a database?
Qual è la migliore pratica per quante volte un pezzo di dati stringa dovrebbe essere memorizzato in un database?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f170b6c005b0e76f08a
title: Relational Databases and SQLite
title: Database relazionali e SQLite
challengeType: 11
videoId: QlNod5-kFpA
dashedName: relational-databases-and-sqlite
@ -10,7 +10,7 @@ dashedName: relational-databases-and-sqlite
## --text--
Which is NOT a primary data structure in a database?
Quale delle seguenti NON è una struttura di dati primaria in un database?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08f
title: 'Relational Databases: Join Operation'
title: 'Database Relazionali: operazione Join'
challengeType: 11
videoId: jvDw3D9GKac
dashedName: relational-databases-join-operation
@ -10,19 +10,19 @@ dashedName: relational-databases-join-operation
## --text--
When using a JOIN clause in an SQL statement, what does ON do?
Quando si utilizza una clausola JOIN in una dichiarazione SQL, cosa fa ON?
## --answers--
It indicates what tables to perform the JOIN on.
Indica su quali tabelle eseguire il JOIN.
---
It specifies the fields to use for the JOIN.
Specifica i campi da usare per il JOIN.
---
It indicates how the two tables are to be joined.
Indica come le due tabelle devono essere unite.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f190b6c005b0e76f090
title: 'Relational Databases: Many-to-many Relationships'
title: 'Database Relazionali: relazioni molti-a-molti'
challengeType: 11
videoId: z-SBYcvEQOc
dashedName: relational-databases-many-to-many-relationships
@ -8,39 +8,39 @@ dashedName: relational-databases-many-to-many-relationships
# --description--
More resources:
Altre risorse:
\- [Exercise: Email](https://www.youtube.com/watch?v=uQ3Qv1z_Vao)
\- [Esercizio: Email](https://www.youtube.com/watch?v=uQ3Qv1z_Vao)
\- [Exercise: Roster](https://www.youtube.com/watch?v=qEkUEAz8j3o)
\- [Esercizio: Roster](https://www.youtube.com/watch?v=qEkUEAz8j3o)
\- [Exercise: Tracks](https://www.youtube.com/watch?v=I-E7avcPeSE)
\- [Esercizio: Tracce](https://www.youtube.com/watch?v=I-E7avcPeSE)
\- [Exercise: Twfriends](https://www.youtube.com/watch?v=RZRAoBFIH6A)
\- [Esercizio: Twfriends](https://www.youtube.com/watch?v=RZRAoBFIH6A)
\- [Exercise: Twspider](https://www.youtube.com/watch?v=xBaJddvJL4A)
\- [Esercizio: Twspider](https://www.youtube.com/watch?v=xBaJddvJL4A)
# --question--
## --text--
Which is an example of a many-to-many relationship?
Qual è un esempio di una relazione molti a molti?
## --answers--
teacher to student
insegnante a studente
---
customer to order
cliente a ordine
---
book to pages
libro a pagine
---
city to country
città a paese
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08e
title: 'Relational Databases: Relationship Building'
title: 'Database relazionali: costruzione delle relazioni'
challengeType: 11
videoId: CSbqczsHVnc
dashedName: relational-databases-relationship-building
@ -10,19 +10,19 @@ dashedName: relational-databases-relationship-building
## --text--
What does the INSERT command do in SQL?
Cosa fa il comando INSERT in SQL?
## --answers--
It defines a new row by listing the fields we want to include followed by the values we want placed in the new row.
Definisce una nuova riga elencando i campi che vogliamo includere seguiti dai valori che vogliamo inserire nella nuova riga.
---
It defines a new column by listing the rows we want to include followed by the values we want placed in the new column.
Definisce una nuova colonna elencando le righe che vogliamo includere seguite dai valori che vogliamo inserire nella nuova colonna.
---
It defines a new table by listing the rows and fields we want to include followed by the values that we want placed in the table.
Definisce una nuova tabella elencando le righe e i campi che vogliamo includere seguiti dai valori che vogliamo inserire nella tabella.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08d
title: Representing Relationships in a Relational Database
title: Rappresentare le relazioni in un database relazionale
challengeType: 11
videoId: '-orenCNdC2Q'
dashedName: representing-relationships-in-a-relational-database
@ -10,23 +10,23 @@ dashedName: representing-relationships-in-a-relational-database
## --text--
What is a foreign key?
Cos'è una foreign key?
## --answers--
A key that is not supposed to be there.
Una chiave che non dovrebbe essere lì.
---
A key that uses non-latin characters.
Una chiave che utilizza caratteri non latini.
---
A number that points to the primary key of an associated row in a different table.
Un numero che punta alla chiave primaria di una riga associata in una tabella diversa.
---
A key that the "real world" might use to look up a row.
Una chiave che il "mondo reale" potrebbe usare per cercare una riga.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f066
title: Strings and Lists
title: Stringhe e liste
challengeType: 11
videoId: lxcFa7ldCi0
dashedName: strings-and-lists
@ -8,15 +8,15 @@ dashedName: strings-and-lists
# --description--
More resources:
Altre risorse:
\- [Exercise](https://www.youtube.com/watch?v=-9TfJF2dwHI)
\- [Esercizio](https://www.youtube.com/watch?v=-9TfJF2dwHI)
# --question--
## --text--
What does n equal in this code?
Quanto vale n in questo codice?
```python
words = 'His e-mail is q-lar@freecodecamp.org'

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f070b6c005b0e76f060
title: Strings in Python
title: Stringhe in Python
challengeType: 11
videoId: LYZj207fKpQ
dashedName: strings-in-python
@ -10,7 +10,7 @@ dashedName: strings-in-python
## --text--
What will the following code print?:
Cosa scriverà il seguente codice?
```python
for n in "banana":

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0a0b6c005b0e76f06c
title: The Tuples Collection
title: La collezione di tuple
challengeType: 11
videoId: 3Lxpladfh2k
dashedName: the-tuples-collection
@ -10,7 +10,7 @@ dashedName: the-tuples-collection
## --text--
What will the following code print?:
Cosa scriverà il seguente codice?
```python
d = dict()

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07a
title: Using Web Services
title: Usare i servizi web
challengeType: 11
videoId: oNl1OVDPGKE
dashedName: using-web-services
@ -10,27 +10,27 @@ dashedName: using-web-services
## --text--
What are the two most common ways to send data over the internet?
Quali sono i due modi più comuni per inviare dati su Internet?
## --answers--
JSON and TXT
JSON e TXT
---
JSON and XML
JSON e XML
---
XML and TXT
XML e TXT
---
XML and PHP
XML e PHP
---
PHP and TXT
PHP e TXT
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f050b6c005b0e76f056
title: 'Variables, Expressions, and Statements'
title: 'Variabili, espressioni e istruzioni'
challengeType: 11
videoId: nELR-uyyrok
dashedName: variables-expressions-and-statements
@ -10,7 +10,7 @@ dashedName: variables-expressions-and-statements
## --text--
What is the symbol used in an assignment statement?
Qual è il simbolo usato in un'istruzione di assegnazione?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f690b6c005b0e76f095
title: Visualizing Data with Python
title: Visualizzare i dati con Python
challengeType: 11
videoId: e3lydkH0prw
dashedName: visualizing-data-with-python
@ -10,27 +10,27 @@ dashedName: visualizing-data-with-python
## --text--
Most data needs to be \_\_\_\_\_\_ before using it.
La maggior parte dei dati deve essere \_\_\_\_\_\_ prima dell'uso.
## --answers--
converted to JSON format
convertita in formato JSON
---
graphed
graficata
---
cleaned
pulita
---
memorized
memorizzata
---
turned into song
convertita in un brano
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f150b6c005b0e76f080
title: 'Web Services: API Rate Limiting and Security'
title: 'Servizi Web: limitazione delle richieste API e sicurezza'
challengeType: 11
videoId: pI-g0lI8ngs
dashedName: web-services-api-rate-limiting-and-security
@ -8,37 +8,37 @@ dashedName: web-services-api-rate-limiting-and-security
# --description--
More resources:
Altre risorse:
\- [Exercise: GeoJSON](https://www.youtube.com/watch?v=TJGJN0T8tak)
\- [Esercizio: GeoJSON](https://www.youtube.com/watch?v=TJGJN0T8tak)
\- [Exercise: JSON](https://www.youtube.com/watch?v=vTmw5RtfGMY)
\- [Esercizio: JSON](https://www.youtube.com/watch?v=vTmw5RtfGMY)
\- [Exercise: Twitter](https://www.youtube.com/watch?v=2c7YwhvpCro)
\- [Esercizio: Twitter](https://www.youtube.com/watch?v=2c7YwhvpCro)
\- [Exercise: XML](https://www.youtube.com/watch?v=AopYOlDa-vY)
\- [Esercizio: XML](https://www.youtube.com/watch?v=AopYOlDa-vY)
# --question--
## --text--
When making a request from the Twitter API, what information must always be sent with the request?
Quando si fa una richiesta dall'API Twitter, quali informazioni devono essere sempre inviate con la richiesta?
## --answers--
Twitter username
Nome utente Twitter
---
date range
intervallo di date
---
search term
termine di ricerca
---
key
chiave
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f150b6c005b0e76f07f
title: 'Web Services: APIs'
title: 'Servizi Web: API'
challengeType: 11
videoId: oUNn1psfBJg
dashedName: web-services-apis
@ -10,7 +10,7 @@ dashedName: web-services-apis
## --text--
What does API stand for?
Cosa significa API?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f140b6c005b0e76f07d
title: 'Web Services: JSON'
title: 'Servizi Web: JSON'
challengeType: 11
videoId: ZJE-U56BppM
dashedName: web-services-json
@ -10,7 +10,7 @@ dashedName: web-services-json
## --text--
What will the following code print?:
Cosa scriverà il seguente codice?
```python
import json

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f140b6c005b0e76f07e
title: 'Web Services: Service Oriented Approach'
title: 'Servizi Web: approccio orientato ai servizi'
challengeType: 11
videoId: muerlsCHExI
dashedName: web-services-service-oriented-approach
@ -10,19 +10,19 @@ dashedName: web-services-service-oriented-approach
## --text--
With a services oriented approach to developing web apps, where is the data located?
Con un approccio per lo sviluppo di applicazioni web orientato ai servizi, dove si trovano i dati?
## --answers--
Spread across many computer systems connected via the internet or internal network.
Distribuiti in molti sistemi informatici collegati via Internet o nella rete interna.
---
Within different services on the main web server.
All'interno di diversi servizi sul server web principale.
---
On a separate database server.
Su un server di database separato.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07c
title: 'Web Services: XML Schema'
title: 'Servizi Web: Schema XML'
challengeType: 11
videoId: yWU9kTxW-nc
dashedName: web-services-xml-schema
@ -10,15 +10,15 @@ dashedName: web-services-xml-schema
## --text--
What is XSD?
Che cosè XSD?
## --answers--
The W3C Schema specification for XML.
La specifica di schema W3C per XML.
---
The standard JSON schema from MOZ.
Lo schema standard JSON da MOZ.
---

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07b
title: 'Web Services: XML'
title: 'Servizi Web: XML'
challengeType: 11
videoId: _pZ0srbg7So
dashedName: web-services-xml
@ -10,7 +10,7 @@ dashedName: web-services-xml
## --text--
What is wrong with the following XML?:
Cosa c'è di sbagliato nel seguente XML?:
```xml
<person>
@ -23,19 +23,19 @@ What is wrong with the following XML?:
## --answers--
Email tag is missing closing tag.
Tag di chiusura dell'email mancante.
---
Spacing will cause XML to be invalid.
La spaziatura causerà l'invalidità dell'XML.
---
Phone tag is missing closing tag.
Tag di chiusura del telefono mancante.
---
Plain text should be encoded using UTF-8.
Il testo semplice dovrebbe essere codificato usando UTF-8.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f065
title: Working with Lists
title: Lavorare con le liste
challengeType: 11
videoId: lCnHfTHkhbE
dashedName: working-with-lists
@ -10,7 +10,7 @@ dashedName: working-with-lists
## --text--
Which method is used to add an item at the end of a list?
Quale metodo viene utilizzato per aggiungere un elemento alla fine di una lista?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e44412c903586ffb414c94c
title: Arithmetic Formatter
title: Formattatore aritmetico
challengeType: 10
forumTopicId: 462359
dashedName: arithmetic-formatter
@ -8,25 +8,25 @@ dashedName: arithmetic-formatter
# --description--
Create a function that receives a list of strings that are arithmetic problems and returns the problems arranged vertically and side-by-side.
Crea una funzione che riceve una lista di stringhe che sono problemi aritmetici e restituisce i problemi disposti verticalmente e fianco a fianco.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-arithmetic-formatter).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-arithmetic-formatter).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you everything you need to know to complete this project:
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di Python. Per ora, ecco alcuni video sul canale YouTube di freeCodeCamp.org che ti insegneranno tutto quello che devi sapere per completare questo progetto:
<ul> <li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Video corso Python for Everybody</a> (14 ore)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Video corso Learn Python</a> (2 ore)
</li>
<ul>
# --hints--
It should correctly format an arithmetic problem and pass all tests.
Dovrebbe formattare correttamente un problema aritmetico e superare tutti i test.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e44413e903586ffb414c94e
title: Budget App
title: App per il budget
challengeType: 10
forumTopicId: 462361
dashedName: budget-app
@ -8,26 +8,26 @@ dashedName: budget-app
# --description--
Create a "Category" class that can be used to create different budget categories.
Crea una classe "Category" che possa essere utilizzata per creare diverse categorie di budget.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-budget-app).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-budget-app).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you everything you need to know to complete this project:
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di Python. Per ora, ecco alcuni video sul canale YouTube di freeCodeCamp.org che ti insegneranno tutto quello che devi sapere per completare questo progetto:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Video corso Python for Everybody</a> (14 ore)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Video corso Learn Python</a> (2 ore)
</li>
</ul>
# --hints--
It should create a Category class and pass all tests.
Dovrebbe creare una classe Category e superare tutti i test.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e444147903586ffb414c94f
title: Polygon Area Calculator
title: Calcolatore dell'area dei poligoni
challengeType: 10
forumTopicId: 462363
dashedName: polygon-area-calculator
@ -8,26 +8,26 @@ dashedName: polygon-area-calculator
# --description--
In this project you will use object oriented programming to create a Rectangle class and a Square class. The Square class should be a subclass of Rectangle and inherit methods and attributes.
In questo progetto utilizzerai la programmazione orientata agli oggetti per creare una classe Rettangolo (Rectangle) e una classe Quadrato (Square). La classe Square dovrebbe essere una sottoclasse di Rectangle ed ereditare metodi ed attributi.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-polygon-area-calculator).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-polygon-area-calculator).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you everything you need to know to complete this project:
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di Python. Per ora, ecco alcuni video sul canale YouTube di freeCodeCamp.org che ti insegneranno tutto quello che devi sapere per completare questo progetto:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Video corso Python for Everybody</a> (14 ore)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Video corso Learn Python</a> (2 ore)
</li>
</ul>
# --hints--
It should create a Rectangle class and Square class and pass all tests.
Dovrebbe creare una classe Rectangle e una classe Square e superare tutti i test.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e44414f903586ffb414c950
title: Probability Calculator
title: Calcolatore delle probabilità
challengeType: 10
forumTopicId: 462364
dashedName: probability-calculator
@ -8,24 +8,24 @@ dashedName: probability-calculator
# --description--
Write a program to determine the approximate probability of drawing certain balls randomly from a hat.
Scrivi un programma per determinare la probabilità approssimativa di estrarre certe palle in modo casuale da un cappello.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-probability-calculator). After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-probability-calculator). Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you everything you need to know to complete this project:
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di Python. Per ora, ecco alcuni video sul canale YouTube di freeCodeCamp.org che ti insegneranno tutto quello che devi sapere per completare questo progetto:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Video corso Python for Everybody</a> (14 ore)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Video corso Learn Python</a> (2 ore)
</li>
</ul>
# --hints--
It should correctly calculate probabilities and pass all tests.
Dovrebbe calcolare correttamente le probabilità e superare tutti i test.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e444136903586ffb414c94d
title: Time Calculator
title: Calcolatore di tempi
challengeType: 10
forumTopicId: 462360
dashedName: time-calculator
@ -8,24 +8,24 @@ dashedName: time-calculator
# --description--
Write a function named "add_time" that can add a duration to a start time and return the result.
Scrivi una funzione denominata "add_time" che possa aggiungere una durata ad un orario di inizio e restituisca il risultato.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-time-calculator). After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-time-calculator). Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you everything you need to know to complete this project:
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di Python. Per ora, ecco alcuni video sul canale YouTube di freeCodeCamp.org che ti insegneranno tutto quello che devi sapere per completare questo progetto:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Video corso Python for Everybody</a> (14 ore)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Video corso Learn Python</a> (2 ore)
</li>
</ul>
# --hints--
It should correctly add times and pass all tests.
Dovrebbe sommare correttamente dei tempi e superare tutti i test.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c14d
title: Data Analysis Example A
title: Esempio A di analisi dei dati
challengeType: 11
videoId: nVAaxZ34khk
dashedName: data-analysis-example-a
@ -8,34 +8,34 @@ dashedName: data-analysis-example-a
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What does the shape of our dataframe tell us?
Cosa ci dice il profilo (shape) del nostro dataframe?
## --answers--
The size in gigabytes the dataframe we loaded into memory is.
La dimensione in gigabyte del dataframe che abbiamo caricato in memoria.
---
How many rows and columns our dataframe has.
Quante righe e colonne ha il nostro database.
---
How many rows the source data had before loading.
Quante righe aveva la sorgente dei dati prima del caricamento.
---
How many columns the source data had before loading.
Quante colonne aveva la sorgente dei dati prima del caricamento.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c14e
title: Data Analysis Example B
title: Esempio B di analisi dei dati
challengeType: 11
videoId: 0kJz0q0pvgQ
dashedName: data-analysis-example-b
@ -8,30 +8,30 @@ dashedName: data-analysis-example-b
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What does the `loc` method allow you to do?
Cosa ti permette di fare il metodo `loc`?
## --answers--
Retrieve a subset of rows and columns by supplying integer-location arguments.
Recuperare un sottoinsieme di righe e colonne fornendo argomenti interi di localizzazione.
---
Access a group of rows and columns by supplying label(s) arguments.
Accedere a un gruppo di righe e colonne fornendo argomenti di etichetta.
---
Returns the first `n` rows based on the integer argument supplied.
Restituisce le prime `n` righe basate sull'argomento intero fornito.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c160
title: Data Cleaning and Visualizations
title: Pulizia e visualizzazione dei dati
challengeType: 11
videoId: mHjxzFS5_Z0
dashedName: data-cleaning-and-visualizations
@ -8,18 +8,18 @@ dashedName: data-cleaning-and-visualizations
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
When using Matplotlib's global API, what does the order of numbers mean here?
Quando si utilizza l'API globale di Matplotlib, cosa significa l'ordine dei numeri?
```py
plt.subplot(1, 2, 1)
@ -27,15 +27,15 @@ plt.subplot(1, 2, 1)
## --answers--
My figure will have one column, two rows, and I am going to start drawing in the first (left) plot.
La mia figura avrà una colonna, due righe, e sto per iniziare a disegnare nel primo grafico (a sinistra).
---
I am going to start drawing in the first (left) plot, my figure will have two rows, and my figure will have one column.
Inizierò a disegnare nel primo grafico (a sinistra), la mia figura avrà due righe, e la mia figura avrà una colonna.
---
My figure will have one row, two columns, and I am going to start drawing in the first (left) plot.
La mia figura avrà una riga, due colonne, e sto per iniziare a disegnare nel primo grafico (a sinistra).
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c15f
title: Data Cleaning Duplicates
title: Pulizia di dati duplicati
challengeType: 11
videoId: kj7QqjXhH6A
dashedName: data-cleaning-duplicates
@ -8,30 +8,30 @@ dashedName: data-cleaning-duplicates
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
The Python method `.duplicated()` returns a boolean Series for your DataFrame. `True` is the return value for rows that:
Il metodo di Python `.duplicated()` restituisce una serie booleana per il tuo DataFrame. `True` è restuito per righe che:
## --answers--
contain a duplicate, where the value for the row contains the first occurrence of that value.
contengono un duplicato, dove il valore della riga contiene la prima occorrenza del valore.
---
contain a duplicate, where the value for the row is at least the second occurrence of that value.
contengono un duplicato, dove il valore per quella riga è almeno la seconda occorrenza di quel valore.
---
contain a duplicate, where the value for the row contains either the first or second occurrence.
contengono un duplicato, dove il valore per quella riga è la prima oppure la seconda occorrenza.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c15d
title: Data Cleaning Introduction
title: Introduzione alla pulizia dei dati
challengeType: 11
videoId: ovYNhnltVxY
dashedName: data-cleaning-introduction
@ -8,18 +8,18 @@ dashedName: data-cleaning-introduction
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What will the following code print out?
Cosa verrà visualizzato nella console con il seguente codice?
```py
import pandas as pd

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c15e
title: Data Cleaning with DataFrames
title: Pulizia dati con DataFrames
challengeType: 11
videoId: sTMN_pdI6S0
dashedName: data-cleaning-with-dataframes
@ -8,18 +8,18 @@ dashedName: data-cleaning-with-dataframes
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What will the following code print out?
Cosa verrà visualizzato nella console con il seguente codice?
```py
import pandas as pd

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c14f
title: How to use Jupyter Notebooks Intro
title: Introduzione all'uso di Jupyter Notebooks
challengeType: 11
videoId: h8caJq2Bb9w
dashedName: how-to-use-jupyter-notebooks-intro
@ -8,18 +8,18 @@ dashedName: how-to-use-jupyter-notebooks-intro
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/ds-content-interactive-jupyterlab-tutorial)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/ds-content-interactive-jupyterlab-tutorial)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What is **not** allowed in a Jupyter Notebook's cell?
Cosa **non** è permesso in una cella di un Jupyter Notebook?
## --answers--
@ -27,11 +27,11 @@ Markdown
---
Python code
Codice Python
---
An Excel sheet
Un foglio Excel
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c150
title: Jupyter Notebooks Cells
title: Celle di Jupyter Notebook
challengeType: 11
videoId: 5PPegAs9aLA
dashedName: jupyter-notebooks-cells
@ -8,30 +8,30 @@ dashedName: jupyter-notebooks-cells
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/ds-content-interactive-jupyterlab-tutorial)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/ds-content-interactive-jupyterlab-tutorial)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What are the three main types of Jupyter Notebook Cell?
Quali sono i tre tipi principali di celle dei Jupyter Notebook?
## --answers--
Code, Markdown, and Python
Codice, Markdown e Python
---
Code, Markdown, and Raw
Codice, Markdown e output diretto (raw)
---
Markdown, Python, and Raw
Markdown, Python, e output diretto (raw)
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c151
title: Jupyter Notebooks Importing and Exporting Data
title: Importare ed esportare dati usando Jupyter Notebook
challengeType: 11
videoId: k1msxD3JIxE
dashedName: jupyter-notebooks-importing-and-exporting-data
@ -8,38 +8,38 @@ dashedName: jupyter-notebooks-importing-and-exporting-data
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/ds-content-interactive-jupyterlab-tutorial)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/ds-content-interactive-jupyterlab-tutorial)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What kind of data can you import and work with in a Jupyter Notebook?
Che tipo di dati puoi importare e elaborare in un notebook Jupyter?
## --answers--
Excel files.
File Excel.
---
CSV files.
File CSV.
---
XML files.
File XML.
---
Data from an API.
Dati da un'API.
---
All of the above.
Tutti i precedenti.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c155
title: Numpy Operations
title: Operazioni con Numpy
challengeType: 11
videoId: eqSVcJbaPdk
dashedName: numpy-operations
@ -8,18 +8,18 @@ dashedName: numpy-operations
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-numpy)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-numpy)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What is the value of `a` after you run the following code?
Qual è il valore di `a` dopo aver eseguito il seguente codice?
```py
a = np.arange(5)

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c15a
title: Pandas DataFrames
title: I DataFrame di Panda
challengeType: 11
videoId: 7SgFBYXaiH0
dashedName: pandas-dataframes
@ -8,18 +8,18 @@ dashedName: pandas-dataframes
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-pandas)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-pandas)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What will the following code print out?
Cosa verrà visualizzato nella console con il seguente codice?
```py
import pandas as pd

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c158
title: Pandas Introduction
title: Introduzione a Pandas
challengeType: 11
videoId: 0xACW-8cZU0
dashedName: pandas-introduction
@ -8,18 +8,18 @@ dashedName: pandas-introduction
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-pandas)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-pandas)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What will the following code print out?
Cosa verrà visualizzato nella console con il seguente codice?
```py
import pandas as pd

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c164
title: Parsing HTML and Saving Data
title: Analisi HTML e salvataggio dei dati
challengeType: 11
videoId: bJaqnTWQmb0
dashedName: parsing-html-and-saving-data
@ -8,18 +8,18 @@ dashedName: parsing-html-and-saving-data
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/RDP-Reading-Data-with-Python-and-Pandas/tree/master/unit-1-reading-data-with-python-and-pandas/lesson-17-reading-html-tables/files)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/RDP-Reading-Data-with-Python-and-Pandas/tree/master/unit-1-reading-data-with-python-and-pandas/lesson-17-reading-html-tables/files)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What Python library has the `.read_html()` method we can we use for parsing HTML documents and extracting tables?
Quale libreria di Python ha un metodo `.read_html()` che possiamo usare per analizzare documenti HTML ed estrarre tabelle?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c166
title: Python Functions and Collections
title: Funzioni e collezioni di Python
challengeType: 11
videoId: NzpU17ZVlUw
dashedName: python-functions-and-collections
@ -8,30 +8,30 @@ dashedName: python-functions-and-collections
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/ds-content-python-under-10-minutes)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/ds-content-python-under-10-minutes)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
What is the main difference between lists and tuples in Python?
Quale è la principale differenza tra liste e tuple in Python?
## --answers--
Tuples are immutable.
Le tuple sono immutabili.
---
Lists are ordered.
Le liste sono ordinate.
---
Tuples are unordered.
Le tuple non sono ordinate.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c165
title: Python Introduction
title: Introduzione a Python
challengeType: 11
videoId: PrQV9JkLhb4
dashedName: python-introduction
@ -8,34 +8,34 @@ dashedName: python-introduction
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/ds-content-python-under-10-minutes)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/ds-content-python-under-10-minutes)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
How do we define blocks of code in the body of functions in Python?
Come definiamo blocchi di codice nel corpo di una funzione in Python?
## --answers--
We use a set of curly braces, one on either side of each new block of our code.
Usiamo una coppia di parentesi graffe, una da ogni lato di un nuovo blocco di codice.
---
We use indentation, usually right-aligned 4 spaces.
Usiamo l'indentazione, in genere quattro spazi a sinistra della riga.
---
We do not denote blocks of code.
Non si possono definire blocchi di codice.
---
We could use curly braces or indentation to denote blocks of code.
Possiamo usare o le parentesi graffe o l'indentazione.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c167
title: Python Iteration and Modules
title: Iterazione e moduli in Python
challengeType: 11
videoId: XzosGWLafrY
dashedName: python-iteration-and-modules
@ -8,18 +8,18 @@ dashedName: python-iteration-and-modules
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/ds-content-python-under-10-minutes)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/ds-content-python-under-10-minutes)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
How would you iterate over and print the keys and values of a dictionary named `user`?
Come faresti per iterare su un dizionario chiamato `user` e scrivere nella console le sue chiavi e valori?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e9a093a74c4063ca6f7c161
title: Reading Data Introduction
title: Introduzione alla lettura dei dati
challengeType: 11
videoId: cDnt02BcHng
dashedName: reading-data-introduction
@ -8,18 +8,18 @@ dashedName: reading-data-introduction
# --description--
*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
*Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.*
More resources:
Altre risorse:
- [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/RDP-Reading-Data-with-Python-and-Pandas/tree/master/unit-1-reading-data-with-python-and-pandas/lesson-1-reading-csv-and-txt-files/files)
- [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/RDP-Reading-Data-with-Python-and-Pandas/tree/master/unit-1-reading-data-with-python-and-pandas/lesson-1-reading-csv-and-txt-files/files)
- [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
Given a file named `certificates.csv` with these contents:
Dato un file chiamato `certificates.csv` con questi contenuti:
<pre>
Name$Certificates$Time (in months)
@ -29,7 +29,7 @@ Ahmad$5$9
Beau$6$12
</pre>
Fill in the blanks for the missing arguments below:
Riempi gli spazi vuoti per gli argomenti mancanti qui sotto:
```py
import csv

View File

@ -1,6 +1,6 @@
---
id: 5e46f7e5ac417301a38fb929
title: Demographic Data Analyzer
title: Analizzatore di dati demografici
challengeType: 10
forumTopicId: 462367
dashedName: demographic-data-analyzer
@ -8,17 +8,17 @@ dashedName: demographic-data-analyzer
# --description--
In this challenge you must analyze demographic data using Pandas. You are given a dataset of demographic data that was extracted from the 1994 Census database.
In questa sfida è necessario analizzare i dati demografici utilizzando Pandas. Ti viene fornito un insieme di dati demografici estratti dalla banca dati del Census del 1994.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-demographic-data-analyzer).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-demographic-data-analyzer).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the data analysis with Python curriculum. For now, you will have to use other resources to learn how to pass this challenge.
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di analisi dei dati con Python. Per ora, dovrai utilizzare altre risorse per imparare a superare questa sfida.
# --hints--
It should pass all Python tests.
Dovrebbe superare tutti i test Python.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e46f7e5ac417301a38fb928
title: Mean-Variance-Standard Deviation Calculator
title: Calcolatore della Varianza, Media e Deviazione Standard
challengeType: 10
forumTopicId: 462366
dashedName: mean-variance-standard-deviation-calculator
@ -8,17 +8,17 @@ dashedName: mean-variance-standard-deviation-calculator
# --description--
Create a function that uses Numpy to output the mean, variance, and standard deviation of the rows, columns, and elements in a 3 x 3 matrix.
Crea una funzione che usa Numpy per calcolare la media, varianza e deviazione standard delle righe, colonne ed elementi in una matrice 3 x 3.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-mean-variance-standard-deviation-calculator).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-mean-variance-standard-deviation-calculator).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the data analysis with Python curriculum. For now, you will have to use other resources to learn how to pass this challenge.
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di analisi dei dati con Python. Per ora, dovrai utilizzare altre risorse per imparare a superare questa sfida.
# --hints--
It should pass all Python tests.
Dovrebbe superare tutti i test Python.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e46f7f8ac417301a38fb92a
title: Medical Data Visualizer
title: Visualizzatore di Dati Medici
challengeType: 10
forumTopicId: 462368
dashedName: medical-data-visualizer
@ -8,17 +8,17 @@ dashedName: medical-data-visualizer
# --description--
In this project, you will visualize and make calculations from medical examination data using matplotlib, seaborn, and pandas.
In questo progetto visualizzerai e farai calcoli relativi ai dati di esami medici usando matplotlib, seaborn, e pandas.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-medical-data-visualizer).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-medical-data-visualizer).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the data analysis with Python curriculum. For now, you will have to use other resources to learn how to pass this challenge.
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di analisi dei dati con Python. Per ora, dovrai utilizzare altre risorse per imparare a superare questa sfida.
# --hints--
It should pass all Python tests.
Dovrebbe superare tutti i test Python.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e4f5c4b570f7e3a4949899f
title: Sea Level Predictor
title: Predittore del livello del mare
challengeType: 10
forumTopicId: 462370
dashedName: sea-level-predictor
@ -8,17 +8,17 @@ dashedName: sea-level-predictor
# --description--
In this project, you will analyze a dataset of the global average sea level change since 1880. You will use the data to predict the sea level change through year 2050.
In questo progetto, analizzerai un set di dati del cambiamento del livello medio globale del mare dal 1880. Userai i dati per predire il cambiamento del livello del mare fino all'anno 2050 incluso.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-sea-level-predictor).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-sea-level-predictor).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the data analysis with Python curriculum. For now, you will have to use other resources to learn how to pass this challenge.
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di analisi dei dati con Python. Per ora, dovrai utilizzare altre risorse per imparare a superare questa sfida.
# --hints--
It should pass all Python tests.
Dovrebbe superare tutti i test Python.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e9a0a8e09c5df3cc3600ed4
title: 'Accessing and Changing Elements, Rows, Columns'
title: 'Accedere e cambiare elementi, righe, colonne'
challengeType: 11
videoId: v-7Y7koJ_N0
dashedName: accessing-and-changing-elements-rows-columns
@ -10,7 +10,7 @@ dashedName: accessing-and-changing-elements-rows-columns
## --text--
What code would change the values in the 3rd column of both of the following Numpy arrays to 20?
Quale codice imposterebbe a 20 il valore della terza colonna per entrambi i seguenti array Numpy?
```py
a = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])

View File

@ -1,6 +1,6 @@
---
id: 5e9a0a8e09c5df3cc3600ed7
title: Copying Arrays Warning
title: Avvertenze sulla copia di array
challengeType: 11
videoId: iIoQ0_L0GvA
dashedName: copying-arrays-warning
@ -10,7 +10,7 @@ dashedName: copying-arrays-warning
## --text--
What is the value of `a` after running the following code?
Qual è il valore di `a` dopo aver eseguito il seguente codice?
```py
import numpy as np

View File

@ -1,6 +1,6 @@
---
id: 5e9a0a8e09c5df3cc3600ed6
title: Initialize Array Problem
title: Problema di inizializzazione degli array
challengeType: 11
videoId: 0jGfH8BPfOk
dashedName: initialize-array-problem
@ -10,7 +10,7 @@ dashedName: initialize-array-problem
## --text--
What is another way to produce the following array?
Qual è un altro modo di produrre il seguente array?
```py
[[0. 0. 0. 0. 0. 0. 0.]

View File

@ -1,6 +1,6 @@
---
id: 5e9a0a8e09c5df3cc3600ed5
title: Initializing Different Arrays
title: Inizializzazione di diversi array
challengeType: 11
videoId: CEykdsKT4U4
dashedName: initializing-different-arrays
@ -10,7 +10,7 @@ dashedName: initializing-different-arrays
## --text--
What will the following code print?
Cosa scriverà il seguente codice?
```py
a = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])

View File

@ -1,6 +1,6 @@
---
id: 5e9a0a8e09c5df3cc3600eda
title: Loading Data and Advanced Indexing
title: Caricamento dei dati e indicizzazione avanzata
challengeType: 11
videoId: tUdBZ7pF8Jg
dashedName: loading-data-and-advanced-indexing
@ -10,14 +10,14 @@ dashedName: loading-data-and-advanced-indexing
## --text--
Given a file named `data.txt` with these contents:
Dato un file chiamato `data.txt` con questi contenuti:
<pre>
29,97,32,100,45
15,88,5,75,22
</pre>
What code would produce the following array?
Quale codice produrrebbe il seguente array?
```py
[29. 32. 45. 15. 5. 22.]

View File

@ -1,6 +1,6 @@
---
id: 5e9a0a8e09c5df3cc3600ed2
title: What is NumPy
title: Che cosè NumPy
challengeType: 11
videoId: 5Nwfs5Ej85Q
dashedName: what-is-numpy
@ -10,23 +10,23 @@ dashedName: what-is-numpy
## --text--
Why are Numpy arrays faster than regular Python lists?
Perché gli array Numpy sono più veloci delle normali liste Python?
## --answers--
Numpy does not perform type checking while iterating through objects.
Numpy non esegue il controllo del tipo durante l'iterazione attraverso gli oggetti.
---
Numpy uses fixed types.
Numpy utilizza tipi fissi.
---
Numpy uses contiguous memory.
Numpy utilizza memoria contigua.
---
All of the above.
Tutti i precedenti.
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 587d824a367417b2b2512c45
title: Anonymous Message Board
title: Bacheca anonima
challengeType: 4
forumTopicId: 301568
dashedName: anonymous-message-board
@ -8,38 +8,38 @@ dashedName: anonymous-message-board
# --description--
Build a full stack JavaScript app that is functionally similar to this: <https://anonymous-message-board.freecodecamp.rocks/>.
Costruisci un'app JavaScript full-stack che sia funzionalmente simile a questa: <https://anonymous-message-board.freecodecamp.rocks/>.
Working on this project will involve you writing your code using one of the following methods:
Lavorare su questo progetto ti porterà a scrivere il tuo codice utilizzando uno dei seguenti metodi:
- Clone [this GitHub repo](https://github.com/freeCodeCamp/boilerplate-project-messageboard/) and complete your project locally.
- Use [our Replit starter project](https://replit.com/github/freeCodeCamp/boilerplate-project-messageboard) to complete your project.
- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
- Clonare [questo repository GitHub](https://github.com/freeCodeCamp/boilerplate-project-messageboard/) e completare il tuo progetto localmente.
- Usare [la nostra bozza di progetto su Replit](https://replit.com/github/freeCodeCamp/boilerplate-project-messageboard) per completare il tuo progetto.
- Usare un costruttore di siti a tua scelta per completare il progetto. Assicurati di incorporare tutti i file del nostro repository GitHub.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your projects source code in the `GitHub Link` field.
Quando hai finito, assicurati che una demo funzionante del tuo progetto sia ospitata in qualche percorso pubblico. Quindi invia l'URL nel campo `Solution Link`. Facoltativamente, invia anche un link al codice sorgente dei tuoi progetti nel campo `GitHub Link`.
# --instructions--
1. Set `NODE_ENV` to test without quotes when ready to write tests and DB to your databases connection string (in `.env`)
2. Recommended to create controllers/handlers and handle routing in `routes/api.js`
3. You will add any security features to `server.js`
1. Imposta `NODE_ENV` a test senza virgolette quando sei pronto a scrivere i test, e DB alla stringa di connessione ai database (in `.env`)
2. Consigliamo di creare i controllers/handlers e gestire il routing in `routes/api.js`
3. Aggiungerai tutte le funzionalità di sicurezza a `server.js`
Write the following tests in `tests/2_functional-tests.js`:
Scrivi i seguenti test in `tests/2_functional-tests.js`:
- Creating a new thread: POST request to `/api/threads/{board}`
- Viewing the 10 most recent threads with 3 replies each: GET request to `/api/threads/{board}`
- Deleting a thread with the incorrect password: DELETE request to `/api/threads/{board}` with an invalid `delete_password`
- Deleting a thread with the correct password: DELETE request to `/api/threads/{board}` with a valid `delete_password`
- Reporting a thread: PUT request to `/api/threads/{board}`
- Creating a new reply: POST request to `/api/replies/{board}`
- Viewing a single thread with all replies: GET request to `/api/replies/{board}`
- Deleting a reply with the incorrect password: DELETE request to `/api/replies/{board}` with an invalid `delete_password`
- Deleting a reply with the correct password: DELETE request to `/api/replies/{board}` with a valid `delete_password`
- Reporting a reply: PUT request to `/api/replies/{board}`
- Creazione di un nuovo thread: richiesta POST a `/api/threads/{board}`
- Visualizzazione delle 10 conversazioni più recenti con 3 risposte ciascuna: richiesta GET a `/api/threads/{board}`
- Eliminazione di una discussione con password errata: richiesta DELETE a `/api/threads/{board}` con una `delete_password` non valida
- Eliminazione di una discussione con password corretta: richiesta DELETE a `/api/threads/{board}` con una `delete_password` valida
- Segnalazione di un thread: richiesta PUT a `/api/threads/{board}`
- Creazione di una nuova risposta: richiesta POST a `/api/replies/{board}`
- Visualizzazione di un singolo thread con tutte le risposte: richiesta GET a `/api/replies/{board}`
- Eliminazione di una risposta con la password errata: richiesta DELETE a `/api/replies/{board}` con una `delete_password` non valida
- Eliminazione di una risposta con la password corretta: richiesta DELETE a `/api/replies/{board}` con una `delete_password` valida
- Segnalare una risposta: richiesta PUT a `/api/replies/{board}`
# --hints--
You can provide your own project, not the example URL.
È necessario fornire il proprio progetto, non l'URL di esempio.
```js
(getUserInput) => {
@ -51,7 +51,7 @@ You can provide your own project, not the example URL.
};
```
Only allow your site to be loaded in an iFrame on your own pages.
Consenti solo al tuo sito di essere caricato in un iFrame sulle tue pagine.
```js
async (getUserInput) => {
@ -61,7 +61,7 @@ async (getUserInput) => {
};
```
Do not allow DNS prefetching.
Non consentire il precaricamento DNS.
```js
async (getUserInput) => {
@ -71,7 +71,7 @@ async (getUserInput) => {
};
```
Only allow your site to send the referrer for your own pages.
Permetti solo al tuo sito di inviare il referrer per le tue pagine.
```js
async (getUserInput) => {
@ -81,7 +81,7 @@ async (getUserInput) => {
};
```
You can send a POST request to `/api/threads/{board}` with form data including `text` and `delete_password`. The saved database record will have at least the fields `_id`, `text`, `created_on`(date & time), `bumped_on`(date & time, starts same as `created_on`), `reported` (boolean), `delete_password`, & `replies` (array).
Puoi inviare una richiesta POST a `/api/threads/{board}` con i dati del modulo che includono un `text` e una password `delete_password`. Il record salvato sul databse avrà almeno i campi `_id`, `text`, `created_on`(data & ora), `bumped_on` (data & ora, all'inizo sarà lo stesso valore di `created_on`), `reported` (boolean), `delete_password`, & `replies` (array).
```js
async (getUserInput) => {
@ -113,49 +113,49 @@ async (getUserInput) => {
};
```
You can send a POST request to `/api/replies/{board}` with form data including `text`, `delete_password`, & `thread_id`. This will update the `bumped_on` date to the comment's date. In the thread's `replies` array, an object will be saved with at least the properties `_id`, `text`, `created_on`, `delete_password`, & `reported`.
Puoi inviare una richiesta POST a `/api/replies/{board}` con i dati del modulo che includono un testo `text`, una password `delete_password`, & `thread_id`. Questo aggiornerà la data `bumped_on` alla data del commento. Nell'array `replies` del thread, sarà salvato un oggetto con almeno le proprietà `_id`, `text`, `created_on`, `delete_password`, & `reported`.
```js
```
You can send a GET request to `/api/threads/{board}`. Returned will be an array of the most recent 10 bumped threads on the board with only the most recent 3 replies for each. The `reported` and `delete_password` fields will not be sent to the client.
Puoi inviare una richiesta GET a `/api/threads/{board}`. Sarà restituito un array dei 10 thread modificati più di recente sulla piattaforma con le 3 risposte più recenti per ciascuno. I campi `reported` e `delete_password` non verranno inviati al client.
```js
```
You can send a GET request to `/api/replies/{board}?thread_id={thread_id}`. Returned will be the entire thread with all its replies, also excluding the same fields from the client as the previous test.
Puoi inviare una richiesta GET a `/api/replies/{board}?thread_id={thread_id}`. Sarà restituito l'intero thread con tutte le sue risposte, anche qui escludendo gli stessi campi dal client del test precedente.
```js
```
You can send a DELETE request to `/api/threads/{board}` and pass along the `thread_id` & `delete_password` to delete the thread. Returned will be the string `incorrect password` or `success`.
Puoi inviare una richiesta DELETE a `/api/threads/{board}` e passarle `thread_id` & `delete_password` per eliminare il thread. Sarà restituita la stringa `incorrect password` o `success`.
```js
```
You can send a DELETE request to `/api/replies/{board}` and pass along the `thread_id`, `reply_id`, & `delete_password`. Returned will be the string `incorrect password` or `success`. On success, the text of the `reply_id` will be changed to `[deleted]`.
Puoi inviare una richiesta DELETE a `/api/replies/{board}` e passarle `thread_id`, `reply_id`, & `delete_password`. Sarà restituita la stringa `incorrect password` o `success`. Al successo, il testo del `reply_id` sarà cambiato in `[deleted]`.
```js
```
You can send a PUT request to `/api/threads/{board}` and pass along the `thread_id`. Returned will be the string `success`. The `reported` value of the `thread_id` will be changed to `true`.
Puoi inviare una richiesta PUT a `/api/threads/{board}` e passarle il `thread_id`. Sarà restituita la stringa `success`. Il valore `reported` del `thread_id` sarà cambiato in `true`.
```js
```
You can send a PUT request to `/api/replies/{board}` and pass along the `thread_id` & `reply_id`. Returned will be the string `success`. The `reported` value of the `reply_id` will be changed to `true`.
Puoi inviare una richiesta PUT a `/api/replies/{board}` e passarle `thread_id`, `reply_id`. Sarà restituita la stringa `success`. Il valore `reported` di `reply_id` sarà cambiato in `true`.
```js
```
All 10 functional tests are complete and passing.
Tutti i 10 test funzionali sono completi e superati.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e46f979ac417301a38fb932
title: Port Scanner
title: Scanner di porte
challengeType: 10
forumTopicId: 462372
helpCategory: Python
@ -9,26 +9,26 @@ dashedName: port-scanner
# --description--
Create a port scanner using Python.
Crea uno scanner di porte usando Python.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-port-scanner).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-port-scanner).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you some of the Python skills required for this project:
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di Python. Per ora, ecco alcuni video sul canale YouTube di freeCodeCamp.org che ti insegneranno alcune delle abilità Python richieste per questo progetto:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Video corso Python for Everybody</a> (14 ore)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Video corso Learn Python</a> (2 ore)
</li>
</ul>
# --hints--
It should pass all Python tests.
Dovrebbe superare tutti i test Python.
```js

View File

@ -1,6 +1,6 @@
---
id: 5e601c775ac9d0ecd8b94aff
title: Secure Real Time Multiplayer Game
title: Gioco multiplayer in tempo reale sicuro
challengeType: 4
forumTopicId: 462375
dashedName: secure-real-time-multiplayer-game
@ -8,21 +8,21 @@ dashedName: secure-real-time-multiplayer-game
# --description--
Develop a 2D real time multiplayer game using the HTML Canvas API and [Socket.io](https://socket.io/) that is functionally similar to this: <https://secure-real-time-multiplayer-game.freecodecamp.rocks/>. Working on this project will involve you writing your code using one of the following methods:
Sviluppa un gioco multigiocatore in tempo reale 2D utilizzando l'API HTML Canvas e il [Socket.io](https://socket.io/) che è funzionalmente simile a questo: <https://secure-real-time-multiplayer-game.freecodecamp.rocks/>. Lavorare su questo progetto ti porterà a scrivere il tuo codice utilizzando uno dei seguenti metodi:
- Clone [this GitHub repo](https://github.com/freeCodeCamp/boilerplate-project-secure-real-time-multiplayer-game/) and complete your project locally.
- Use [our Replit starter project](https://replit.com/github/freeCodeCamp/boilerplate-project-secure-real-time-multiplayer-game) to complete your project.
- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
- Clonare [questo repository GitHub](https://github.com/freeCodeCamp/boilerplate-project-secure-real-time-multiplayer-game/) e completare il tuo progetto localmente.
- Usare [la nostra bozza di progetto su Replit](https://replit.com/github/freeCodeCamp/boilerplate-project-secure-real-time-multiplayer-game) per completare il tuo progetto.
- Usare un costruttore di siti a tua scelta per completare il progetto. Assicurati di incorporare tutti i file del nostro repository GitHub.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your project's source code in the `GitHub Link` field.
Quando hai finito, assicurati che una demo funzionante del tuo progetto sia ospitata in qualche percorso pubblico. Quindi invia l'URL nel campo `Solution Link`. Facoltativamente, invia anche un link al codice sorgente del tuo progetto nel campo `GitHub Link`.
# --instructions--
**Note**: `helmet@^3.21.3` is needed for the user stories. This means you will need to use the previous version of Helmet's docs, for information on how to achieve the user stories.
**Nota**: `helmet@^3.21.3` è necessario per le user stories. Ciò significa che sarà necessario utilizzare la versione precedente della documentazione di Helmet per avere informazioni su come soddifare le user stories.
# --hints--
You can provide your own project, not the example URL.
È necessario fornire il proprio progetto, non l'URL di esempio.
```js
(getUserInput) => {
@ -34,91 +34,91 @@ You can provide your own project, not the example URL.
};
```
Multiple players can connect to a server and play.
Più giocatori possono connettersi a un server e giocare.
```js
```
Each player has an avatar.
Ogni giocatore ha un avatar.
```js
```
Each player is represented by an object created by the `Player` class in `Player.mjs`.
Ogni giocatore è rappresentato da un oggetto creato dalla classe `Player` in `Player.mjs`.
```js
```
At a minimum, each player object should contain a unique `id`, a `score`, and `x` and `y` coordinates representing the player's current position.
Ogni oggetto giocatore dovrebbe contenere come minimo un `id` univoco, un punteggio (`score`), e coordinate `x` e `y` che rappresentano la posizione corrente del giocatore.
```js
```
The game has at least one type of collectible item. Complete the `Collectible` class in `Collectible.mjs` to implement this.
Il gioco ha almeno un tipo di oggetto da raccogliere. Completa la classe `Collectible` in `Collectible.mjs` per implementarlo.
```js
```
At a minimum, each collectible item object created by the `Collectible` class should contain a unique `id`, a `value`, and `x` and `y` coordinates representing the item's current position.
Ogni oggetto da raccogliere creato dalla classe `Collectible` dovrebbe contenere come minimo un `id` univoco, un valore `value` e coordinate `x` e `y` che rappresentano la posizione corrente dell'elemento.
```js
```
Players can use the WASD and/or arrow keys to move their avatar. Complete the `movePlayer` method in `Player.mjs` to implement this.
I giocatori possono utilizzare i tasti WASD e/o freccia per spostare il loro avatar. Completa il metodo `movePlayer` in `Player.mjs` per implementarlo.
```js
```
The `movePlayer` method should accept two arguments: a string of "up", "down", "left", or "right", and a number for the amount of pixels the player's position should change. `movePlayer` should adjust the `x` and `y` coordinates of the player object it's called from.
Il metodo `movePlayer` dovrebbe accettare due argomenti: una stringa "up", "down", "left", o "right", e un numero per la quantità di pixel di cui dovrebbe cambiare la posizione del giocatore. `movePlayer` dovrebbe cambiare le coordinate `x` e `y` dell'oggetto giocatore da cui è chiamato.
```js
```
The player's score should be used to calculate their rank among the other players. Complete the `calculateRank` method in the `Player` class to implement this.
Il punteggio del giocatore dovrebbe essere usato per calcolare il suo rango tra gli altri giocatori. Completa il metodo `calculateRank` nella classe `Player` per implementarlo.
```js
```
The `calculateRank` method should accept an array of objects representing all connected players and return the string `Rank: currentRanking/totalPlayers`. For example, in a game with two players, if Player A has a score of 3 and Player B has a score of 5, `calculateRank` for Player A should return `Rank: 2/2`.
Il metodo `calculateRank` dovrebbe accettare un array di oggetti che rappresentano tutti i giocatori collegati e restituire la stringa `Rank: currentRanking/totalPlayers`. Ad esempio, in una partita con due giocatori, se il giocatore A ha un punteggio di 3 e il giocatore B ha un punteggio di 5, `calculateRank` per il giocatore A dovrebbe restituire `Rank: 2/2`.
```js
```
Players can collide with a collectible item. Complete the `collision` method in `Player.mjs` to implement this.
I giocatori possono scontrarsi con un oggetto da collezionare. Completa il metodo `collision` in `Player.mjs` per implementarlo.
```js
```
The `collision` method should accept a collectible item's object as an argument. If the player's avatar intersects with the item, the `collision` method should return `true`.
Il metodo `collision` dovrebbe accettare l'oggetto di un elemento collezionabile come argomento. Se l'avatar del giocatore si interseca con l'oggetto, il metodo `collision` dovrebbe restituire `true`.
```js
```
All players are kept in sync.
Tutti i giocatori sono sincronizzati.
```js
```
Players can disconnect from the game at any time.
I giocatori possono disconnettersi dal gioco in qualsiasi momento.
```js
```
Prevent the client from trying to guess / sniff the MIME type.
Impedisci al client di indovinare / sniffare il tipo MIME.
```js
async (getUserInput) => {
@ -128,7 +128,7 @@ async (getUserInput) => {
};
```
Prevent cross-site scripting (XSS) attacks.
Impedisci attacchi di script cross-site (XSS).
```js
async (getUserInput) => {
@ -138,7 +138,7 @@ async (getUserInput) => {
};
```
Nothing from the website is cached in the client.
Niente di proveniente dal sito è memorizzato nella cache del client.
```js
async (getUserInput) => {
@ -154,7 +154,7 @@ async (getUserInput) => {
};
```
The headers say that the site is powered by "PHP 7.4.3" even though it isn't (as a security measure).
Le intestazioni dicono che il sito è basato su "PHP 7.4.3" anche se non lo è (come misura di sicurezza).
```js
async (getUserInput) => {

View File

@ -1,6 +1,6 @@
---
id: 5e46f983ac417301a38fb933
title: SHA-1 Password Cracker
title: Cracker Password SHA-1
challengeType: 10
forumTopicId: 462374
helpCategory: Python
@ -9,26 +9,26 @@ dashedName: sha-1-password-cracker
# --description--
For this project you will learn about the importance of good security by creating a password cracker to figure out passwords that were hashed using SHA-1.
In questo progetto si impara l'importanza di una buona sicurezza creando un cracker di password per capire le password di cui è stato fatto l'hash utilizzando SHA-1.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-SHA-1-password-cracker).
Puoi accedere [alla descrizione completa del progetto e al codice iniziale su Replit](https://replit.com/github/freeCodeCamp/boilerplate-SHA-1-password-cracker).
After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
Dopo essere andato a quel collegamento, fai un fork del progetto. Una volta completato il progetto in base alle istruzioni riportate in 'README.md', invia il link del progetto qui sotto.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you some of the Python skills required for this project:
Stiamo ancora sviluppando la parte didattica interattiva del curriculum di Python. Per ora, ecco alcuni video sul canale YouTube di freeCodeCamp.org che ti insegneranno alcune delle abilità Python richieste per questo progetto:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Video corso Python for Everybody</a> (14 ore)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Video corso Learn Python</a> (2 ore)
</li>
</ul>
# --hints--
It should pass all Python tests.
Dovrebbe superare tutti i test Python.
```js

View File

@ -1,6 +1,6 @@
---
id: 587d824a367417b2b2512c44
title: Stock Price Checker
title: Controllo del prezzo delle azioni
challengeType: 4
forumTopicId: 301572
dashedName: stock-price-checker
@ -8,36 +8,36 @@ dashedName: stock-price-checker
# --description--
Build a full stack JavaScript app that is functionally similar to this: <https://stock-price-checker.freecodecamp.rocks/>.
Costruisci un'app JavaScript full-stack che sia funzionalmente simile a questa: <https://stock-price-checker.freecodecamp.rocks/>.
Since all reliable stock price APIs require an API key, we've built a workaround. Use <https://stock-price-checker-proxy.freecodecamp.rocks/> to get up-to-date stock price information without needing to sign up for your own key.
Poiché tutte le API di stock price affidabili richiedono una chiave API, abbiamo costruito una soluzione alternativa. Usa <https://stock-price-checker-proxy.freecodecamp.rocks/> per ottenere informazioni aggiornate sul prezzo delle azioni senza doverti iscrivere per ottenere la tua chiave.
Working on this project will involve you writing your code using one of the following methods:
Lavorare su questo progetto ti porterà a scrivere il tuo codice utilizzando uno dei seguenti metodi:
- Clone [this GitHub repo](https://github.com/freeCodeCamp/boilerplate-project-stockchecker/) and complete your project locally.
- Use [our Replit starter project](https://replit.com/github/freeCodeCamp/boilerplate-project-stockchecker) to complete your project.
- Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo.
- Clonare [questo repository GitHub](https://github.com/freeCodeCamp/boilerplate-project-stockchecker/) e completare il tuo progetto localmente.
- Usare [la nostra bozza di progetto su Replit](https://replit.com/github/freeCodeCamp/boilerplate-project-stockchecker) per completare il tuo progetto.
- Usare un costruttore di siti di tua scelta per completare il progetto. Assicurati di incorporare tutti i file del nostro repository GitHub.
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your projects source code in the `GitHub Link` field.
Quando hai finito, assicurati che una demo funzionante del tuo progetto sia ospitata in qualche percorso pubblico. Quindi invia l'URL nel campo `Solution Link`. Facoltativamente, invia anche un link al codice sorgente dei tuoi progetti nel campo `GitHub Link`.
# --instructions--
1. SET `NODE_ENV` to `test` without quotes and set `DB` to your MongoDB connection string
2. Complete the project in `routes/api.js` or by creating a handler/controller
3. You will add any security features to `server.js`
4. You will create all of the functional tests in `tests/2_functional-tests.js`
1. Imposta `NODE_ENV` a `test` senza virgolette e imposta `DB` alla tua stringa di connessione a MongoDB
2. Completa il progetto in `routes/api.js` o creando un handler/controller
3. Aggiungerai tutte le funzionalità di sicurezza a `server.js`
4. Creerai tutti i test funzionali in `tests/2_functional-tests.js`
Write the following tests in `tests/2_functional-tests.js`:
Scrivi i seguenti test in `tests/2_functional-tests.js`:
- Viewing one stock: GET request to `/api/stock-prices/`
- Viewing one stock and liking it: GET request to `/api/stock-prices/`
- Viewing the same stock and liking it again: GET request to `/api/stock-prices/`
- Viewing two stocks: GET request to `/api/stock-prices/`
- Viewing two stocks and liking them: GET request to `/api/stock-prices/`
- Visualizzazione di un'azione: richiesta GET a `/api/stock-prices/`
- Visualizzazione di un'azione e aggiunta del like: richiesta GET a `/api/stock-prices/`
- Visualizzazione della stesse azione e nuovo like: richiesta GET a `/api/stock-prices/`
- Visualizzazione di due azioni: richiesta GET a `/api/stock-prices/`
- Visualizzazione di due azioni e aggiunta del like: richiesta GET a `/api/stock-prices/`
# --hints--
You can provide your own project, not the example URL.
Puoi fornire il tuo progetto e non l'URL di esempio.
```js
(getUserInput) => {
@ -47,7 +47,7 @@ You can provide your own project, not the example URL.
};
```
You should set the content security policies to only allow loading of scripts and CSS from your server.
Dovresti impostare i criteri di sicurezza dei contenuti per consentire il caricamento di script e CSS solo dal tuo server.
```js
async (getUserInput) => {
@ -62,7 +62,7 @@ async (getUserInput) => {
};
```
You can send a `GET` request to `/api/stock-prices`, passing a NASDAQ stock symbol to a `stock` query parameter. The returned object will contain a property named `stockData`.
Puoi inviare una richiesta `GET` a `/api/stock-prices`, passando un simbolo azionario NASDAQ a un parametro di query `stock` (azione). L'oggetto restituito conterrà una proprietà denominata `stockData`.
```js
async (getUserInput) => {
@ -74,7 +74,7 @@ async (getUserInput) => {
};
```
The `stockData` property includes the `stock` symbol as a string, the `price` as a number, and `likes` as a number.
La proprietà `stockData` include il simbolo `stock` come stringa, il prezzo `price` come numero e i `likes` come numero.
```js
async (getUserInput) => {
@ -89,13 +89,13 @@ async (getUserInput) => {
};
```
You can also pass along a `like` field as `true` (boolean) to have your like added to the stock(s). Only 1 like per IP should be accepted.
Puoi anche passare un campo `like` come `true` (booleano) per avere il tuo like aggiunto alle azioni. Dovrebbe essere accettato solo un like per IP.
```js
```
If you pass along 2 stocks, the returned value will be an array with information about both stocks. Instead of `likes`, it will display `rel_likes` (the difference between the likes on both stocks) for both `stockData` objects.
Se passi 2 azioni, il valore restituito sarà un array con informazioni su entrambe le azioni. Invece di `likes`, mostrerà `rel_likes` (la differenza tra i like delle azioni) per entrambi gli oggetti `stockData`.
```js
async (getUserInput) => {
@ -110,7 +110,7 @@ async (getUserInput) => {
};
```
All 5 functional tests are complete and passing.
Tutti i 5 test funzionali sono completi e superati.
```js
async (getUserInput) => {

View File

@ -1,6 +1,6 @@
---
id: 587d8248367417b2b2512c3c
title: Ask Browsers to Access Your Site via HTTPS Only with helmet.hsts()
title: Chiedere ai browser di accedere al tuo sito solo tramite HTTPS con helmet.hsts()
challengeType: 2
forumTopicId: 301573
dashedName: ask-browsers-to-access-your-site-via-https-only-with-helmet-hsts
@ -8,19 +8,19 @@ dashedName: ask-browsers-to-access-your-site-via-https-only-with-helmet-hsts
# --description--
As a reminder, this project is being built upon the following starter project on [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), or cloned from [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/).
Come promemoria, questo progetto verrà costruito a partire dalla seguente bozza su [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), o clonato da [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/).
HTTP Strict Transport Security (HSTS) is a web security policy which helps to protect websites against protocol downgrade attacks and cookie hijacking. If your website can be accessed via HTTPS you can ask users browsers to avoid using insecure HTTP. By setting the header Strict-Transport-Security, you tell the browsers to use HTTPS for the future requests in a specified amount of time. This will work for the requests coming after the initial request.
HTTP Strict Transport Security (HSTS) è una politica di sicurezza web che aiuta a proteggere i siti Web dagli attacchi di downgrade del protocollo e dal dirottamento dei cookie. Se è possibile accedere al sito web tramite HTTPS è possibile chiedere ai browser dellutente di evitare di utilizzare HTTP non protetto. Impostando l'intestazione Strict-Transport-Security, si dice ai browser di utilizzare HTTPS per le future richieste in un determinato lasso di tempo. Questo funzionerà per le richieste pervenute dopo la richiesta iniziale.
# --instructions--
Configure `helmet.hsts()` to use HTTPS for the next 90 days. Pass the config object `{maxAge: timeInSeconds, force: true}`. You can create a variable `ninetyDaysInSeconds = 90*24*60*60;` to use for the `timeInSeconds`. Replit already has hsts enabled. To override its settings you need to set the field "force" to true in the config object. We will intercept and restore the Replit header, after inspecting it for testing.
Configurare `helmet.hsts()` in modo che utilizza HTTPS per i prossimi 90 giorni. Passa l'oggetto di configurazione `{maxAge: timeInSeconds, force: true}`. Puoi creare una variabile `ninetyDaysInSeconds = 90*24*60*60;` da usare per il `timeInSeconds`. Replit ha già hsts abilitato. Per sovrascrivere le sue impostazioni è necessario impostare il campo "force" a true nell'oggetto di configurazione. Intercetteremo e ripristineremo l'intestazione di Replit, dopo averla ispezionata per il test.
Note: Configuring HTTPS on a custom website requires the acquisition of a domain, and a SSL/TLS Certificate.
Nota: la configurazione di HTTPS su un sito web personalizzato richiede l'acquisizione di un dominio e di un certificato SSL/TLS.
# --hints--
helmet.hsts() middleware should be mounted correctly
Il middleware helmet.hsts() deve essere montato correttamente
```js
(getUserInput) =>
@ -35,7 +35,7 @@ helmet.hsts() middleware should be mounted correctly
);
```
maxAge should be equal to 7776000 s (90 days)
maxAge deve essere uguale a 7776000 s (90 giorni)
```js
(getUserInput) =>

View File

@ -1,6 +1,6 @@
---
id: 587d8248367417b2b2512c3a
title: Avoid Inferring the Response MIME Type with helmet.noSniff()
title: Evitare di dedurre il tipo MIME della risposta con helmet.noSniff()
challengeType: 2
forumTopicId: 301574
dashedName: avoid-inferring-the-response-mime-type-with-helmet-nosniff
@ -8,15 +8,15 @@ dashedName: avoid-inferring-the-response-mime-type-with-helmet-nosniff
# --description--
As a reminder, this project is being built upon the following starter project on [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), or cloned from [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/). Browsers can use content or MIME sniffing to override response `Content-Type` headers to guess and process the data using an implicit content type. While this can be convenient in some scenarios, it can also lead to some dangerous attacks. This middleware sets the X-Content-Type-Options header to `nosniff`, instructing the browser to not bypass the provided `Content-Type`.
Come promemoria, questo progetto verrà costruito a partire dalla seguente bozza su [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), o clonato da [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/). I browser possono usare lo sniffing del contenuto o del MIME per sovrascrivere le intestazioni `Content-Type` per indovinare ed elaborare i dati utilizzando un tipo di contenuto implicito. Anche se questo può essere conveniente in alcuni scenari, può anche portare ad alcuni attacchi pericolosi. Questo middleware imposta l'intestazione X-Content-Type-Options a `nosniff`, istruendo il browser di non bypassare il tipo di contenuto fornito `Content-Type`.
# --instructions--
Use the `helmet.noSniff()` method on your server.
Usa il metodo `helmet.noSniff()` sul tuo server.
# --hints--
helmet.noSniff() middleware should be mounted correctly
Il middleware helmet.noSniff() deve essere montato correttamente
```js
(getUserInput) =>

View File

@ -1,6 +1,6 @@
---
id: 587d8249367417b2b2512c40
title: Configure Helmet Using the parent helmet() Middleware
title: Configurare Helmet usando il middleware 'genitore' helmet()
challengeType: 2
forumTopicId: 301575
dashedName: configure-helmet-using-the-parent-helmet-middleware
@ -8,11 +8,11 @@ dashedName: configure-helmet-using-the-parent-helmet-middleware
# --description--
As a reminder, this project is being built upon the following starter project on [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), or cloned from [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/).
Come promemoria, questo progetto verrà costruito a partire dalla seguente bozza su [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), o clonato da [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/).
`app.use(helmet())` will automatically include all the middleware introduced above, except `noCache()`, and `contentSecurityPolicy()`, but these can be enabled if necessary. You can also disable or configure any other middleware individually, using a configuration object.
`app.use(helmet())` includerà automaticamente tutto il middleware introdotto sopra, tranne `noCache()`, e `contentSecurityPolicy()`, ma questi possono essere abilitati se necessario. È inoltre possibile disabilitare o configurare qualsiasi altro middleware singolarmente, utilizzando un oggetto di configurazione.
**Example:**
**Esempio:**
```js
app.use(helmet({
@ -29,11 +29,11 @@ app.use(helmet({
}))
```
We introduced each middleware separately for teaching purposes and for ease of testing. Using the parent `helmet()` middleware is easy to implement in a real project.
Abbiamo introdotto ogni middleware separatamente per scopi didattici e per facilità di test. L'utilizzo del middleware 'genitore' `helmet()` è facile da implementare in un progetto reale.
# --hints--
no tests - it's a descriptive challenge
nessun test - è una sfida descrittiva
```js
assert(true);

View File

@ -1,6 +1,6 @@
---
id: 587d8249367417b2b2512c3e
title: Disable Client-Side Caching with helmet.noCache()
title: Disabilitare il caching dal lato client con helmet.noCache()
challengeType: 2
forumTopicId: 301576
dashedName: disable-client-side-caching-with-helmet-nocache
@ -8,17 +8,17 @@ dashedName: disable-client-side-caching-with-helmet-nocache
# --description--
As a reminder, this project is being built upon the following starter project on [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), or cloned from [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/).
Come promemoria, questo progetto verrà costruito a partire dalla seguente bozza su [Replit](https://replit.com/github/freeCodeCamp/boilerplate-infosec), o clonato da [GitHub](https://github.com/freeCodeCamp/boilerplate-infosec/).
If you are releasing an update for your website, and you want the users to always download the newer version, you can (try to) disable caching on clients browser. It can be useful in development too. Caching has performance benefits, which you will lose, so only use this option when there is a real need.
Se stai rilasciando un aggiornamento per il tuo sito web, e vuoi che gli utenti scarichino sempre la versione più recente, puoi (provare a) disabilitare la cache sul browser del client. Può essere utile anche in fase di sviluppo. Il caching ha benefici sulle prestazioni, che perderai, quindi usa questa opzione solo quando c'è una vera necessità.
# --instructions--
Use the `helmet.noCache()` method on your server.
Usa il metodo `helmet.noCache()` sul tuo server.
# --hints--
helmet.noCache() middleware should be mounted correctly
Il middleware helmet.noCache() deve essere montato correttamente
```js
(getUserInput) =>

Some files were not shown because too many files have changed in this diff Show More