Tuesday, December 13, 2022


I wonder where this should actually be?

<a rel="me" href="https://mastodon.online/@TheWalrus">Mastodon</a> 

Wednesday, March 09, 2022

Curse you, munmap_chunk()!

 I still haven't spotted a working solution to the problem where weather station programs in Python on Raspberry Pi fail, with no traceback details, after a couple of days.

I think it must be some resource in either the operating system, or the Python interpreter, running out, with very poor error reporting. I will leave it to people more familiar with the OS and interpreter to find out what it is, and fix it, in the fairly certain knowledge that everyone who could fix it has better things to do.

I found out that a Python program can actually restart itself, and changed mine to restart once a day. If that doesn't fix it, I'll let you know...

#RaspberryPi #Python 

My Stack Overflow comment on this.

Wednesday, March 02, 2022

Tofu squeezing

Tofu - a thing you need to know...

I tried cooking tofu several times, and was often very disappointed by the way it just broke up, and fell apart, when I tried. The results I got were nothing like the lovely illustrations people put by their recipes. Instead of pert, bouncy cubes of tofu, all I got was mush...

It tasted fine, sure, but something was wrong...

There's something they don't tell you in those recipes, and it's this. Tofu is basically ground up soybeans, and water. Actually, quite an astonishing amount of water! There are several grades of tofu, and the ones labelled "extra firm" have less water. Less, sure, but still a lot. You want to know how much? Look!

I treated myself to a tofu press from eBay, ignoring the ones with a wimpy little spring to do the pressing. It came with a piece of cheesecloth to wrap the tofu block in, which I did, but I had to find a usable weight. I did try balancing cans on top of the press, but eventually, I found my wife already had a suitable weight for the job...

Tofu in a press with a 6Kg weight on it and a jug with the water that squeezed out of the block.
Those standard size boxes of tofu contain over 175ml of water! Get it out, and you can cut the tofu into cubes, marinate it in something tasty, which will soak right into where the water used to be, and fry them without them falling apart. Instead, they crisp up nicely on the outside, and more importantly, they stay together as cubes.

Feel free to thank me...

Duck and Mushroom ramen.


Duck and fancy mushroom ramen

Well, it's what I made from the remains of the Sunday dinner duck, with the addition of some fancy mushrooms, home-made naruto and more.

There's no helpful tip, or anything like that, with this post, so you really shouldn't

Monday, February 28, 2022

Can you cook Whitebait in an air fryer?

Can you cook Whitebait in an air fryer?

I just asked Google for the answer to this, and was annoyed to find that not only did there not seem to be an online answer, but there were an irritatingly large number of websites that posed the question, and then answered an entirely different one.

I gave up looking, and instead carried out a scientific experiment...

Some frozen whitebait

Here are some frozen little fishes...

Basically, I just heated the air fryer to its maximum, nominally 200°C, and threw the fishes in.

Five minutes seemed like a good guess for a cooking time. They were a bit underdone.

I set the timer for another five minutes, but pulled the fish out after four minutes, as I could hear some of them popping!

Cooked Whitebait fresh from the air fryer
Here are five of them, nice and crispy on the outside, just before I ate them with tartare sauce. 

So, now you know...

You CAN cook whitebait in an air fryer.

Was this useful?