From 8f1f03adeea20ca1e52ebe8c8dd339f668123ecd Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 14 Nov 2020 22:05:06 +0100 Subject: [PATCH] Update and refresh a few things --- package-lock.json | 108 ++++++------- package.json | 14 +- src/components/Link.js | 1 + src/components/ToBeContinued.js | 12 ++ src/index.js | 2 + .../GestioneDellInformazione/00_Intro.js | 33 ++++ src/routes/GestioneDellInformazione/index.js | 11 ++ src/routes/Home.js | 13 +- src/routes/LinguaggiDinamici/01_Python.js | 153 ++---------------- src/routes/ProtocolliDiRete/index.js | 2 +- 10 files changed, 141 insertions(+), 208 deletions(-) create mode 100644 src/components/ToBeContinued.js create mode 100644 src/routes/GestioneDellInformazione/00_Intro.js create mode 100644 src/routes/GestioneDellInformazione/index.js diff --git a/package-lock.json b/package-lock.json index 6802e49..1c10dc6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "appuntiweb", - "version": "0.9.0", + "version": "0.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1206,9 +1206,9 @@ } }, "@fortawesome/react-fontawesome": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.11.tgz", - "integrity": "sha512-sClfojasRifQKI0OPqTy8Ln8iIhnxR/Pv/hukBhWnBz9kQRmqi6JSH3nghlhAY7SUeIIM7B5/D2G8WjX0iepVg==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.12.tgz", + "integrity": "sha512-kV6HtqotM3K4YIXlTVvomuIi6QgGCvYm++ImyEx2wwgmSppZ6kbbA29ASwjAUBD63j2OFU0yoxeXpZkjrrX0qQ==", "requires": { "prop-types": "^15.7.2" } @@ -1358,13 +1358,13 @@ } }, "@sentry/browser": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.26.0.tgz", - "integrity": "sha512-52kNVpy10Zd3gJRGFkhnOQvr80WJg7+XBqjMOE0//Akh4PfvEK3IqmAjVqysz6aHdruwTTivKF4ZoAxL/pA7Rg==", + "version": "5.27.4", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.27.4.tgz", + "integrity": "sha512-L8Fsnkl3PIak4zJ1pcGDmV92XTQjS2/H6EBgp1rhuOF4OE3L59K8RR73C9w+wVtsIi7nyfYg/FIe8lvG++3Mow==", "requires": { - "@sentry/core": "5.26.0", - "@sentry/types": "5.26.0", - "@sentry/utils": "5.26.0", + "@sentry/core": "5.27.4", + "@sentry/types": "5.27.4", + "@sentry/utils": "5.27.4", "tslib": "^1.9.3" } }, @@ -1382,59 +1382,59 @@ } }, "@sentry/core": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.26.0.tgz", - "integrity": "sha512-Ubrw7K52orTVsaxpz8Su40FPXugKipoQC+zPrXcH+JIMB+o18kutF81Ae4WzuUqLfP7YB91eAlRrP608zw0EXA==", + "version": "5.27.4", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.27.4.tgz", + "integrity": "sha512-IbI37cIZU/qBQouuUXaLbGF/9xYFp5STqmj1Gv64l0IZe4JnEp06V3yD5GxQ/mJ78vSfOqfwLooVCUw9FA61sQ==", "requires": { - "@sentry/hub": "5.26.0", - "@sentry/minimal": "5.26.0", - "@sentry/types": "5.26.0", - "@sentry/utils": "5.26.0", + "@sentry/hub": "5.27.4", + "@sentry/minimal": "5.27.4", + "@sentry/types": "5.27.4", + "@sentry/utils": "5.27.4", "tslib": "^1.9.3" } }, "@sentry/hub": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.26.0.tgz", - "integrity": "sha512-lAYeWvvhGYS6eQ5d0VEojw0juxGc3v4aAu8VLvMKWcZ1jXD13Bhc46u9Nvf4qAY6BAQsJDQcpEZLpzJu1bk1Qw==", + "version": "5.27.4", + "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.27.4.tgz", + "integrity": "sha512-Ba1AqcjvSd2S+fpdXtXCrVXdrzq9E2Etb2eHUOkEYwSsq7StMOw7E8YHDPAo+to8zUbpMPz/Z9XGhFkyAbImGQ==", "requires": { - "@sentry/types": "5.26.0", - "@sentry/utils": "5.26.0", + "@sentry/types": "5.27.4", + "@sentry/utils": "5.27.4", "tslib": "^1.9.3" } }, "@sentry/integrations": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-5.26.0.tgz", - "integrity": "sha512-XBMPm3wWW+3EJvWFHdVcl0PSWjjNEzmQxjjWeMv9vLWAC1zhS8gcpk/LyDIFWojJBzhASD8f1mLv2ZdKZtA1ZQ==", + "version": "5.27.4", + "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-5.27.4.tgz", + "integrity": "sha512-/2KRNrpbRDatNfurKzhpeYa5YQCYSXgR2JbPGQzg8d3fKggSTDLiVxrc+LC7oHeHgv6LWOzkVVzfmB01LJRZTA==", "requires": { - "@sentry/types": "5.26.0", - "@sentry/utils": "5.26.0", + "@sentry/types": "5.27.4", + "@sentry/utils": "5.27.4", "localforage": "1.8.1", "tslib": "^1.9.3" } }, "@sentry/minimal": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.26.0.tgz", - "integrity": "sha512-mdFo3FYaI1W3KEd8EHATYx8mDOZIxeoUhcBLlH7Iej6rKvdM7p8GoECrmHPU1l6sCCPtBuz66QT5YeXc7WILsA==", + "version": "5.27.4", + "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.27.4.tgz", + "integrity": "sha512-biw5YfIQwvDoaRhLarfeRQ6MJ9UJOoDTmu8Kgg18prJy4rtfDowNJP0OBs5XAsTk6SWAXiE3g7vqUJBXgs7BWA==", "requires": { - "@sentry/hub": "5.26.0", - "@sentry/types": "5.26.0", + "@sentry/hub": "5.27.4", + "@sentry/types": "5.27.4", "tslib": "^1.9.3" } }, "@sentry/types": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.26.0.tgz", - "integrity": "sha512-ugpa1ePOhK55pjsyutAsa2tiJVQEyGYCaOXzaheg/3+EvhMdoW+owiZ8wupfvPhtZFIU3+FPOVz0d5k9K5d1rw==" + "version": "5.27.4", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.27.4.tgz", + "integrity": "sha512-41h3c7tgtSS8UBmfvEckSr+7V7/IVOjt/EiydyOd6s0N18zSFfGY5HdA6g+eFtIJK3DhWkUHCHZNanD5IY5YCQ==" }, "@sentry/utils": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.26.0.tgz", - "integrity": "sha512-F2gnHIAWbjiowcAgxz3VpKxY/NQ39NTujEd/NPnRTWlRynLFg3bAV+UvZFXljhYJeN3b/zRlScNDcpCWTrtZGw==", + "version": "5.27.4", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.27.4.tgz", + "integrity": "sha512-shV1I/q+Tob3hUxRj11DfMhe9PNDiv85hUUoRloZGGwu275dMwpswb2uwgSmjc2Ao4pnMKVx8TL1hC3kGLVHTQ==", "requires": { - "@sentry/types": "5.26.0", + "@sentry/types": "5.27.4", "tslib": "^1.9.3" } }, @@ -2989,9 +2989,9 @@ "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==" }, "chart.js": { - "version": "2.9.3", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.9.3.tgz", - "integrity": "sha512-+2jlOobSk52c1VU6fzkh3UwqHMdSlgH1xFv9FKMqHiNCpXsGPQa/+81AFa+i3jZ253Mq9aAycPwDjnn1XbRNNw==", + "version": "2.9.4", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.9.4.tgz", + "integrity": "sha512-B07aAzxcrikjAPyV+01j7BmOpxtQETxTSlQ26BEYJ+3iUkbNKaOJ/nDbT6JjyqYxseM0ON12COHYdU2cTIjC7A==", "requires": { "chartjs-color": "^2.1.0", "moment": "^2.10.2" @@ -7628,9 +7628,9 @@ } }, "moment": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.27.0.tgz", - "integrity": "sha512-al0MUK7cpIcglMv3YF13qSgdAIqxHTO7brRtaz3DlSULbqfazqkc5kEjNrLDOM7fsjshoFIihnU8snrP7zUvhQ==" + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", + "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" }, "move-concurrently": { "version": "1.0.1", @@ -9128,9 +9128,9 @@ "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" }, "preact": { - "version": "10.5.4", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.5.4.tgz", - "integrity": "sha512-u0LnVtL9WWF61RLzIbEsVFOdsahoTQkQqeRwyf4eWuLMFrxTH/C47tqcnizbUH54E4KG8UzuuZaMc9KarHmpqQ==" + "version": "10.5.7", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.5.7.tgz", + "integrity": "sha512-4oEpz75t/0UNcwmcsjk+BIcDdk68oao+7kxcpc1hQPNs2Oo3ZL9xFz8UBf350mxk/VEdD41L5b4l2dE3Ug3RYg==" }, "preact-cli": { "version": "3.0.3", @@ -9290,9 +9290,9 @@ } }, "preact-render-to-string": { - "version": "5.1.10", - "resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-5.1.10.tgz", - "integrity": "sha512-40svy7NDe5Qe0ymdsIC11f0hZb05MeTSUqqIaWJ5DEFCh/sF86KcpRW0kN/ymGYDVVUCfv9qFrVuLCXR7aQxgQ==", + "version": "5.1.12", + "resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-5.1.12.tgz", + "integrity": "sha512-nXVCOpvepSk9AfPwqS08rf9NDOCs8eeYYlG+7tE85iP5jVyjz+aYb1BYaP5SPdfVWVrzI9L5NzxozUvKaD96tA==", "requires": { "pretty-format": "^3.8.0" } @@ -9733,9 +9733,9 @@ } }, "react-chartjs-2": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-2.10.0.tgz", - "integrity": "sha512-1MjWEkUn8LLFf6GVyYUOrruJTW3yVU5hlEJOwGj3MiokuC+jH/BahjWVGAMonbe9UYbEIUbd2Rn36iVlC0Hb7w==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-2.11.1.tgz", + "integrity": "sha512-G7cNq/n2Bkh/v4vcI+GKx7Q1xwZexKYhOSj2HmrFXlvNeaURWXun6KlOUpEQwi1cv9Tgs4H3kGywDWMrX2kxfA==", "requires": { "lodash": "^4.17.19", "prop-types": "^15.7.2" diff --git a/package.json b/package.json index 926a8a2..fba280f 100644 --- a/package.json +++ b/package.json @@ -28,22 +28,22 @@ "@fortawesome/free-brands-svg-icons": "^5.15.1", "@fortawesome/free-regular-svg-icons": "^5.15.1", "@fortawesome/free-solid-svg-icons": "^5.15.1", - "@fortawesome/react-fontawesome": "^0.1.11", - "@sentry/browser": "^5.26.0", - "@sentry/integrations": "^5.26.0", + "@fortawesome/react-fontawesome": "^0.1.12", + "@sentry/browser": "^5.27.4", + "@sentry/integrations": "^5.27.4", "bluelib": "0.16.1", - "chart.js": "^2.9.3", + "chart.js": "^2.9.4", "css-loader": "^3.6.0", "file-loader": "^5.1.0", "history": "^4.10.1", "less": "^3.12.2", "less-loader": "^5.0.0", "path-browserify": "^1.0.1", - "preact": "^10.5.4", - "preact-render-to-string": "^5.1.10", + "preact": "^10.5.7", + "preact-render-to-string": "^5.1.12", "preact-router": "^3.2.1", "process": "^0.11.10", - "react-chartjs-2": "^2.10.0", + "react-chartjs-2": "^2.11.1", "react-markdown": "^4.3.1", "react-simplemde-editor": "^4.1.0", "style-loader": "^1.3.0" diff --git a/src/components/Link.js b/src/components/Link.js index 2192db9..b6d94a8 100644 --- a/src/components/Link.js +++ b/src/components/Link.js @@ -42,6 +42,7 @@ const icons = Object.freeze({ "youtu.be": faYoutube, "t.me": faTelegram, + "thor.steffo.eu": faTelegram, "steampowered.com": faSteam, "steamcommunity.com": faSteam, diff --git a/src/components/ToBeContinued.js b/src/components/ToBeContinued.js new file mode 100644 index 0000000..3dc4a79 --- /dev/null +++ b/src/components/ToBeContinued.js @@ -0,0 +1,12 @@ +import {BoxColors, Panel} from "bluelib"; + +export default function (props) { + return ( + +

