Archive for March, 2011

change of plan

Thursday, March 31st, 2011

blodgett was intending to put out some washing today! but decided against.


a doughnut, a doughnut!

Wednesday, March 30th, 2011

… or 3… om nom nom? :D

home card

Tuesday, March 29th, 2011

blodgett enters snail mode! it transports its home for convenience, via potentially crackpot method detailed below.

step 1: formats the sd card to ext4 avec gparted

step 2: mount cart where wanted e.g.
sudo mount -t ext4 /dev/sdb1 /media/home

step 3: set owner of cart to blodgett:
sudo chown blodgett: /media/home

[note: colon after blodgett signifies that group is changed to blodgett’s group as well as changing owner to blodgett]

step 4: copy home dir into new/currently non-existent directory on cart:
cp -r –preserve=all /home/blodgett/ /media/home/blodgett

[preserve arg is for keeping of all attributes. notenote that cp /home/blodgett/* not copy hidden directories so must cp to new directory entire]

step 5: find uuid of cart typing
sudo blkid /dev/sdb1

step 6: add cart to list of things that get mounted automatically. this requires to edit the file /etc/fstab. if not done then lxdm at least don’t want to log you in. (terminal login work fine, then have to run step 2.)
added following line:
UUID=(uuid from step 5) /media/home ext4 errors=remount-ro,noatime 0 2

noatime is to turn off records of last file access time. this stops it writing stuff that blodgett not really interested in.
first zero indicates to dump program that no backups are to be made of this; blodgett not using dump. two at end is order that filesystem checker (fsck) will check this one. zero for off, but blodgett want checks and had only 1 other checked volume (root).

step 7: check that everything datas ok on cart and delete home directory. (blodgett has backups elsewhere so not too paranoid about doing this.) then make symlink from old home to cart directory:
sudo rm -r /home/blodgett
sudo ln -s /media/home/blodgett /home/blodgett

step 8: reboot! blodgett not noticed any difficulties yet…

in case of interest, blodgett’s cart is a PNY 16GB Class 10 (zoomfastfast) from here, 16 cashmonies:
http://www.play.com/Electronics/Electronics/4-/16337083/PNY-16GB-SD-SDHC-Class-10-Memory-Card/Product.html

it seem to work well in tinyshiny (eee 901) and camera (ricoh r7)

UPDATE!!
further tweakings have occurred, as eee gets slightly miffed when cart not present.
tweak 1: make a permanent mount directory:
sudo mkdir /media/home

tweak 2: stop boot process (which runs mount -a) from trying to load sd automatically by adding noauto to options field of volume in step 6:
noauto,errors=remount-ro,noatime

tweak 3: add following to /etc/rc.local before “exit 0” line, to check whether sd present (-b checks for block device), and only mount if so:

# try to mount sd card if present, otherwise do nothing
if [ -b /dev/sdb ]; then
mount /dev/sdb1
fi

if necessary, can now also mount manually with just “sudo mount /dev/sdb1”

blodgett owes thanks ici for instructions:
http://ubuntuforums.org/showpost.php?p=9492847&postcount=10

irony

Monday, March 28th, 2011

http://techie-buzz.com/tech-news/mysql-com-database-compromised-sql-injection.html

we has it!

panda to the ego

Sunday, March 27th, 2011

oooff

pizza avec ears!

Sunday, March 27th, 2011

IT LISTENS TO YOU

you know, blodgett has a scooter

Saturday, March 26th, 2011

in fact, it scooted to the pub only two days ago. some people going a long way round to get to pub:
http://www.bbc.co.uk/news/world-africa-12688033

good view

Friday, March 25th, 2011

everybody knows that carrots make you see better even when you are looking at other countries

sea

experimental food item

Friday, March 25th, 2011

everybody knows that biscuit means ‘cooked twice’, from the french ‘bis’ meaning ‘again’, and ‘squeeee’ meaning ‘yay we just invented the bisqueee’.
blodgett will now attempt to derive the TRISQUEEEE *gasp*
for this we will require a ready-prepared biscuit, and an OVEN of BAKING.
item one as follows:

one squee

step two involves the BAKKING. (some insolent inquirers may demand to know why blodgett cannot cook them itself. answer to this is obviously that blodgett is highly specialised and cares not for these trivial tasks.) minor hiccup was encountered in that blodgett had no cooking instructions for trisquits or bisquits. fortunately blodgett had instructions for a chicken and ham pastry bake, so these were followed instead.

Figure 2: 2.5squit

step 3: outcome! blodgett believes that apart from the acrid burning taste, this experiment was definitely a success.

SUCCESS

blodgett’s first latex command

Tuesday, March 22nd, 2011

want to write notes in light grey. also lazy. made shortcut (requires color package):

\usepackage[usenames,dvipsnames]{color}

\newcommand{\grey}[1]{\textcolor{Gray}{#1}}

voila! grey text with \grey{texttexttext}