-
Ukraine War brings pain, blood and a lot of human losses.
Ukraine War brings also a spike in cyber attacks, perhaps because Russian is using it like a weapon to destabilize Europe and Ukraine.
In this scenario, it is crucial to enforce your security protocols. My Company started to install a Microsoft extension to remove admin access to all employs laptop, and installed a new set of anti-malware services.
Read More -
As a mid-life greabeard that started my career on Z/OS / MVS writing JCL and running COBOL and SAS jobs, I like JavaScript. It doesn't have the obtuseness of C, the ultra-strict type-checking of Pascal, the verbosity of COBOL, class chaos of Java, the mind-bending notation of PostScript, nor the escapee from the loony bin mentality of SQL
Read More -
In questo articolo del 2012, si legge che Reddit avrebbe un database da due tabelle.
Le due tabelle si chiamano “Cose” e “Dati” (i.e. attributi delle cose).
“Cose” contiene una riga per ogni oggetto del sistema (utenti, forum, ecc) e attributi base come il tipo e la data di creazione.
Read More -
Fatti:
- Per fermare Putin è necessario far modo che a lui non convenga più continuare la guerra.
- La Russia si preparava a questa guerra da molto tempo.
- La Russia sta rubando grandi risorse dall’Ucraina che riappaiono in porti turchi.
- È molto probabile che quest’inverno ci sarà un razionamento dell’energia nelle case di molti paesi europei, forse anche in Italia. Già l’Europa prevede di richiedere una riduzione del 15%.
- Le sanzioni stanno funzionando molto lentamente, proprio perché la Russia si era preparata in anticipo, e perché gli effetti non sono immediati.
- La Cina vede nella guerra una occasione per comperare dalla Russia tutte le risorse naturali possibili pagandole pochissimo, un vantaggio ora difficile da rinunciare allo scopo di fermare un massacro che a loro tocca per nulla o quasi.
L’opinione pubblica si sta anestetizzando a questa situazione: non per questo bisogna dimenticare quello che sta succedendo, e abbassare il livello di guardia.
-
Le applicazione odierne girano su 24x7 e spesso su più fusi orari contemporaneamente, e magari hanno clienti distribuiti su più fusi.
Questo può portare a problemi nella gestione delle date non indifferenti.
Read More -
Come orientarsi per le prossime elezioni?
Metto in fila un po’ di considerazioni squisitamente personali, senza voler essere di parte ma neppure completamente “apolitico”, sorry.
Premessa: l’obiettivo è trovare un premier, con una maggioranza più o meno stabile e una serie di linee guida macro (che non siano piantare un milione di alberi o robe così).
E sì, esprimo le mie opinioni personali, senza offendere nessuno e senza sentirmi migliore degli altri, ma neppure un ciulottero qualsiasi. Let’s start
Read More -
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)