Wednesday, November 23, 2011

eBay Dicks

hi there would you accept 260 cash? bearing in mind i can pay cash on collection you wouldnt have to pay ebay and paypal fees(ebay 10% final value fee, paypal 4% service charge). put that ontop of my offer comes to over £300 on ebay which obviously if you look at completed listing they dont get. let me know

- morne1514
> put that ontop of my offer comes to over £300

No it doesn't*, and I'm hoping to get £330 for it, but I'll keep your offer in mind, thanks.

- jamiekitson
hi there no problem, i cant do more then 270 am afraid, if you look online you will see they are new 330 nowadays. as for what they go for on here, i have added you some links to completed listings so you can see for yourself, most of them are brand new and minues the ebay and paypal fees they dont even clear 250 so the choice is yours, let me know otherwise going the other route and buying a samsung galaxy note

- morne1514
Mine comes with a cradle and receipt.

Please go away.

- jamiekitson
no need to be rude, i was offering you a valid offer which in theory should have been good for you and me. you send me links for the ones going for most they go on ebay, thats just retarded as the average NEW ones still sell for under 300 as i showed this to you, as for the amazon link lol even xxx online sells them for 340 new so please you are embarrassing yourself. sorry i ever contacted you i can assure you i wont again

- morne1514
He lied.
lolz i would have actually been the highest bidder if you didnt block me from bidding. gutted

- morne1514
Well thank god I did.

* Yes I did embarrass myself with that maths.

Friday, November 18, 2011

HTTP Headers to Disable Caching in Firefox

It took me ages to find this:
Cache-control: no-cache
Cache-control: no-store
Pragma: no-cache
Expires: 0
To alter headers in the IIS7 GUI go HTTP Response Headers. It won't allow you to add two headers of the same name so either add no-cache,no-store or you can set no-cache by expiring web content immediately in Set Common Headers at the top right and add Cache-control: no-store manually.

Tuesday, November 15, 2011

VSTOR30.exe has changed since it was initially published

Note that the following error can be caused by a missing internet connection stopping installation files downloading necessary installation files:
Error: Setup has detected that the file 'C:\Users\...\AppData\Local\Temp\VSD5056.tmp\VSTOR30\VSTOR30.exe' has changed since it was initially published.
There are other posts mentioning installing VSTO 3.0 SP1. You might try installing this on the dev machine and republishing.

Saturday, October 29, 2011

Arch Linux on a Thinkpad X220

Crucial M4 SSD Thinkpad X220 7mm ModSome thoughts on Arch Linux on the X220:
  • Adding i915.i915_enable_rc6=1 to you kernel boot options can result in considerable cooling and power savings (and possible unwanted shutdowns?)
  • The screen brightness jumps to full after certain ACPI events, such as at startup and lid open. I haven't fully solved this but have added xbacklight -set 80 to my .xinitrc.
  • Occasionally when I connect to power, yacpi reports a maximum CPU frequency of 800MHz. I haven't been able to reliably recreate or investigate.
  • Volume/Mute buttons work with xbindkeys, though I haven't got the mic mute to work yet even with Corubba's udev keymap suggestion below. Also if the machine is muted at boot the mute toggle doesn't work. (Windows seems to exhibit similar behaviour.)
  • For right and middle click on the Touchpad install xf86-input-synaptics-clickpad. You can also configure XOrg for tapping the corners.
  • I haven't properly measured battery life, but it's estimated at around five hours with my standard 6 cell pack, which isn't bad, and is similar to the Windows estimate.
  • If your machine reboots after shutdown add rmmod ehci_hcd to rc.local.shutdown.
  • If your machine pauses at shutdown with e1000e 0000:00:19.0: eth0: Could not acquire PHY then add rmmod e1000e to rc.local.shutdown.
  • Power button to power off instructions here. Note that you have to hold the power button down for three seconds until the machine beeps. Note also that I couldn't get the "first solution" on that page to work, but the second does.
  • If udevd times out (after 30 seconds) at boot then try adding your wireless driver (eg rtl8192ce) to MODULES in rc.conf.
I've had a bit of an adventure with wireless, so I thought I'd give it its own section:
  • I made the mistake of not paying £3 to upgrade the wireless to Intel and got the RealTek 8188ce card by default. The kernel driver doesn't seems fine. that great, use the RealTek driver or better, the AUR package (currently neither is available for 3.1).
  • As I found out to my cost, the Thinkpad BIOS has a whitelist of wireless cards, and if yours doesn't match then your machine won't even boot, even if it is a genuine Intel Centrino Advanced-N 6200. However there are plenty of modded BIOSes out there, although not necessarily quite up to date. Try googling your model number + "whitelist". I got my X220 BIOS here.
  • Oddly, after installing the 6200 my machine started suspending twice when I closed the lid, fixed by adding the following line to /etc/acpi/actions/lm_lid.sh
    if [[ `cat /proc/acpi/button/lid/LID/state | awk '{print $2}'` = "closed" ]]
  • Disappointingly the Intel card doesn't seem any better than the RealTek, not connecting as fast as the RealTek did with the Aur driver and it didn't cure my disconnection issues. They seem to have been cured by flashing our Virgin provided D-Link DIR-615 with dd-wrt.
