1 Nov

Originally posted on Eat, Play, Love:

Happy Halloween! I know we promised the recipe for the Cuban black beans and rice, but we’re not going to post that today. That’s the trick. But don’t worry, we have a treat in store instead – Pumpkin French Toast with Apple Cider Syrup. And yes, this latest challenger for our French Toast Madness, is as good as it sounds.

View original 409 more words

Fall magic

1 Nov

“I cannot endure to waste anything as precious as autumn sunshine by staying in the house. So I spend almost all the daylight hours in the open air.” ~~Nathaniel Hawthorne

20121101-085352.jpg

20121101-085410.jpg

20121101-085429.jpg

20121101-085437.jpg

20121101-085445.jpg

20121101-085452.jpg

20121101-085506.jpg

20121101-085515.jpg

20121101-085529.jpg

.NET SQL INTERVIEW QUESTIONS

11 Jun

Here are some very commonly asked questions in a .NET/SQL Interview..

Q: What is CLR?
Answer: The Common Language Runtime (CLR) is the virtual machine component of Microsoft’s .NET framework and is responsible for managing the execution of .NET programs. In a process known as just-in-time (JIT)compilation, the CLR compiles the intermediate language code into the machine instructions that in turn are executed by the computer’s CPU.

Q: What are lambda expressions?

Answer: Let us start by an example:

delegate int del(int i);

static void Main(string[] args)

{

del myDelegate = x => x * x;

int j = myDelegate(5); //j = 25

}

The left side of the lambda operator (=>) specifies the input parameters (if any) and the right side holds the expression or statement block. The lambda expression x => x * x is read “x goes to x times x.”

Q:What is the difference between hashtable and Dictionary?

Answer: Dictionary is a generic type, Hashtable is not. So, you get type safety with Dictionary, because you can’t insert any random object into it, and you don’t have to cast the values you   take out. Hashtable is thread safe for use by multiple reader threads and a single writing thread, while in Dictionary public static members are thread safe, but any instance members are not guaranteed to be thread safe.

Q: Describe cycles in a ASP.NET Page life

Answer:  To answer this question Please read the following link:

http://msdn.microsoft.com/en-us/library/ms178472.aspx

Q: Is String a Value Type of Reference Type?

Answer: String is a reference type.

Q: IN SSIS Packages What are variables and what is variable scope?

Answer:  A variable is used to store values. There are basically two types of variables, System Variable (like ErrorCode, ErrorDescription, PackageName etc) whose values you can use but cannot change and User Variable which you create, assign values and read as needed. A variable can hold a value of the data type you have chosen when you defined the variable. Variables can have a different scope depending on where it was defined. For example you can have package level variables which are accessible to all the tasks in the package and there could also be container level variables which are accessible only to those tasks that are within the container.

Q: What is the use of Sequence Containers in SSIS Packages?

Answer: Using Sequence Containers lets you handle the control flow in more detail, without having to manage individual tasks and containers. For example, you can set the Disable property of the Sequence container to True to disable all the tasks and containers in the Sequence container.

If a package has many tasks then it is easier to group the tasks in Sequence Containers and you can collapse and expand Sequence Containers.

Q: What does NullIF expression in SQL do?

Answer: NULLIF returns the first expression if the two expressions are not equal. If the expressions are equal, NULLIF returns a null value of the type of the first expression.

NULLIF ( expression1 , expression2 )

 

Thanks for reading my post. If you would like me to post more questions please comment in the section below.

7 Jun

Originally posted on L&L Photography:

Photo of the Day – June 7, 2012

Life is the flower for which love is the honey.
~ Victor Hugo

The One,” Hillsboro, Oregon

View original

Walking Through Central Park

6 Jun

priconnects:

It’s beautiful :) Walking is my ultimate motivation ..

Originally posted on ZAJAC iMAGES:

View original

Healthy-living reminder (and note to self): walk. Walk. WALK!

6 Jun

Originally posted on Teresa Young:

Yep, in concert with the yin and yang of all things, the minute I write about something like I’ve got it handled, the endless balancing act that is modern life tips a bit too far in some direction and suddenly I don’t! So then what does one do? Simple: begin again. And by the way, your form matters!

In addition to the “proper walking techniques” in the accompanying image (thanks to the Mayo Foundation), don’t coast along in your habitual walking style, with your mind driving your body around like a car, mentally just getting through the physical exercise ’til it’s over while thinking of everything you need to do after. Get your consciousness down into your body: engage your thighs and butt muscles and make sure they’re working as the engine that’s propelling you forward. Keep your knees flexed and stay light on your feet. Feel your…

View original 118 more words

Walking is my ultimate motivation

5 Jun

“All truly great thoughts are conceived while walking.” ― Friedrich Nietzsche

I walk…because I feel this is the best way I could appreciate Mother Nature and her Natural beauty…"Sunflower" I walk….because I want my mind and body to connect and talk to each other in a very special language called “silence.”

"Beautiful flowers"

I walk because…It is safe, simple and doesn’t require practice…it is as natural as breathing. "Mother Nature" I walk…because it takes my mind off everyday stress and uplifts my spirits."Texas bluebonnets" “Walking in the morning takes you to beautiful places where light and shade make love.” ― Prof. Mohamed Shareef "Texas wildflowers"

I walk because there is so much beauty all around me to see and appreciate every bit of it. 

"Rose"

I walk…because flowers are Nature’s masterpiece and I want to capture them through my lens in every way, shape and form. That to me is real joy and cherishing life’s simple pleasures.

"Texas flowers"

We travel the world hunting for special destinations…sometimes it is right there in our own backyard. I walk…because I feel lucky to be able to see and appreciate things that are often unseen!

"Texas sunflower"

