Vegan pickled herring

Tags:

This is my new aubergine/eggplant recipe, inspired by baba ganoush and the fact I had one spare eggplant, a free evening, and a need to invent something for dinner.

If you're inspired by elaborate, and largely ineffective, cooking processes, this is a post for you!

Continue reading...

Polenta on toast

Tags:

My new friends in Philly have acquired a lot of just-ready-for-use milk, and gave me a carton. I've decided to make cheese from it, saved up the whey, and I've used it to make my best polenta ever. My next genius move was to put it on toast, which created a nice contrast between the softness and the hardness.

Continue reading...

Identifying flaws in radical comics

Tags:

The Internet is full of confusing content made by passionate people that, for this reason or another, have a different worldview from yours. Don't worry, these people are all wrong. This post will teach you how to identify flaws in their reasoning.

Continue reading...

Storing water in a flat landscape

Tags:

The climate is changing, which may be detrimental to the long-term future of your garden. You should begin to prepare for the increased variance in weather: abnormally warm or cold seasons, longer dry spells, more violent rains. I wouldn't worry about the total increase of temperature, if you live in temparate zones - it is predicted to be a mere few degrees over the next few decades, and your plants will probably enjoy it.

The largest climate-induced risk to your garden is probably potential breakdown of society in areas worse off than yours. I suggest you leave the resulting massive wave of migration to your government, which will probably sort out a nice border fence, and focus on things you can do something about.

So, let's learn about storing water.

Continue reading...

DIY lamp cover

Tags:

Artificial lighting is one of the big inventions we take for granted, and perhaps not rightly so, since its role has really grown in our lives since its inception. Today it not only it lets us work in factories for longer but also to decouple ourselves from the sun; it influences our moods and sleep patterns. We spend our days in places like offices, where we don't really choose what the lighting is and where, and perhaps it is not set up to our benefit - if your workplace always seems super energising, they probably have these casino-style ultrablue lights and you don't even realise. Take control of the lighting where you can, which certainly should be in your own house. In this post I'm going to teach you how to make a lamp cover from readily available materials.

Continue reading...

How to call R from Perl: on inter-process communication

Tags:

I'm glad the title caught your attention. Why call R from Perl - or have code in language X call code for language Y, for any X and Y, for that matter? Sometimes it's just hard to choose among languages you're fluent in, especially if you're a bit of a polyglot and don't have a clear favourite. Perhaps you value diversity, just like modern companies value diversity in their workforce: different programming languages, just like employees with different backgrounds, offer distinct advantages and strengths that can be drawn from when creating a product.

I happen to have a language I strongly favour, and I consider my programs are already diverse enough, even though they all got written by a single white male. I also managed to have a job in bioinformatics without installing R for quite a while. I am not riding that streak any more because a specific thing I needed to do only exists as an R package, so I learned how to use R from Perl. This merits celebration with a blog post, so I'm gonna tell you how to call R from Perl and also more generally about IPC.

Continue reading...

Apple and rice bake: cheap dish from bad times

Tags:

I learned the recipe from my parents, who learned it from their parents. I enjoy the dish regularly when apples are in season. Apples are in season from August to first frosts. In this post I will also tell you how I figured out the bit of context to the dish I was missing as a child, namely its suitedness to country-wide poverty and institutional disfunction that must have been reality for my grandparents and everyone they knew. I will conclude with musings on a 'cheap dish for bad times', an alternate title I was toying with, but first I will tell you how to make the damn thing which I think should be standard convention for food blogs.

Continue reading...

Instructions for your program from an online spreadsheet

Tags:

Suppose you're a programmer contracting for a client who pays you to do analyses on a bunch of data. They give you a slightly different spreadsheet every week, and you're so lazy that you've scripted everything up. The only thing you need to do is take that spreadsheet, save it on disk or whatever, and press "run".

Here's an idea for a workflow that goes one step further, using GitHub's online editing. Of course GitHub's competition offers this too, and I dislike this Microsoft owned company as much as is currently in fashion.

Continue reading...

How to use fewer variables

Tags:

Using variables may benefit program readability, but many programmers regard it as a bit of a weak move (source: Yegor Bugayenko- programmer, blogger, and entrepreneur). Giving stuff names is emphasised in beginner tutorials, and I expect many of my programming readers use variables a little bit too much, perhaps not realising it is merely a programming technique. I will explain the drawbacks of this technique, and give some alternatives, so that by eschewing it you might improve your craft further.

Continue reading...