Book of code

All my projects, ideas and thoughts.

X Linkedin GitHub

My Profile Picture

Off toppic / Crazy thoughts.

About me

Hi, i’m a computer engineering student at the University of Buenos Aires. I’m currently working on my thesis, which involves sending and receiving satellite packets in Low Earth Orbit (LEO) using SDN, OMNet++, and packet monitoring technologies. To accomplish this, i need a strong understanding of programming, relativity theory, GPS geolocation, real-time packet monitoring and the impact of long Round-Trip Times.

Projects

connection with satellites via tcp

bubbles on an inhomogeneous surface [research]

qemu 32-bit operating system reconstruction

algorithmic complexity in high concurrency systems

Ideas

QEMU sys

#!/bin/bash

# VEntorn
IMG_PATH="path/to/32bit_os_image.img"
KERNEL="path/to/kernel.bin"
GDB_PORT=1234

# remotlydebugg
qemu-system-i386 \
    -drive file=$IMG_PATH,format=raw \
    -kernel $KERNEL \
    -m 512M \
    -boot d \
    -cpu host \
    -net nic -net user \
    -s -S &

# automGDB
gdb -ex "target remote localhost:$GDB_PORT" \
    -ex "symbol-file $KERNEL" \
    -ex "break start_kernel" \
    -ex "continue"

Surface tension automatically generated by a Gaussian function with lambda parameter

# surface-tens
surface = np.random.rand(100, 100) * gaussian_filter(np.random.rand(100, 100), sigma=5)

def simulate_bubble_dynamics(surface, timesteps=50, threshold=0.5):
    bubbles = surface > threshold
    bubble_map = np.zeros_like(surface)
    
    for t in range(timesteps):
        # expansion and coalescence
        bubble_map += bubbles.astype(int)
        surface = gaussian_filter(surface, sigma=1)  # difuser
        bubbles = surface > (threshold + t * 0.01)  # up umbral coalescence
        
    plt.imshow(bubble_map, cmap='Blues')
    plt.title("Bubble Dynamics on Inhomogeneous Surface")
    plt.show()
    INTRODUCTION 
    The motion of bubbles freely rising in a thin-gap cell at high Reynolds numbers has
    interest in several fundamental and practical problems, for example in applications invol- ving confined 
    bubble reactors. This thin-space configura- tion retains the specific properties associated with inertial 
    flows, while operating limited volumes of liquid. In specific applications, bubbles rising in plane 
    geometries are also limited by side walls. This work then focuses on in- vestigating the influence of an 
    additional transverse confi- nement on the bubble behavior. The problem of a 3D bubble rising in a 
    viscous liquid has been widely studied since the last century. The presence of walls, as in the case of 
    a Hele-Shaw geometry, will modify the flow field around the bubble, and therefore the shape and motion of 
    the bubble during its rise. Introducing addi- tional lateral walls in the cell will modify the 
    flow around the bubble more drastically. The inertial regime of bubbles freely rising in a thin-gap cell
    was investigated in detail by Roig et al. and Filella et al. They highlighted the existence
    of different types of bubble motion and provided a characterization of the dif- ferent paths observed
    for increasing bubble sizes. Filella et al. proposed a simple generic estimation for the mean 
    rise velocity of the bubble Vbvalid for a large range of bub- bles’ sizes, Vb,∞≃0.7pgdeq, which can 
    also be expressed as Vb,∞≃k(h/d)1/6pgd,(1) where k=0.75 and Vbis denoted Vb,∞for consistency with 
    the remainder of the paper. In this expression, gis the gra- vitational acceleration, and the 
    diameters deq =3d2h/21/3and d=p4A/π(2) are, respectively, the three-dimensional equivalent 
    diameter of the bubble calculated with its volume (deq)

OnmeOnme

project status three
satellital connection good nice
bubbles ended nice
qemu sisop fatally hmm
algorithmic complex studing yumm

`Mientras mas perdones, mas grande sera tu verdad.` 
                                                                    ~ Dylan.
“ Hoy es el día mas hermoso de nuestra vida, querido Sancho; 
los obstáculos más grandes, nuestras propias indecisiones; 
nuestro enemigo más fuerte, el miedo al poderoso y a nosotros mismos; 
la cosa más fácil, equivocarnos; 
la más destructiva, la mentira y el egoísmo; 
la peor derrota, el desaliento; 
los defectos más peligrosos, la soberbia y el rencor; 
las sensaciones más gratas,la buena conciencia, el esfuerzo para ser mejores sin ser perfectos
y, sobre todo, la disposición para hacer el bien y combatir la injusticia donde quiera que estén ”