-
In the last projects, I get used to use K8s CronJob(s) to schedule tasks.
The most effective way of doing it, is to create a super-tiny cronjob, which the sole purpose is to call a REST webbook(s) of a specific microservice, to fire some action in a predictable way.
Read More -
I am playing to Divinity: Original Sin II (D:OS2) which is the game done before Baldur’s Gate 3 (BG3) by Larian Studios
BG3 is a success despite its launch was anticipated in August to avoid head-to-head competition Starfield. If we compare the success of BG3 with CyberPunk2077 launch failure, I think we can learn something about software developing PLANNING.
Divinity games are a tactical game with a lot of freedom, you can take things, combine them, and solve quests with different approaches (brute forces, talks with different paths, etc). For instance you can try to open a door with a key, with a burglar kit, or bashing it until it is destroyed (more long but feasible).
Read More -
Con un annuncio su YouTube, commander X16 è ufficialmente in vendita, con il suo secondo batch in arrivo per il 2024.
Il prezzo finale è intorno ai 350$ che è accettabile considerando il fatto che è una board custom con software custom ma retro compatible con le periferiche dei computer Commodore a 8bit.
Read More -
Sento continuamente il ministro Salvini (e non solo) parlare di come ‘ai suoi tempi’, ‘quando era giovane lui’, ‘quando c’era la naia’….era tutto meglio.
Per fortuna Luca Bizzarri ogni tanto riporta la realta’ storica, nelle puntate 275, 276 e 277. Per sfortuna dei politici odierni, io sono nato nel 1974, ho circa la loro eta’ e ho una memoria di ferro, anche a causa di una serie di eventi che hanno segnato la mia infanzia ed adolescenza, alcuni belli, altri meno.
Read More -
Federico Crosta era il grande vecchio. In redazione lo conoscevano tutti. Era il vicedirettore da cosi’ tanto tempo che nessuno sapeva dirlo con precisione: cinquanta, sessant’anni?
Conduceva Punto Notturno o PN, un podcast trasmesso alla mezzanotte di ogni giorno, che riepilogava i fatti salienti, commentando le notizie piu’ importanti. Punto Notturno era seguito da tutti in redazione e quindi anche io, in qualità di semplice stagista ero stata “invitata” a farlo, anche perché ero tra i meno fanatici della trasmissione. La ragione e’ presto detta: punto notturno era basata sul prendere di mira un argomento e smontarlo a suon di dati e fatti, mettendo in ridicolo l’ospite. L’azione era affilata e astuta, e quindi non tutti si accorgevano della strategia di Crosta, perche’ il rischio valeva la candela: come ne uscivi si parlava di te per un mese, anche se per me era uno spettacolo assurdamente surreale.
Read More -
There is very handy feature of SpringBoot which is called Dev tools. Dev tools enable hot reloading of spring-boot- based application every time your IDE recompile the code.
Because Spring Boot is often used with Microservices in mind, the reload is quick, and quite seamless.
Read More -
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