Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

exploring alien taco concept further heh #alien #green #pixelart

Uncategorized
1 1 4

Gli ultimi otto messaggi ricevuti dalla Federazione
  • This brings back memories. Before Python had async/await, before asyncio became standard, I was happily writing concurrent code with gevent. I actually preferred it.

    The reason was simple: no function color problem. With async/await, you split the world into two kinds of functions—ones that block by default and ones that don't. You have to mark the latter with async and remember to await them. With gevent, everything just blocks by default, and you spawn when you need concurrency. It's the same mental model as multithreading, just lighter. Project Loom in Java does something similar, though the technical details differ.

    I sometimes wonder what Python would look like if it had embraced gevent-style coroutines in CPython instead of adding async/await. Or if Stackless Python had been accepted upstream. Maybe async programming would be more approachable today.

    The explicit await keyword gives you visibility into where context switches can happen, sure. But in practice, I/O points are obvious even without the keyword—you're reading from a socket, querying a database, making an HTTP request. The explicitness doesn't really prevent race conditions or timing bugs. Meanwhile, function colors infect everything. One async library forces your entire call stack to be async. You end up maintaining both sync and async versions of the same code, or the ecosystem just splits in two.

    With gevent, there's no such problem. You just call functions. Spawn them if you want concurrency, call them normally if you don't. Go's goroutines and Project Loom are popular for good reasons—they make concurrency accessible without the cognitive overhead.

    Python's choice is history now, and there's no going back. But looking at how things turned out, I can't help but think the more practical path was right there, and we walked past it.

    read more

  • 🌱 Proud to share: my online services are hosted green!
    Verified by The Green Web Foundation — powered by renewable energy via netcup GmbH.
    Small steps matter. 💚

    ✅ thegreenwebfoundation.org/green-web-check/?url=www.nicfab.eu
    ✅ thegreenwebfoundation.org/green-web-check/?url=www.fabiano.law

    read more

  • New, from me: Who Operates the Badbox 2.0 Botnet?

    The cybercriminals in control of Kimwolf -- a disruptive botnet that has infected more than 2 million devices -- recently shared a screenshot indicating they'd compromised the control panel for Badbox 2.0, a vast China-based botnet powered by malicious software that comes pre-installed on many Android TV streaming boxes. Both the FBI and Google say they are hunting for the people behind Badbox 2.0, and thanks to bragging by the Kimwolf botmasters we may now have a much clearer idea about that.

    https://krebsonsecurity.com/2026/01/who-operates-the-badbox-2-0-botnet/

    read more

  • @FraEmme Ho peccato, perdonami...

    read more

  • https://www.today.it/mondo/golden-dome.html

    Trump ha collegato la Groenlandia al suo sistema di difesa missilistica 'Golden Dome', descrivendolo come una rinascita della visione dell'ex presidente Ronald Reagan di una difesa missilistica completa.

    read more

  • Arrivo tardi alla festa ma sto recuperando Bridgerton.

    Se questo ha a che fare con la presenza di Jonathan Bailey nel ruolo di Anthony Bridgerton? Ma chi siete, ma che volete, non sono qui per essere messa sotto processo, non siete mi' madre.

    read more

  • @olasd @debian stickerseeeess!!!!
    read more

  • @filippodb @sicurezza Quale fornitore ("istanza"?) consigliate di usare? Vedo che di default è presente matrix.org, ma tu hai scelto mozilla.org.
    C'è qualche motivo in particolare? Di cosa dobbiamo tenere conto?
    Altri fornitori ("istanze"?) degni di nota?

    read more
Post suggeriti