Search This Blog

Saturday, September 21, 2013

One of the all time technology world buzz word - "Lean"

I decided to find it little more about it. A new term has been coined, Lean software development. Well the work and definition below is from various sites and sources on internet. I would like to thank them and not claim this is my work. This is to insitgate discussion and blog the very purpose of having this site.


Lot of you may know about Sixsigma, this is kind of an extension, here is what I found. Looking forward to get some feedback.


Lean software development is a translation of lean manufacturing principles and practices to the software development domain. Adapted from the Toyota Production System, a pro-lean subculture is emerging from within the agile community.


Eliminate waste

  • unnecessary code and functionality

  • delay in the software development process

  • unclear requirements

  • bureaucracy

  • slow internal communication

Amplify learning

Software development is a continuous learning process with the additional challenge of development teams and end product sizes. The best approach for improving a software development environment is to amplify learning. The accumulation of defects should be prevented by running tests as soon as the code is written. Instead of adding more documentation or detailed planning, different ideas could be tried by writing code and building. The process of user requirements gathering could be simplified by presenting screens to the end-users and getting their input.

The learning process is sped up by usage of short iteration cycles – each one coupled with refactoring and integration testing. Increasing feedback via short feedback sessions with Customers helps when determining the current phase of development and adjusting efforts for future improvements. During those short sessions both Customer representatives and the development team learn more about the domain problem and figure out possible solutions for further development


Decide as late as possible

As software development is always associated with some uncertainty, better results should be achieved with an options-based approach, delaying decisions as much as possible until they can be made based on facts and not on uncertain assumptions and predictions. The more complex a system is, the more capacity for change should be built into it, thus enabling the delay of important and crucial commitments.

An agile software development approach can move the building of options earlier for customers, thus delaying certain crucial decisions until Customers have realized their needs better. This also allows later adaptation to changes and the prevention of costly earlier technology-bounded decisions. This does not mean that no planning should be involved – on the contrary, planning activities should be concentrated on the different options and adapting to the current situation, as well as clarifying confusing situations by establishing patterns for rapid action.


Deliver as fast as possible

In the era of rapid technology evolution, it is not the biggest that survives, but the fastest. The sooner the end product is delivered without considerable defect, the sooner feedback can be received, and incorporated into the next iteration. The shorter the iterations, the better the learning and communication within the team. Without speed, decisions cannot be delayed. Speed assures the fulfilling of the Customer’s present needs and not what they required yesterday. This gives them the opportunity to delay making up their minds about what they really require until they gain better knowledge. Customers value rapid delivery of a quality product.

The Just-in-Time production ideology could be applied to software development, recognizing its specific requirements and environment. This is achieved by presenting the needed result and letting the team organize itself and divide the tasks for accomplishing the needed result for a specific iteration. At the beginning, the Customer provides the needed input. This could be simply presented in small cards or stories – the developers estimate the time needed for the implementation of each card.


Empower the team

There has been a traditional belief in most businesses about the decision-making in the organization – the managers tell the workers how to do their own job. In a Work-Out technique, the roles are turned – the managers are taught how to listen to the developers, so they can explain better what actions might be taken, as well as provide suggestions for improvements. Most experienced project managershave simply stated the key for a successful project – “Find good people and let them do their own job.”

Another mistaken belief has been the consideration of people as resources. People might be resources from the point of view of a statistical data sheet, but in software development, as well as any organizational business, people do need something more than just the list of tasks and the assurance that they will not be disturbed during the completion of the tasks. People need motivation and a higher purpose to work for – purpose within the reachable reality, with the assurance that the team might choose its own commitments. The developers should be given access to Customer; the team leader should provide support and help in difficult situations, as well as make sure that skepticism does not ruin the team’s spirit.


Build integrity in

The Customer needs to have an overall experience of the System – this is the so called perceived integrity: how it is being advertised, delivered, deployed, accessed, how intuitive its use is, price and how well it solves problems.

Conceptual integrity means that the system’s separate components work well together as a whole with balance between flexibility, maintainability, efficiency, and responsiveness. This could be achieved by understanding the problem domain and solving it at the same time, not sequentially. The needed information is received in small batch pieces – not in one vast chunk with preferable face-to-face communication and not any written documentation. The information flow should be constant in both directions – from Customer to developers and back, thus avoiding the large stressful amount of information after long development in isolation.

Automated tests are also considered part of the production process, and therefore if they do not add value they should be considered waste. Automated testing should not be a goal, but rather a means to an end, specifically the reduction of defects.


