<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5883343542496510161</id><updated>2012-01-07T00:35:51.332-08:00</updated><category term='reduce bug count'/><category term='sitepoint'/><category term='UTCD'/><category term='email-validation'/><category term='Task management tool'/><category term='body+language'/><category term='Presentation'/><category term='checklist for manage your task'/><category term='regular expression to validate email address'/><category term='email-regular-expression'/><category term='project management'/><category term='tips-for-presentation'/><category term='bug tracking'/><category term='validate email address'/><category term='testing'/><category term='javascript for email'/><category term='Mantis'/><category term='stage+fear'/><category term='soft+skills'/><category term='javascript for email validation'/><title type='text'>Learning Excellence</title><subtitle type='html'>I believe in open source hence contributing a small part by helping and sharing my knowledge.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5883343542496510161.post-3642680799251974288</id><published>2011-05-06T03:12:00.001-07:00</published><updated>2011-06-03T22:38:30.401-07:00</updated><title type='text'>Array Manipulation by array_map</title><content type='html'>As a hobby I love to help people in technical forum and I end up in interesting array manipulation question. This buddy of mine was trying to use array in optimized way   &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Problem&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;$sports = array('Baseball', 'Soccer', 'Tennis');&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;$location = array('Mumbai', 'Delhi', 'Pune');&lt;span style="font-size:12pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Output&lt;/span&gt;:&lt;br /&gt;&lt;p class="MsoNormal"&gt;Baseball in Mumbai, Soccer in Delhi and Tennis in Pune&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Traditional way&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;First and foremost solution pop up in one’s mind - iterate both the arrays with a help of for loop and construct the string and output the expected output. Mostly every new developer will hop for this solution. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;But I wanted to handle this issue in more optimized way so I started looking in to array functions and designed the following small helpful function which will help you to do the same with no for loops.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Most optimized way to resolve – array_map&lt;/b&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;$sports = array('Baseball', 'Soccer', 'Tennis');&lt;br /&gt;$location = array('Mumbai', 'Delhi', 'Pune');&lt;br /&gt;function  show_details($arr1,$arr2)&lt;br /&gt;{&lt;br /&gt;   return $arr1.' in '.$arr2;&lt;br /&gt;}&lt;br /&gt;$c = array_map("show_details", $sports, $location);&lt;br /&gt;print_r($c);&lt;br /&gt;&lt;br /&gt;$final_str=implode(",",$c);&lt;br /&gt;$comma_pos=strrpos($final_str,',');&lt;br /&gt;&lt;br /&gt;echo substr($final_str,0,$comma_pos).'  and  '.substr($final_str,($comma_pos+1),strlen($final_str));&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;There may exists some other ways to achieve the same output .  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5883343542496510161-3642680799251974288?l=pritisolanki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/3642680799251974288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pritisolanki.blogspot.com/2011/05/normal-0-false-false-false-en-us-x-none.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/3642680799251974288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/3642680799251974288'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/2011/05/normal-0-false-false-false-en-us-x-none.html' title='Array Manipulation by array_map'/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5883343542496510161.post-5871252607774052169</id><published>2009-12-15T19:49:00.000-08:00</published><updated>2009-12-15T19:55:37.119-08:00</updated><title type='text'></title><content type='html'>Let me introduce a new word in your professional life - UTCD : Unit Test Case Document.This term is very familiar to the software engineers who belong to CMM level organization and follow process.In this short article I have tried to answer some of the most frequently asked questions like&lt;br /&gt;Ø What is UTCD?&lt;br /&gt;Ø Why developers should create UTCD?&lt;br /&gt;Ø How it is beneficial?&lt;br /&gt;&lt;br /&gt;Source of inspiration for UTCD&lt;br /&gt;&lt;br /&gt;In last release we hired a new resource and the irony of the situation was that till the task release she kept complaining that requirements are not clearly defined and I am new to system. As I was given the responsibility for  upcoming release, I therefore, started finding a way to equip the all resources with basic understanding of task before they venture further in development. I started reading literature on Process and chose to follow UTCD.&lt;br /&gt;&lt;br /&gt;UTCD is an excel document created by developers before they start with the process of  development. It helps developer to outline what he/she is supposed to develop.It also, reflects the thought process of developers so that the requirement is up to the mark and deliverable are beforehand.&lt;br /&gt;&lt;br /&gt;Following are the information that developer is required to feeds in:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ID&lt;/span&gt;- Your requirement is divided in to smaller task and developer assign the ID number to them&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Test Case Summary&lt;/span&gt; - Small description of task&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Methods/Fields&lt;/span&gt; - Which method or fields it is going to impact&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Input(s)&lt;/span&gt; - list down all valid/Invalid inputs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Expected Result&lt;/span&gt; - Performing the steps in Test Case Summary what will happen&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Status&lt;/span&gt; - Pass/Fail [Note: This is used when developer is finished with his/her devleopment task and he/she is simply incorporating corrections in the existing development task]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Comments&lt;/span&gt;- Developer notes&lt;br /&gt;&lt;br /&gt;UTCD is executed  by developer after he/she  finished with his/her task implementation.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_sHE9dKedH4A/SyhZgJSFCjI/AAAAAAAAAFo/nhwKJMu29Tg/s1600-h/Example.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 34px;" src="http://4.bp.blogspot.com/_sHE9dKedH4A/SyhZgJSFCjI/AAAAAAAAAFo/nhwKJMu29Tg/s400/Example.JPG" alt="" id="BLOGGER_PHOTO_ID_5415676960695454258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;UTCD helps in following&lt;br /&gt;&lt;br /&gt;1. Understanding the requirement&lt;br /&gt;&lt;br /&gt;2. Impact analysis&lt;br /&gt;&lt;br /&gt;3. Unit testing of the task after completion&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5883343542496510161-5871252607774052169?l=pritisolanki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/5871252607774052169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pritisolanki.blogspot.com/2009/12/let-me-introduce-new-word-in-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/5871252607774052169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/5871252607774052169'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/2009/12/let-me-introduce-new-word-in-your.html' title=''/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_sHE9dKedH4A/SyhZgJSFCjI/AAAAAAAAAFo/nhwKJMu29Tg/s72-c/Example.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5883343542496510161.post-4727325212755980176</id><published>2008-12-11T09:02:00.000-08:00</published><updated>2008-12-11T09:03:18.532-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mantis'/><category scheme='http://www.blogger.com/atom/ns#' term='Task management tool'/><category scheme='http://www.blogger.com/atom/ns#' term='project management'/><category scheme='http://www.blogger.com/atom/ns#' term='bug tracking'/><title type='text'>Mantis – Task Management Tool!!</title><content type='html'>In my current project we use Mantis as bug tracking tool as well as customized it to use as Task management tool. My project is more of maintenance and up-gradation types. We have to redesign the older files and templates and add new functionality as new integration comes in play.&lt;br /&gt;&lt;br /&gt;We needed open source tool to track our daily progress of work. Hence the best strategy comes out to be Task based assignment of work to resource. Mantis was introduced to us for monitoring the task and bug tracking tool.&lt;br /&gt;&lt;br /&gt;As the project grows in size we tweaked Mantis as per our needs. Following are the steps where we use Mantis.&lt;br /&gt;&lt;br /&gt;Admin is your client.&lt;br /&gt;&lt;br /&gt;1.    Admin creates new Tickets for every Task.&lt;br /&gt;2.    Admin identify if it can be “Parent-of” or “child-of” kind relationship exists within the tickets already created.&lt;br /&gt;3.    Now this ticket is published to Developers.&lt;br /&gt;4.    Developers as per their bucket size assign the tickets to themselves.&lt;br /&gt;5.    Now, in Mantis you can set various level of status, priority and severity.&lt;br /&gt;6.    Status, Priority and severity can be defined by you – you need to tweak it. …. How …Drop in your comments with your query.&lt;br /&gt;7.    The Task status is set to “Analysis” .This is a state where Developers write their checklist about their understanding of Task.&lt;br /&gt;8.    Developers can post the Queries or understanding in notes and assign back to Admin to review and respond.&lt;br /&gt;9.    Once freezed, Task status is set to “Under development” development notes are posted as progress made.&lt;br /&gt;10.    Once development is finished Task enters in “Testing Phase” and status is set to “in-house testing” and assign to Tester.&lt;br /&gt;11.    Tester can revert back to Developers setting status to “Development” with bug list updated in the note OR If no bugs found can assign to Admin for Testing&lt;br /&gt;12.    Admin Either Revert the change or Approve the built.&lt;br /&gt;13.    Accordingly action is taken and Task is Either “Closed” or “Closed by feedback”.&lt;br /&gt;14.    Once closed it is modified with closing information about the Task .Like&lt;br /&gt;a.    Files created&lt;br /&gt;b.    Files modified&lt;br /&gt;c.    Sql statement&lt;br /&gt;d.    Config vars etc&lt;br /&gt;&lt;br /&gt;At any point of time Mantis provide reports to stack holders of project. In every Task detail you can see a short-summary where in which action in sequence can be found and it give quick info about task progress.&lt;br /&gt;&lt;br /&gt;Mantis help us in maintaining Process in project ….how …wait for my second post .&lt;br /&gt;&lt;br /&gt;Till then explore Mantis and drop your queries or comments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5883343542496510161-4727325212755980176?l=pritisolanki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/4727325212755980176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pritisolanki.blogspot.com/2008/12/mantis-task-management-tool.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/4727325212755980176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/4727325212755980176'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/2008/12/mantis-task-management-tool.html' title='Mantis – Task Management Tool!!'/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5883343542496510161.post-8684019287922951610</id><published>2008-10-24T21:52:00.000-07:00</published><updated>2009-12-15T00:33:36.077-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stage+fear'/><category scheme='http://www.blogger.com/atom/ns#' term='Presentation'/><category scheme='http://www.blogger.com/atom/ns#' term='body+language'/><category scheme='http://www.blogger.com/atom/ns#' term='soft+skills'/><category scheme='http://www.blogger.com/atom/ns#' term='tips-for-presentation'/><title type='text'>Presentaion Skills</title><content type='html'>Recently I was nominated for training on presentation skill. I was pretty excited because I always see myself in future as Trainer or Mentor. I have taken many a presentation at my college level so I already have some beginner level of experience on it.&lt;br /&gt;&lt;br /&gt;The speaker was our head HR from Pune and he was simply brilliant in his session. He made our session so interesting that it was difficult to go out of the way. First session when my mind was not racing some where else!!!&lt;br /&gt;&lt;br /&gt;He enriched us on following&lt;br /&gt;&lt;br /&gt;1.What presentation should include&lt;br /&gt;2.How to prepare yourself for presentation&lt;br /&gt;3.Stage fear&lt;br /&gt;4.Difference between speech and presentation&lt;br /&gt;5.Art of asking questions&lt;br /&gt;6.Body language&lt;br /&gt;7.Tips and tricks to handle Questions in your session&lt;br /&gt;&lt;br /&gt;The very first day we where  video recorded for our own introduction and it was really a experience when you really listen your own heart beats clearly and fingers freezing at 0 Ah!!!!. Some people forgets how many member they have in family, what is the profession they are in and at the worst speechless and motionless.&lt;br /&gt;&lt;br /&gt;Some tips I am sharing here&lt;br /&gt;&lt;br /&gt;1.Never ever put your hands in the pocket while you are giving presentation. You never know what your hand is doing in nervousness there .You can’t see or feel but your audience can.&lt;br /&gt;&lt;br /&gt;2.Remember the difference between eye-contact and staring. Eye contact should not create uneasiness in your audience especially when there are ladies in them.&lt;br /&gt;&lt;br /&gt;3.Prepare yourself before presentation&lt;br /&gt;&lt;br /&gt;4.If you don’t know anything please doesn’t bluff because if someone there sitting knows and you caught bluffing you are branded with false impression.&lt;br /&gt;&lt;br /&gt;Remember this&lt;br /&gt;&lt;br /&gt;A - Artificially&lt;br /&gt;C - Created&lt;br /&gt;R - Reminders&lt;br /&gt;O - Of&lt;br /&gt;Y - Your&lt;br /&gt;M – Message&lt;br /&gt;&lt;br /&gt;There are long list of these tricks with me .Contact me if you are interested on more or drop in your comment I will surely get back to you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5883343542496510161-8684019287922951610?l=pritisolanki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/8684019287922951610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pritisolanki.blogspot.com/2008/10/presentaion-skills.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/8684019287922951610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/8684019287922951610'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/2008/10/presentaion-skills.html' title='Presentaion Skills'/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5883343542496510161.post-6407396426572721125</id><published>2008-09-25T01:36:00.000-07:00</published><updated>2008-10-31T23:14:10.014-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sitepoint'/><title type='text'>Sitepoint - Best forums !!</title><content type='html'>I am a regular Forum poster at Sitepoint. From very early of my career this site had helped to grow. Forum posting has given me inbuilt strength to struggle with technical challenges in the language at times for me and at times for others in technical trouble.&lt;br /&gt;&lt;br /&gt;Sitepoint is one of the very active technical forums I ever came across in PHP. Members are passionate to help others in technical problem. You will find experts advice and understanding on the topic you feel is difficult to get information on. They have many other services for your interests like articles on business strategies, what free new product is coming in markets, what’s new at google labs and the best - Sitepoint books.&lt;br /&gt;&lt;br /&gt;On a regular morning I saw a very interesting quiz on flashing Sitepoint. As I am keen to learn AIR and web 2.0 so I plan to read this article flashing on Home page which follows a nice price also.&lt;br /&gt;&lt;br /&gt;So I finished my quiz and won the copy of “Adobe AIR”- for Javascript Developer .After finishing I saw the book will be shipped to my physical address and I thought no one is going to ship book to India but with my surprise Sitepoint did.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am feeling so happy that thought of written kudos on my blog to Site point Team. It feels great to be active member on Sitepoint. I always and will continue to recommend this site to my colleagues and other members to join.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do visit them at www.sitepoint.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5883343542496510161-6407396426572721125?l=pritisolanki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/6407396426572721125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pritisolanki.blogspot.com/2008/09/sitepoint-best-forums.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/6407396426572721125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/6407396426572721125'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/2008/09/sitepoint-best-forums.html' title='Sitepoint - Best forums !!'/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5883343542496510161.post-4618833044287494425</id><published>2008-09-08T09:27:00.000-07:00</published><updated>2008-10-14T07:40:53.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='validate email address'/><category scheme='http://www.blogger.com/atom/ns#' term='email-regular-expression'/><category scheme='http://www.blogger.com/atom/ns#' term='regular expression to validate email address'/><category scheme='http://www.blogger.com/atom/ns#' term='email-validation'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript for email validation'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript for email'/><title type='text'>Regular expression to validate email address</title><content type='html'>&lt;p&gt;After lot of googling I gave up and tried a number of regular expressions to fit my needs finally I end up with something my own regular expression. This may be seems quite long but it is really very simple. May be someone can squeeze by retaining all it’s functionality.&lt;/p&gt;&lt;p&gt;Acceptable user name characters are alphabets [a-zA-Z], numeric [0-9], Dot [.], hyphens [-], underscore [_].&lt;/p&gt;&lt;ol type="1"&gt;&lt;li class="MsoNormal"&gt;User name should not start with [.], [-], [_].&lt;/li&gt;&lt;li class="MsoNormal"&gt;Domain name should allow hyphens [-] but not [_] underscores.&lt;/li&gt;&lt;li class="MsoNormal"&gt;Multiple [.] in domain name but consecutive [.] appearance is not acceptable.&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin-left: 0.25in;"&gt;Example: JavaScript function to validate Email address.&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;Function validate_email(em)&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;if(!/^(^[A-Za-z0-9]+([\._-]?[A-Za-z0-9]+)*@[A-Za-z0-9]+([-]?[0-9a-zA-Z]+)*(\.[A-Za-z0-9]+([-]?[0-9a-zA-Z]+)*)+)+$/.test(em))&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;{&lt;/p&gt;&lt;p style="margin-left: 0.25in; text-indent: 0.25in;"&gt;alert(“Please enter valid Email Address”);&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;return false;&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;}&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;Return true;&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;}&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;Let me open the regular expression to understand&lt;/p&gt;&lt;p style="margin-left: 0.25in;"&gt;Above Function will validate following example ids.&lt;/p&gt;&lt;ol type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;a href="mailto:1.%20user.name@domain.com" target="_blank"&gt;user.name@domain.com&lt;/a&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;a href="mailto:user@domain.co.in" target="_blank"&gt;user@domain.co.in&lt;/a&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;a href="mailto:user@domain-test.in.gu" target="_blank"&gt;user@domain-test.in.gu&lt;/a&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;a href="mailto:user.testname@domain-test.in.gu" target="_blank"&gt;user.testname@domain-test.in.gu&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="margin-left: 0.25in;"&gt;Try this regular expression as it is tested and verified. Do not forget to drop your comments for it.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5883343542496510161-4618833044287494425?l=pritisolanki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/4618833044287494425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pritisolanki.blogspot.com/2008/09/regular-expression-to-validate-email.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/4618833044287494425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/4618833044287494425'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/2008/09/regular-expression-to-validate-email.html' title='Regular expression to validate email address'/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5883343542496510161.post-764447711595761015</id><published>2008-09-06T01:49:00.000-07:00</published><updated>2008-09-06T01:54:10.270-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='checklist for manage your task'/><category scheme='http://www.blogger.com/atom/ns#' term='reduce bug count'/><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><category scheme='http://www.blogger.com/atom/ns#' term='UTCD'/><title type='text'>Bugs – Big tortures!!</title><content type='html'>&lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Are you one of them who make following excuses to your tester’s BUG Report&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Wingdings;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;&lt;/span&gt;&lt;span style="font-size: 12pt; font-family: Wingdings;"&gt;&lt;span&gt;Ø&lt;span style="font-family:Times New Roman;font-size:78%;"&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;How is that possible?&lt;/p&gt;  &lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Wingdings;font-size:100%;"&gt;&lt;span style="font-size: 12pt; font-family: Wingdings;"&gt;&lt;span&gt;Ø&lt;span style="font-family:Times New Roman;font-size:78%;"&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;This can’t be the source of that&lt;/p&gt;  &lt;p style="margin-left: 0.5in; text-indent: -0.25in;"&gt;&lt;span style="font-family:Wingdings;font-size:100%;"&gt;&lt;span style="font-size: 12pt; font-family: Wingdings;"&gt;&lt;span&gt;Ø&lt;span style="font-family:Times New Roman;font-size:78%;"&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Why do you want to do it that way?&lt;/p&gt;  &lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;And ultimate reaction of all Developer “It works on my machine “…&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Sometime ago the long bug report was my real worry .As I always been appreciated for my technical expertise and quick learning nature this was something which ruins my performances. I was anxious and start talking about it to other people in same field but everyone was do this , do that , concentrate while you do your testing this and that ….huff huff huff!! &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Finally one day my Project manager calls me for a meeting. He said what is the problem with you? You are good with technical stuffs and you provide quick solution but why such a long bug reports. He said it’s a situation that you have tools and knowledge how to work with them but you lack what to do with it.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Here I thought to be truthful to my manager I told him my status on task and I did also updated him that it is a worrying issue for  myself and I am talking with people around me but I am not have strategy to deal with  this.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;It was the one of my best lesson which I am going to share with you all that how to squeeze the bug counts in you’re built.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;    &lt;ol style="margin-top: 0in;" start="1" type="1"&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;When task is      assigned to you spend some time with task. Answer following&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;ol style="margin-top: 0in;" start="1" type="a"&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;What to be done.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Get a flowchart       (for complex systems) or algorithm for your solution. It sounds very       stupid but let me tell you once you spend your time here you will save a       big time in development.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Which files are       going to get include in this task?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Which Database       table is going to get affected?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Which will be your       impact area on your system&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;  &lt;p style="margin-left: 0.75in;"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left: 0.75in;"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Once you are ready with these answers prepare a checklist for your self to jump in for your show time – ‘The Development ‘.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left: 0.75in;"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left: 0.75in;"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;In our CMM Processes language - we say prepare UTCD (Unit Test case Document)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left: 0.75in;"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol style="margin-top: 0in;" start="2" type="1"&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;By now you are ready      with analysis and understanding and you will sail smoothly in development      phase.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;    &lt;ol style="margin-top: 0in;" start="3" type="1"&gt;&lt;li&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;Time to handover      your work to the Tester. As you spend more time with task you get more      comfortable with task and its probable impact zone on the system. You      before delivering pick your old checklist and prepare a new checklist      which list point to be tested for this task. Perform Unit Testing according      to the checklist thoroughly and I bet you your tester will get tuff time      finding bugs in your task.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size: 12pt;"&gt;This guru-mantra has worked for me and I will be thankful for this to my Project Manager who on time educated me on how to deal with these annoying bugs. &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5883343542496510161-764447711595761015?l=pritisolanki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pritisolanki.blogspot.com/feeds/764447711595761015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pritisolanki.blogspot.com/2008/09/bugs-big-tortures.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/764447711595761015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5883343542496510161/posts/default/764447711595761015'/><link rel='alternate' type='text/html' href='http://pritisolanki.blogspot.com/2008/09/bugs-big-tortures.html' title='Bugs – Big tortures!!'/><author><name>priti</name><uri>http://www.blogger.com/profile/14637774265969274631</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
