Sign in

marcodelmastro.bsky.social

@marcodelmastro.bsky.social
120 followers 97 following 62 posts
PostsRepliesMedia
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 13/09/2026
Giao ;)
121
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 06/08/2026
Sempre svettanti in estate e in inverno (Ciao Francesco, mi mancherai) www.borborigmi.org/2026/08/06/s...
borborigmi.org
Sempre svettanti in estate e in inverno
Ed in estate, se il vento raccoglie l’invito fatto da ogni gemma fiorita, sventoleremo bandiere di foglie e canteremo canzoni di vita. E così, assieme, vivremo in eterno qua sulla terra, l&#8…
000
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 28/06/2026
LHC switched off yesterday. Run 3 is over, and tomorrow Long Shutdown 3 begins, three years of taking detectors apart and rebuilding the machine into HL-LHC. I wrote about what that feels like from the inside. www.borborigmi.org/2026/06/28/t... #LHC #HLLHC #CERN #HiggsBoson
borborigmi.org
The Next Is Now
Here we are. As of yesterday LHC is switched off: even the last high-intensity tests are over (collisions had already ended on Friday), and Run 3 is definitively finished. Tomorrow, early in the mo…
144
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 27/05/2026
Not seeing the immensity of cosmos leads us to fold inward, in space and in time: who today dares to dream of 2050? The future seems either nonexistent or condemned, so thinking about a project like the #CERN #FCC seems impossible... www.borborigmi.org/2026/05/22/t...
borborigmi.org
The Lost Horizon
A public debate on CERN’s Future Circular Collider project, the FCC, is currently underway in France and Switzerland. In France, this is a legally mandated process for any major infrastructur…
010
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 11/03/2026
Quasi a tempo pieno, in realtà ci sono delle cose che faccio per cui il C++ è ancora necessario
010
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 11/03/2026
I code out of necessity, and I might finally be able to stop borborigmi.org/2026/03/11/i... #physics #AI
borborigmi.org
I code out of necessity, and I might finally be able to stop
In mid-January I gave a public talk in Annecy where I was telling an audience of curious people how a Higgs boson is produced and its properties measured (and why, but that’s another story). …
011
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 12/01/2026
A dicembre avevo parlato di due sviluppi per il futuro di FCC: tra le altre cose, aspettavamo la redazione delle raccomandazioni sulla strategia europea per la fisica delle particelle, che lo ESG doveva redigere. Le raccomandazioni sono puntualmente arrivate (...) www.borborigmi.org/2026/01/12/i...
borborigmi.org
Il futuro dei collisionatori passa da FCC (anche in versione ridotta)
A inizio dicembre dell’anno appena concluso avevo parlato di due sviluppi importanti per il futuro di FCC. Tra le altre cose, aspettavamo la redazione delle raccomandazioni sulla strategia europea …
010
Reposted by @marcodelmastro.bsky.social
CERN @cern.bsky.social · 12/12/2025
The European Strategy for Particle Physics reaches an important milestone At its 225th session, the #CERN Council received the recommendations for the update of the European Strategy for Particle Physics. Read more: home.cern/news/press-r...
0368
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 12/12/2025
Ok, there was a trap! Damn @was.tl that was a neat puzzle... ;-) So, no real need to actually solve the region present arrangements, but what if I did anyway? ;-)
000
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 12/12/2025
I just completed all 12 days of Advent of Code 2025! #AdventOfCode adventofcode.com
010
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 12/12/2025
... to explore the full phase space in case it does not exist. My quick and dirty solution was to cut seaches that takes too long, and it worked! ;-) I'll work on possible optimisation and pruning options another time...
100
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 12/12/2025
I've completed "Christmas Tree Farm" - Day 12 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/12 github.com/marcodelmast... Jigsaw/Tetris-like puzzle to solve. I implemented a backtracking solution that converge rather fast if a solution exists, but takes a lot of time ...
github.com
AdventOfCode2025/Day12.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
130
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 11/12/2025
Inputs, output, and intermediate nodes to be traced in part 2 are circled in red (and it is easy to see that the portion of the graph relevant to part 1, starting from "you," is considerably smaller than the portion for part 2)
000
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 11/12/2025
The color of the nodes shifts toward red proportionally to the number of incoming connections (and it is clearly visible that there are bottlenecks...).
100
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 11/12/2025
And now the compulsory graph visualisation;-)
100
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 11/12/2025
I've completed "Reactor" - Day 11 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/11 github.com/marcodelmast... Using networkx to simplify all graph basic operations. I ended up implemented a path counting approach based on DP that speed up Part 1, and is compusory to approach Part 2!
github.com
AdventOfCode2025/Day11.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
220
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 10/12/2025
Definitely harder than yesterday, but in a different way (required more mathematical thinking and knowledge of specialized tools).
000
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 10/12/2025
Most of the complexity was in properly encoding the constraints (integer non-negative solutions, minimal sum). Part 2 result was initially wrong by 1 becouse of a @$%^& rounding error when casting result to int!
110
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 10/12/2025
... while it works for the example, even with pruning the solution space is still too large for the full input. Thinking more carefully I tried a mathematical approach (Part 2 is effectively a linear system with constraints) using scipy.optimize.milp to solve (MILP=Mixed-Integer Linear Programming)
100
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 10/12/2025
I just completed "Factory" - Day 10 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/10 github.com/marcodelmast... BFS and bitwise XOR operation for Part 1. I initially thought I could adapt my BFS solution for Part 2, but ...
github.com
AdventOfCode2025/Day10.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
130
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 09/12/2025
I've completed "Movie Theater" - Day 9 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/9 github.com/marcodelmast... Hardest day so far. Part 1 was trivial, Part 2 required to handle various edge cases and a peculiar input! Used a combination of ray casting and edge crossing detection.
github.com
AdventOfCode2025/Day09.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
010
Reposted by @marcodelmastro.bsky.social
Tristan du Pree @tristandupree.bsky.social · 08/12/2025
It's a wrap! No more #LHC collisions this year - it's time for the "year end technical stop" op-webtools.web.cern.ch/vistar/
063
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 08/12/2025
How “not on BS”?! I’m here! ;)
110
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 08/12/2025
And not the compulsory animation... ;-)
010
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 08/12/2025
I've completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/8 github.com/marcodelmast... Things re-learned the hard way today: objects in dictionary and list are references; result of set operations are new set; `list.remove()` is pretty convenient ;-)
github.com
AdventOfCode2025/Day08.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
040
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 07/12/2025
I've completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/7 Used `set()` for part 1 to deal with overlapping beams, moved to `defaultdict(int)` in part 2 to count beams in same position (it's lanternfish day!). github.com/marcodelmast...
github.com
AdventOfCode2025/Day07.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
130
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 06/12/2025
I've completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6 github.com/marcodelmast... Part 2 was fun, using string to reconstitue values after rotation, catching str->int conversion to deal with empty lines.
github.com
AdventOfCode2025/Day06.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
020
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 05/12/2025
I just completed "Cafeteria" - Day 5 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/5 Very similar to AOC 2016 Day 20, I almost entirely recycled that code to prune and merge the overlapping intervals. github.com/marcodelmast...
github.com
AdventOfCode2025/Day05.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
020
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 04/12/2025
I've completed "Printing Department" - Day 4 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/4 github.com/marcodelmast... First map of 2025 (and first visualisation)! Solved with `numpy` array operations...
050
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 03/12/2025
(...) The ESG is working on them right now, during a meeting at Monte Verità, in Ascona, Switzerland. The recommendations will be delivered to the CERN Council which will then have to take concrete decisions for the coming years (...) we still have time, and we should try to be bold and visionary.
borborigmi.org
A couple of developments toward the future of FCC
Over the past few months, despite my sporadic presence on these pages, I’ve been reporting in bits and pieces on the work done for the update of the European Strategy for Particle Physics. I had, f…
000
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 03/12/2025
I've completed "Lobby" - Day 3 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/3 github.com/marcodelmast...
github.com
AdventOfCode2025/Day03.ipynb at main · marcodelmastro/AdventOfCode2025
Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.
030
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 03/12/2025
I've completed "Gift Shop" - Day 2 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/2 github.com/marcodelmast...
030
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 03/12/2025
I've completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/1 github.com/marcodelmast...
120
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 20/01/2025
Sono seduto su un treno che va da Ginevra a Parigi, diretto a un simposio dove cercheremo di tirare le fila sulla posizione della comunità scientifica francese rispetto al prossimo aggiornamento della Strategia Europea per la Fisica delle Particelle (...)
borborigmi.org
La futura strategia per la fisica delle particelle in Europa, a Parigi
Sono seduto su un treno che va da Ginevra a Parigi, diretto a un simposio dove cercheremo di tirare le fila sulla posizione della comunità scientifica francese rispetto al prossimo aggiornamento de…
020
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 19/01/2025
Perciò era nobilmente pigro Un paio di lettori sono riusciti a decifrare la breve frase che avevo proposto alla vostra attenzione crittografica qualche giorno fa (...) www.borborigmi.org/2025/01/19/p... #borborigmi #primolevi #crittografia
borborigmi.org
Perciò era nobilmente pigro
Un paio di lettori sono riusciti a decifrare la breve frase che avevo proposto alla vostra attenzione crittografica qualche giorno fa: Pdiho lrxpt ci rwdmxi, br ihsge dv hfabsexj wveq mhemqqir kts …
010
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 06/01/2025
Mentre stanno arrivando gli auguri di inizio 2025 per il biglietto di ATLAS di quest'anno, mi è venuta voglia di misurare quante persone avessero negli anni partecipato a questo appuntamento annuale che esiste dal 2010. (...) www.borborigmi.org/2025/01/06/c...
borborigmi.org
Circa 56
Mentre stanno arrivando gli auguri di inizio 2025 per il biglietto di ATLAS di quest’anno, mi è venuta voglia di misurare quante persone avessero negli anni partecipato a questo appuntamento …
000
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 01/01/2025
Un anno quadrato e il biglietto di auguri di ATLAS www.borborigmi.org/2025/01/01/u...
borborigmi.org
Un anno quadrato e il biglietto di auguri di ATLAS
Il teorema di Nicomaco, che ho scoperto grazie al post su Facebook del mio professore di Metodi Matematici per la Fisica (grazie prof. Sciuto, per il teorema di Nicomaco e per tutto il resto!), aff…
011
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 27/12/2024
Dieci anni di #AdventOfCode www.borborigmi.org/2024/12/26/d...
borborigmi.org
Dieci anni di Advent of Code
È la mattina di Natale, sono le 8 e tutti dormono ancora. Per la prima volta arrivo al 25 con tutti i problemi di Advent of Code dei 24 giorni precedenti completati (incredibile!), e si sa che il p…
020
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 25/12/2024
È mio, è tuo…
010
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 25/12/2024
I've completed "Code Chronicle" - Day 25 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/25 github.com/marcodelmast...
github.com
AdventOfCode2024/Day25.ipynb at main · marcodelmastro/AdventOfCode2024
Advent Of Code 2024. Contribute to marcodelmastro/AdventOfCode2024 development by creating an account on GitHub.
030
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 25/12/2024
I just completed all 25 days of Advent of Code 2024! #AdventOfCode adventofcode.com
adventofcode.com
Advent of Code 2024
040
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 24/12/2024
I just completed "Crossed Wires" - Day 24 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/24 github.com/marcodelmast...
050
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 23/12/2024
I just completed "LAN Party" - Day 23 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/23 github.com/marcodelmast... (using a dictionary for Part 1, networkx FTW for Part 2!)
020
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 22/12/2024
I've completed "Keypad Conundrum" - Day 21 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/21 github.com/marcodelmast... (Today was as difficult as Day 19, and in some sense similar in what the solution for part 2 needed)
github.com
AdventOfCode2024/Day21.ipynb at main · marcodelmastro/AdventOfCode2024
Advent Of Code 2024. Contribute to marcodelmastro/AdventOfCode2024 development by creating an account on GitHub.
020
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 22/12/2024
I've completed "Monkey Market" - Day 22 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/22 github.com/marcodelmast...
github.com
AdventOfCode2024/Day22.ipynb at main · marcodelmastro/AdventOfCode2024
Advent Of Code 2024. Contribute to marcodelmastro/AdventOfCode2024 development by creating an account on GitHub.
060
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 20/12/2024
I've completed "Race Condition" - Day 20 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/20 github.com/marcodelmast...
github.com
AdventOfCode2024/Day20.ipynb at main · marcodelmastro/AdventOfCode2024
Advent Of Code 2024. Contribute to marcodelmastro/AdventOfCode2024 development by creating an account on GitHub.
030
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 19/12/2024
I just completed "Linen Layout" - Day 19 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/19 github.com/marcodelmast...
github.com
AdventOfCode2024/Day19.ipynb at main · marcodelmastro/AdventOfCode2024
Advent Of Code 2024. Contribute to marcodelmastro/AdventOfCode2024 development by creating an account on GitHub.
030
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 18/12/2024
I just completed "RAM Run" - Day 18 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/18 github.com/marcodelmast...
040
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 16/12/2024
I've completed "Reindeer Maze" - Day 16 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/16 github.com/marcodelmast... Dijkstra indexed on path score; for Part 2 saving full path and accumulating all positions for paths with best scores, returning total set when best score is exceeded
github.com
AdventOfCode2024/Day16.ipynb at main · marcodelmastro/AdventOfCode2024
Advent Of Code 2024. Contribute to marcodelmastro/AdventOfCode2024 development by creating an account on GitHub.
040
marcodelmastro.bsky.social @marcodelmastro.bsky.social · 14/12/2024
I've completed "Restroom Redoubt" - Day 14 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/14h...
190