Css interactions

<!--
https://jsbin.com/tuticinojo/1/edit?html,css,output
-->

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Pure CSS Interactions Demo</title>
    <style>
      body {
        font-family: sans-serif;
        padding: 2rem;
        background: #f9fafb;
        color: #111;
        line-height: 1.5;
      }

      h2 {
        margin-top: 2rem;
        border-bottom: 2px solid #eee;
        padding-bottom: 0.5rem;
      }

      /* === A

Mettiamo il drop-shadow sull'ADDON

#addonId{
  border-radius:20px;
  border-bottom-left-radius:60px;
  position:relative;
  isolation:isolate;           
  transition:filter .3s ease;
}

Errore su Font, es: LV_FONT_MONTSERRAT_32

Quando usao LVGL e uso dei font mi da un errore sul font, 
cerca nel pc il file lv_conf.h, questo si trova nella cartella /Users/gekos/Documents/Arduino/libraries, ma è presente anche nella cartella 
/Users/gekos/Documents/Arduino/libraries/lvgl/src, non ho ancora capito con che criterio ma avvolte esegue quest'ultimo, 
quindi modifica anche questo

Errore nella scrittura di Arduino su Waveshare ESP32-S3-Touch-LCD-1.85C

Alcune volte quando sto scrivendo su questo tipo di arduino, mi da un errore
usage: esptool write_flash [-h] [--erase-all]
                           [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
                           [--flash_mode {keep,qio,qout,dio,dout}]
                           [--flash_size {detect,keep,256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}]
                           [--spi-connection SPI_CONNECTION] [--no-progress]
                     

ETHNOSCORE-Net & CULTURE-ADAPT

ETHNOSCORE-Net is a multimodal deep learning framework for performance assessment in ethnic traditional sports. It integrates symbolic encoding, relational graph reasoning, hierarchical temporal fusion, and culturally adaptive embedding to ensure robust, interpretable, and culturally faithful evaluations. Coupled with CULTURE-ADAPT, a knowledge-informed evaluation strategy, this system aligns machine learning outputs with indigenous knowledge systems and cultural rules . 🌍 Motivation Traditional sports embody cultural heritage but lack standardized evaluation systems. Mainstream AI models often fail to capture cultural semantics, stylistic transitions, and rule-based expressivity. ETHNOSCORE-Net bridges computational intelligence with traditional knowledge, enabling fair, explainable, and sustainable AI-driven evaluation. 🏗️ Architecture ETHNOSCORE-Net (see Figure 1, page 6) Stage 1: Symbolic Encoding – temporal CNN encodes raw pose, velocity, and contextual features into symbolic sequences (Eq. 9–10). Stage 2: Relational Reasoning – spatio-temporal graph encoder models dependencies among actions and body segments (Eq. 11–12). Stage 3: Hierarchical Temporal Fusion – BiLSTM + temporal attention aggregates context into global cultural representation (Eq. 13–15). Stage 4: Cultural Alignment – multi-headed decoder maps outputs to cultural expressivity dimensions with manifold regularization (Eq. 16–18). CULTURE-ADAPT (see Figures 3 & 4, pages 9–10) Temporal Consensus Filtering – Gaussian-weighted smoothing to reduce noise (Eq. 19). Symbolic Alignment – compares symbolic trajectories with expert references via symbolic kernel (Eq. 20–21). Domain-Specific Rule Embedding – automaton-based compliance scoring of symbolic rules (Eq. 22–23). Expressivity Mapping – maps numeric outputs into culturally intelligible categories (Eq. 24). Consensus-Aware Evaluation – ensemble of models calibrated on cultural folds, producing composite performance scores (Eq. 25–27). 📊 Datasets Validated on four diverse datasets: Traditional Sports Performance Metrics – wrestling, archery, martial arts (reaction time, force, endurance). Ethnic Sports Athlete Evaluation – indigenous sports with expert scores + biometrics (stride, HRV, smoothness). Cultural Sports Skill Assessment Records – annotated videos with ethnographic commentary. Indigenous Games Performance Analysis – tribal sports like stick-fighting & traditional ball games with community scoring. 🚀 Results ETHNOSCORE-Net consistently outperforms YOLOv5, Faster R-CNN, DETR, RetinaNet, Mask R-CNN: Traditional Sports Dataset: Accuracy 91.86%, F1 89.91%, AUC 93.12% Ethnic Sports Dataset: Accuracy 90.44%, F1 88.20%, AUC 92.07% Cultural Sports Dataset: Accuracy 90.76%, F1 88.87%, AUC 92.30% Indigenous Games Dataset: Accuracy 89.42%, F1 87.84%, AUC 91.45% Ablation studies (Tables 3 & 4, pp. 13–14) confirm that multimodal encoder, temporal fusion, and cultural embedding each play critical roles. Removing any module significantly reduces performance. ⚙️ Installation git clone https://github.com/yourusername/ethnoscore-net.git cd ethnoscore-net pip install -r requirements.txt 📂 Usage from ethnoscore import EthnoScoreNet, CultureAdapt # Initialize model model = EthnoScoreNet(num_classes=10, d_model=128) # Forward pass outputs = model(inputs) # symbolic sequence + cultural scores # Apply CULTURE-ADAPT evaluation final_score = CultureAdapt(outputs, expert_refs, cultural_rules) 🔬 Citation If you use this framework, please cite: Xv Yibing. TradTrainEval: Intelligent algorithms for performance assessment in ethnic traditional sports. PLoS ONE, 2025.
# ethnoscore_net.py
# PyTorch >= 2.0

from __future__ import annotations
from dataclasses import dataclass
from typing import Dict, List, Optional, Tuple, Callable
import math
import torch
import torch.nn as nn
import torch.nn.functional as F

# ============================================================
# Utilities
# ============================================================

def masked_softmax(x: torch.Tensor, mask: Optional[torch.Tensor], dim: int = -1) -> torch.Tensor:
   

☁️ AWS - API Gateway CLI Commands

# ☝️ IMPORTANT
Pour explorer API Gateway, la première chose à savoir est qu'il existe deux versions du service, avec deux ensembles de commandes distincts :
1. **API Gateway v1** : Pour les API **REST**. Les commandes se trouvent sous aws apigateway.
2. **API Gateway v2** : Pour les API **HTTP** (plus modernes et moins chères) et les API WebSocket. 
Les commandes se trouvent sous `aws apigatewayv2`.

Vous devriez donc commencer par lister les API dans chacune des deux versions pour voir ce que v

☁️ AWS - CloudFront CLI Commands

# Commande Basique
```bash
aws cloudfront list-distributions
```

# Compter les Distributions
```bash
aws cloudfront list-distributions | jq '.DistributionList.Items | length'
```

# Compter les Attributs
```bash
aws cloudfront list-distributions | jq '.DistributionList.Items[0] | length'
```

# Afficher les Attributs
```bash
aws cloudfront list-distributions | jq '.DistributionList.Items[0] | keys'
```

Voici le descriptif des attributs pour une distribution CloudFront, classés de manière logiq

☁️ AWS - S3 CLI Commands

# ☝️ IMPORTANT
Une distinction très importante pour S3 est qu'il existe deux ensembles de commandes :

## **`aws s3`** : 
Des commandes de **haut niveau**, faciles à utiliser, qui ressemblent aux commandes Linux (ls, cp, mv, sync). 
Idéal pour commencer et pour les opérations sur les fichiers.

## **`aws s3api`** : 
Des commandes de **bas niveau qui correspondent directement aux appels de l'API S3**. 
Elles sont plus verbeuses et puissantes. 

👉 **Nécessaire pour la configuration avancée des buc

☁️ AWS - DynamoDB CLI Commands

# List Tables
```bash
aws dynamodb list-tables --query "TableNames" --output table
```

# Inspect a Specific Table
## Basic
```bash
aws dynamodb describe-table \
--table-name <TABLE_NAME>
```

## Count Attributes
```bash
aws dynamodb describe-table \
--table-name <TABLE_NAME> |
jq '.Table | length'
```

## Display Attributes
```bash
aws dynamodb describe-table \
--table-name <TABLE_NAME> |
jq '.Table | keys'
```

Voici le descriptif des attributs pour une table DynamoDB, classés de manière logiq

☁️ AWS - Lambda - CLI Commands

# Basic
```bash
aws lambda list-functions
```

# Count Functions
```bash
aws lambda list-functions --query "length(Functions)"
```

# Count Attributes
```bash
aws lambda list-functions | jq '.Functions[0] | length'
```

# Display Attributes
```bash
aws lambda list-functions | jq '.Functions[0] | keys'
```

# Lambda Function Attributes

| Attribut | Description |
| :--- | :--- |
| **--- Identité et Code ---** | |
| **FunctionName** | 🆔 Le **nom unique** de la fonction dans votre compte et votre r

☁️ AWS - RDS CLI Commands

# Basique
```bash
aws rds describe-db-instances
```

# Count DB Instances
```bash
aws rds describe-db-instances --query "length(DBInstances)"
```

# Count Attributes
```bash
aws rds describe-db-instances | jq '.DBInstances[0] | length'
```

# Display Attributes
```bash
aws rds describe-db-instances | jq '.DBInstances[0] | keys
```

# RDS Instances Attributes

| Attribut | Description |
| :--- | :--- |
| **--- Identité et Moteur ---** | |
| **DBInstanceIdentifier** | 🆔 Le **nom unique** que vous 

event message

event message
*.pyc
/.venv/

2197. Replace Non-Coprime Numbers in Array

You are given an array of integers nums. Perform the following steps: Find any two adjacent numbers in nums that are non-coprime. If no such numbers are found, stop the process. Otherwise, delete the two numbers and replace them with their LCM (Least Common Multiple). Repeat this process as long as you keep finding two adjacent non-coprime numbers. Return the final modified array. It can be shown that replacing adjacent non-coprime numbers in any arbitrary order will lead to the same result. The test cases are generated such that the values in the final array are less than or equal to 108. Two values x and y are non-coprime if GCD(x, y) > 1 where GCD(x, y) is the Greatest Common Divisor of x and y.
/**
 * @param {number[]} nums
 * @return {number[]}
 */
