Wednesday 8 August 2012

Binary Bangladesh


Fans of the God Father trilogies will know about ‘Grey Characters’. Different folks will have different interpretations – in principle, grey characters are those who are generally wrong and do evil, but have their own morals and reasons behind it, or realize their wrong doing and try to rectify it. For me, it’s slightly different. For me, anything which is not totally good or totally bad is grey. Anything that cannot be represented using binary digits is grey. It’s a bit like technology enthusiasts – purist iOS and Android fans fall within the black and white category – people willing to try other platforms, or happy to move between Android and iOS lie within the grey zone.

Now here’s a random thought – since the general population of Bangladesh is always divided in two, why not change our flag to represent this. Behold my proposed new flag of Bangladesh:



Consider the numerous scenarios where this fits in …

Cricket – White for Pakistan and Black for India. Thankfully now we have a grey audience who actually support Bangladesh when we play well.

Football – Real Madrid vs Barcelona or Brazil vs Argentina - whether you understand football or not.

Academics – White for English Medium / Private Uni, Black for Bangla Medium / Public Uni - whether you have any idea of the syllabus or academic methodology or not.

Culture – Black for India, Hindu, Bangla. White for Islam, anti-india - regardless of numerous examples or exceptions, stereotyping rules !!

and of course, Politics – White for BNP, Black for AL (no relation to skin complexion of ex-prime minster or current home minister). It doesn’t stop there; after each national election, we can reverse the colours to show which side the majority of the population is on.
Jokes apart, it actually saddens me. We have far too many people who lack basic judgement – their opinion and attitude towards everything is driven by influence. There is in fact nothing called a thought process – it’s all either pre-built in, or just a matter of joining a band wagon which serves your personal gain. The scientific method of reaching a conclusion requires gathering information, and testing a hypothesis. In our case, we start from a pre-assumed hypothesis, then back track if required. In most cases, we just join the crowd to avoid answering to our opinions – thereby having other take our decisions for us.



Monday 23 July 2012

Paris Photo Blog

This is more of a photo blog of the places my wife and I visited in Paris in mid summer 2012. It was to celebrate our first wedding anniversary which coincides closely with Bastille Day celebrations, hence was a real treat. We stayed in Paris for six days, with a day trip to Versailles.


This blog covers the key places I'd suggest visiting:

Eiffel Tower visit,
Bastille Day parade,
River Seine Boat Cruise,
La Louvre Museum,
Chateau de Versaille and Jardins
Plus other Landmarks such as
Arc Du Triomphe,
Sacre Couer,
Hammam de la Mosque,
Moulin Rouge,
Notre Dame,
Place de la Concorde


Monday 2 July 2012

Things to do in Nottingham


Nottingham is a small city near Leicester in the midlands of UK, about 130 miles from London. The city is iconic for it's heritage and history around Robin Hood. This blog is about some of the places we visited over the weekend early this year when the summer hadn't kicked in fully.


Nottingham Castle

The castle is very close to the rail station and city center. It's on top of a small hill, offering some fantastic views over the city. There are various aspects of the castle worth having a look around, such as the museum, the gardens, the statues. The large photo on top is of Robin Hood and stands about 9 feet tall, solid iron.


Other things you will not miss are historic walks through the underground tunnels which tell tales of the legend of Robin Hood.

Something I found interesting was the artwork on the castle grounds in the shape of leaves, eyes, peacock feathers etc, with poems and stories written on them.



The Justice Galleries


The justice gallery is a worthwhile place to visit. It is one of the only remaining prison and courts which still stand today. The tour starts with the impersonation of convict telling the tales of how she got executed despite being innocent. She then takes you around the dungeons, cells, trial rooms, and finally where they were hung till death. You can also get a feel of the scents used, the potions, the stationary etc of the jailers.

One particular observation was the level of sexism at it's best. Women as prisoners seemed to be quite a common occurrence back in the dark ages primarily with the accusation of knowing witchcraft.







Nottingham City Center and Town Fairs


The town fairs in Nottingham are pretty cool. We went there when it wasn't really cold, but slightly chilly. The rides at the fairs were basic - the vertigo was fun though - 50 meters high in the air at speed of - not sure - was busy looking down !!

We enjoyed the lack of crowd and could walk around stalls selling street food from around the world, cheese, patisserie etc.The open market culture is quite strong and still lasting, when compared to London or other large cities where super market chains have taken over.



Enjoyed festive little shops serving hot chocolate, cross buns, sausages all in pretty much German theme.






Hotels in Nottingham
Nottingham has about 50 or so hotels under pretty much all leading chains. We stayed at the Mercure Nottingham - Paid about £140 for 2 nights in a superior double with breakfast - pretty cheap.

