I have a little git repository for keeping recipes. They’re all Markdown files, and I use pandoc to convert them into pdfs. I’ve created a Makefile for doing the conversion:
I love video games, and partly started programming in the first place to learn how they work. Recently I’ve been learning OpenGL in an effort to try and build a simple game engine.
I’m playing around with blender tutorials, trying to understand how to make some simple 3d models. The way you move the 3d view port around is by holding in the middle mouse button and moving the mouse around. This is blocked by a default setting in X for my thinkpad that causes middle click drag to emulate a mouse wheel for scrolling.
These are the first exercises of chapter 4.
Finally got it I think. This was bloody tricky.
There are several more questions in this book at the end of the chapter.
Real World Haskell chapter 3 is about recursive data types, and includes an example of creating a list-like data structure.
If you need to edit a json file in vim that has been minified like this:
I’m used to the concept of short circuiting operators. For example, in this Python code “evaluated” is never printed as it is clear before then that the entire if branch must resolve to True.
Dragon Quest Builders is full of wisdom.
mitmproxy is an intercepting proxy that allows you to inspect and modify http requests that you send through it.
The mednafen multi-system emulator is a great piece of software. The cores that I’ve tried seem accurate enough, the interface is extremely simple and configuration is managed by a simple text flie.
A couple of times I’ve wanted to merge two separate git repos into one. This has happened when they are really parts of the same application with the same release cycle, but have been split in a fit of over architecting.
I wanted to access the columns in a 2D array in Python today. I found that it’s surprisingly simple to do. This is what I ended up with:
I took this out from Okehampton library on Saturday. They had a feature shelf about sea travel.