var replaceNonCoprimes = function(nums) {
    // Helper function to compute GCD using Euclidean algorithm
    const gcd = (a, b) => {
        while (b !== 0) {
            let temp = b;
            b = a % b;
            a = temp;
        }
        return a;
    };

    // Helper function to compute LCM
    const lcm = (a, b) => (a * b) / gcd(a, b);

    const stack = [];

    for (let num of nums) {
        stack.push(num); // Add current 

Header-footer-BDI

andare in:
admin/config/bdi/settings --> site Tools
ed inserire i file che devono essere resi pubblici es:
/en/header-footer.html 
/en/header-footer.js

andare qui:
.com/ca/en/__include-links e verificare le risorse che verranno esportate

☁️ AWS - Investigating Network

# VPCs
## Counting VPCs
```bash
aws ec2 describe-vpcs --query "length(Vpcs)"
```

## Displaying Attributes
```bash
aws ec2 describe-vpcs | jq '.Vpcs[0] | keys'
```

***
## AWS VPCs Attributes

| Attribute | Description |
| :--- | :--- |
| **VpcId** | 🆔 L'identifiant unique et non modifiable du VPC. C'est sa "plaque d'immatriculation" (ex: `vpc-0123456789abcdef0`). |
| **CidrBlock** | 🌐 La plage d'adresses IPv4 **principale** du VPC, définie en notation CIDR (ex: `10.0.0.0/16`). C'est l'espace d'