Articles
- Installing Node.js and npm on a Mac
- Installing Ruby on a Mac
- Migrating my website domain
- Lato 2.0 Font Family
- PyConES 2019 - A practical DDD approach to Nameko microservices
- Nameko Eventlog Dispatcher
- PyConES 2015 - Distributed services
- Unicode strings and bytestrings in Python 2
- Deploying Django with Apache and mod_wsgi
-
Installing Node.js and npm on a Mac
Recently, I installed Node.js and npm on my Mac and thought of documenting the steps I followed for future reference, which will be helpful the next time I have to do it. ...read more -
Installing Ruby on a Mac
There are already quite a few guides and articles that explain how to install Ruby, so I don’t intend to write just another one. Instead, I’m going to document the steps I followed to install Ruby on my Mac, describe the approach I chose, and summarise the commands I used. These notes are meant to serve as my personal technical reference and to help clarify how the Ruby installation process works. ...read more -
Migrating my website domain
I have been using theblogsubdomain for this website since I started my blog around 2013 (on Blogger, before I moved to GitHub Pages). I did not want to build something myself for publishing my articles and Blogger gave me the option of using my own custom domain. Since I was already usingwwwon my main website, I decided to go withbloginstead. ...read more -
Lato 2.0 Font Family
As part of a small redesign on this website, I wanted to use a high-quality and elegant font that also looked good with text in italics and displaying content in bold, but specially when combining both styles, which is something more difficult to find. After doing some research and comparing a few different fonts, I started to use the Lato Google font. However, even though it looked quite good, I was not fully convinced. ...read more -
PyConES 2019 - A practical DDD approach to Nameko microservices
Here you can find all the information about the talk that I gave at PyConES 2019 on the 5th of October, 2019: A practical DDD approach to Nameko microservices Slides: PyConES 2019 - A practical DDD approach to Nameko microservices ...read more -
Nameko Eventlog Dispatcher
Here at Sohonet, we build our products backend following a microservices architecture. Our services are built using Nameko, a microservices framework for Python that “lets service developers concentrate on application logic and encourages testability”. Nameko encourages the use of dependency injection and provides an easy way of adding dependencies to our services. ...read more -
PyConES 2015 - Distributed services
Here you can find all the information about the talk that I gave at PyConES 2015 on the 22nd of November, 2015: Having it All: Distributed services with Django, Boto, and SQS queues Slides: PyConES 2015 - Distributed Services ...read more -
Unicode strings and bytestrings in Python 2
Does this Python exception look familiar? Most Python developers have seen this at least once. Character sets, encodings, Unicode and all that stuff are hard to deal with until you fully understand what is going on behind the scenes. ...read moreTraceback (most recent call last): File "<stdin>", line 1, in <module> UnicodeEncodeError: 'ascii' codec can’t encode character u'\u03b1' in position 0: ordinal not in range(128) -
Deploying Django with Apache and mod_wsgi
The aim of this article is to explain how to deploy a Django site with Apache and WSGI on Linux (Ubuntu), considering that neitherapache2normod_wsgihave been previously installed in the system. I will use the deployment of my personal website as an example. ...read more