Updated the theme

This commit is contained in:
Nicola Belluti 2024-06-10 15:48:17 +02:00
parent c5891de51b
commit 72d196b207
3 changed files with 19 additions and 12 deletions

View File

@ -232,16 +232,20 @@ l'ID del dipendente.
aa55010100000000000055aaxxxxxxxxxxxxxxxxxxxx4c0000000000595a7c7c0000 aa55010100000000000055aaxxxxxxxxxxxxxxxxxxxx4c0000000000595a7c7c0000
``` ```
I primi 10 bit del payload sono il nome del dipendente, in caso il nome sia Se l'header della risposta è impostato a `01 00 00 00 00 00 00 00` allora ciò
più corto di 10 caratteri lo spazio rimanente sarà riempito con dei caratteri significa che lo username non è stato trovato, invece se è impostato a `01 01
terminatori `\0`. 00 00 00 00 00 00` allora i primi 10 bit del payload rappresentano il nome del
dipendente.
In caso il nome sia più corto di 10 caratteri lo spazio rimanente sarà riempito
con dei caratteri terminatori `\0`.
Questi messaggi compongono quasi la totailtà della terza fase che ho descritto Questi messaggi compongono quasi la totailtà della terza fase che ho descritto
nel capitolo precedente, quella nella quale ci sono tanti piccoli messaggi. nel capitolo precedente, quella nella quale vengono inviati tanti piccoli
Questo fa intuire che il client che prima di tutto fa il dump delle presenze in messaggi. Questo fa intuire che il client che prima di tutto fa il dump delle
modo quasi istantaneo , poi aspetta due minuti scaricando **per ogni presenza presenze in modo quasi istantaneo , poi aspetta due minuti scaricando **per
rilevata** il nome del dipendente, anche se questo è già stato richiesto in ogni presenza rilevata** il nome del dipendente, anche se questo è già stato
precedenza. Qualcuno insegni il concetto di richiesto in precedenza. Qualcuno insegni il concetto di
[memoizzazione](https://it.wikipedia.org/wiki/Memoizzazione) a questi [memoizzazione](https://it.wikipedia.org/wiki/Memoizzazione) a questi
informatici... informatici...

View File

@ -216,9 +216,12 @@ employee ID.
aa55010100000000000055aaxxxxxxxxxxxxxxxxxxxx4c0000000000595a7c7c0000 aa55010100000000000055aaxxxxxxxxxxxxxxxxxxxx4c0000000000595a7c7c0000
``` ```
The first 10 bits of the payload contain the employee's name; if it's shorter If the response header is set to `01 00 00 00 00 00 00 00`, then this means
than 10 characters, the remaining space will be filled with null terminators that the username was not found. However, if it is set to `01 01 00 00 00 00 00
(`\0`). 00`, then the first 10 bits of the payload represent the employee's name.
If the name is shorter than 10 characters, the remaining space will be filled
with null-terminator characters `\0`.
These messages comprise almost the entirety of the third phase I described in These messages comprise almost the entirety of the third phase I described in
the last chapter, the one with many but small messages. This suggests that the the last chapter, the one with many but small messages. This suggests that the

@ -1 +1 @@
Subproject commit 13ff6f5341b373751880ac396495e8ef56008383 Subproject commit 0a91156191b9f5353cff8082c99a8c7d788c7e39