YES…walking is my ultimate motivation… :)

How to reduce Stress

1 Jun StressedOut

Stress Management:

With life becoming so fast, competitive people often do not find time for themselves. This results in stress accumulation which can lead to various health issues. For many people, stress is so commonplace that it has become a way of life. Some stress is normal and even useful. Stress can help if you need to work hard or react quickly but when you’re constantly running in emergency mode, your mind and body pay the price. Constant stress can have bad effects. It can be linked to headaches, an upset stomachback pain, hair loss, acid reflux and trouble sleeping.

Causes of stress:

There are two types of Stress – Short term and Long term. We all experience short-term stress in our daily lives however long-term stress can lead to many health problems :( The situations and pressures that cause stress are known as stressors. We usually think of stressors as being negative, however, anything that puts high demands on you or forces you to adjust can be stressful.

The most common causes of stress are:

  • Bereavement
  • Family problems
  • Financial matters
  • Illness
  • Moving home
  • Relationships
  • Pollution
  • Over Crowding
  • Too much Traffic
  • Obesity
  • Long work hours

Avoiding Stress:

  • Time Management: Learn better ways to manage your time. You may get more done with less stress if you make a schedule. Think about which things are most important, and do those first. May be…automatic payment of bills will reduce your stress. Do not hesitate in spending some money to lower down stress in your life. After all, nothing is more important than happiness and health in life :) 
  • Healthy Diet: Take good care of yourself. Get plenty of rest. Eat well. Don’t smoke. Limit how much alcohol you drink.
  • Exercise: For many people exercise is an extremely effective stress buster. You do not have to spend hours in exercise, even 15 minutes of exercise can reduce or even eliminate stress
  • Breathing – there are some effective breathing techniques which will slow down your system and help you relax.
  • Yoga: Yoga is another great way of reducing stress in life. Early morning is the best time for yoga.
  • Common Sense: My mantra of leading a stress free life is very simple – “live and let live.” We don’t need to criticize, judge, or condemn others. So, use your common sense and take it easy :)

Do not let stress come rule your life. It is time for action. If you like my blog please comment in the section below.

Life is too short – Good Luck and keep :)


Two most colorful festivals

1 Jun HOLI

Are you ready to celebrate two most colorful festivals in the world:

  1. La Tomatina in Buñol, Spain celebrated during the last Wednesday in August.The world’s largest food fight. Each year some 30,000 people (including locals and many visitors) fill this town’s main square to hurl locally grown tomatoes at each other.  La Tomatina is a week-long festival featuring music, parades, dancing, fireworks, and a paella-cooking contest the night before the big fight.

Rules of the Fight:

A cannon is fired to signal the beginning and end of the tomato-throwing. According to the official La Tomatina website, there are just five rules:

  • You must not bring bottles or other objects that could cause an accident or injury.
  • You must not tear or throw t-shirts.
  • To avoid hurting people, you must squish tomatoes before they are thrown.
  • You must be careful around any trucks or vans.
  • After hearing the second shot, you must stop throwing tomatoes

La Tomatina

La Tomatina

La Tomatina

 2.   Holi:

Holi is a religious spring festival celebrated by Hindus. Holi is also called ‘The Festival of Colours’, and people celebrate the festival by smearing each other with paint, and throwing coloured powder and dye around in an atmosphere of great good humor.

Rules of the Fight:

No Rules, just have fun..

HOLI

HOLI

HOLI

So, if you get a chance do not miss out on these festivals. If you like my post please post comments in the section below.

PLANNING A TRIP TO LAS VEGAS

20 May

Things to do in Las Vegas:

  1. LAS VEGAS STRIP:
    Las Vegas
  2. BEAUTIFUL VENETIAN:
    VenetianThese are said to be the replicas of famous 17th & 18th century Renaissance artists Tiepolo, Rici, Pellogrini, and Bambino. The floor is the exact replica of the Church of Gesuiti of Venice built in 1728.
  3. BELLAGIO FOUNTAINS:
    Bellagio Fountains The fountains put on their show — wonderfully timed to music choreography.
  4. PARIS TOWER:
    TowerA signature of the Las Vegas skyline, the replica Eiffel Tower at Paris Las Vegas is a half-scale exact reproduction of one of Europe’s most famous landmarks.
  5. NEW YORK HOTEL AND CASINO:
    Newyork HotelBridgeNew York New York Hotel and Casino replicates New York’s skyline and its most famous landmarks.
  6. MGM GRAND:
    MGM CasinoLion Habitat MGM If you’re around the MGM Grand, you may find a visit to the Lion Habitat right up your street!
  7. STRATOSPHERE:
    StratosphereStratosphere RidesTower is the tallest observation tower, and the 9th tallest freestanding structure, in the United States, as well as being the tallest structure in Las Vegas.The top of the tower has two observation decks, a restaurant known as “Top of the World” (revolving restaurant), and four thrill rides:
  8. LUXOR:
    LUXOR This hotel is shaped like a pyramid. It has a sphinx outside which is huge! Take some time to have a look around this Egyptian themed hotel and casino.
  9. CIRQUE DU SOLEIL:
    Cirque_du_soleliHere’s their website to describe the show & get tickets:
  10. GRAND CANYON:
    Grand Canyon It is considered one of the Seven Natural Wonders of the World. You can drive or take a tour from Las Vegas.
  11. FREMONT STREET:
    Fremont Street downtownThe most obvious and largest part of the Fremont Street Experience is the Viva Vision canopy and light show. The canopy towers 90 feet above the ground and spans the length of five football fields. Featuring more than 12 million LED modules and 555,000-watt sound system, the light show attracts tourists and locals alike.
Follow

Get every new post delivered to your Inbox.

Join 1,028 other followers

%d bloggers like this: