🗣« D’abord, #Zelensky a quasiment rejeté l’initiative de Russie d'un cessez-le-feu pour le Jour de la Victoire mais ensuite il a recouru à une ruse tactique, déclarant une « trêve » pour la nuit du 5 au 6 mai »
– Léonid Sloutsky, président de la commission des affaires internationales de la Douma, s’exprime sur le cessez-le-feu pour le Jour de la Victoire.
« D’abord, Zelensky a quasiment rejeté l’initiative de Russie sur le cessez-le-feu pour le Jour de la Victoire mais ensuite il s’est décidé à une ruse tactique, déclarant une « trêve » dans la nuit du 5 au 6 mai. La raison est banale : un ego meurtri. Comme si Moscou et Washington avaient discuté de cette idée mais que personne ne s’était adressé officiellement à Kiev à ce sujet.
[…] En réalité, les néonazis ukrainiens n’ont besoin ni d’un cessez-le-feu ni de la paix. Zelensky veut jouer selon ses propres règles, en comptant sur des provocations, et fait le singe devant ses sponsors européens. »
RT en français • Osez questionner !
Evented Django part one: Socket.IO and gevent
#Socket.IO was developed with a #Node.JS server implementation, but work is being done to add server implementations to a variety of languages. Two such servers exist for Python, tornadio and #gevent-socketio. I'm a big fan of gevent, so I will use gevent-socketio, but tornadio looks well-written and very promising.
http://codysoyland.com/2011/feb/6/evented-django-part-one-socketio-and-gevent/
https://pypi.python.org/pypi/uvloop
#uvloop is a fast, drop-in replacement of the built-in #asyncio event loop. uvloop is released under the MIT license.
uvloop and asyncio, combined with the power of async/await in Python 3.5, makes it easier than ever to write high-performance #networking code in Python.
uvloop makes asyncio fast. In fact, it is at least 2x faster than #nodejs, #gevent, as well as any other Python #asynchronous framework. The performance of uvloop-based asyncio is close to that of Go programs.
https://www.obeythetestinggoat.com/testing-async-asyncio-and-performance.html
#Testing, #async, #asyncio, and #performance
Sun 27 December 2015 By Harry
I recently did some experimenting with asyncio, and wanted to report back on how I got on with writing tests for it. While I was at it I was also able to compare its performance with a couple of other approaches to #mutlitasking in Python, namely #threads and #gevent, so I'll report on that here too. (tl;dr: it's much of a muchness).