's Avatar

@marcodelmastro.bsky.social

104 Followers  |  91 Following  |  56 Posts  |  Joined: 14.11.2024  |  1.6102

Latest posts by marcodelmastro.bsky.social on Bluesky


Preview
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 โ€ฆ

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...

12.01.2026 08:47 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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...

12.12.2025 14:27 โ€” ๐Ÿ‘ 38    ๐Ÿ” 8    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 2
Post image

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? ;-)

12.12.2025 14:38 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

I just completed all 12 days of Advent of Code 2025! #AdventOfCode adventofcode.com

12.12.2025 10:45 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

... 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...

12.12.2025 10:36 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
AdventOfCode2025/Day12.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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 ...

12.12.2025 10:35 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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)

11.12.2025 16:55 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

The color of the nodes shifts toward red proportionally to the number of incoming connections (and it is clearly visible that there are bottlenecks...).

11.12.2025 16:55 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

And now the compulsory graph visualisation;-)

11.12.2025 16:53 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
AdventOfCode2025/Day11.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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!

11.12.2025 11:14 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Definitely harder than yesterday, but in a different way (required more mathematical thinking and knowledge of specialized tools).

10.12.2025 10:21 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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!

10.12.2025 10:21 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

... 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)

10.12.2025 10:20 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
AdventOfCode2025/Day10.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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 ...

10.12.2025 10:20 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
AdventOfCode2025/Day09.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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.

09.12.2025 13:20 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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/

08.12.2025 12:02 โ€” ๐Ÿ‘ 6    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

How โ€œnot on BSโ€?! Iโ€™m here! ;)

08.12.2025 22:10 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Video thumbnail

And not the compulsory animation... ;-)

08.12.2025 14:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
AdventOfCode2025/Day08.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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 ;-)

08.12.2025 10:14 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
AdventOfCode2025/Day07.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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...

07.12.2025 07:23 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
AdventOfCode2025/Day06.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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.

06.12.2025 09:24 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
AdventOfCode2025/Day05.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

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...

05.12.2025 07:20 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

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...

04.12.2025 08:28 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
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โ€ฆ

(...) 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.

03.12.2025 08:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
AdventOfCode2025/Day03.ipynb at main ยท marcodelmastro/AdventOfCode2025 Advent Of Code 2025. Contribute to marcodelmastro/AdventOfCode2025 development by creating an account on GitHub.

I've completed "Lobby" - Day 3 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/3 github.com/marcodelmast...

03.12.2025 08:13 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I've completed "Gift Shop" - Day 2 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/2 github.com/marcodelmast...

03.12.2025 08:12 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I've completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/1 github.com/marcodelmast...

03.12.2025 08:11 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
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โ€ฆ

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 (...)

20.01.2025 12:45 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
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 โ€ฆ

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

19.01.2025 13:22 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
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 โ€ฆ

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...

06.01.2025 09:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@marcodelmastro is following 20 prominent accounts