See the whole

Software systems nowadays are not simply the sum of their parts, but also the product of their interactions. Defects in software tend to accumulate during the development process – by decomposing the big tasks into smaller tasks, and by standardizing different stages of development, the root causes of defects should be found and eliminated. The larger the system, the more organizations that are involved in its development and the more parts are developed by different teams, the greater the importance of having well defined relationships between different vendors, in order to produce a system with smoothly interacting components. During a longer period of development, a stronger sub- contractor network is far more beneficial than short-term profit optimizing, which does not enable win-win relationships.

Lean thinking has to be understood well by all members of a project, before implementing in a concrete, real-life situation. “Think big, act small, fail fast; learn rapidly” – these slogans summarize the importance of understanding the field and the suitability of implementing lean principles along the whole software development process.


One of the all time technology world buzz word - "Lean"

Thursday, September 5, 2013

Another Brain Teaser - Coins puzzle - probability

Flip the coin…

I always loved those coin tricks and wondered how it happened. While making the coin magically disappear is definitely a mind trick (will talk about that too) but the coin flipping is mathematical. Here is an easy one, I flipped two quarter-coins and immediately announced that one came out as head. What is the chance that the second coin will also be a head?

If you were in Las Vegas would you bet on head or tail for the second coin? Have fun :)



Another Brain Teaser - Coins puzzle - probability

Monday, September 2, 2013

Jargons used at work place that need to go away.....what do you think

Jargons commonly used at workplace that seem to provide no value and may be repetitive and frustrating for others….


What do you think?


  1. Low hanging fruit

  2. Touch base

  3. No Brainer

  4. Think outside the box

  5. End of day or close of business

  6. When rubber hits the road

  7. Win-win

  8. Touch points

  9. Below the radar

  10. Drill down


Jargons used at work place that need to go away.....what do you think

Sunday, September 1, 2013

Puzzle: Run for your life...

Mr. Joy enjoys some risk and likes to explore the nearby area. In the beautiful surrounding there is a train track that goes through a mysterious tunnel. One fine morning Mr. Joy decided to take a walk through the tunnel. While Mr. Joy was 1/4 way on the tunnel, he hears the train whistle. A quick thinker Mr. Joy calculates that if he runs back he would just make it out of the tunnel before train gets in the tunnel and if he runs forward he will just make it out of the tunnel before train hits him. While Mr. Joy saved his life, he left you with a problem, how fast was this train travelling compare to Mr. Joy?


This is old school physics problem with all basic assumptions for this kind of puzzle. Assume Mr. Joy can run with same speed in both direction. He can accelerate to his top speed right away. Train barely misses him if he would run in either direction


Looking forward to see some solution(s)



Puzzle: Run for your life...

Thursday, August 29, 2013

Gastronomy Delight Of Delhi

 


Delhi has been long time been known as the food Capital of India. Delhi gives you the option to choose from cuisines for a fine dining experience or the street food, latter one being more famous.

Street Food in Delhi – As I am drafting this my mouth watering with the thought of the Golgappa’s, Aloo Chaat, Tikki!!! These three items in the street food category are the 1st one that comes to one’s thought!! Though every locality in Delhi will have a famous “Chaat wallah” as they are referred here, but the best one’s located in Bengali Market near C.P.(Connaught Place in Central Delhi) Also, one can get a taste of Bengali style of golgappe at CR Park(Chittranjan Park) in South Delhi. Golgappe or Pani Puri, as they are popularly called, are small water balls filled with boiled diced potatoes and chickpeas and topped with sweet n spicy water made with tamarind pulp and some spices.


Golgappe


 


Aloo Chaat is shallow fried diced potato until very crispy and mixed with spicy masala and tamarind or lemon juice. This is served very hot. Aloo chaat is also a local delicacy and can be found in every part of local market in Delhi.


 


aloo-chat


Tikki – Tikki is made of boiled and mashed potato. Its shaped into a semi flattened patty with a filling in the center made of peas mixed in spicy masala!! The patty is then shallow fried in a pan until crispy golden from both the sides! The patty is served hot with tamarind chutney, mint chutney, some sliced onion and little bit of curd!! For the tikki to taste divine, the key is the crispiness in the patty. The patty should be flattened a bit more that the regular method and shallow fried until its crispy. The best tikki is available in Noida Sec 25 market.


tikki


