Understanding Network Fundamentals: From VLANs to Routing Protocols

Virtual LAN (VLAN)

VLAN (Virtual LAN) is a concept used in computer networks to logically separate devices within a local area network (LAN). Here are the key points:

Definition

  • A VLAN creates isolated broadcast domains within a single physical network.
  • Devices in the same VLAN can communicate with each other as if they are on a separate network.
  • VLANs are defined at the data link layer (Layer 2) of the OSI model.

Purpose

  • Segmentation: VLANs allow network administrators to group devices based on functional
Read More

Understanding Class Imbalance, Pipelines, and Model Comparison in Machine Learning

Class Imbalance and Dummy Classifiers

Class Imbalance: Class imbalance occurs when the distribution of classes in a dataset is unequal, meaning one class (e.g., apples) is significantly more prevalent than another (e.g., oranges). This data characteristic can bias machine learning models towards predicting the majority class.

Dummy Classifier: A dummy classifier is a machine learning model that doesn’t learn from data but follows a simple rule for predictions. In class imbalance, a dummy classifier

Read More

Dynamic Memory Management in C: Linked Lists and Sparse Matrices

Mark and Sweep The Mark Sweep algorithm is as straightforward as its name suggests. It consists of two phases: a mark phase and a sweep phase. The collector crawls across all the roots (global variables, local variables, stack frames, virtual and hardware registers, and so on) and marks every item it meets by setting a bit anywhere around that object during the mark phase. It also walks across the heap during the sweep phase, reclaiming memory from all the unmarked items.

Sweep() is a simple function

Read More

Professional Finishing Services | Enhance Your Products

header

Inspiration

Showcase of inspiring ideas according to your interests.

Contact us and request a quote.

Website, June 2020 | Eva.final ORDINARY – correodecontacto@direccion.com | Phone: +034 500 600 300

header

Finishing

Apply selective varnish for stamping. Preserve the scaling of the sample.

Website, June 2020 | Eva.final ORDINARY – correodecontacto@direccion.com | Phone: +034 500 600 300

header

Finishing

Every month you will find a new model to bind your products.

In this section

Read More

C Programming Examples: Matrices, Strings, and Structures

C Program for 2×2 Matrix Addition

Code:

#include <stdio.h>

int main() {
    int matrix1[2][2] = {{1, 2}, {3, 4}};
    int matrix2[2][2] = {{5, 6}, {7, 8}};
    int result[2][2];
    int i, j;

    // Adding matrices
    for (i = 0; i < 2; i++) {
        for (j = 0; j < 2; j++) {
            result[i][j] = matrix1[i][j] + matrix2[i][j];
        }
    }

    // Displaying the result
    printf("Sum of matrices:\n");
    for (i = 0; i < 2; i++) {
        for (j = 0; j < 2; j++) {
 
Read More

Distributed Computing for Large Language Models: Scalability, Speed, and Fault Tolerance

Paged Data Access to DRAM

Basic Idea: “Split” data file (virtually or physically) and stage reads of its pages from disk to DRAM (vice versa for writes)

Page Management in DRAM Cache

  • ❖ Caching: Retaining pages read from disk in DRAM
  • ❖ Eviction: Removing a page frame’s content in DRAM
  • ❖ Spilling: Writing out pages from DRAM to disk

Cache Replacement Policy

The algorithm that chooses which page frame(s) to evict when a new page has to be cached but the OS cache in DRAM is full

  • ❖ Popular policies
Read More