Basic pasta sauce

Someone asked on Twitter how I made my pasta sauce, so here it is!

z

The base of my Pasta sauce is largely this recipe, except I mostly don’t add mozzarella:

At it’s simplest I can make the whole thing for one person in 19 minutes, so it’s great for lunch.

Ingredients

85g dried pasta per person (50g per child). You can use whatever you want, I prefer spaghetti.
1 punnet of good tomatoes, about 225/250g (small ones, eg. baby plum, sunstream etc.)
Small bunch of basil or parsely.
Salt & Pepper
1 clove of garlic
1 chilli, I don’t de-seed
Olive oil

Method

To start, boil some water in a medium pan. Add a decent amount of salt. While the water is coming up to the boil prepare the other ingredients.

First, chop the tomatoes, you can leave the skins on. I chop mine in half, I prefer the texture. It is also quicker. Finely chop the garlic and chilli. Roughly chop the basil or parsley.

As soon as the water comes to the boil, add your pasta. Now heat some oil over a medium heat in a small frying pan. Add in the chilli and garlic. Make *really* sure not to burn the garlic. Before the garlic browns add in the tomatoes then a good pinch of salt. Stir around for a few seconds. Now add in some water. It’s really easy to add in too much, you want just enough to cover the base of the pan, any more and you’ll end up with soup. You can always add more if you need to.

Next, add the basil or parsley. Stir through. When the pasta is al dente drain it retaining some of the cooking water and add to the sauce, stir around. Add pasta water if needed. You should still be able to work out what each of the individual parts of your sauce are made of. If you can’t you cooked it too long and/or added too much water.

At this point you can stir in mozzarella, I mostly don’t.

Slap it on a plate, grate parmesan over it and eat it.

Notes

With practice I’ve got this down to 19 minutes for the simple version, you might be faster if you can boil water faster than me. Adding more stuff makes it slower obviously.

Only get good tomatoes. They have to taste of something, if they don’t taste of anything your sauce will be crap. If you can’t get good fresh ones (or they have a gazillion air miles on them) use a *good* tin. It’s not as good and doesn’t work as well with the parsley or mozzarella versions, but it’s better than the alternative.

This sauce is great by itself, but you can add to it as you want. Some black pitted olives from a jar are great. If I’ve got other veg lying around, or more than one person eating I will add that too, depending on the density of the vegetable and how finely it is chopped depends when I add it. Chop it finer to cook it quicker. A good addition to bulk it up is a sweet pointed pepper & celery soffritto. One pointed pepper and 2 celery sticks is about the right balance with one punnet of tomatoes. Fennel and black olive are great too. Just be careful not to overdo it. There’s enough sauce with just the tomatoes for one person, less is more when adding extra ingredients.

If you do add more veg, try to keep the tomatoes per person ratio the same IMO.

In the photo above I went a bit mad and added:

– sweet pointed pepper & celery soffritto
– 1 small bulb of fennel, thinly sliced.
– Bacon*

It was really a bit too much.

*Bacnon! Chop some aubergine into ~1cm cubes or strips, one handful should be enough, think proportional to the other ingredients. Put on some foil, sprinkle salt on, create a parcel (crimp the edges to keep the water in) and oven cook at ~180°C (?, experiment) until just soft. Aubergine is great for adding some a bulky umami flavour in-place of meat.

I think that’s it! Nail the basic sauce then experiment on top of that and you’ve got a handy and versatile base!

Tagged , ,

The security of a system is as strong as it’s weakest component

The pad lock that had seized shut on my back gate was proving hard to remove, the hardened steel U was not yielding to my hacksaw. I noticed some rivets underneath that turned out to be soft steel. 10 minutes of sawing and I was in.

IMG_8951

Hardened steel U

IMG_8950

Soft steel rivets on the bottom

IMG_8953

After removing the rivets, hammering off the bottom plate

IMG_8955

Bottom plate revealed, lock mechanism removed

IMG_8956

Lock open!

Random graph

Random graph, from playing around with RGL in Ruby.
Random graph

