Tuesday, September 17, 2013

Breathing. A taken for granted thing in life which can do miracles:

  1. Your breath is the first thing to respond in your body: Your breath will respond and adjust according to what you are thinking, feeling, observing, hearing, tasting, touching, sensing or experiencing at the time. It is intimately connected to your physical, emotional and spiritual state.
  2. Check the depth of your inhale: Does your normal inhale only reach the middle or upper area of your chest?  Or is your normal inhale even shorter stopping around your shoulder, neck and throat area?  This is a great place to start developing a greater understanding of your breath by focusing on the depth of your inhale.  A full inhale should fill your lungs and expand your abdomen.  Place your hands onto either side of your lower ribs … feel them expand with each inhale.  Then place your hands onto your belly and feel it rise and fall with each breath.
  3. Let it go  and move on with a releasing exhale: An extended exhale in times of stress pushes any drama, confusion and upset away from you.  Short, quick, shallow breathes will bring any stress and drama closer to you.  By slowing and deepening your breath, you create a healthy distance between you and whatever is going on around you.  A deep releasing exhale will support you letting it go and moving on.  Yeah!
  4. 70% of waste is eliminated through your lungs: I thought I knew quite allot about the basics of the human body.  It wasn’t until I started reading the Tao Of Breathing by Dennis Lewis that I discovered something I did not know. 70% of our body’s waste products are eliminated via our lungs and the rest through the urine, skin and feces.  When the efficiency of our lungs is reduced due to poor breathing less oxygen is available to our cells, it slows down the flow of blood which carries wastes from the kidneys and lungs. Our lymphatic system which fights off viral and bacterial invaders is weakened along with a slower digestive process.
  5. Your breathing habits influence the flow of your day: Jerky, shallow, fast, constricted or tight breathing reflects that you live your days in a constantstressed out – push and pull state.  You tend to overreact to that which is happening around you and waste your precious energy unnecessarily.  Your days are rushed, and time is always an issue. You have forgotten how to relax, be still and receive.  Reverse your breathing habits to experience a different flow to your day.
  6. Quality breathing can release fear, anger and sadness: Your breath will become disturbed when experiencing stressful emotions.  To prevent these unwanted emotions from being pushed down and trapped in your body, simply breathe into your organs.  When I studied Qi Gong we were taught to breathe into our organs.  This, I must say was a life changing moment for me.  I received enormous benefits almost immediately.  Breathe into your lungs to remove sadness and grief.  Breathe into your kidneys to dissolve fear.  Breathe into your liver to dissolve anger.  Breathe into your heart to open yourself up to more loving experiences. Breathe in gently and deeply (never forced) to invite healthy energy into your organs, now consciously feel the stressful emotion flow out of your body with each exhale.
  7. Your nose is for breathing and the mouth for eating: Whether I’m doingyoga, tai chi or qi gong all my teachers have recommended to breathe in and outthrough my nose.  After spending the past few months researching breath in greater depth I have not come across anyone suggesting otherwise.  One important reason which many experts share is that nose breathing corrects the balance of oxygen and dioxide in our blood.
  8. Your breath activates your nervous system: When the sympathetic nervous system is activated you are living life with the “accelerator” on full throttle all the time.  You are in “fight or flight” mode and constantly releasing stress into your body.  On the other hand, the parasympathetic nervous system is like putting the “brake on” to life.  It helps slow your body down which in turn allows restoration and rejuvenation. The key to activating your parasympathetic nervous system is to place your full attention onto your breath.  Close your eyes and allow your breath to slow down relax and become gentle. Let your whole body absorb your now gentle breath. Another great way to activate your parasympathetic nervous system is to practice a little restorative yoga for as little as 5 minutes withchilds pose or legs up the wall.
  9. Experience the pause after your exhale: Take time to marinate with your breath.  Don’t force anything or rush straight into your next breath.  Notice the very natural stillness and slight pause after each exhale. Infuse gentleness into your breathing.  Marinate for a moment with its nourishing flow.   Don’t push your next breath into the future, particularly if you haven’t even got there yourself.  Become present, live in the now and experience the pause after your next exhale.  There is a pocket of peace to be found in that pause.
  10. Your body can’t relax if your mind and breath are racing: Your thoughts are directly linked to the quality of your breathing.  Busy, overactive thinking often means short, shallow and quick breathes.  By focusing on calming your mind you will automatically be calming your breath and in turn relaxing your body.  Meditation is an awesome way to calm your mind.  Another option is to turn your back to the world for a few minutes.  This very simple yoga pose that forces your mind to surrender. Your breath and thoughts have no choice, but to slow down.
  11. A conscious exhale removes toxins from your body: Spending longer on your exhale through your nose will remove old, stuck or stagnant carbon dioxide from the very bottom of your lungs, along with toxic bi-products the body has produced.  In addition, a deep sign (strong exhale) is often a release of worries and heavy thoughts. A good exhale can help you let it go emotionally and physically.
  12. Experience a yogic breath: Anyone who practices yoga with be familiar with the 3 main stages of yogic breathing.  Lying comfortably on your back or sitting up in a chair inhale.  Firstly notice your collar bones and upper part of your chest expand, then follow the inhale down by placing a hand on either side of your ribs and feel them expand.  Lastly place your hands gently on your belly/abdomen area and notice the rise and fall of your tummy
  13. Pulling your stomach in reduces your oxygen intake: One of the main benefits of breathing of course is to invite loads of oxygen into your body.  Restricting your oxygen intake comprises the health of your body.  To invite oxygen deep into your abdomen, diaphragm area keep your belly soft, relaxed and open.  Touch and massage it frequently as your belly is the very centre of your breath.  Many ancient traditions such as Taoism believe we can accumulate and store energy in our belly area.   It is often known as our seat of power.
  14. Breathing is not just for your lungs its for your whole body: You can consciously choose to direct the flow of your breath into absolutely any part of your body, for whatever purpose.  Improve energy flow, dissolve tension, release a build up of pressure in your head area, ground you, energerzie you, de-stress you or to simply send smiles into all your organs.  I ‘m prone to being vague and spacey.   To ground myself I often imagine my breathe flowing down into my legs, feet, toes and then into the ground. It helps me come back into my body.
  15. Shallow breathing causes memory loss: The Taoists believe that loss of oxygen though shallow breathing ie. your inhale only goes as deep as your throat or top of your lungs, is the primary cause of memory loss in the elderly. Not sure how true this is, and I can’t even remember where I read it but, nevertheless I included it anyway as it certainly got me thinking. Worth exploring.

