Friday, April 30, 2010

Fremont DMV Test Route


Fremont DMV Driving Test Routes

When my friends took their driving test in Fremont, the following routes were some of the possible ones that came up. It depends on the mood of the examiner. Each examiner has a different route. Whatever may be the route, keep cool and drive, you will come out with flying colors. You can use the following routes to keep yourself well prepared for the D-day.

ROUTE #1

1. Come out of DMV, Take Right on Dusterberry Way. (Remember to be on the right most lane initially, then you can move to other lanes)
2. Turn Right on Peralta Blvd
3. Turn Right on Maple Street
4. Turn Right on Central Avenue
5. Turn Left on Glenmoor Dr
6. Turn Left on Norris Dr -- This is residential area usually they will test curb parking and straight reverse here.
7. Turn Right on Logan Dr
8. Turn Left on Mattos Dr
9. Slight Left onto Palmer Dr
10. Turn Right on Lombard Ave
11. Turn Left on Argyle Road
12. Turn Left on Central Ave
13. Turn Right into the DMV and park the car.

ROUTE #2

1. Come out of DMV, Take Left on Dusterberry Way. (Remember to get on to the center lane, and then go to left side of the street)
2. Turn Right on Central Ave
3. Turn Left on Glenmoor Dr
4. Turn Left on Norris Dr
5. Turn Left on Logan Dr - -- This is residential area usually they will test curb parking and straight reverse here.
6. Turn Right on Central Ave
7. Turn Left on Dusterberry Way
8. Slight Right onto Peralta Blvd (If there is a STOP Sign, Stop before turning)
9. Turn Right at Maple Street,
10. Turn Right at Central Ave (Go to the left most lane)
11. Turn Left on Argyle Road
12. Turn Right at Argyle Court (Go to the end and take a U-turn)
13. Turn Left at Argyle Road
14. Turn Left at Central Ave
15. Turn Right into the DMV and park the car.

ROUTE #3

1. Come out of DMV, Take Right on Dusterberry Way. (Remember to be on the right most lane initially, then you can move to other lanes)
2. Turn Left at Hansen Ave
3. Turn Right at Cabrillo Dr
4. Turn Right at Alameda Dr - This is residential area usually they will test curb parking and straight reverse here.
5. Turn Left at Contracosta Ave
6. Turn Right at Thornton Ave
7. Turn Right at Elm St
8. Turn Left onto Tomasek Terrace
9. Tomasek Terrace Turns Left and Becomes Baine Ave
10. Turn Right onto Peralta Blvd
11. Slight Left onto DusterBerry Way
12. Turn Left into the DMV and park the car.

Thursday, April 22, 2010

Pattern Matching for Password

Java introduced Pattern matching API from JDK 1.4 onwards. Its definitely a wonderful API for validating passwords, userId, etc in an application. There are some predefined regular expressions available. Here, Iam going to explain a regular expression for password validation.

You would have encountered password rules in several websites. Lets see how the regular expression is going to be for the following password rule:
It should contain at least one digit from 0-9
It should contain at least one letter from A-Z
It should not contain any lower case letter
The minimum length of the username must be 6 characters and the maximum may be 20.
It should contain at least one character from amongst @#*=
It should not contain any spaces