+ Questa sezione è incompleta. Torna più avanti! +

+ {props.children} +
+ ) +} diff --git a/src/index.js b/src/index.js index f62754d..0ca7672 100644 --- a/src/index.js +++ b/src/index.js @@ -47,6 +47,7 @@ import OliGMPL from "./routes/OttimizzazioneLineare/GMPL"; import PrintBox from "./components/PrintBox"; import LinguaggiDinamici from "./routes/LinguaggiDinamici"; import ProtocolliDiRete from "./routes/ProtocolliDiRete"; +import GestioneDellInformazione from "./routes/GestioneDellInformazione"; // noinspection JSUnusedGlobalSymbols export default function (props) { @@ -84,6 +85,7 @@ export default function (props) { + Pagina non trovata. diff --git a/src/routes/GestioneDellInformazione/00_Intro.js b/src/routes/GestioneDellInformazione/00_Intro.js new file mode 100644 index 0000000..9624740 --- /dev/null +++ b/src/routes/GestioneDellInformazione/00_Intro.js @@ -0,0 +1,33 @@ +import {Fragment} from "preact"; +import {Section, Panel, ILatex, BLatex, PLatex, BaseLink, Code} from "bluelib"; +import Link from "../../components/Link"; + +const r = String.raw; + + +export default function () { + return ( + +
+ +
    +
  • Prof. Federica Mandreoli
  • +
