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 had to install Node.js and npm on a Mac and I decided to document the steps I took, which could be useful if we have to do this again from scratch. ...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 create another one. What I’m going to do is to document the steps I took to install Ruby on my Mac and summarise how I made it work. This is a fantastic article about the fastest and easiest way to install Ruby on a Mac, linked from the Jekyll on macOS installation page. This is another article that explains the benefits of usingchruby
: why I use chruby instead of RVM or rbenv. The Why You Should Never Use sudo to Install Ruby Gems article is also worth reading. ...read more -
Migrating my website domain
I have been using theblog
subdomain 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 usingwww
on my main website, I decided to go withblog
instead. ...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 neitherapache2
normod_wsgi
have been previously installed in the system. I will use the deployment of my personal website as an example. ...read more