Regular Expression for the above conditions :

  • (?=.*[@#*=]) # must contains one special character "@#$%"
  • (?=.*[A-Z]) # must contains one UPPER Case Character
  • (?!.*[a-z]) # must not contain lower case Character (See ! instead of =)
  • (?=.*[0-9]) # must contains one number 0-9
  • (?!.*\\s) # must not contain any spaces
  • . # match anything with previous condition checking
  • {6,20} # length at least 6 characters and maximum of 20

Java Pattern Matching Code:
import java.util.regex.Pattern;
import java.util.regex.Matcher;

public class UserName
{
public static void main(String[] args)
{
String password="ABC3a#@@";
Pattern pattern = Pattern.compile("(?=.*[@#*=])(?=.*[A-Z])(?!.*[a-z])(?=.*[0-9])(?!.*\\s).{6,20}$");
Matcher m = pattern.matcher(userName);
boolean b = m.matches();
if (b==false)
System.out.println("FAIL");
else if(b==true)
System.out.println("PASS");
}
}

Tuesday, October 13, 2009

School / Kindergarten readiness

I was thinking / calculating, when I would be sending my son to kindergarten. I came to know that each state in USA has different entrance age. I thought this table would come in handy for anyone who has kids.
StateAge 5 on or Before
Alabama1-Sep
Alaska15-Aug
Arizona1-Sep
Arkansas15-Sep
California2-Dec
ColoradoSchool District Option
Connecticut1-Jan
Delaware31-Aug
Florida1-Sep
Georgia1-Sep
Hawaii31-Dec
Idaho1-Sep
Illinois1-Sep
Indiana1-Jul
Iowa15-Sep
Kansas31-Aug
Kentucky1-Oct
Louisiana30-Sep
Maine15-Oct
Maryland1-Sep
MassachusettsSchool District Option
Michigan1-Dec
Minnesota1-Sep
Mississippi1-Sep
Missouri1-Aug
Montana10-Sep
Nebraska15-Oct
Nevada30-Sep
New HampshireSchool District Option
New JerseySchool District Option
New Mexico1-Sep
New YorkSchool District Option
North Carolina31-Aug
North Dakota1-Sep
Ohio30 September or August 1
Oklahoma1-Sep
Oregon1-Sep
PennsylvaniaSchool District Option
Rhode Island31-Dec
South Carolina1-Sep
South Dakota1-Sep
Tennessee30-Sep
Texas1-Sep
Utah2-Sep
Vermont1-Jan
Virginia30-Sep
Washington31-Aug
West Virginia1-Sep
Wisconsin1-Sep
Wyoming15-Sep

For more detailed information, Click here

Monday, October 05, 2009

Ayman's 1st Birthday



Its been a year since my son was born, and we hosted a party for him in a restaurant in Pleasanton, CA. It was initially scheduled to start at 11.30 AM, but as usual like indian parties it started a little late. Some friends turned up early and were waiting for Ayman to arrive. I asked to take the lunch first and then we can cut the cake, as many of the friends are yet to come including Ayman's mom. :)

Myself and friends (Seetha, Rajive) decorated the party hall and it was quite good, except for lack of balloons. We didnt know how to operate the helium tank and due that the number of balloons was quite less. I realized that when kids were not so happy. Otherwise my friends did a good job in decorating the party hall.

I ordered a half sheet size cake from Nobs hill and it was a simple and tasted good. My wife wanted a tiered cake, but due to budget constraints, have to settle for a simple one. Hopefully for the next birthday, we will have a tiered one.

We had a challenge in lighting the candles in the cake, as the kids were constantly blowing air using the trumpet. Finally, we cut the cake around 1.15pm.

Here are some pictures



Thursday, May 21, 2009

Strange Behavior of Excel - Reduce Size of Multiple Embedded Documents in Excel

Today, when I working on a excel document, I happened to embed a word document multiple times. I deleted it, emded it again, and it went on for several times. I noticed that this increases the size of the Excel. Whenever the embedded document is deleted from excel, then excel just removes the reference and leaves the contents of the embedded document hidden. This increases the size of the excel. I couldnt find how to reduce the size of the excel. Only thing which worked was copy the contents of the excel and paste in a new excel. In this way, the size reduces considerably.

Saturday, November 15, 2008

Latest happenings

As usual, I blog on and off every now and then. There's been lot of changes in my career and life, since my last post.

I became a father on September 30th. I had a son. He is keeping me busy and its fun to see him grow.

On October 6th, I joined another project with the same client, Kaiser, as a Tech lead. Its a new project and I have a team at offshore. Its nice to work in a elevated role, except the offshore challenges. The work is challenging and timeline is aggresive. We are using Seam framework which will run on Jboss Server, ESB Services on WSO2 Server.

Wednesday, September 03, 2008

Pleasanton DMV Behind the Wheel Driving Test Routes


When I was searching for DMV test routes for Pleasanton, I couldnt find one. So, I just collected some of the possible routes from friends and uploaded here.

Route # 1

->> Come out of DMV
->> Left @ Hopyard
-->> Left @ Parkside
-->> 2nd left
-->> Right @ Hopyard
->> Right @ W Las Positas
-->> Left @ Williow Road
-->> Left @ Inglewood ->> This is residential area usually they will test curb parking and straight reverse here.

-->> Left @ Denker
-->> Left @ Dorman
-->> Right @ Hopyard
-->> Left into DMV
->> Then he will ask you to park

Route # 2

->> Come out of DMV
->> go straight on W Las Positas
-->> Left @ Hacienda
-->> Left @ Gibraltor
-->> Left @ Williow Road
-->> Right @ W Las Positas
-->> Right @ Hopyard
-->> Left @ Inglewood ->> This is residential area usually they will test curb parking and straight reverse here.
-->> Left @ Denker
-->> Left @ Dorman
-->> Right @ Hopyard
-->> Left into DMV
->> Then he will ask you to park.


Route # 3

->> Come out of DMV
->> go straight on W Las Positas
-->> Left @ Hacienda
-->> Left @ Gibraltor
-->> Right @ Williow Road
-->> Left @ Inglewood
-> Go straight you will cross Hopyard junction- >> This is residential area usually they will test curb parking and straight reverse here.
-->> Right @ Denker
-->> Right @ Stoneridge
-->> Right @ Hopyard
-->> Left @ W Las Positas
-->> Left into DMV
->> Then he will ask you to park.



Tuesday, July 08, 2008

Passed PMP

On May 24th, I appeared for the PMP Certification and passed it. I studied for 2 months and finally cleared it. My secret of success is as follows:
  • Read Rita Mulcahy Guide
  • Read PMBOK
  • Read Rita Mulcahy Guide
  • Read PMBOK
  • Read PMBOK
  • Pmstudy exams
  • Exams from other books like Kim, Joseph Philips
  • Again PMBOK
My PMP experience was very enlightening. Acquiring PM Knowledge is indeed an enriching experience and the confidence which I got, once I acquired the certification is worth all the hardwork. One thing I learned - I found the test to be very focused on application of knowledge/concepts in real world projects, as opposed to knowledge itself. It is very important to understand all concepts. The exam tests the concepts thoroughly.

Monday, January 28, 2008

Right & Left Hand Driving



Last week, I was chatting with my friend who lives in France and we were discussing about the driving system in US and France. I was thinking, it was only the countries in North America which follow the "driving on the right" system. It looks like there are around 166 countries which follow the system including France. Others follows the UK System(around 76), that is "driving on the left".

Another interesting thing is that, how the system actually started. It is very well described in the following link.

http://users.pandora.be/worldstandards/driving%20on%20the%20left.htm

Monday, December 24, 2007

No Blogs for a long time

Its been a long time since I updated my blog page. Lots of exiciting things happened both at home and at my career.

I added additional certifications both at Process Improvement (ASQ Six Sigma Black Belt) and Technical front (IBM SOA Certification) and currently in the process of becoming PMP Certified.

During the little time which I got during these times, we visited Yosemite, Tech museum, Point Reyes and places in and around bay area. Bay area has become very cold during winter season unlike Los Angeles.

Thursday, April 26, 2007

CSC acquired Covansys

Yesterday evening, there was an exciting and interesting development at Covansys. It was acquired for 34$ per share totalling to 1.3 billion $. Some of the notable things in this deal for employees are:
  • Covansys will function as separate division under CSC for sometime
  • Benefits for Covansys may change according to CSC's benefits
  • Employees working with temporary visas at US are not affected

So far, so good. But no one knows about the future.

Players in the IT Services market also tend to grow by mergers and acquisitions. Cap Gemini acquired Kanbay. EDS acquired Mphasis. Finally, CSC acquired Covansys.

Friday, February 02, 2007

J2EE Anti-Patterns

Anti-Pattern describes the mistakes what developers make when faced with a common problem. They are basically the pitfalls.

Some of the reasons for anti-pattern spread are:
  • Cut and Paste Development
  • Unreadable Code
  • Inexperienced Developers

Architectural Anti-Patterns:

  • Excessive Logging - The disadvantages are [ Too Much design time is required, Complex Code, Speed(performance) may be affected ]
  • Leak Collection - [ To avoid this, set unused objects to null. Otherwise, leaks might lead to Out of Memory Exception ]

Presentation Anti-Patterns

  • Magic Servlet - It is the only servlet that does everything
  • MonoLithic/Compound JSPs
  • Overstuffed Session

EJB Anti-Pattern

  • Everything is EJB
  • Round-Tripping - To avoid this use Facade Pattern
  • Stateful when Stateless will do

Thursday, February 01, 2007

Last day at CBRE

Yesterday was my last day at the client place CBRE. It was an emotional and touching moment. We all were working like a family. Though I enjoyed working there, I asked for a release in order to work in project with higher responsibilities. I could remember my colleagues standing to give me a farewell. Hope I would land in a similar client like CBRE in future.

Monday, January 29, 2007

SOA

Service Oriented Architecture is an architectural pattern for implementing a system, using loosely coupled and interoperable software services.

SOA can be implemented using REST, RPC, DCOM, CORBA and WebServices.

Cons:
  • XML is used widely, which involves parsing. This might affect performance.
  • Services are by default stateless. Difficult to implement Stateful services.
  • WS- Transaction and Security are evolving.

Friday, January 12, 2007

Passed SCDJWS

I gave the Sun Certification Exam for Java Web Services and Cleared it with 88% score. It was an excellent exam covering almost all of the important concepts in Web Services like SOAP, WSDL, UDDI, JAX-RPC (Now its called as JAX-WS), JAXR, JAXB, SAAJ, JAXP and development and deployment of Java Web Services.

Myself and My friend Thangamani took it as a challenge that we need to pass this exam in month's time. We started somewhere around the mid of November seriously. I gave the exam on January 7th. I drove a long way from my apartment in Torrance to Irvine valley college along with my wife. I left my wife in the car and went to write the exam in the prometric center. After 2 hours of exam, I came out successful. We drove to an Indian Halal Restaurant and had Buffet lunch in Shan Restaurant, Artesia.

Thanks for Thangamani for clarifying my questions, expert advice and my wife for taking care of other things during the course of my preparation.

Monday, January 08, 2007

Happy New Year

Its been a long long time since I stopped blogging.
Happy New Year !!!!

Hope I will start blogging soon.

Tuesday, March 21, 2006

Interesting Article

I came across this interesting article in the internet.
http://java.sys-con.com/read/192403.htm
Its about what you should do after you have been fired from a job and how to avoid that situation. As elder people have said, "Prevention is better than cure", we should plan and learn atleast 2 hours a day (Dont ask me whether I do that), so that we are on top of others, in this global IT market, where "survival of the fittest" is always true(both mentally and physically).

Sunday, March 19, 2006

Life...

The following is a translation of a song in the movie "Kal Ho Naa Ho". When I watched this movie yesterday, I couldnt understand the song as it was in Hindi and Iam not that fluent in Hindi. Fortunately, the translation was available in English and I grabbed some of the sentences which I liked. Though it may not suit everyone, I think some of the sentences are real.
Life's changing every moment
Life is now a shade...
Life is now sunshine...
Every moment on earth... Live life to the fullest
whetever time you have is yours...for tomorrow might never come

Someone to love you with all his heart...is difficult to come by
Should there be someone like that...he's the one for you, be sure
His hand you must take..
For all you know,...Tomorrow might never be...
Every moment on earth, Live Life to the fullest, for tomorrow might never come...

Thursday, February 09, 2006

Birds view of my apartment


Microsoft has released virtual earth, (http://local.live.com/), in which the pictures of earth were taken from plane and then they were merged together using software.
The resolution is too good, though it is not as user friendly like Google Earth.
You can see the picture of the apartment where I live.

Tuesday, January 10, 2006