Squid on Windows

No, this is not an exotic seafood/glass recipe. Yesterday (well, Tuesday evening) I was sent down to Poole to set up a caching proxy server for a customer... on Windows. Working with a Microsoft operating system is a little bit unusual in my open source support job, but hey, it pays the bills. It turned out to be surprisingly easy (or rather, my preparation had been sufficiently thorough). We'd budgeted the entire day to set things up - but I had Squid running by 9:20am, and was authenticating against Active Directory by 10am (with a choice of methods; single-sign on with NTLM or prompting the user for credentials). So we had coffee. By 11am there was log rotation and we had tweaked the config file, and by 12pm there were HTML reports of all the accesses (which was originally going to be the optional bonus if-we-had-time feature). So we had some more coffee, and I caught an early train home. ...

April 9, 2009 · Tim Retout

Mushroom Risotto

I was lazy with cooking over the weekend - on Friday I had leftover lasagne for lunch, so just cheese and crackers in the evening. On Saturday I was down in Hastings all day, so didn't cook. On Sunday evening I had frozen pizza (ew), but used the 18 minutes while it cooked to boil an egg, chop some lettuce, and prepare a basic vinaigrette. (1tsp Dijon mustard, 1tbsp white wine vinegar, 3tbsp olive oil, salt and pepper, mix.) ...

April 6, 2009 · Tim Retout

Kernel Mode Setting on Debian

The new kernel mode setting feature in Linux 2.6.29 is relatively easy to enable, although at this point there does not seem to be much in the way of documentation. Ingredients You will need: linux-image-2.6.29-1-686 or similar (or later) The xserver-xorg and related packages from Debian experimental, unless you're reading this in the distant future, at which point X.org 7.4 will be in unstable. An intel graphics card which uses the i915 driver. I used an Asus eeepc 1000. A willingness to break your system in the name of seeing something cool. Method First, install the new kernel and the experimental x.org packages. Add 'i915 modeset=1' to /etc/modules. Ignore instructions elsewhere on the web about adding stuff to kernel boot lines - I reckon these have no effect, unless they were/are necessary for Fedora. You can either reboot, or stop X and reload i915 with the right option. ...

April 2, 2009 · Tim Retout

Lasagne

This evening I made lasagne, loosely following a recipe from Gordon Ramsay. I'm not going to type it out, partly because I didn't follow it to the letter; I still don't have fancy stuff like oregano or bay leaves. My cheese sauce needs work, but the end result was edible, surprisingly. There's half of it left for lunch tomorrow. Some bits of the lasagne sheets seemed like they were still hard, which was probably the result of not quite being covered in sauce or something. I need to invest in a set of scales before I can work with actual quantities. ...

April 2, 2009 · Tim Retout

Three egg omelette

I haven't taken much time on cooking for the past couple of nights. Last night I just used a sweet-and-sour sauce from a jar, and had chicken with quick-cook rice. I don't think that counts as cooking - more like a ready meal by stealth. As a concession, I bought whole chicken breast fillets and diced them myself. It seems to help if you use a sharp knife. This evening I cooked an omelette (with three eggs - there's a standing joke in the family concerning my brother once having cooked a one-egg omelette) and frozen veg, so I must have been done in under five minutes. I'll write something if I find a variation that's more eggciting... ...

April 1, 2009 · Tim Retout

Pasta with Tomato Sauce

So, I decided to start off gently. The advantage of this recipe is that... I already knew how to make it. Awesome. Ingredients Olive oil Half an onion, chopped One clove of garlic, chopped One tin of chopped tomatoes A small amount of dried thyme or whatever; basil seems more traditional, but does Sainsbury's Local have that? Buggered if I could find it. Pasta Method Easy peasy. Heat some oil in a saucepan, add the onions and stir until they're more or less transparent (supposedly, although I'm sure I just make them turn brown). And add the garlic shortly afterwards. ...

March 30, 2009 · Tim Retout

1GB should be enough for anybody

My HP dx2250 desktop suddenly refused to turn on last Tuesday; it just beeped loudly at me when the power button was pressed. It took me until today to look at it; downloading the troubleshooting guide, I could translate the pattern of flashes of the LEDs as signalling faulty RAM. Phew. I must say I was surprised - I have never had RAM die on me before. At least it wasn't a DIMM module I had bought myself... and it could be worse, I was almost considering replacing the machine. (I wonder how many people do.) For now, I'm down to 1GB RAM, unless I can find something stashed away somewhere.

March 29, 2009 · Tim Retout

SWOTting up

No man is an island; objectives cannot be set in isolation from the reality of our situation. One standard technique for analysing where we are is the SWOT analysis: considering Strengths, Weaknesses, Opportunities and Threats. Strengths and Weaknesses deal with aspects internal to your organization; Opportunities and Threats are concerned with environmental factors over which you have no direct control. Once these are identified, you can act to mitigate the negative points. ...

March 27, 2009 · Tim Retout

Cooking for Project Managers

Spurred on by the accusation that my expertise is limited to computer-related topics, I have resolved to learn to cook. This in fact will solve more than one problem: what to do with my copious free time given that I am organized, and give me more confidence that I am not wasting my money on ready meals each week. Obviously I am looking to transfer skills from existing domains of knowledge to this endeavour. (From open source development to... open sauce development?) My first insight from my project management experience is that this project really needs some SMART goals to work towards. Hmm... okay, first objective: ...

March 26, 2009 · Tim Retout

OpenOffice.org

Apparently today was Document Freedom Day. Next year we shall have to actually celebrate it. At work, one of the company's key objectives is to promote open standards like ODF. We are lucky to have an OpenOffice.org developer in-house (a rare commodity, especially outside of Sun or Novell), and I've had the opportunity to work on supporting openoffice.org from time to time. The biggest difficulty is the sheer size - the built source tree needs 15GB, so it's pretty difficult to search through, for instance. ...

March 25, 2009 · Tim Retout