Notes, summaries, assignments, exams, and problems for Vocational training

Sort by
Subject
Level

Tensors and Variables in PyTorch and TensorFlow

Classified in Computers

Written on in English with a size of 2.4 KB

Tensors and Variables in PyTorch and TensorFlow

Here's a brief explanation of tensors and variables in the context of deep learning frameworks like PyTorch and TensorFlow:

Tensors

  • Definition: A tensor is a multi-dimensional array used to represent data (such as scalars, vectors, matrices, or higher-dimensional data).
  • Common Operations: Tensors can be manipulated with mathematical operations (addition, multiplication, etc.), reshaped, sliced, etc.

In PyTorch, tensors are the core data structure:

import torch
# Create a tensor
a = torch.tensor([[1, 2], [3, 4]])
# Basic operations
b = a + 2         # Adds 2 to each element
c = a * a         # Element-wise multiplication
d = a @ a         # Matrix multiplication

Output:

Tensor `b`: [[3, 4], [5, 6]]
Tensor
... Continue reading "Tensors and Variables in PyTorch and TensorFlow" »

Cybersecurity Labs for Industrial Control Systems (ICS/SCADA)

Posted by Anonymous and classified in Technology

Written on in English with a size of 12.59 KB

Experiment 01: Network Traffic Analysis in ICS/SCADA

Tools

  • Wireshark

Objectives

  • Use Wireshark to capture and analyze network traffic to detect anomalies such as unauthorized commands or network scanning.

Deliverable

  • A detailed report of traffic patterns and recommendations for mitigations.

Wireshark

Wireshark is a network protocol analyzer used to capture and inspect data packets in real time.

