-
PostgreSQL is becoming a catch-all solution for simple scenario, and this is a trend, not an accident. A new article full of evidence enforced the ideas I wrote down in the 2019 about Kafka vs PostgreSQL: lets dig into it.
Read More -
Fraknestein MacBook
Ho giá parlato del mio fido MacBook Mid 2009 da 15 pollici che ancora funziona…la batteria è andata alle cozze ma il MacBook ancora si accende fiducioso, con il suo disco SSD al posto del lettore CD.
Approfittando dei saldi Amazon ho comperato un secondo hard disk ssd di mezzo tera, dal costo di appena 25-30 euro, per rimpiazzare l’hard disk meccanico che iniziava a dare segni di usura, poverino (raramente sembrava non partire, e cmq era l’ultimo pezzo meccanico ed era meglio toglierlo).
Read More -
After years, I decided to try a FreeBSD fresh install, to revive a old MacBookPro: the results was great and impressive, also if you think the hardware is over 15 years old. I want to share with you my success.
Read More -
Test driven development is a beast to tame. I like TDD but in the past it was quite difficult to achive, at least in a pure-consultant approach with a "turn key" framework behind.
There are two major concept often not grasped correctly.
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 -
Modern computer are very very very fast. C/64 was about 1Mhz and you can hangs it just throwing a 10.000 cycle in interpreted BASIC v2 language.
Slowest computer today are clocked 3Ghz (3000Mhz!) and are super scalar: it means they can usually execute 2 or more instructions per core in parallel, and you get at least 2 cores on the tiny one (RasperryPi2 has 4 ARM cores, for instance). The sow Intel centrino has at least 2 ALU and can execute between one and two instruction in parallel (mostly arithmetic one).
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 -
Log4jShell vulnerability
- Kasperky article
- https://www.lunasec.io/docs/blog/log4j-zero-day-update-on-cve-2021-45046/ with the following "news":If you have previously used LOG4J_FORMAT_MSG_NO_LOOKUPS to mitigate the log4shell vulnerability, in certain conditions this will not be sufficient to protect your code from RCE. Refer to our mitigation guide for additional steps you can take to remediate the impact of Log4Shell
- Apache group released two fix in short delay, after the second fix was found vulnerable to other attacks, a third fix (2.17.0) was released.
-
On 2023 Ubuntu 18 LTS support will end, so I started to evaluate the next LTS release, Ubuntu 20.
Read More -
Voglio raccontarvi una storia, per spiegarvi quanto è difficile conciliare la vendita di un prodotto commerciale con lo sviluppo di un software "open". Al giorno d’oggi le calcolatrici scientifiche sono un mercato con parecchia concorrenza, e lo prenderò come esempio.
Read More -
Some time ago I stumbled upon this Hacker News discussion on how disable Spectre mitigation.
(For what Meltdown and Spectre is, refer to this article on 2018)
It is sad to say but my Intel NUC centrino was slowed down a lot by these mitigation, and the same faith is shared by old Intel server. Disabling it on Linux and Windows has a very huge improvements.
Read More -
Good insights from this article:
How to strangle a legacy codebase
The strategy is simple:Progressively delete the old code base, in favor of a new one.
Here’s the plan:
- Have the new code acts as a proxy for the old code. Users use the new system, but it just redirects to the old one.
- Re-implement each behavior to the new codebase, with no change from the end-user perspective.
- Progressively fade away the old code by making users consume the new behavior. Delete the old, unused code.
[...]
More here -
In Microservices architecture, you decompose your services in a set of fine-grained services. These services are full-stack software, from front end API down to database layer.
Each microservice is responsible and owns its data.
For instance if you have a MovieInventory service and a CheckIn/Checkout services, they must communicate each other via API.
Read More -
Sono un fan di node js, ed è una grande community.
Però è un ecosistema cresciuto in modo tumultuoso, in cui il progetto più piccolo colleziona dipendenze a rullo… finché poi vedi durante le build cose come del tipo:
cioè io non so chi sia sto zloirock però non mi è mai successo di mettere un messaggio del tipo “assumimi” durante l’installazione di un software…. peraltro nella fase di post-install.
Read More