The hotel itself was a sight to remember - it's a 18th century building that Mercure acquired and renovated. We were invited by their management team as a loyalty offer to mark relaunch of the hotel.

This is a view from the stairs as you enter the rooms on the upper floors.

Green's Wind Mill



On the second day we took out day tickets to explore the city. The day rider tickets are cheap - £5 for two.
We first headed for the Greens Windmill. This was actually my frist time I saw a windmill up close and explored inside. It's used as an academic center for students and houses a small science museum. The views from the top are truly worth shooting if you're a photo enthusiast.


Other places around the Green's Windmill include a cemetery and some roadside artwork depicting differential equations and other mathematical symbols.







Wollaton Hall


The highlight of our Nottingham trip was visiting Wollaton Hall. This is slightly outside the main town so you need to get on the bus - not within walking distance as advertised in some places. But it's worth the trip. The hall itself belonged to some wealthy dude who enjoyed the luxury hence built himself this massive hall to live where he enjoy deer spotting. This is my attempt at panoramic shot from the top of the hill as you leave the hall.


Deer Park

The Deer Park is actually the entire place around Wollaton Hall. As you can see the deer park houses loads of small & big areas worth exploring if you have the time. We spent half the day there, but weren't able to explore it all. 

Deer spotting turned out to be a failure, as they all hid among the trees due to the weather. The park itself was peaceful to stroll around.

The Wollaton Hall hosts a Natural Museum which is great if you like stuffed animals - don't even go there if you're thinking of something else.

I actually found the paintings and artwork pretty interesting. Other items in the museum such as rocks, minerals etc.


All in all, I wouldn't rank Nottingham too highly among my travels - I'd say 5/10, nothing exquisite.  It's a nice place to visit if you like to get away from London - any place fits the bill for that matter - and you fancy a bit of shopping, a bit of hill trekking or perhaps find yourself a great hotel deal !!   

Friday 29 June 2012

Data Quality Assurance

Data Quality is a bit of an under estimated concept in small to mid scale projects, where it is often addressed far too late during testing or bug fixing. There are plenty of articles which elaborate why Data Quality should be a concern, not just for project managers but also for solution architects and folks in governance roles. However, it’s quite difficult finding a simple framework which you could use to assure data quality particularly for small projects. The methods typically available are meant for large programmes where you have to contract someone to build a specific solution or enterprise focused Data Quality Assurance practice, which is not what this blog is about. You'd have to reach into your wallets for that !!

In this blog, I have made an attempt at putting forward a simple and basic framework using which Data Quality assurance can be managed, monitored and measure – particularly to aid in Test Planning. This may be toned up or down to fit needs in Application Development, Solutions Architecture and Enterprise Level Architecture. 
The methodology focuses on measuring and monitoring data quality levels for key data items or entities that are used or produced by the product/domains/enterprise. We will use a hypothetical scenario where we are trying to assess data quality of a system (or collection of systems) that deal with product sales. In order to quantitatively measure data quality, the following key metrics may be used.

1. Uniqueness - achieved by ensuring there is no duplicate data within the same domain. For e.g. The sale of a product by the same vendor has not been reported different for the same time period across different reports. Typical area to invest time is ensuring each key data entity has a means of uniquely identifying the records, usually enforced using unique key constraints. The concept of 'single source of truth' comes into play here.

2. Completeness - achieved by ensuring that a complete set of data is available for each entity. For e.g. the match-rates obtained by consolidating sales reports to master product data records is of acceptable quality. This is sometimes difficult to assess, as you never know what is incomplete unless you have a truly complete set to compare with.

3. Accuracy - the correctness of the data is achieved by ensuring that the data is a true reflection of the actual circumstances. For e.g. the Tracked Sales Report produced matches the Individual Sales Report received at aggregated and granular levels from various Point of Sale. This often requires Business Users to eyeball through samples to validate that data is accurate and represents best knowledge held by the business.

4. Timeliness - The data is up-to-date and delivery of the data is timely. For e.g. the sales period used in the Master Data is the same as that used by the reporting Point of Sales. Often times, this gets complex when you have multiple systems processing same data sets i.e. high velocity data processing.

5. Consistent - The data is the same in its definition, business rules, format and value across systems at any point in time. For e.g. the Master Data provided has same expected data structure, values and data types, unless validated through a known change. Consistency also implies that the data is a true reflection of the real world scenario, hence may overall with accuracy.

The Data Quality at each completed and iterative stage of development will be monitored by aggregating percentage scores against set targets for each metric. Each data set needs to have its own DQ metric assessed. Each DQ metric has a set of test scripts / quality measures which focuses on the data sets involved and needs to be contextually relevant. For theoretical correctness, I have considered Data Integrity to be responsible for Completeness, Uniqueness & Accuracy therefore haven’t considered as a separate metric.

