This guide is written for RabbitMQ 3.9! Configuring the RabbitMQ Server For the configuration of the RabbitMQ server we will use a rabbitmq.conf and a definitions.json. I stored these files in a rabbitmq folder to keep my project folder structure clean. This setup is derived from sudos answer on StackOverflow The rabbitmq.conf deactivates the default guest user and tells RabbitMQ to load the definition file. loopback_users.guest = false management.load_definitions = /etc/rabbitmq/definitions.
Introduction In the last months I’ve spent a lot of my time researching and thinking about the ecological impact of blockchain. Bitcoin and Ethereum, the two most popular blockchain technologies, have a vast power consumption. The power consumption is not inherent to blockchain technologies, but a result of the way these blockchains are secured. The network of computers running Bitcoin and Ethereum establish trust by making changes to the blockchain expensive.
I’m working on a small game with a procedural map. As the whole game is set in a labyrinth-like building I’ve decided to use tile maps. The map generation algorithm produces a 2D matrix with 0s and 1s. A 1 indicates that the tile is walkable while a 0 represents an impassable field. In a simple 2D setting this could be represented by using a floor sprite for each 1 and a wall sprite for each 0.
I’ve recently migrated my tools project from an old the server to a new one. In the process I’ve decided to change the used database from MySQL to PostgreSQL. To do so I’ve used this amazing guide from calazan.com. As the guide was written for django 1.6 some minor changes were necessary when working with newer versions (I’ve used django 3.1.4). Setup for migration Steps 1 + 2 work as described in the guide above.