Viewing posts for the category code

How to connect to Postgres in Docker container

If you're learning how to use postgresql with Docker from tutorials online, you might have trouble connecting to postgresql in your container, perhaps especially if you're on Windows. This might help.

Do NOT delete bind mounted volume inside Docker container indiscriminately

I don't think it's been talked about much so I should share why it's a very bad no good terrible horrible idea to delete a mounted directory inside your Docker container without thinking through it. I'm on Windows 10 but I imagine we might make the same shameful mistake on Unix too.

For beginners: Golang pointers make sense when used in pointer receivers

If you know how pointers work in pointer receivers, go away! Or, read on anyway and please, please tell me if I'm wrong on any point.

Building a full ecommerce site part 9: editing the checkout process

Django-Oscar has a pretty long checkout flow. Customers don't like that, and I don't need most of it anyway. So, I decided to contract it as much as possible.

Building a full ecommerce site part 8: multilanguage support

10 June 2018, note: modeltranslation does not work on ipad! Oh no!