12 benefits of alternate nostril breathing:

1: Revitalizes you:
A few rounds of alternate nostril breathing is a quick pick me up if you are feeling flat, tired or even stressed. It provides your body with a much needed dose of extra energy.
2: Improves brain function:
When you mind is dull – concentration and clarity is poor.  Alternate nostril breathing brings equal amounts of oxygen to both sides of the brain for improved brain function.  Five minutes of alternate nostril breathing before an exam or interview is a great way to access your whole brain for improved performance.
3: Cleanses your lungs:
A daily five minute practice morning and night of alternate nostril breathing is great way to remove stale air and impurities from the bottom of your lungs.
It wasn’t until I started reading the The Tao of Natural Breathing by Dennis Lewis that I discovered something I did not know. 70% of our body’s waste products are eliminated via our lungs.
4: Calms an agitated mind:
I’m prone to worrying.  A few minutes of focused alternate nostril breathing is helpful (for me) in calming my  “over thinking” mind.   The ancient yogis believe that if you can regulate your breath, then you can control your mind.
5: Merges the left “thinking” brain and right “feeling brain:
Alternate nostril breathing optimizes both sides of your brain so you can access your whole brain, and all the benefits that go with it.
The flip side of course is, single nostril breathing can be used to activate, just the left”thinking” or just right “feeling” side of your brain for specific situations.
Try it out next time you need to drive your car.  Cover your left nostril with your thumb and breathe only through your right nostril for one minute.  This should keep you more alert when driving.
6: Encourage a calmer emotional state:
In times of emotional distress and upset, a few rounds of mindful nostril breathing will soften the intensity of over reactive emotional states.  The longer you practice, the more stable your thinking, and the calmer your emotions will become.
7: Improves sleep:
If you can’t sleep at night lay on your right hand side, gently close your right nostril with your right thumb and breath through your left nostril.  This will activate your parasympathetic nervous system which will calm you down and slow your heart rate.
8: Great preparation for meditation:
Alternate nostril breathing is a simple little trick that can be practiced for a few minutes before you begin your meditation practice.  It’s a very easy way to help you find your meditation groove.
9: Soothes your nervous system:
By focusing on your breath and deepening it, your brain will register this message and trigger the parasympathetic nervous system.  You have effectively switched your nervous system from a stressed response, into a relaxation response.   Single left nostril breathing (by closing your right nostril) will direct the flow of oxygen and energy to the right hemisphere of your brain, allowing once again, for the parasympathetic nervous system to be switched on.  Gosh, your breath and nose is very clever.
10: Regulates  the cooling and warming cycles of the body:
Left nostril is feminine, nurturing, calm and cooling.  Right nostril is masculine, heat, competitive and force.  Favouring one nostril more than the other can effect the heat or coolness of your body.
11: Clears and boosts your energy channels:
Slightly forced alternate nostril breathing improves and directs the flow of energy throughout your body – preventing sluggishness.  It oxygenates your blood and allows the energy (prana) in your body to be strong and flowing.
12: Enhances rest and relaxation:
A restless mind cannot relax.  Alternate nostril breathing melts away an imbalances between the right and left hemisphere of your brain and calms your thinking.  This is perfect for helping you access rest and relaxation far more efficiently.