See also my post on the X220 and booting GPT drives.

A note for Windows 7 - don't install the Intel HD graphics driver before Windows SP1 or you'll get a blue screen.

Wednesday, October 26, 2011

Mount/Read VMWare vmdk Disks

You can try the VMWare-Mount utility, but an easier way is to use VMWare Player to "map" the disk in the Utilities menu in Machine Settings.

Monday, October 17, 2011

UEFI Bootable Windows 7 USB Media

Problems with the Thinkpad X220 and GPT, UEFI, MBR and Legacy BIOS Booting

Crucial M4 SSD Thinkpad X220 7mm ModAfter several days banging my head against a brick wall and suffering the indifference of Lenovo/IBM tech support I have learnt a lot about UEFI, in regards to the X220 in particular.
  1. The X220 cannot/will not boot GPT disks using Legacy BIOS. I would call this a bug.
  2. The X220 will not boot /efi/*/*.efi unless "signed"(?) into BIOS, you have to copy it to /efi/boot/bootx64.efi. I guess this is a security feature, but I'm not sure how secure it is if you can bypass it so easily.
  3. Disabling the BIOS setting "USB UEFI BIOS Support" disables *all* USB booting, ie, both UEFI and legacy BIOS. If this isn't a bug then
    1. it at least needs relabelling,
    2. could be moved/linked to the boot menu and
    3. is redundant as you can disable USB booting using the Boot menu.
I should say that this was with BIOS version 1.22 (I think).

I recommend following these instructions to create a very useful and versatile boot disk for diagnosis.

If you want to use the X220 UEFI boot menu I recommend disabling booting from LAN as it adds a few seconds to the boot time. You have to disable it in several places in the BIOS to avoid the wait.

See also my more general post on Arch Linux on the X220.

Sunday, October 09, 2011

Fix HTC HD2 Digitiser/Touchscreen

Make sure you try a soft-reset first by pushing the little red button on the back of the phone while it is on. After four months I just discovered that that fixed it. Luckily I hadn't ordered a new screen/digitiser on ebay.

Tuesday, October 04, 2011

Invalid MIT-MAGIC-COOKIE-1 key

I eventually tracked down the above error to the file ~/.Xauthority, which I removed, which solved the problem. Perhaps back it up first.

Monday, June 20, 2011

Recipes: Tagliatelle Carbonara

As pasta has just been revealed to be the world's favourite food, despite what Giles Coren might think, this recipe turns out to be topical. Carbonara is one of those dishes which is so simple that you can taste every ingredient, so every ingredient needs to be a good one. With carbonara I think this is especially true of the lardons and parmasan. I really like Ginger Pig lardons which you can get from Greensmith's, who also do very good parmasan and semolina flour and typo 00.

Pasta-fallTagliatelleI recommend using a pasta machine (left), but it's not essential (right). If you are going to roll it by hand you might want to add a little bit of water to the mixture to make it more malleable.


The following measurements are good for one very hungry person, or possibly two small people.

First make the pasta dough by mixing 50g of semolina flour, 50g of typo 00, 1 large egg and a pinch of salt. Use a knife to mix and cut until it resembles breadcrumbs, press together, tip the dough out and kneed it for a while. Wrap in cling film and put in the fridge for about 30 minutes.

Fry the lardons in 1-2 tablespoons of olive oil until they begin to crispen. Meanwhile roll out the pasta dough, fold over and roll again. Repeat this process several times until the dough is a nice and smooth consistency. Then roll thin and cut into tagliatelle. I wouldn't be tempted to leave the tagliatelle too long, the novelty quickly wears thin. If you are using a machine you can skip the final notch before putting the dough through the cutting rollers for slightly thicker pasta.

Tag CarbCook the pasta in plenty of salted boiling water in a heavy pan for three minutes. Meanwhile beat together one egg, some cream and some finely grated paramasan and season. Once the pasta is done, turn off the heat and drain, returning the pasta to the pan. Pour over the lardons and their oil and mix. Add the egg, cream and parmasan mixture and stir thoroughly. the sauce should thicken with the residual heat of the pan but not cook, you don't want scrambled eggs. Serve with rocket.