Ecto and Binary IDs Generated By PostgreSQL
Version Info: Elixir 1.7 / OTP 21, Ecto 3.0 and Postgres 10
From Evernote to Notes
I have been using Evernote for several years and I pay for a Premium plan because I need to use more than two devices and some of my attachments are over 25MB in size. The system is very capable and includes some really nice features including OCR’ing text in images (really handy if you take a photo of something like a business card).
Five Great Things About Elixir
Late last September I started being interested in Elixir. As the website says, “Elixir is a dynamic, functional language designed for building scalable and maintainable applications.” Elixir uses the Erlang Virtual Machine and Erlang is a battle-tested language which was originally developed by Ericsson for telephony applications which needed to be distributed, fault-tolerant and highly available. Elixir is really a more modern, more readable, less verbose version of Erlang.
I’m off to China for a week-long business trip soon and, because I didn’t want to take my MacBook Pro with me (amongst other things, for privacy and security reasons I’d have to clear off a lot of data belonging to other clients) I decided to look into a couple of alternatives.
Working With Multiple GitHub (and Alternatives) Accounts
I have multiple GitHub accounts courtesy of having several clients and a couple of my own businesses. Accessing and managing them can be a bit of a juggling act and I frequently forget how to do things so I decided that it was time to document various aspects of what I do.
Whenever I start learning a new programming language I like to find good book and blog authors, good conference videos (and ideally find conferences I might be able to attend), find some podcasts to listen to, and find new people to follow on Twitter.
Pip and Virtual Environments
The contents of this post are based on a blog post written by Jamie Matthews which is called, ‘A non-magical introduction to Pip and Virtualenv for Python beginners’. After reading this post it is probably worth going and reading his because it does explain things in more detail and very possibly more clearly. However I’m presenting a cut-down version because, if you are using Python 3.3 or higher, virtual environments are built-in. From Python 3.5 you use the venv command which in Python 3.3 and 3.4 was called
pyvenv. Jamie’s post discusses using virtualenv instead.
Visual Studio Code for Python Development
This blog post gives a brief overview about how I’ve settled on using Visual Studio Code for Python development and describes the basic configurations I’m using.
New To Python
I recently started teaching myself Python and decided that documenting some of my experiences and discoveries would be a good way to revitalise my blog.