Friday, October 1, 2010

ENTSSO service not starting up when .NET 4.0 is installed

When you get following errors with ENTSSO service after installing .Net 4.0 then you may need to apply the hotfix
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=46fa6c65-531a-4c9f-99f9-7af3fac098a6&displaylang=en.

Could not create SSOSQL. To fix the problem, reinstall SSO or try 'regasm SSOSQL.dll' from a Visual Studio command prompt.
Error Code: 0x80131700

or

The SSO service failed to start.
Error Code: 0x80131700

Tuesday, August 10, 2010

Adding a node usine Microsoft.RuleEngine.XMLHelper

Adding a node without a namespace in BRE using Microsoft.RuleEngine.XMLHelper can be done quite easily with AddNode method.
For eg :
Step 1. XmlHelper.AddNode(AcCanonicalSchemas.AcCommonPCTypes.MsgStatus:/MsgStatus, . ,ExtendedStatus)
2. XmlHelper.AddNodeWithValue(AcCanonicalSchemas.AcCommonPCTypes.MsgStatus:/MsgStatus, ./ExtendedStatus[position()=last()], ExtendedStatusCd, Code added in this node through BRE)
Step 1 adds a node to ExtendedStatus under MsgStatus TypedXMLDocument.
Step 2 adds a node ExtendedStatusCd and its value under ExtendedStatus node.

This is fine untill the TypedXMLDocument MsgStatus is without any namespace. If MsgStatus has a namespace for eg http://AcCanonicalSchemas.PANDC then the above code with addnode will generate xml as

<MsgStatus xmlns="http://AcCanonicalSchemas.PANDC"><ExtendedStatus xmlns=""><ExtendedStatusCd>Code added in this node through BRE</ExtendedStatusCd></ExtendedStatus></MsgStatus>

