Sunday 22 April 2012

Marmite for the celebration generation - thanks for the Ma'amite

The latest in a short line of Marmite special editions has been released in celebration of Her Majesty's olden Jubilee 2012.  

And here it is, available in Sainsbury UK.  Unlike the previous special editions there is no indication that the recipe has changed, just the same wonderfully Marmity goodness.



Love and Joy.


Saturday 21 April 2012

Pimp my ride - even if it is a company van.



I have been working at he same large software house for about 14 years now. After moving away from desktop systems in the early '00  the PC policy has been to provide a laptop that is "refreshed" about every 3 years or so. Over the years I have had 2 Dells and most recently a Lenovo Thinkpad T61. The Thinkpad has been struggling under the weight of Windows Xp SP 3 with a full suite of system security and configuration management software. Windows Xp also suffers from progressive slowing down due to registry entry bloat and disk fragmentation.  The system has been struggling with it's hard drive access with almost constant activity. An examination of the process involved show configuration management scans, Anti-virus scans, content index scans, System backups, and software updates. Just once in a while a stuck WinLogin processes nails a CPU core. 

Finally a refresh system arrives and is a bit of a disappointment. The hardware has hardly moved on to an under specified Lenovo T410 and the system image is still Windows XP service pack 3.  Maybe this is a procurement wrinkle but the system is already a year old (manufacture date 4/11), has only 2GB of memory and just 320 GD hard drive.  

This is just not good enough, time to "Pimp my ride" even if it is just a company van. Luckily the Lenovo is easy to upgrade. First up is the memory, adding and extra 4GB to the 2GB already built in is a snap. Unlike some systems memory modules don't have to match so adding 4GB gives a very usable 6GB in total. One screw secures the memory slot cover on the back into which a SODIM memory unit can be clipped in.  

As mentioned the previous system was bogged down with hard drive activity. There is a £110 solution that is revoluionising the hard drive market. SSD drive replacements delivers staggering performance in a laptop system. These plug compatible units replace mechanical storage with all electronics. Think large USB stick but with out the delays.  Traditional hard drives have built in delays apparent with just about every read or write transaction. A typical disk read request sequence goes as follows, send read request specifying number of blocks at certain block offset, Hard drive moves head to select cylinder, Drive waits until disk platter rotates to required sector, read commences.  The sectors pass under the head at different speeds resulting is a speed disparity between different parts of the hard drive.  An SSD drive is all electronic so there is no delay between sequential blocks read wherever they are located in the drive. This no-seek time aspect makes SSD supremely fast in random read situations such as system boot and program load sequences.  The speed of the connection between the drive and system can be fully utilised and sustained.  The random read nature of system scans, backups, configuration checks are all in the sweet spots for SSDs. 

SSDs are more expensive than regular hard drives even when taking into account the Thailand flood factor. About £1 per GB is normal. Having looked at the data on the current laptop I have about 60GB of documents and email. Remembering that that data has accumulated over 10 years at least a desk cleaning is in order. After pushing all the data to an external hard drive and calculating the size of just the last 2 years of material, it will all fit in 30GB.  I went for a 120 GB SDD to allow for increased use of photos and multimedia in the future.  This is a work laptop the photo, music and video collection live on another better endowed system.  If more storage space is needed larger SSDs are available or the DVD drive can be replaced with a traditional drive in a special frame with an external DVD drive used.

The hardware install of the SSD was easy on the Lenovo T410. Just undo the disk drive bay cover screw, remove the cover and pull out the drive. Noting carefully the connector alignment, move the rubber edges over to the new SSD and insert back in the drive bay. Once in place the SSD is installed and used just like a traditional drive.  

The extra memory just installed beyond 3.5 GB would not be utilised by Windows XP due to technical limitations so next up is upgrading to Windows 7 Enterprise.  A fresh install is required with just transfer of documents and email storage. Avoiding the "Transfer all my documents and settings" gives a fresh start losing the past years of bookmark and program baggage.  Windows 7 install was easy as work provided a properly engineered install image disk set.  W7 has lots of useful features such as auto update and auto driver location and proves a much improved all round visual experience. Be sure to also follow the manufacturers update process to bring BIOS and drives up to date on a new(ish) machine.

Finally the last upgrade is to recycle the hard drive into an external drive enclosure with an eSata connector. eSata give much faster connectivity than USB 2 or 3.  The Lenovo has an eSata port ready for use. Using this port as as the backup drive finally gives acceptable backup times, 

All in all these updates memory, SSD, W7 and eSata backup makes a fast and more power efficient laptop experience. At a cost of about 10% of the new supply price I have 300% memory size and 300 % disk speed increase and 100 % less frustration.


Parts used
Laptop - Lenovo T410
Memory - NovaTech 4GB Sodim
SSD drive - Corsair Force 3 120 GB
Windows 7 Enterprise
Esata Drive Enclosure




 Memory Insertion in user accessible slot.




 Disk Replacement




Friday 13 April 2012

This is one number - but what is it ?

This number used to be really hard to obtain. I used the finding of this number to test cpus on the handling of information. If I got the answer to

echo "maths expression" | bc -l

in a reasonable time frame and the answer to

echo "maths expression" | bc -l | sum

gave

43040 6

The system was on track. So what is the MathsExpression ? First correct answer as a comment gets a £5 Amazon voucher.

15515069197363407021183364370981800137314818714696564651551924156752\
35009067640680485219593750488737390381467580354685778797662738922388\
92040236332692016867626515658277218251894456044443420639059958282487\
77363111821650927289450495058024830794088924275825040856018111314806\
00950302380037959994169419898147398074031131145384271976657608871512\
03903977839891442207633067937249554832154928698740884464924273369866\
02029468348982067360332555473406045866125369568683080334118546039723\
60691781353447888737574149676187064188209558880817558740636814994505\
50819247122556951523589322779090720166813538546545155963127268773883\
22353871926810493496207947927300518175573388643974213267733743510781\
23723652546829908190999015709731985859328946832763445933194126893598\
23376430654014157490289975196224868321876726447297728272215060218411\
98637606107681162757281582344236854207453011895670168163907662031330\
30215120608030485115527281450902849262307847640235197644295495196445\
04269247320723148003537477866460839594526981822305267823481448312612\
77072858780656611234193372694291557992882098684008481617472928108128\
69845324465846073640871230588861808809587929124862039348069551246560\
18932728750426760450777354771026915200010049470465873195162505802004\
40737521500559546663547626412658595796982535746018149752444847812115\
58573231312211883949821182078650219083233287159630896906514373883323\
21112770708109609147975640738290106742840550293382445306156947503154\
10969177504984220180180089378540597476042021997912401365768061085911\
73539858854967585973986278417303626663101331916184413761795356469332\
99480423100320477911655720347235455851990939310341489821134733998133\
67683140521974087282988298456375556896402215465459066495353526388468\
96679115791637810224853486886222512732675568764539032633049539637931\
26107785999493773961540110396109310909894603450467014532651958668970\
50931760144745740179405822155776613585258578288897861393221645810647\
88494556398542133283487350554450040615637362038577921660915164585243\
24875242799343219661792890752802551537259603683701704570314092709059\
87881282150507534571509227229185535539532521910039227531672649642301\
12828197867182503066093898612160568644445676094643156947779811466450\
38500332586402593818827976793743355211266984527677335868161284722161\
22475958407570082616823973508746183609291190795537578159069677995972\
55824015563804412497768931416574062942768650738450181439569824761581\
27530273531950291509482287358534610667737386258233445562340992209631\
65360306851033562295962742387257018317861212581032354880967407535625\
48061852273409583469506631770860730317390186685903571400820875459993\
93965825105689524753221795224773640212992282059488923906218614804898\
14292552036270099578682231230398692768033601611697396664987044569819\
15073249946917351073324067584020128071214217768919796919137590182294\
09372466627102992098410646672374000567659020377920693839462959308160\
72785745444625771491383703237530624063526675058169249517579867274076\
08886762803255351172054451667494426433847430576309554598992216780437\
13228561621131628481713236806190553428982314201109156267646207523547\
53922267335316050635534346640997172285477909565381338869574559509456\
58980026747452688393357324664710672694191019058337478285086145124662\
93491496358899712657353641063675570784337788409016300616006009982522\
49423279717915955739972106039305666603910913974133266900571861644482\
40095121940184093113043208231995641784971795249388535457698943273802\
52860393912426610023323523128715832381804915611752773459975305616409\
25083526468561586520427105452567705591135662378100166571774302639979\
69204363886581201962836284638319268451094809641237887263592241981598\
29257881459966157493533435770993519198531809684005401908055679600012\
78483079031252907710844868426871870418188619274203160833025520432350\
00104259096742234319396126773851750434065762808316508093703794833233\
33180885741519624424507969209837835458261498801030248789819905340627\
56313152587776208320364828368750575424461221756457115970913304606184\
52278100435638645421370074722340762900936762702664950380634453461920\
30669422450255701931488228087238486177636743128909368552570829396851\
81207576474082328135015986999965193154877783658412279248338599992218\
96997761353018367973921858200118566522439399590201208186505727612264\
27371236579935683469071054488771526312455806478532668205173988667314\
46041490168191437016652470863532379182474133911183805966039772338429\
22493150268714969633082907295619353386613761748880891407459434590309\
10577412146549882582885150614865092477759028687387185282993546934825\
29718323644757444335514875838654373469490395202030235103332647362565\
58084502329333436915592132297864360223976228961314245183991171236723\
81510881129581161310111733565465113755420739838791339568737126536140\
72718785598358698606399512022802856806715608529237496698988474756809\
74938608536675485894088970553296011282766032969401135302799187412240\
29848096369111489013773516549696338852912622461045353234405558012522\
36875610162644559465916031187964003170232454920543533491653741241880\
81342919311844634224008592721699161821616311223356490353476989641323\
42860353801981975186481726261519906829160078525894052193497560651480\
23183152468652931052067691572116249717585784578400488908497468951665\
84770510752230157002066676992722788258944293156582409983083508844961\
60566881999341609718762848844696564239538515415180271541628412809484\
69819502690902579099766502551122253490358769439901239371534439336870\
2548403787737195600447172305624832233661436475813388824462890625

Monday 9 April 2012

How much web tracking does Rolling Stone Magazine do ?

I was just browsing the web and came across the Rolling Stone 500 Best albums. It's an interesting browse and for sure I do have a some of those albums in my collection. What I did notice was that the website would stall on delivering the content of the individual albums for as much as 30 seconds. Being of inquisitive disposition though I would have a dig in and see if I could locate the reason for the stall. Many website pages include advertising and tracking content so it's not unusual to see a webpage load content from other sites. Often those subsidiary sites are the cause of webpage delivery stalls.

The next step was to find the locations of the external web content using the "Activity" window of Safari. The activity window lists all the open web elements in the browser. Extracting the list of web elements and stripping them down to the domain names gives a list of the external web site owning companies. A quick look at the company website shows the business model of the external sites.

I have to say I was a bit surprised to see how may different web tracking and site analysis mechanisms the original web page was attached to.

There are some standard links to Facebook, StumbledUpon and Twitter for social promotion of content. Links for Google analytics, InsightExpression, Chartbeat, Quantics, Scorecard, Advertising, QuestionMarket, Adsonar and Imrlworld tracking the website usage. Buzfeed and Tynt tracks the social use of content. Finally Cloudfront delivers some extra content. These are detailed in the graphic attached. Click the graphic below to see more.

So who was causing the stall ? As far as I could tell it was secure-us.imrworldwide.com This was the only source website, from the collection above, that was individually stalling when showing its front page.

I do find it a bit creepy how much tracking, tracing and analysts is done on a simple web content browsing session. Big Brother is here and looking over your shoulder at the newsagents as you mooch free content.

Sunday 8 April 2012

ANC Halfords - Trusty 10 Speed

Here is why I like my trusty ANC Halfords 10 Speed bike. From a technology point of view this bike bought in 1984 had a bunch of new features that made it cutting edge at the time.
  1. Branding in line with the England's Tour of France challange
  2. Lugless tube welding that gives clean smooth joints where the frame tubes meet.
  3. Cotterless Crank mechanism locking pedals to crank.
  4. Small mudguards that have the remains of the London to Brighton stickers from back when I used to do that event.
  5. Aztec control blocks special compound break blocks angled slightly to the rim giving great breaking in wet and dry.
Good times and is still in use today (see Fitness challange entry). Have had to replace the cog block and a couple of wheels along the way but this bike has been best value for transport money.

Finally a picture of the original ANC Halfords bike upon which this bike was based.