+
+ +
    +
  • Pagina Dolly Unimore
  • +
+
+ +

+ Puoi scaricare le videolezioni di Gestione dell'informazione con bbbdl: +

+ + bbbdl sync -r https://raw.githubusercontent.com/Steffo99/unimoreinfo-wiki/main/gestionedellinformazione.json + +
+
+
+ ) +} diff --git a/src/routes/GestioneDellInformazione/index.js b/src/routes/GestioneDellInformazione/index.js new file mode 100644 index 0000000..2460443 --- /dev/null +++ b/src/routes/GestioneDellInformazione/index.js @@ -0,0 +1,11 @@ +import Intro from "./00_Intro"; + + +export default function () { + return ( +
+

Gestione dell'informazione

+ +
+ ) +} diff --git a/src/routes/Home.js b/src/routes/Home.js index 39471da..771b69c 100644 --- a/src/routes/Home.js +++ b/src/routes/Home.js @@ -25,7 +25,7 @@ export default function (props) { -
  • Architettura dei Calcolatori
  • +
  • Architettura dei calcolatori
  • Algoritmi e strutture dati
  • @@ -35,16 +35,16 @@ export default function (props) {
  • Fisica
  • Programmazione a oggetti
  • -
  • Sistemi Operativi
  • +
  • Sistemi operativi
  • Statistica ed elementi di probabilità
  • Apprendim. ed evol. in sist. artificiali
  • -
  • Basi di Dati
  • -
  • Calcolo Numerico
  • -
  • Ottimizzazione Lineare Intera
  • +
  • Basi di dati
  • +
  • Calcolo numerico
  • +
  • Ottimizzazione lineare intera
  • @@ -53,6 +53,7 @@ export default function (props) {
  • Linguaggi dinamici
  • Protocolli e architett. di rete
  • +
  • Gestione dell'informazione
  • @@ -72,7 +73,7 @@ export default function (props) {
  • Erre2
  • Tag GitHub: unimore-informatica
  • -
  • Network Telegram: Unimore Informatica
  • +
  • Network Telegram: Unimore Informatica
  • Solo studenti Unimore: Archivio Lezioni
  • diff --git a/src/routes/LinguaggiDinamici/01_Python.js b/src/routes/LinguaggiDinamici/01_Python.js index abd12a1..2f883ac 100644 --- a/src/routes/LinguaggiDinamici/01_Python.js +++ b/src/routes/LinguaggiDinamici/01_Python.js @@ -1,6 +1,7 @@ import {Fragment} from "preact"; -import {Section, Panel, ILatex, BLatex, PLatex, CodeDefaultLanguage, Code} from "bluelib"; +import {Section, Panel, ILatex, BLatex, PLatex, CodeDefaultLanguage, Code, BoxColors} from "bluelib"; import Link from "../../components/Link"; +import ToBeContinued from "../../components/ToBeContinued"; const r = String.raw; @@ -9,145 +10,17 @@ export default function () { return ( - -

    Python

    -
    - -

    - Gli int rappresentano numeri interi: -

    - {r` - 42 - `} -

    - Non hanno nessun limite di dimensione: -

    - {r` - 1000000000 - `} -

    - Per maggiore chiarezza, si possono usare liberamente underscore per formattarli: -

    - {r` - 1_000_000_000 - `} -
    - -

    - I float rappresentano numeri reali: -

    - {r` - 42.0 - `} -

    - Sono limitati alla doppia precisione di macchina: -

    - {r` - 13.999999999999999 # Diventa 13.999999999999998 - `} -

    - Per maggiore chiarezza, si possono scrivere in notazione scientifica: -

    - {r` - 4.2e1 - `} -
    -
    -
    - -

    - Le str rappresentano del testo Unicode. -

    -

    - Il testo va racchiuso tra uno dei due tipi di virgolette: -

    - {r` - "Ciaone!" - 'Ciaone!' - `} -

    - Se nel testo compare lo stesso tipo di virgoletta usato come delimitatore, va prefisso un backslash ad ogni ricorrenza: -

    - {r` - "Ciaone dall'Italia!" - 'Ciaone dall\'Italia!' - `} -

    - Il testo può contenere qualsiasi carattere Unicode: -

    - {r` - "bel memë amicø 🔥" - `} -

    - È possibile creare testi che continuino su più linee inserendo il delimitatore tre volte: -

    - {r` - """ - questa - stringa - è su più - righe - """ - `} -
    - -

    - I bytes rappresentano delle sequenze di bytes (rappresentate in ASCII). -

    -

    - I valori vanno racchiusi tra virgolette, più una b all'inizio: -

    - {r` - b"Ciaone!" - b'Ciaone!' - `} -

    - È possibile inserire valori che non corrispondono ad un carattere con {r`\xXX`}, dove XX è il valore dei due byte. -

    - {r` - b"\x00\x01\x02\x03\x04" - b'\x63\x69\x61\x6f\x6e\x65' - `} -

    - Possono rappresentare un particolare encoding (UTF-8) di una str: -

    - {r` - b"bel mem\xc3\xab amic\xc3\xb8 \xf0\x9f\x94\xa5" - `} -

    - Possono continuare su più linee inserendo le virgolette tre volte (ma non fatelo, per piacere). -

    - {r` - b""" - questi - bytes - sono su più - righe - """ - `} -
    -
    -
    - -

    - Insiemi di zero, uno, o qualsiasi numero di valori: -

    - {r` - () - - (1,) - - (1, 2, 3, 5) - `} -

    - Possono non essere omogenei: -

    - {r` - (1, 2.0, "tre", b"cinque") - `} -
    -
    -
    +
    + +

    + Su questo sito non sono presenti i concetti base di Python e della programmazione. +

    +

    + Se ne avete bisogno, potete leggervi A Byte of Python, un ottimo libro gratuito e veloce a riguardo :) +

    +
    + +
    ) diff --git a/src/routes/ProtocolliDiRete/index.js b/src/routes/ProtocolliDiRete/index.js index bbf69c2..0dfafc4 100644 --- a/src/routes/ProtocolliDiRete/index.js +++ b/src/routes/ProtocolliDiRete/index.js @@ -4,7 +4,7 @@ import Intro from "./00_Intro"; export default function () { return (
    -

    Protocolli di Rete

    +

    Protocolli ed architettura di rete

    )