Tuesday, May 14, 2019

TAKT Time Demystified


Lets go through the definition of TAKT time and how it is calculated with a real-time example.

Definition of TAKT Time:

TAKT Time is defined as the ratio of available minutes to the required units of production.
Mathematically it is defined as follows:

TAKT Time = Available Minutes for Production / Required Units of Production per day

Available time is the actual time spent on production activity. It does not includes meetings, administrative non-working time, tea breaks and lunch breaks.

Calculate TAKT Time Step by Step (A real-time Situation):

Assume a situation where in you want to release a plugin to enterprise dealers. Provided there are 300 roof tops for this dealer to which this plugin needs to be released for. The Client Account Manager has set a target of 60 roof tops per day so that he wants to complete all roof tops released with the plugin within 5 days. Then the Takt time can be calculated here as following:

From the definition of Takt time, An employee works 8 hrs a day. 8 hrs = 480 mins
Tea breaks= 10mins ( 2 breaks of 5 mins each)
Daily standup = 30 mins
Available Minutes for Production = 8 hrs a day – (Tea Breaks + Daily Standup meeting)
= 480 mins – (10 mins + 30 mins)
= 440 mins
Available Minutes for Production = 440 mins

Plugin needs to be released for 60 roof tops per day, which means
Required Units of Production per day = 60

TAKT Time = 440/60 = 7.33 mins

This implies that a release for every roof top should be completed with in 7.33 mins or precisely 440 seconds, to reach the goal of 60 roof tops per day.

This is ideal situation provided that there are no unforeseen situations like connectivity issues, network outages.



By,
Navule Pavan Kumar Rao

Sunday, February 16, 2014

A wonderful dream, That I'll never forget


Feb 16,2014 - A wonderful day in my life..
I got a dream wherein I was on a mission to reach the Moon on a space shuttle and come back to the Earth from the Moon via a specially designed bicycle, riding it on a rope that was tied between the Earth and the Moon. Everything appeared to be in a High Definition in the dream. I was clearly able to visualize the every detail including grey colored dust on moon that fell on the bicycle which was already arranged for me on the Moon.

I landed on the moon and removed my astronaut's suit. It was the night on the Moon with sufficient amount of brightness and glow of the Sun rays reflecting all over it. I wondered how I was able to breath. As soon as I mooned (landed as on earth) I saw a vegetable market full of vendors shouting on a sale.  


Suddenly I was distracted by two kids running one after the other and I kept following them. They took me to the bicycle and the place where a rope was tied from the Moon to the Earth. I took the bicycle and was full of confidence even though there is a chill on my spine. I put the front tire of the bicycle on the rope.. Its my alarm started buzzin'.. its 8.00 am in the morning..


Update(17/02/2014):
The reason I got this fantasy dream is just because I had seen the Moon in the deep blue clear sky that night. Actually the pics above were taken on the later night as usual when I was returning back to my bed, I abruptly had to see this beautiful view of the moon and recalled that 'I had seen much more beautiful view yesterday'.