The DQ Assurance (artifact) can be split into each data set (product data, reference data & sales data), which have list of data quality tests that need to be performed, categorized by the metric that the test assures.

The tests under each Data Set must also have Test Phase, Data State and other relevant attributes such as Platform, Users if directly involved in Testing and Assurance otherwise can be separately addressed in a Data Definition artifact. The Test Phase correlates with the Overall Test Plan to suggest which phase of testing the test activity can be executed. Typical Test Phases can be Migration Testing, Functional, UAT/Business Acceptance and post Go-Live Change Management etc. The Data State is a more technical indicator of the state of the data in the end-to-end process the application / solution deals with. This correlates with the Business & Data process proposed & agreed for the project, to say at which stage of process the test needs to be conducted. Typical Data Stages can be: Raw Data, Ingested Data, Transformed Data and Processed Data.

Measuring Results
Each test activity will ideally have a target of 100% unless otherwise is a more appropriate measure. The target values are calculated as a percentage of how many pass the test case over the total population of the records in that data set / entity. Example:
ID
Test
Metric
Test Phase
Data State
Target
Actual
Resource
2
Does the data include products licensed in the period being reported on?
Completeness
Migration
Raw Data
100%
80% - This could mean that out of 100 products the POS has reported sales for March 2012, only 80 of them were made available in March 2012 i.e. 20 were possibly made available in 2011.
Who does the test?

The summary results of the Data Quality Assurance Tests will be compared against targets and can be visually represented to identify where the Data Quality can be improved.



The more blue you have in the radar graph, the poorer your Data Quality is. Each data set should have one of these radar graphs plotted to give an executive summary of the quality of data in that domain. The numeric results are then used either during test or during normal operation of the solution to identify issues where data quality is poor and root causes behind the gaps.
Hope this blog was useful, and would welcome hearing queries or discussion if you’re interested in this field.

Sunday 24 June 2012

Things to do in Bath, UK

I've always enjoyed exploring historic towns and cities in England. Seems a lot more sensible for short holidays than to travel to Europe. Thought I'd add to this hobby to write a blog about each mini holiday my wife and I take. This blog is about a three day mid summer trip to Bath. It's a small historic city just over 100 miles west of London as you travel towards Bristol, just under 2 hours by train. The city itself was classified as a World Heritage Site in the late 80's to mark it's contribution to history. Other heritage sites include the Great Walls of China and the Taj Mahal, so you get the picture.

Day 1
After getting off from the station, we started walking around just to get a feel of the surroundings. The landmarks worth paying a visit, or more to say unmissable are the Pulteney Bridge, Royal Circus, Royal Crescent and Queen Square.
This is a view of the Pulteney Bridge from opposite the Guildhall Market. The bridge isn't like Tower Bridge as such which you cross - the bridge is actually a collection of shops over the canal, but trust me it's an amazing site to see. 

The market is also worth a quick visit - you'll need some spare cash with you as none of the shops accept cards but have loads of tempting items to buy whether you're looking for nibbles, antiques or collectibles. 
Check out the tea pot I was almost tempted into buying, but then realized I wouldn't have the appropriate place to showcase it.
The first thing you notice about Bath is the collection of Georgian architecture - possibly the largest in UK. This is characterized by a series of buildings made out of limestone derived stone walls. All terraced with a classic elegant look. 

The photo here is of the Royal Crescent. A collection of 30 or so houses, built during the late 1700's by John Wood to house the wealthy and ill who used to visit Bath for medication and relaxation.
Each house today is worth anything around 800K to 1.5 million. 


A similar landmark is the Royal Circus - no, there aren't any animals or magicians ! Imagine a circle of Georgian buildings, with a small field in between with four roads entering in / out of - bit like a roundabout for those from the UK. While around, try to see the series of decorative artwork on each - some are quite horrific and masonic.

If you're an avid photographer unlike myself,(I just use point-n-shoot) then you'd get awesome photos in a wide angle.

After lunch, we headed off to Royal Victoria Park. A decent sized botanical garden with an impressive collection if you're interested. Not exactly my cup of tea, but great for those who like taking flower shots. I enjoyed 'bird watching' instead. Don't think of nicking any of them , they're tagged with RFID tapes.

As the day almost came to an end, we looked around for dinner and settled for Salathai. It's located about 5 - 10 minutes from the rail station and offers value for money Thai food, without compromise on quality. Highly recommend the Tom Yam soup.

If you're in Bath for just a night, there are a couple of luxury hotels where you can spend anything between £180 to £220 such as the Royal Crescent hotel or MGallery Francis. We chose to stay in a mid scale hotel called Royal Hotel or The Royal, just opposite the train station. We paid about £250 for two nights in a superior double, with breakfast and a 3 course French dinner. I've rated this hotel very highly on Tripadvisor for their comfort level, service and decor - the only issue you might have is with the noise from the road at night if you leave windows open. Other than that, much better than a lot of 4 star hotels which charge more purely because of swimming pools & gym. This hotel doesn't have any of that stuff. If you do choose this hotel, try their dessert selection from the Brunel Brasserie - 10 on 10.

Day 2



 
 After having breakfast at the hotel (both continental & cooked :) we started the day with the Bath Abbey. Very much like Westminster Abbey in London, without the foreign tourists. And a lot smaller. 





The Abbey inside is like any other chapel, stained glass windows, high ceilings, immaculate architecture etc etc.

Something worth spotting are detailed paint work depicting Jesus Christ and St Mary.





 However, the Tower Tour inside the Abbey is my highest rated guided tour in Bath. There are lots of others, but this is one which you cannot miss. It costs £6 per person, takes under an hour, and the highlight is you get to climb 200+ steps to reach the top of the Abbey. The sights of the city from there are breath taking - especially in summer. The photos below are all taken from the tower, so I'll let them do the talking.

 Overlooking the Parade Park and the Abbey Square. This place itself is great for spending 30 minutes. Always has live Italian / Latin music. 

One of the best experiences was walking inside a clock tower and seeing the inside of the Abbey clock, mechanical working of the bells etc. Finally, Shopping Malls and City Center from the top.


 Overlooking the hills and Bath stone fields. Highly suggested you take the sky line tour which lasts 40 minutes and takes you through the hilly areas. The residential houses will entice anyone to invest here - a bit pricey though, nothing under a million. History trivia - one of the residences belonged to Beau Nash. One of Bath's wealthiest individuals - when a farmer earned a few pounds a year, this guy earned a thousand. He was responsible for converting Bath into the Las Vegas of the 18th century.

After catching our breath back, we spent the rest of the afternoon at the Roman Bath. This is literally a slice out of history. The ancient Romans built this as their communal bath retreat for the wealthy. The key essence of this place is the naturally continuous spring water. We went there in the summer, hence didn't strike us as a surprise until we touched and drank the spring water at 34*C without artificial heating, in fact originally 42*c but cooled down to make it drinkable. The water contains over 27 minerals and is very rich in iron. 

The amount of historical significance this place contains has gained Bath's reputation as a World Heritage site. I could probably write a whole blog on the Roman Bath itself. The entry fee is £12.50 per person and can take more than 2 hours , so those who are in Bath for just a day may re-consider, as you need to have a lot of time in hand. The Roman Bath houses a history museum, guided tours through archaeological remains and bespoke events throughout the year.

Later took the city bus tour costs £12.50 pp and valid  for two days. Can be used for two routes, the city and skyline. Hop on / off at sites you find interesting till 7pm. Ended the day with a classic three course dinner at the Brunel Brasserie.

Day 3
The last day was spent mostly shopping and visiting the Jane Austen Center. Jane Austen has been possibly Bath's most popular resident. You can visit the houses she used to live in, the places she used when writing Hangerlane etc. The Jane Austen museum tickets cost under £10 - starts of with a story telling mode of tour, the staff give you a short history of Jane's personal life. You are then free to walk around the museum, try on costumes from the era, view rare photos etc. The highlight of the place is the Regency theme throughout. The Regency Tea room offers award winning cakes and scones, with over 15 varieties of flavored tea.


Lunch time on our last day with the weather being probably the best you could ask for. Clear skies, bright sun, mild breeze. Chose Jamies Italian at the Milsum Place. The place has a very contemporary feel - historic buildings and their terraces and modern restaurants. The view from Jamies is amazing if you can pre-book a table.



Shopping in Bath is a lot different from shopping in London - to start with, there aren't that many people. Second, it doesn't remind you of a consumerist society. The shops are 'little shops' as they are called in Britain i.e. not high street brands. There's a massive Debenhams if you're looking for familiar high street departmental stores. I personally enjoyed Jollys among the large shopping malls.

Don't let that fool you - doesn't mean they are cheap. On the contrary, some shops have one of the expensive art pieces, watches, woolen wear. The best way to describe this is - imagine Harrods quality in a North London Angel shopping environment.

Don't forget to try the Cornish pastry shops in the Guildhall Market - whether you're looking for traditional, cheese or vegetarian - pure class.

To end the day before catching the train, we had to get a slice of Bath's afternoon tea. Bath was predominantly England's most elegant city back in the days. The shops, people, culture is still very characteristic of that. We found a balcony style cafe called Boston Tea close to the center which stays open till 7pm, serving scones, clotted cream, strawberry jam and Darjeeling tea.

Hope you found the blog useful if you're planning your trip to Bath for a weekend or similar. The city like any other in UK is best planned in the summer - although if you're going to visit the Roman Bath in particular, choose winter time.