HTTP over QUIC will be called HTTP/3, following a suggestion by Mark Nottingham.
Source: HTTP/3 | daniel.haxx.se
The author has a background in computer science and a passion for new technology. When the degree was earned, the web was not too popular yet. That opened an opportunity to follow the entire process with huge fascination, and the journey didn’t end yet. Most of the development happens in Python and Django these days, but all other facets are interesting, too.
HTTP over QUIC will be called HTTP/3, following a suggestion by Mark Nottingham.
Source: HTTP/3 | daniel.haxx.se
CORS, CSP, HSTS, and all the web security acronyms!link.medium.com/jMrLJYrzBR
Celery is a distributed task execution environment for Python. While the emphasis is on distributed in this software, the concept of having workers allows for settings beyond the individual task. While the first rule of optimisation is “don’t”, sharing database connections is a low hanging fruit in most cases. And this can be configured per worker with Celery provided signals. To create a database connection for individual worker instances, leverage these signals to create the connection when the worker starts.
This can be achieved leveraging the worker_process_init signal, and the corresponding worker_process_shutdown signal to clean up when the worker shuts down.
The code should obviously be picked up at worker start, hence the tasks.py file will be a good location to keep these settings.
Example tasks.py:
from celery.signals import worker_process_init from celery.signals import worker_process_shutdown app = Celery('tasks', broker=CELERY_BROKER_URL) db = None @worker_process_init.connect def init_worker(**kwargs): global db log.debug('Initializing database connection for worker.') db = sqlite3.connect("urls.sqlite") @worker_process_shutdown.connect def shutdown_worker(**kwargs): global db if db: log.debug('Closing database connectionn for worker.') db.close()
The example above opens a connection to a sqlite3 database, which in itself has other issues, but is only meant as an example. This connection is established for each individual worker at startup.
Box-256 is a browser game
where you need to solve
small tasks, e.g. let a program draw a square, in your browser. Through writing assebly. Since I wrote quite a bit assembly throughout my career, I thought this is interesting. Still, I failed at level one. Mostly because of impatience.
Source: BOX-256 – Tiny game about writing assembly to pass the graphics tests.
Für alle Daten, die für Excel zu groß und für Hadoop zu klein sind. Oder um Analysen zu automatisieren, natürlich.
Das Blog, das, neben Don Alphonso, radikaler als ein Salafisten Forum ist, und allen Internet-Nerds Medienkompetenz vermittelt, wird heute 10 Jahre alt.
Die Münchner WebWoche des Isarnetz findet dieses Jahr vom 13.Juni.15 bis zum 21.Juni.15 statt. Erste Veranstaltungen sind im zugehörigen Kalender zu finden.
Anstehende Events » Münchner Webwoche.
via
And so it begins… Erste richtig spannende Veranstaltungen der #mww15 stehen fest http://t.co/jnXEI8LO9i – much more to come!
— Inititiative Isarnetz (@isarnetz) March 31, 2015
Monitoring infrastructure in a meaningful way is important to any IT operations, yet it is hard to realize. Many vendors adress this problem and promise a silver bullet.