-
Context: Spring microservice application to be deployed on K8s via helm + boring Friday
In this scenario, you end up writing the SAME configuration string in a lot of places:
- On at least 2 application.properties (main and test)
- On the final, helm-generated application properties (or in the relevant environment variable if you use them in place (1))
- On the default K8s values.yaml used by helm. Possibly on other yaml file too, all documented a bit to be kindly with the K8s SRE.
- On the relevant Java code, as a @Value annotation to finally use that damn config.
Read More -
I love the super professional Changelogs you see in a lot of open source project.
Git-chglog is a Golang program you can run inside docker, to generate very professional change logs.
It works by collecting git comments with special keywords (like “Fix”, “Feature” and so on) and in the last version is also feature a JIRA integration can further simplify your work
Read More -
There is a funny article called “I’m OK; The Bull Is Dead” I want to use as incipit for this post.
The Last week I went in a meeting about flipping a BUY/SELL direction involving three services A -> B -> C. The initial B spec was right, but it was supposed to be wrong, someone (A) asked a change, and then it raised a complain on C. The entire meeting was a circula discussion on how we could fix it (just a revert of the fix?), why it was done in that way, etc.
Read More -
Reblog via Giovanni Giorgi :commodore:
https://www.mtmteatro.it/events/la-cena-dei-cretini-di-francis-veber/ #UnoTeatro visto ieri a Milano, merita veramente. Graffiante. #Teatro @daitangio@gioorgi.com

-
Direttamente dal mio corso di sicurezza sul lavoro, da una statistica inglese:
Sorprendentemente, l’idea che il treno sia piu’ sicuro dell’aereo e’ giusta, mentre il fatto che andare a piedi sia piu’ rischioso che andare in auto non era cosi’ ovvio
-
God summons Bill Clinton, Boris Yeltsin, and Bill Gates to his office and tells them: “I have called you to announce the end of the world: it has been set by me for midnight on December 31, '95. Go and communicate the good news to the world.”
Yeltsin gathers the Duma and says: “Dear comrades, I have two bad news to give you: the first is that God exists, the second that the end of the world has been set for December 31, 95.”
Read More -
Non sono mai stato un fan di Twitter, ma grazie alla gestione abbastanza folle di Elion Musk, definibile “da boscaiolo con ascia”, ho avuto la ventura di provare Mastodon, e sperimentare le ebrezze del “fediverso”.
All’inizio non avevo ben capito come funzionasse, lo ammetto :) Ma la community e’ stata molto gentile e accogliente e contrariamente a Twitter, su Mastodon la maggior parte dei messaggi non parla di cosa uno a mangiato a colazione(!), ma sono in generale piu’ informativi, e c’e’ meno rumore di fondo.
Read More -
K8s and limits
On K8s, for every pod you can define how much memory and CPU the pod needs. To make things "simpler", K8s define two set of values: requests and limits, both for CPU and memory. After some trouble on GCP, I was forced to dig a bit in the subject.
Read More -
Your software is slow? It could be your fault. Lets dive into one of the most important aspect seldom explained by Senior IT Architects -
August throughts
Programming is like writing.Code must be easy to read, and understand. For this reason I do not like very much technologies like:
- Aspect oriented programming
- SQL Triggers
- Web filters
- Last minute event listeners (like the one check before an entity save and 'patch' some data on the fly or launch additional events).
Side effects are the evil of programing in my humble opinion because can create unexpected bugs.
Read More -
Approfittando di un ingente sconto e dell’impossibilità di giocare ancora a BaldusGate3, ho comperato Skyrim per PlayStation5/PS4 ad appena 22€.
Pur essendo un gioco di dieci anni fa, sono rimasto favorevolmente colpito dall’impianto narrativo.
Ovviamente questa versione contiene una serie di espansioni e migliorie rispetto alla versione originaria, che ne hanno arricchito i contenuti, e migliorato la grafica.
Read More -
I will admit it right now: I like to small talk, even at work.
Italian meetings are time-stealer nightmares.
So I have developed three simple rules, for my remote work:
- Pretend and provide a meeting Agenda or at least a meaningful subject
- Space out meeting with at least 15 minutes between them, to be able to prepare them
- Try to be very time boxed, and alert when 15 minutes remaining (for Italian guys, 30 minutes :) If you present, be very clear and ask confirmation, because guys sometimes does not listen to you or play with web browser. Speak slowly if needed.
-
Silvio Berlusconi e’ morto oggi al San Raffaele di Milano.
Nato imprenditore, attivo soprattutto tra gli anni 70 e 80, “scese” in campo (in politica) nel 1992.
Ha rivoluzionato il linguaggio politico, e ha plasmato in parte un certo modo di pensare del paese.
Per 31 anni e’ stata una personalita’ che ha polarizzato nel bene e nel male il paese.
Read More -
La coalizione di governo guidata dalla destra estrema Italiana continua a macinare consensi in modo solido e duraturo.
Questa coalizione segue un programma di propaganda che si e’ sviluppato sui seguenti fatti reali:
- Strizza l'occhio ai commercianti, promette sgravi significativi e difatto autorizza psicologicamente una qualche tipo di evasione fiscale
- Colpisce in modo un po' vigliacco le minoranza gay/LGBT+ o chi non può avere figli in modo 'tradizionale', perché in quanto minoranze non rappresentano una minaccia al consenso. Annullare il riconoscimento dei genitori non biologici, vuol dire creare un disagio ai minori, oltre che invadere la sfera privata dei cittadini.
- Inasprisce le pene per scafisti, e cerca di far pagare multe salate alle navi delle ONG, che non e' proprio come aggredire il problema dalla testa, ma dalla coda
- Ogni tanto mente alle campagne stampa, per es dichiara dei fondi per l'alluvione ma poi ne scrive meno nella legge (!)
Ritengo che tutto questo pero’ debba essere considerato un punto di partenza anziche’ di arrivo di questa destra. E’ importante che una colaizione cosi’ solida e con una vittoria cosi’ schiacciante si impegni a diventare qualcosa di piu’ che il potere per il potere. Io spero che Giorgia oltre ad essere donna, Cristiana e Italiana, si dimostri anche un leader che possa lasciare un buon ricordo di se’ per le generazioni future.
Read More