If you are in Delhi, do ensure that you do not leave the city without tasting these Delights of Delhi!!!


 



Gastronomy Delight Of Delhi

Search Database for Keywords or across all tables

/* Visit my blog


http://exuberantindia.com/


*/


CREATE PROC dbo.KeywordSearchDB

(

@SearchStr nvarchar(100)

)

AS

BEGIN

CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630))


SET NOCOUNT ON


DECLARE @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)

SET  @TableName = ”

SET @SearchStr2 = QUOTENAME(‘%’ + @SearchStr + ‘%’,””)


WHILE @TableName IS NOT NULL

BEGIN

SET @ColumnName = ”

SET @TableName =

(

SELECT MIN(QUOTENAME(TABLE_SCHEMA) + ‘.’ + QUOTENAME(TABLE_NAME))

FROM     INFORMATION_SCHEMA.TABLES

WHERE         TABLE_TYPE = ‘BASE TABLE’

AND    QUOTENAME(TABLE_SCHEMA) + ‘.’ + QUOTENAME(TABLE_NAME) > @TableName

AND    OBJECTPROPERTY(

OBJECT_ID(

QUOTENAME(TABLE_SCHEMA) + ‘.’ + QUOTENAME(TABLE_NAME)

), ‘IsMSShipped’

) = 0

)


WHILE (@TableName IS NOT NULL) AND (@ColumnName IS NOT NULL)

BEGIN

SET @ColumnName =

(

SELECT MIN(QUOTENAME(COLUMN_NAME))

FROM     INFORMATION_SCHEMA.COLUMNS

WHERE         TABLE_SCHEMA    = PARSENAME(@TableName, 2)

AND    TABLE_NAME    = PARSENAME(@TableName, 1)

AND    DATA_TYPE IN (‘char’, ‘varchar’, ‘nchar’, ‘nvarchar’)

AND    QUOTENAME(COLUMN_NAME) > @ColumnName

)


IF @ColumnName IS NOT NULL

BEGIN

INSERT INTO #Results

EXEC

(

‘SELECT ”’ + @TableName + ‘.’ + @ColumnName + ”’, LEFT(‘ + @ColumnName + ‘, 3630)

FROM ‘ + @TableName + ‘ (NOLOCK) ‘ +

‘ WHERE ‘ + @ColumnName + ‘ LIKE ‘ + @SearchStr2

)

END

END

END


SELECT ColumnName, ColumnValue FROM #Results

END


 


Save the procedure and call it for testing


exec dbo.KeywordSearchDB @SearchStr = ‘test’



Search Database for Keywords or across all tables

Friday, July 19, 2013

Facts about Japan

1 – Do you know that Japanese children clean their schools every day for a quarter of an hour with teachers, which led to the emergence of a Japanese generation who is modest and keen on cleanliness.


 2 – Do you know that any Japanese citizen who has a dog must carry bag and special bags to pick up dog droppings. Hygiene and their eagerness to address cleanliness is part of Japanese ethics.


 3 – Do you know that hygiene worker in Japan is called “health engineer” and can command salary of USD 5000 to 8000 per month, and a cleaner is subjected to written and oral tests!!


 4 – Do you know that Japan does not have any natural resources, and they are exposed to hundreds of earthquakes a year but do not prevent her from becoming the second largest economy in the world?


 5 – Do you know that Hiroshima returned to what it was economically vibrant before the fall of the atomic bomb in just ten years?


 6 – Do you know that Japan prevents the use of mobile in trains, restaurants and indoor


 7 – Do you know that in Japan students from the first to sixth primary year must learn ethics in dealing with people -


 8 – Do you know that the Japanese even though one of the richest people in the world but they do not have servants. The parents are responsible for the house and children -


 9 – Do you know that there is no examination from the first to the third primary level; because the goal of education is to instill concepts and character building, not just examination and indoctrination. -


 10 – Do you know that if you go to a buffet restaurant in Japan you will notice people only eat as much as they need without any waste. No waste of food.


 11 – Do you know that the rate of delayed trains in Japan is about 7 seconds per year!! They appreciate the value of time, very punctual to minutes and seconds


 12 – Do you know that children in schools brush their teeth (sterile) and clean their teeth after a meal at school; they maintain their health from an early age -


 13 – Do you know that students take half an hour to finish their meals to ensure right digestion. When asked about this concern, they said: These students are the future of Japan


 It is time that our young generation inculcates all the good things and help in nation building. 



Facts about Japan