The Event Aggregator pattern provides centralized events, thus simplifying producer/consumer registration/interaction.
My impressions after some programming in Go can be summed up in two words: simple and scalable.
When working on a Flask project, you may want to override flask configurations on different environments. Here are some suggestions. A folder structure like the following might work well /demo/ __init__.py configs/ __init__.py application.id default.py development.py production.py staging.py test.py controllers.py templates/ index.html In this structure, configs are plain python files and default is always loaded. […]
Twisted is explicit. If you kill a script that uses your protocol, it might die before data transmission finishes, unless you handle it yourself.
Teaching how to use twisted’s inlineCallbacks is hard. The learning curve can be steep for a new developer. My usual attempts to break it down involved explaining
At work we consume lots of SOAP webservices, its probably a GDS thing. The most common type of request is flight availability search. Due to the sheer response size, they can be taxing to parse. It’s about time we take a Paretofied approach and optimize this critical 20ish percent of our code. So with the […]
As this is powered by jekyll/octopress, it’s worthwhile to go into some detail about how to serve it on a Linode (or equivalent) and how to autoregenerate the whole site with a simple git push.