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.
This is my pizza recipe for an easy to prepare lunch. It takes 15 minutes to prepare the dough. I typically prepare enough dough for 4 servings. The dough can be stored for several days and improves each day ;). Preparing the pizza takes around 10 minutes. Ingredients Dough (per serving): 175g wheat flour (all purpose / 550) 100g water 5g salt 5g olive oil ~5g yeast Toppings Passata Olive Oil Salt and pepper (Chili, optional) Oregano vegan cheese (I use Simply V) whatever you like on a pizza!
Paul Graham wrote an article about wealth tax. In the article he ‘models’ the effect of a wealth tax on the fortune of a person. His assumption for the modeling is a person who earned a lot of money with a startup in her 20s. Paul Graham shows how much of the earned stocks/money would be taken by the government by a wealth tax. Paul Graham comes to the conclusion that wealth taxes have “dramatic effects” and that “even a .