Tagged ,

How to find if two nodes are connected in an RGL graph

Say you have a graph like this:

graph

How do you find out if there is a path between any of the two nodes? By using a breadth-first search:

Tagged , ,

How to lose business, an example from Flickr

  1. Receive email from Flickr about Pro subscription due for renewal.
  2. Try to pay for it repeatedly over several days but always get some error message about a “bad panda” and they are aware of the problem and are fixing it soon. The problem persists over several days.
  3. Renewal deadline passes, check reminder email, it’s sent from a donotreply@ account.
  4. Find a support wizard, the problem isn’t listed after answering questions about it so I get an option to contact support.
  5. Fill in form saying what I’m trying to do, but notice there’s no field for an email address. They know my address though right? That’s where they sent the Flickr sub reminder?
  6. When I submit the form get a message “your response will be sent to xxxxxx@yahoo.com”, an address I’ve never signed up for or used.
  7. Attempt to find Yahoo support system to add a note to the ticket or update my email, can’t find it.
  8. Attempt to send new support ticket to Yahoo. The new support wizard I find seems to have different categories to the first one, none are relevant, there is no “other” category and there is no option to contact support.
  9. Decide not to pay for Flickr Pro

At the beginning of this process I figuratively had my hand extended with money for them to take. I’ve subscribed to Flickr Pro for years, I was just going to pay.

At every step of the way they made it hard. They made it a fight to hand over that money. If they had fixed the payment form after the first error message (like it promised) they’d have my money. If I’d been able to reply to the subscription reminder email and get through to support they’d get my money. If their support process had worked they’d likely have got my money soon.

I think the idea to just not bother came to me when I was forced into their badly designed error prone advert encrusted shoddy attempt at a webmail “portal” that not only do I not need or want, I actually resent, everything else just added weight to it.

Tagged

Please, please stop asking, I’ll give you anything!

Me: My order was returned without ever having got to me.
Amazon: I can see that it got sent to the wrong distributor who must have realise this and just returned it.
Me: I see, this has happened twice in the last few weeks, is it going to happen again?
Amazon: I’m sorry to hear that, I’ve extended your Prime by a month free of charge.
Me: Thanks for that, but it seems odd that this never happened before, but has happened twice in a few weeks now. Is this likely to happen again?
Amazon: I’ve upgraded the delivery on your new order to Express, you’ll receive it tomorrow before 1:00PM.
Me: …

Tagged ,

I got my pan tilt servos working

I’m making a simple camera gimbal and tonight I wired up the right analog stick on my xbox controller to control the pan/tilt servos:

Tomorrow I will print out a prototype gimbal structure.

Testing Github commit hook one liners

A couple of ruby one-liners for dumping out the content of a github commit hook payload:

For hooks that use type application/json:

$ ruby -rpp -rjson -rsinatra -e 'set :port, 8000; post "/*" do; pp JSON(request.body.read); end'

For hooks that use type application/x-www-form-urlencoded:

$ ruby -rpp -rjson -rsinatra -e 'set :port, 8000; post "/*" do; pp JSON(params[:payload]); end'
Tagged ,

AWS IAM Policy for allowing s3cmd to sync to an S3 bucket

It’s a good idea to set an IAM access policy for anything that accesses AWS using your account details, I wanted to do this for s3cmd syncing a local directory to an s3 bucket. There are a number of posts on setting up the IAM policy for s3cmd already but none of the examples worked, I got a 403 permission denied error when running the s3cmd sync command.

After some digging it turns out that s3cmd now tries to set an ACL on the files it uploads, and this needs to be specifically allowed in the ACL. I’m guessing that it didn’t in the past, hence the now incorrect IAM advice. So here is the new working IAM policy, complete with the s3:PutObjectAcl permission added:

(See jrantil’s comment below on wether s3:ListAllMyBuckets is needed in this instance)

ping-pong press!

My robot was written about recently on the Raspberry Pi foundation blog, and now on the Pololu blog too, the place I originally got my tracks from!