Which cannot be validated. To add a node with the same namespace, use the Xpath as below in .
Step 1
XmlHelper.AddNode(AcCanonicalSchemas.AcCommonPCTypes.MsgStatus:/MsgStatus, . ,ExtendedStatus, http://AcCanonicalSchemas.PANDC)
2. XmlHelper.AddNodeWithValue(AcCanonicalSchemas.AcCommonPCTypes.MsgStatus:/MsgStatus, ./*[local-name()='ExtendedStatus' and namespace-uri()=http://AcCanonicalSchemas.PANDC'][position()=last()], ExtendedStatusCd, Code added in this node through BRE)

This will generate Xml as

<MsgStatus xmlns="http://AcCanonicalSchemas.PANDC"><extendedstatus><ExtendedStatusCd>Code added in this node through BRE</ExtendedStatusCd></ExtendedStatus></MsgStatus>


This will make sure all nodes are under the same namespace.

Tuesday, August 3, 2010

XSD.exe not able to generate C# classes when the schema uses imports

XSD.Exe is unable to generate C# classes when an import function is used to use the existing types from another schema. It throws a warning like
Schema could not be validated. Class generation may fail or may produce incorrect results.
Solution : Copy the imported schema(Schema with reuse types) to the same folder as the schema which is using its types and also don't use the reference when importing to get to the reusable types instead use the schema which is copied to the local folder and then execute the following command.

Xsd.exe NewSchema.xsd SchemaWithReuseTypes.xsd /c this should generate the corresponding c# class.

Wednesday, December 9, 2009

BizTalk HttpServiceInstances not getting terminated

Execute the below query against BizTalk messagebox database.

Declare @out int
Begin transaction
exec dbo.int_AdminTerminateInstance_BizTalkHttpHost '3ae6ac2f-9b24-407a-a072-63733bc84254', '3ae6ac2f-9b24-407a-a072-63733bc84254', @out
Commit

where BizTalkHttpHost is the host name of the active instance
First GUID value is the service instance id and second GUID is service type id.

Remember this is provided as is with no gurantee.

Thursday, June 4, 2009

User account issues while accessing BAM

BAM Web Services and SQL Server mixed mode authentication
This is an issue I see every once in while so let's see what causes it and how to diagnose and fix it.
You have created and deployed a BAM definition with some BAM views in it but when you hit the BAM Portal with IE all you see in the "My Views" pane on the left is an error message "Views or Activites may be missing because one or more database(s) could not be contacted." followed by "No view to display" message. Now what?
Your first step to troubleshooting such issues is the Windows Event Log on the machine hosting the IIS server running the BAM Portal and the BAM web services. The BAM event log entries will be in the Application event log. You can filter on event source equal to "BAM Portal" or "BAM Web Service". I will usually look at the last few errors from "BAM Web Service".
So you open the Windows Event Viewer and you see one error from "BAM Web Service" with event ID 12033. Double-click on it and the description says:
Referenced database 'BAMPrimaryImport' on server 'SERVERNAME' is not accessible. The error is:
System.NullReferenceException: Object reference not set to an instance of an object.at Microsoft.BizTalk.Bam.WebServices.AsyncResult.End(AsyncResult asyncResult)at Microsoft.BizTalk.Bam.WebServices.Management.GetViewSummaryAsyncResult.End(IAsyncResult result)at Microsoft.BizTalk.Bam.WebServices.Management.BamManagementService.EndGetViewSummaryForDatabase(IAsyncResult result)at Microsoft.BizTalk.Bam.WebServices.Management.BamManagementService.GetViewSummaryForCurrentUser().
Now what?
The second step to troubleshooting BAM Web Services issues is to... enable tracing. To turn on tracing go to the "Program Files\Microsoft BizTalk Server 2006\BAMPortal\BAMManagementService" directory (or "...\BAMQueryService") and open the web.config file with notepad. Uncomment the element towards the end of the file. By default the traces will be saved in "C:\temp\BamManagementServiceTrace.log" or "C:\temp\BamQueryServiceTrace.log". Make sure that the IIS worker process user account (usually Network Service or ASPNET) and the BAM web service user have write permissions for the trace log file directory (C:\temp by default).
Turn on tracing for the BAM Management Web Service and refresh the BAM Portal home page in IE. Now open the trace file "C:\temp\BamManagementServiceTrace.log" and search for the string "Error" from the top of the file to find the first error. In this case the first error is:
06/13/2006 17:00:36 6 Microsoft.BizTalk.Bam.WebServices.TraceHelper ThrowHelperSoapException Error 11007 Cannot determine the SID for the user.
Bingo! This is the root cause of the problem.
Now some history behind this problem. The BAM Web Services authenticate all users using Windows authentication and authorize them based on their Windows identity. But there is a special case - DBO. DBO is a special account which has permissions to all BAM views. So the BAM Web Services will try to find the Windows identity for the DBO user for the BAM Primary Import database and they will fail if this is a SQL account.
BAM does not support anything other than Windows authentication for SQL Server. If everything else seems to work, there is no guarantee that it actually does and it will continue to work in the future. True, the error is not intuitive but it is correct.
How to resolve the problem now that we have identified it? It is really easy indeed. Just change the DBO accounts for all BAM databases to Windows accounts. You can do this using the sp_changedbowner system stored procedure.
To set DBO to the "domain\user" account run:
use BAMPrimaryImportgosp_changedbowner 'domain\user'go
Navigate to the BAM Portal and verify that you see all BAM views and no errors in the left pane on the home page.
There is a pretty nice BizTalk Installation Guide, which you can use the next time you setup BizTalk Server to avoid such issues.
Filed under:

Saturday, September 13, 2008

SQL server 2005 installation issues

SQL server 2005 installation issues.Menu options in Start Programs not being dispalyed for SQL server 2005 after installation.

Solution.

Client components are not installed properly. You may need to uninstall workstation components and reinstall them from Disk1.
Follow the article http://support.microsoft.com/default.aspx?scid=kb;EN-US;909953