One more strong reason for this extreme fantasy dream could be due to the fact that I was frequently listening to 'Poore chand' song from Ram-leela movie now a days (I didn't yet watched the movie though!!). Probably this could also been one of the motivating factors for the dream that I got.

Update(27/03/2023):
We now have Bing image creator powered by DALL-E and the images generated were so true to match the imagination given the phrase "a high detailed view from the bicycle overlooking a rope that leads it's path from the Moon down to the Earth". A great thanks to DALL-E and Bing image creator.






Wednesday, September 25, 2013

Enabling Full Text Search on Godaddy

GoDaddy full text search with MS SQL Server

1.Choose Table and find its Primary Key
1. Find the name of the primary key for the table that you want to index. My table name is "content" and the key looks like this: PK__fields__0xxxx

Create table content (
Pagename                varchar(20) not null primary key,
URL                     archar(30) not null,
Description             text null,
Keywords                varchar(4000) null)

2. Create Full Text Index

CREATE FULLTEXT INDEX ON [content]
KEY INDEX [PK__fields__0xxxx]
WITH CHANGE_TRACKING AUTO

3. Add column(s) to the index

EXEC sp_fulltext_column 'fields', 'Pagename', 'add'
EXEC sp_fulltext_column 'fields', 'URL', 'add'
EXEC sp_fulltext_column 'fields', 'Description', 'add'
EXEC sp_fulltext_column 'fields', 'Keywords', 'add'

However its bad practice to enable all columns with full text indexing which significantly poses performance threat to the SQL Server. For more details you can google the best practices for full text indexing on the internet.

4. Activate index

EXEC sp_fulltext_table 'content', 'activate'

5. Start index population (if not started)

EXEC sp_fulltext_table 'content', 'start_full'

6. Enjoy full text search in your ASP.NET application

SELECT FREETEXTTABLE(content, description, @query, 100)

Below are some more examples you can check around.

Query 1 (FREETEXT)


SELECT * FROM content WHERE freetext(*,"home")
 
Result
PagenameURLDescriptionKeywords
-----------------------------------------------
home.asp/home.aspThis is the home pagehome, SQL
This queries all full-text-enabled columns in the content table for the string "home."

Query 2 (FREETEXT)


SELECT * FROM content WHERE freetext(description,"Magazine")
 
Result
PagenameURLDescriptionKeywords
-----------------------------------------------
Pagetwo.asp/page2/page2.aspNT Magazine is greatsecond
Pagethree.asp/page3/page3.aspSQL Magazine is the greatestthird
This only searches the Description column and returns all matches for the string "Magazine."

Query 3 (FREETEXT)


SELECT * FROM content WHERE freetext(description,"SQL Mag")
 
Result
PagenameURLDescriptionKeywords
-----------------------------------------------
Pagethree.asp/page3/page3.aspSQL Magazine is the greatestthird
Although this appears to search on the string "SQL Mag," it actually searches on "SQL" or "Mag."

Query 4 (FREETEXT)


SELECT * FROM content WHERE freetext(description,"the")
Result
Server: Msg 7619, Level 16, State 1, Line 1
The query contains only ignored words; we've queried a noise word here. You'll find "the" in the noise words file at \MSSQL7\FTDATA\SQLSERVER\CONFIG.

Query 5 (CONTAINS)


SELECT * FROM content WHERE contains(*,"home")
 
PagenameURLDescriptionKeywords
-----------------------------------------------
home.asp/home.aspThis is the home pagehome, SQL
Like the Freetext query, this searches all full-text-enabled columns for the keyword "home."

Query 6 (CONTAINS)


SELECT * FROM content WHERE contains(Description,'  "Magaz*"  ')
 
PagenameURLDescriptionKeywords
-----------------------------------------------
Pagetwo.asp/page2/page2.aspNT Magazine is greatsecond
Pagethree.asp/page3/page3.aspSQL Magazine is the greatestthird
This statement queries the Description column for a word beginning with "Magaz." Note that the asterisk acts as a wildcard or placeholder, just as the percent sign (%) does with the LIKE keyword. (To make this work, you need to use single quotes on either side of the double quotes.)

Query 7 (CONTAINS)


SELECT * FROM content WHERE contains(Description,'  "*azine"  ')
 
PagenameURLDescriptionKeywords
-----------------------------------------------
This search yields no results. You can't use an asterisk as a placeholder for a prefix.

Query 8 (CONTAINS)


SELECT * FROM content WHERE contains(Description,'  "Magazine" Or "Great"  ')
 
PagenameURLDescriptionKeywords
-----------------------------------------------
Pagetwo.asp/page2/page2.aspNT Magazine is greatsecond
Pagethree.asp/page3/page3.aspSQL Magazine is the greatestthird
This full-text scan uses OR so that you can search for "Magazine" or "Great"; it also works with AND and AND NOT. (Again, note the single quotes around the search criteria.)

Query 9 (CONTAINS)


SELECT * FROM content WHERE CONTAINS(description, 'NT NEAR great')
 
PagenameURLDescriptionKeywords
-----------------------------------------------
Pagetwo.asp/page2/page2.aspNT Magazine is greatsecond
This search on the Description column finds all rows where "NT" is near "great".

Query 10 (CONTAINS)


SELECT * FROM content WHERE contains(description, ' formsof (inflectional, great) ')
 
PagenameURLDescriptionKeywords
-----------------------------------------------
Pagetwo.asp/page2/page2.aspNT Magazine is greatsecond
Pagethree.asp/page3/page3.aspSQL Magazine is the greatestthird
This statement returns all results for "great," "greatest," "greater," and so on.



Sources: http://codeshard.blogspot.in/2011/10/godaddy-full-text-search-with-ms-sql.html
http://sqlmag.com/sql-server/sample-full-text-search-engine







Tuesday, February 28, 2012

5 Ways to express Love to your beloved Child. -For Dummies.

Here are the five ways to express your child when you feel you are not doing so!!

1. Go to your child when sleeping in the morning when it is time to wake up and tingle your child's ear with your hair and hide by side.
And when your child looks around give a surprise.

2. Keep a habit of making nosy nosy between you and your child. It means gently rubbing your's and child's nose to each other. This will increase the affection between both of you.

3. Say "I Love You Baby" atleast once a day to your child.

4. Don't forget to say "I miss you" when your child is going to mall or shopping with his/her dad.

5. Kiss and appreciate when your child did a great job even though it is very small from your perspective.

BY
N PAVAN KUMAR RAO
Go Daddy Deal of the Week: Get 15% off your order! Offer expires 6/5/12