Posts

Highlights

Linux One Command Per Day

I started using Linux as my operating system many years ago — I believe it was in the early 2000s. Over the years, I’ve used several distributions, from Mandrake Linux to Ubuntu and Debian. Currently, my favorite is Manjaro Linux with the KDE desktop environment. For most of this time, I used the default Bash shell, but for the last 2–3 years I’ve been using Oh My Zsh — partly because I also have a Mac, and I installed it there as well. Most of the commands I know in the terminal I originally studied many years ago. That’s why I’ve added 5 minutes to my daily routine to either review a Linux command or learn a new one. I’m doing the same for Oh My Zsh aliases and functions — with the help of ChatGPT. Below, I’ve included the commands in a table. Linux One Command Per Day Command Description Examples tldr Get command description. tldr ls bat ...

Tracking Progress: Running and Skiing Results

A quick update to share my recent sports experiences, from running races to cross-country skiing adventures! 🏃 Running Results Date Event Distance Time Ranking Reflection 2021-09-05 Marcialonga Coop (staffetta) 2024-09-07 Marcialonga Coop (staffetta) 2024-010-06 Trento Half Marathon Half Marathon 1:4927 2025-02-16 Romeo e Giulietta run (Verona) Half Marathon !:44:14 . 2025-03-02 Termal Bologna Marathon 30km 2:39:00 ...

Quick PBS Commands for GEOFrame Simulations

Image
In these days, I have had the need to run several jobs on a High-Performance Computing (HPC) system. Specifically, I wanted to perform multiple kriging simulations with the GEOFrame hydrological modeling system. GEOFrame already supports parallel processing, so each job can perform multiple simulations simultaneously using a topology file—typically synthetic to avoid unnecessary waits at leaf nodes. To further accelerate the workflow, I split my topology into multiple files and submitted each as part of an array job. Below, I share some useful commands, starting with the PBS file for submitting array jobs. Each simulation file is named grap${PBS_ARRAY_INDEX} , where ${PBS_ARRAY_INDEX} varies from 1 to 90. PBS Array Job Submission Example: #!/bin/bash #PBS -l select=1:ncpus=20:mem=30GB #PBS -N kriging_array_1 #PBS -m abe #PBS -M my_mail@mail.com #PBS -l walltime=03:00:00 #PBS -J 1-90 #PBS -q myQueue module load jdk-11.0.1 cd /home/daniele.andreis/articolo_kriging/ SIM...

Exploring the Trails of Lagorai: A Series of Hikes in Val Campelle and Beyond

Image
Introduction At the end of the summer of 2024 and during autumn, I rediscovered Val Campelle for hiking. Although I had explored these places before, including ski touring during the winter, this time felt different. I was drawn back not just for the physical activity but because my focus shifted from purely sportive motivation to a deeper interest in the history and landscape. Why Val Campelle? At the beginning, I chose this place because of the availability of relatively long circular hikes. After my first excursion, combined with some past memories, I became curious to invest more time exploring this valley and nearby areas such as Val Malene. A Memorable Visit to Val Malene In 2023, I visited Val Malene, and more specifically, I hiked to Costabrunella Lake. Coincidentally, on the same day, a ceremony in memory of partisans was taking place, which significantly increased my interest. I had not known about the presence of partisans during the Seco...

How I Keep My Research Papers and Bibliography Organized

Image
Keeping your paper library well-organized is essential for finding the right document at the right time. A good organization system helps you stay focused on your research, save time, and improve productivity. Over the years, I have experimented with several digital tools for managing bibliographies and taking notes. I’ve read blogs, watched tutorials, and incorporated advice from others, adapting these methods to fit my personal workflow. My requirements are quite common: organizing papers, taking notes, and accessing them seamlessly across devices such as my laptop and tablet. There are many sources for discovering research papers: recommendations from supervisors, references within papers I’ve read, and social media posts about new studies—both on general platforms like X (formerly Twitter) and research-specific networks like ResearchGate. This results in a massive collection of interesting papers to read and organize. My primary tools are Zotero and Notion. I followed Holl...

How I Organize Myself: From Bullet Journal to Notion

Image
Organizing my daily tasks and long-term goals is essential as I balance my work, PhD research, personal growth, and leisure time. Over time, I've developed a system that blends analog and digital tools to keep everything in order. Here's an overview of how I use these tools and resources to manage work, track habits, and pursue new interests. Although the system can be a bit complex, it works for me, and I regularly try to update and improve the steps. Bullet Journal for Daily Planning and Habit Tracking My bullet journal is the heart of my organization. I track daily tasks, important thoughts, and monitor new habits. I started using this method after reading The Bullet Journal Method by Ryder Carroll [2] , which serves as the foundation for my approach. I adapt the method to suit my needs. For example, I don’t use it for appointments or general note-taking—only for specific to-dos and habit tracking. My structure includes: Index: This is the ...

Use NetworkX for GEOframe topology

Image
A basin network can be seen as a graph, specifically as a directed acyclic tree . In GEOframe , the topology of the basins, which describes the direction of the flow and the interconnections of the basins, is usually saved in a text file with two columns: the first column represents the origin basin , and the second column represents the target basin . The 0 is used to mark the outlet of the network. For example: 8 7 7 4 6 5 5 4 4 3 3 2 2 1 1 0 The 0 mark the outlet. In my work, I've encountered the need to manipulate basin networks so verifying the topological correctness of these new graphs is crucial. To accomplish this task, I chose the NetworkX Python library. This library facilitates a variety of tasks—such as cutting the network, iterating through the network, and comparing two or more networks within the same watershed—thanks to its class structure, specifically the Graph class. As a result, I've developed some functions for basic operations on the network and sha...