-
Ieri il governo Draghi è caduto, in un modo un po’ grottesco.
Draghi ha posto le sue condizioni, e ha chiesto a tutte le forze politiche di stare nel solco di un governo di unità nazionale, esprimendo le sue opinioni sulle passate riforme, e ponendo in pratica un aut aut.
Read More -
I was trying to explore a way to build a client/server application in Typescript; after some failed experiments, I found something better: Next.js offer the ability to build a React application and to render server-side its dynamic components.
So you can have the best of the two words: static pre-rendered pages pushed to the browser, and server side components (for doing your overwhelming BORING queries you know :)
Read More -
How to reboot a k8s pod/deployment
kubectl rollout restart deployment <deployment_name> -n <namespace>
How to show helm history
helm history -n <namespace> <deployment>
-
Random list of very interesting projects (will be updated, guys).
I will add my own ideas/impression as soon as possible.
From simpler to more complex stuff:
- sqlite-utils is a rather useful tool for managing SQLite databases, importing structured data and manipulating them from the command line
- A simple approach to use json, virtual column and indexes to get NoSQL features on SQLite
- Full text search FTS5
- Tools from datasette ecosystem (like DogSheep)
- Litestream Litestream is a standalone streaming replication tool for SQLite. It runs as a background process and safely replicates changes incrementally to another file or S3. Litestream only communicates with SQLite through the SQLite API so it will not corrupt your database.
- Dqlite (distributed SQLite) extends SQLite across a cluster of machines, with automatic failover and high-availability to keep your application running. It uses C-Raft, an optimised Raft implementation in C, to gain high-performance transactional consensus and fault tolerance while preserving SQlite’s outstanding efficiency and tiny footprint.
- Xlite: Query Excel and Open Document spreadsheets as SQLite virtual tables A lot of tools, from plugin like Xlite to command line export tools.
- STRICT TABLES SQLite uses duck-typing and it is very "elastic" on typing. Anyway in the more recent versions you can enable a "STRICT" typing, which does not work on date types, but can help to avoid mixing integer, real and strings in the same column.... see https://www.sqlite.org/stricttables.html
-
Hosting a Git repository can be a strong need if you want to keep your projects outside the cloud providers.
Keep in mind security offered by GitHub, GitLab and Cloud providers like AWS, MS-Azure, etc are damn good (often offering 2FA, two factor authentication, for free) , so think twice before deciding to hosting your own git server. It is a good shot if you do not plan to expose it to Internet, otherwise the expertise required to secure it, it is not trivial.
Read More -
Stranger Things è una delle serie “cardine” di Netflix, creata nel 2015 e che festeggia in questi giorni la stagione 4. E’ importante perché è una proprietà intellettuale originale e completamente sotto il controllo di Netflix (che quindi può vendere pupazzetti, razzi, ecc).
Ho iniziato a guardarla in questi giorni, e benché non mi piaccia al 100%, devo ammettere che ha alcuni punti di forza e di originalità notevoli:

Read More -
Ebbene sì, dopo oltre un anno dalla sua uscita, e nonostante la crisi imperante, ho deciso di acquistare un Mac Mini M1.
Dopo anni di onoratissimo servizio (nonché modding con disco SSD rimpiazzato al posto del CDROM), il MacBook 2009 era non aggiornabile e benché ancora perfettamente funzionante è stato al momento spento.
Ma andiamo ad iniziare…
Read More -
GPT-NeoX-20B, a 20 billion parameter model trained in collaboration with CoreWeave. From https://www.eleuther.ai/
Refer to GitHub project for referencesWe tried it in the playground and the model seems quite impressive.
Sadly the model is very very big, so it seems rather impossible to run it on our home PCs (let me know in the comment if I am wrong)
Read More -
Manzoni una volta riferendosi a Napoleone scrisse “Ai posteri l’ardua sentenza”.
Allo stesso modo è impossibile ora fare riflessioni distaccate sulla guerra in Ucraina, con le atrocità, le violenze e i morti che toccano così da vicino i paesi Europei, e che ad alcuni di essi (Polonia, Repubblica Ceca) ricordano le atrocità della II guerra mondiale.
Read More -
La guerra: un massacro di gente che non si conosce, per gli interessi di gente che si conosce, ma non si massacra
Paul Valéery (proiettato all’entrata dello IULM di Milano a Marzo 2022)
Animazione auto prodotta con https://www.eatmy.art/E’ oramai da quasi due mesi che le immagini del massacro senza regole in Ucraina ci scorrono davanti agli occhi.
Read More -
Manim is an animation engine for explanatory math videos. It's used to create precise animations programmatically, as demonstrated in the videos of 3Blue1Brown.
Read More -
Let PiHole play nice with docker-compose
Apr 3, 2022 · 1 min read ·
When you run pihole in a docker container, it could be difficult to build images on the same docker daemon, because docker-compose cannot pass DNS request to another container during build, and normal dns resolution fixes won’t work.
I solved this issue reading this article and configuring my docker daemon to use a public DNS service:
Read More -
Git Summary and more!
Git extras package add some nice commands to git, like git summary, which give you some insights on commit stats