Installing Wireshark on Linux

  1. Step 01: Update package lists: sudo apt update
  2. Step 02: Install Wireshark: sudo apt install wireshark -y
  3. Step 03: Allow non-root packet capture. When prompted, select to allow non-root users to capture packets. If not prompted, run:
    • sudo dpkg-reconfigure wireshark-common
    • sudo usermod -aG wireshark $USER
  4. Step 04: Restart your session (log
... Continue reading "Cybersecurity Labs for Industrial Control Systems (ICS/SCADA)" »

Maritime Meteorological Terms & Mediterranean Forecasts

Classified in Other subjects

Written on in English with a size of 8.39 KB

Maritime Meteorological Glossary

General Terms

Backing
Rolando
Becoming
Volverse
Blizzard
Ventisca
Cloud
Nube
Cloudy
Nuboso
Cold front
Frente frío
Current (jet stream)
Corriente de chorro
Cyclone
Ciclón
Dangerous semicircle
Semicírculo peligroso
Decreasing
Disminuyendo
Deepening
Profundizándose
Dense fog
Densa niebla
Dew point
Punto de rocío
Drizzle
Llovizna
Eastern
Oriental
Western
Occidental
Expected
Esperada
Eye of the storm
Ojo de la tempestad
Fair
Bueno
Filling
Rellenándose
Flow
Flujo
Fog patches
Bancos de niebla
Fog
Niebla
For a time
Por algún tiempo
Force
Fuerza
Forecast
Predicción
Front
Frente
Frost
Helada
Gale warning
Aviso de temporal
General synopsis
Situación general
GMT / UTC
Hora Greenwich / Hora universal
Gusts
Rachas
Heavy rain
Lluvia fuerte
High
Alta presión
High clouds
Nubes altas
Horse
... Continue reading "Maritime Meteorological Terms & Mediterranean Forecasts" »

The mystery of the haunted crypt

Classified in Language

Written on in English with a size of 19.81 KB

THE MYSTERY OF THE HAUNTED CRYPT

1. - Summary of the book.

While a group of young inmates in an asylum was playing a football game, Dr. Sugrañes party amid calls one of them, exactly the protagonist of this story. The doctor tells Sugrañes accompany him to his office because it has an unexpected visitor. To his amazement, was the Commissioner Flores and a nun who was unaware of.

The reason that the commissioner flowers and the nun had come to see was: about 6 years ago a girl had disappeared without a trace one night, but the strange thing was that it appeared the next day with no memory of what happened. Well, a couple of days ago had been different in the same school girl who lived in the other and wanted him to take charge of the case.... Continue reading "The mystery of the haunted crypt" »

Strategic Vocabulary for Geopolitics and AI Competition

Classified in French

Written on in English with a size of 4.18 KB

Strategic Vocabulary: Competition, AI, and Global Dynamics

1. AI, Geopolitics, and Power Dynamics (Terms 1-22)

  1. Intensifying competition: Intensification de la concurrence / Concurrence croissante
  2. Long-standing trade disputes: Un conflit commercial de longue date
  3. To reshape global power dynamics: Remodeler la dynamique des puissances
  4. To be weaponized: Être utilisé comme arme
  5. To thrust AI into the heart of national security: Mettre l’IA au cœur des questions de sécurité nationale
  6. To reshape the balance of power: Refondre l’équilibre des pouvoirs
  7. Centralized planning: Planification centralisée
  8. With direct state funding funneling into specific AI projects: Avec des financements publics directs versés pour soutenir des projets particuliers en
... Continue reading "Strategic Vocabulary for Geopolitics and AI Competition" »

CLIL Strategies for Enhanced Learning and Global Understanding

Classified in Other subjects

Written on in English with a size of 3.65 KB

Fostering Connections Through CLIL Cross-Curricular Links

Cross-curricular links in CLIL enable students to see the relationships between different subjects, significantly enhancing their overall understanding. This approach helps learners build a more holistic knowledge base.

For example, a unit on environmental studies could seamlessly integrate:

  • Science: Studying ecosystems, biodiversity, and ecological processes.
  • Geography: Understanding landforms, climate zones, and human impact on the environment.
  • Art: Creating projects based on local wildlife, environmental campaigns, or sustainable design.

Personally, I have experienced projects where we explored historical events through literature. This enriched both our historical understanding and language... Continue reading "CLIL Strategies for Enhanced Learning and Global Understanding" »

Mastering English Voice and Essential Vocabulary

Classified in Latin

Written on in English with a size of 5.92 KB

Understanding Active and Passive Voice

This section illustrates the transformation between active and passive voice across various verb tenses, using clear examples.

Verb TenseActive Voice ExamplePassive Voice Example
Present SimpleHe delivers the letters.The letters are delivered.
Past SimpleHe delivered the letters.The letters were delivered.
Future SimpleHe will deliver the letters.The letters will be delivered.
Present ContinuousHe is delivering the letters.The letters are being delivered.
Past ContinuousHe was delivering the letters.The letters were being delivered.
Going toHe is going to deliver the letters.The letters are going to be delivered.
Present PerfectHe has delivered the letters.The letters have been delivered.
Past PerfectHe had delivered
... Continue reading "Mastering English Voice and Essential Vocabulary" »

Direct and Indirect Exporting Strategies for Businesses

Classified in Economy

Written on in English with a size of 3.78 KB

Direct and Indirect Exporting

  • Exporting
    • Exporting can be direct or indirect.
    • In direct exporting, the company sells to a customer in another country.
    • The Internet is becoming increasingly important.

Exporting may be done passively or actively. Passive exporting occurs when a business receives orders from abroad without actively looking for them. Active exporting involves developing policies for setting up systems for organizing the export function and for dealing with export logistics, documentation, and finance.

With indirect exporting, intermediaries handle most aspects of export deals. Returns are obviously lower. You lose control over final selling prices.

  • Indirect Exporting: Products are sold to a third party who then sells them within the
... Continue reading "Direct and Indirect Exporting Strategies for Businesses" »

Marketing Fundamentals: Concepts, Mix, and Strategy

Classified in Economy

Written on in English with a size of 2.86 KB

Marketing Fundamentals (Tema 1)

The Marketing Concept Defined

Marketing is the process of planning, designing, pricing, promotion, and distributing ideas, goods, and services in order to satisfy customer needs and achieve profitability.

The Marketing Process

The marketing process typically covers two main stages:

  1. Market Research: Analyzing customers, competitors, and market factors.
  2. Market Planning: Defining the product, price, place, and promotion (the Marketing Mix).

The Marketing Mix (The 4 Ps)

The Marketing Mix principles are controllable variables that must be carefully managed to meet the needs of the defined target group. All elements of the mix are linked and must support each other:

  1. Product: The features and appearance of goods and services.
... Continue reading "Marketing Fundamentals: Concepts, Mix, and Strategy" »

Mastering Irregular Verbs: A Comprehensive English-Spanish List

Classified in English

Written on in English with a size of 4.53 KB

Mastering Irregular Verbs in English and Spanish

This list provides common irregular verbs in English, along with their past simple and past participle forms, and their Spanish translations.

  • beat/beat/beaten: ganar
  • eat/ate/eaten: comer
  • drive/drove/driven: conducir
  • dream/dreamed/dreamed: soñar
  • draw/drew/drawn: dibujar
  • do/did/done: hacer
  • cost/cost/cost: costar
  • come/came/come: venir
  • choose/chose/chosen: elegir
  • catch/caught/caught: coger
  • buy/bought/bought: comprar
  • build/built/built: construir
  • bring/brought/brought: llevar
  • break/broke/broken: romper
  • blow/blew/blown: soplar
  • bite/bit/bitten: morder
  • bend/bent/bent: doblar
  • begin/began/begun: empezar
  • understand/understood/understood: entender
  • sleep/slept/slept: dormir
  • mean/meant/meant: significar
  • lose/lost/lost: perder
  • make/
... Continue reading "Mastering Irregular Verbs: A Comprehensive English-Spanish List" »