Wednesday, March 3, 2021

S3 CreateBucket Error: unspecified location constraint is incompatible for the region specific endpoint

If you ever encounterd below error while creating bucket?
 

An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.

 

I got this error when trying to run this command in the AWS CLI and the region specifiied is us-east-2

 

aws s3api create-bucket --bucket yourbucketname --region us-east-2
 
Solution:
 
You need to specify the location constaint for every region except us-east-1. so I have tried the below command and it worked. Here I specified the location constraint.
 
aws s3api create-bucket --bucket yourbucketname --region us-east-2 --create-bucket-configuration LocationConstraint=us-east-2
 
This worked!

Tuesday, November 10, 2020

House painting guide - Dream Home Kerala

 Process Of Painting



Once completed the plastering and dried well we can start the house painting process. In the current process followed by the painting workers in kerala, they follows the steps as out lined below.


  • Apply One Coat White Cement
  • Apply two coat putty
  • Apply one coat primer
  • Apply two coat emulsion


Saturday, March 14, 2020

How to improve your effective communication? 5 Tips to follow.

image credit: flickr@Kevin Dooley

It become a primary and mandatory skill for all the job seekers to communicate effectively in the interviews. Earlier times hard-skills such as software programming, graphic designing, plumbing, construction there are lot to name, was enough to land your dream job.

Now in the age of Artificial intelligence and machine learning it is not enough to secure your perfect job, This is primarily because the job situation changed a lot. Now any one can be a software programmer or graphic designer because there are lot of online tools available to achieve those jobs easily. But the communication still demands. how you getting the requirements from the people or stake holders and transforming them to solution is still need effective communication skills.

Many people coming from the non English speaking place to gulf but they are not able to land that dream job only because they are lacking the effective communication. Even though they have good education background degrees and years of experience in their field they still not having the good communication because they focusing more on the hard-skill and not giving enough importance to improve that.

Now we understood how important to have a better communication skills. Now see how can we improve ourselves.

#4 Be an active listener

Candidates should practice active listening. When you focusing only on the speaking, it is some times appear like you are not answering for the proper question asked by the interviewer. Also it will be challenging when the interviewer is a native speaker and you are not able to understand his or her pronunciation.

Monday, September 2, 2019

Monday, August 19, 2019

Hot swap java projects without jRebel

I followed these steps to enable hot swap on Jboss with intellij



  • Deploy as exploded war 
  • Then set the update action on JBoss

Then on debug need to press this button when you modify the files




This will get swapped

I also added this on web.xml to make the JSP to work


<servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
        <param-name>development</param-name>
        <param-value>true</param-value>
    </init-param>
    <load-on-startup>3</load-on-startup>
</servlet>

And this on the JBOSS

Set the auto deply true and scann interval to 2000


And it works the JSP and Java I think I no more rrequired jRebel
Hope that helps


Saturday, July 27, 2019

habits

Gm
I remember in my childhood I spend my time mostly outdoors playing football, playing with friends. Now things changed, kids are not interested much to play outside. They are interested in playing on mobile, watching tv, etc.

In my last vacation to my native place, My 4 years old son. Not interested to write he wants to play all the time. I read somewhere if we offer some reward kids will be interested to write. So I found the reward will be giving my mobile phone to play for 10 min if he writes. My assumption was right. He started writing. And I ket giving mobile phone at regular intervals. Few days continued the same way. and it becomes a habit for him.

My vacation finished and I came back to Dubai. Now my son routine bit changed, instead of writing he keeps asking for mobile phones frequently because the mother is too busy to spend time with him. here I learned two things how a habit is forming and how human exploiting the situation

The habit life cycle is

Cue -> Routin -> Reward
When you wake up from the bed you looking for the phone and scrolling through the phone and feeling the happy moments is one another example we can easily relate.

How to apply in our lives

In the last speech I mentioned, I had a lot of health issues but couldn't speak about how I overcome that. By making use of this power of habits, I made a shift that helped me. First I have identified what is stopping me to do exercise that once reaches home I am becoming too lazy to go outside. So I decided to do the exercise and come home. Then I found a small park near my office and every day after office I will go to the park and come back to home. The first week I walked for a km and slowly made to 4 to 5 km walking per day and still continuing. When summer started I changed the routine to go to the nearby gym and do some thread mill and exercises and come back home. It made a lot of changes. The recent medical report shows I am all right.

Habit is like planting a tree. Did you see the mango tree? It doesn't need much care attention once it reached a certain height. It will surprise us every season with plenty of mangoes. Like that, once you instilled the good habits in you it will make you a wonderful personality with not much effort.





Thursday, July 25, 2019

If you cancelled your Air India Express ticket and not received the refund

If you canceled your Air India Express ticket and not received the refund back, don't worry.

 * You will receive the refund to your debit or credit card after 14 working days.
* If not received after the 14 working days period you can write to finance@airindiaexpress.in

* If you have any query you can contact them in the air India express office near to reef mall


Air India Express & Air India Dubai Office Ground Floor, Darussalam Building, Salahuddin Road، Near Fish Roundabout, Deira - Dubai 04 207 9400 ext. 2079444 https://goo.gl/maps/9PDtWUbpxRqxsetZ8