Paolo Redaelli personal blog

Author: Paolo Redaelli

Il 7% è già tanto…

Inaugurata la terza “velostazione”. Metà dei ragazzi usa i mezzi pubblici mentre pedalando si muovono solo in 3.200. Su “La Repubblica” si lamentano che “Al Politecnico solo il 7 per cento degli studenti arriva in aula in bicicletta“. Solo? Così tanti, direi! Il giornalista evidentemente non ha idea da dove arrivino gli studenti del Politecnico.…

Last line is wrong

Last line is wrong. Once my wife told me this exact pun and I answered showing her TWO years of phone logs, where the missed calls were less than 2% and even in that cases I recalled in 2 minutes

W San Carlo!

Viva San Carlo! Ma non questo Carlo. E nemmeno quest’altro Carlo (che al momento è “solo” Beato). No, no…. questo Carlo Ossia San Carlo Lwanga, catechista e martire. Un santo giovane, un santo “recente”. Anzi, di più. Un santo moderno. Modernissimo, anzi attualissimo. Domani, 3 giugno ricorre la sua memoria liturgica. Credo valga la pena…

Wetware programmer

I’ve been assistant lecturer for courses Structural Design at Politecnico di Milano since 2004. Therefore I often used to pun that I’m actually a wetware programmer. In fact I do really help students learn something, that is, “programming” their brain. Now reading «World’s First Bioprocessor Uses 16 Human Brain Organoids, Consumes Less Power» I learn…

Never* use git pull – YouTube

    Just a quick summary mostly for myself:

    How to use git pull --rebase to keep your team’s commit history clean.

    Command for creating the ‘git pr‘ alias (so you can copy-paste): git config --global alias.pr "pull --rebase"

    1. Always try git pull --rebase first. It if works, you’re done!
    2. If you get a merge conflix, you can undo everything with git rebase --abort
    3. Then just pull “normally” using git pull, or do an interactive rebase (advanced)