Menu

Dipesh Majumdar

Blog and Paintings

New habits never last long... why?

October 2, 2017

...this is because when there is a sudden shock or intense pain or change - then it tends to wipe out the learning slate momentarily and then one tends to fall back on his regular old habits.

Note that the learning slate is delicate and can't withstand extreme shocks so one needs to remain in an optimum psychological state to ensure that he repeats the new habits with consistency.

New habits take time to form roots in the soil of mind. They are prone to innumerable threats from different sources.

For example, some stranger can rob you off your peace of mind by a caustic and irresponsible remark. And that's enough to shake you off your rhythm and push you back to your old habits. And all this happens pretty fast without you being aware of the sequence of events; however if awareness level is increased, you might succeed in protecting your feeble learning slate. 

Working with visudo

September 20, 2017

If the requirement is to allow user1 to execute a few commands that will only run from super user root (for example stopping puppet agent - /etc/init.d/puppet stop, then you can do this:

type visudo
and below the line starting with root... add the below lines
## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
user1 ALL=(ALL) NOPASSWD: /etc/init.d/puppet *

So now from user1 this command will succeed - sudo /etc/init.d/puppet start

Now taking it one step further - 

if you want to  login as user1 and want a command to be executed as a different user (example appuser2) which say for example is owner of AEM Author/Publisher, then you need to issue below command for stopping AEM applicaiton from user1  -
sudo -H -u appuser2 /bin/bash -c "/application_path/author/crx-quickstart/bin/stop"

but for the above sudo command to work the below entry is needed in visudo


user1 ALL=(appuser2) NOPASSWD:/bin/bash -c*/crx-quickstart/bin/st*

 

OnePlus 5 Review

July 15, 2017

I got a chance to test the camera of the one plus 5 yesterday. My friend took a shot from the where the window was in my work place. Evening time, no flash and only natural light on to the subject... Though the face was at extreme right but the camera auto-focused on it with ease and made the distant objects blurred. This is what i liked so much... very easy to use no adjustment needed and its just a magnificent output at the end.

This is awesome DSLR-effect and i haven't seen such high quality smartphone camera before... Though I haven't tested the iphone 7 plus which I have heard is pretty good as well.

After sometime I also tested the front camera - which also took sharp pictures and the auto-focus worked on multiple faces as well. 

A big thumbs-up for overall camera - back and front. 

Ok now let me get into the other features of the camera... just my initial impressions only as I am not getting into detailed analysis.

First of all the phone felt very premium in my hand. It was comfortable. The apps opened very fast. No lagging. 

Then i listened to a few songs in you tube @1080p with my v-moda headphone (using the 3.5 mm headphone jack) and was pretty impressed with the sound quality. 

However the phone display was something I wasn't very happy with. Not that the display is bad but the kind of displays you get in iphones or samsung phones - i found that missing. Ofcourse this phone is much cheaper. But then I think phone displays are too important to ignore because most of the time you are looking into the screen, isn't it? So, that's the only drawback I found...

Overall I would give 7.5 out of 10. 

Disclaimer: Its not a professional review and its only my personal feeling and opinion so please use your own judgement or take inputs from professional reviewers before taking a decision to buy. 

 

Book Review: Solve For Happy

May 21, 2017

Recently I finished the book Solve for Happy by Mo Gawdat.

It was interesting and thought-provoking. It made me close the book many times and delve into the various ideas and concepts presented in simple language. It's based on a personal tragedy that triggers the author to pen down his experience of life. In his hour of crisis, he dived deep into serious contemplation and formulated some theories from various sources and also from his own life-experiences. This book is a collection of such theories and concepts. 

One of the key highlights of this book is the concept that a child is born blissful, in a perfect happy state. As we grow, we lose this natural state by over-thinking and making things complicated. You buy a new smartphone which initially performs well but as you keep installing apps, it gets slower and slower and hangs at times. Just like your mobile, even you need a factory reset at times. But how? Read the book, I should say. There are small practical steps explained which are easy to follow. 

A single unpleasant incident seems to haunt us  much more than happiness from many joyful events. The mind remembers the bad, goes back to it, thinks about it and then suffers unnecessarily and all these take place automatically without our control. We should stop going back to unpleasant thoughts by forcing our mind to be pinned right onto the present moment. We can start by focusing on the things right in-front of our eyes -  the table, wall clock, a small bird through the window and so on. A simple exercise but can yield immediate results.

The other thing that I liked about the book is that the author very nicely explains that the whole creation is based on a grand-design. It is not a result of a chaos or an accident, like the Big Bang! And in this design the laws of the nature work perfectly. There is no sympathy for anyone -  so if you lose something valuable and cry the universe isn't going to listen and return back your valuable possession. Because the laws will not change.  

When there is a grand design, there should also be one who designed it. Isn't it?

There is a lot of discussion on death towards the end of the book as well. A man never dies. It's only that the physical body dissolves. However he continues to live in some form of consciousness. Death is not to be feared or ignored. Rather it should be embraced and in-fact celebrated.

What lies on the other side is not completely known but there can be something wonderful - who knows? When a baby remains in mother's womb it can get attached to free food and mother's warmth. The baby might be not willing to come out of the stomach - and may be that's why every baby cries after landing on the earth; however we know that birth is a liberating phenomenon. The baby never realizes that the other side of the mother's womb can be so exciting. Similarly Death can also lead to something exciting.

I highly recommend this book. It's an eye-opener, sometimes quite emotional and every now and then it will make the reader lost in serious contemplation.

Day4: Lucerne, Titlis

April 29, 2017

This is the last day of the 4 day Italy-Swiss Trip. We got up early, completed breakfast and then left for Lucerne Station. Now i hate to say this but so many times we have missed the train or bus by a whisker that now we have stopped regretting... And so the train to Engelberg just left and we helplessly watched it going out of sight... We took the tickets from the automated ticket vending machine and waited for the next train. A solid one hour to go... so we went to the nearby Lucerne Lake and clicked a few pictures. In the below picture as you can see I achieved the background-blur with the 18-55mm kit lens of nikon 5600D. 

I think the below picture came very sharp on automatic mode and in broad day sunlight. 

Unlike the previous 3 days, we were lucky to have a bright and sunny day.

We came back and got inside the train to Engelberg. We were treated with some stunning scenery through the train window. It was all snow believe me, at this point in the yea, i.e. April End. Finally we reached Engelberg, got down and then proceeded towards the ticket counter from where we took the tickets for the cable cars.

Note: Titlis summit has to be reached in 3 levels by cable cars. At each of these levels you can come out of the cable car station and spend some time to have a look at the mountains around and play with snow. 

Please watch complete journey in 5 videos and leave your comments - i have mixed audio in some of these videos to obliterate the non stop chatter from other occupants of the cable car. Watch in full resolution 1080p for better quality.

First 3 videos are in 1st level.

We reached the first level now. We came out the cable car station out in the open to witness the dazzling white snow all around in bright sunlight; it was difficult to look around without the protective goggles. I mean it was so damn bright. Here we took some snaps and then we took the second level cable car and proceeded further up.

In this  below video you can see the cable car that we took in the second level. 

Shown below is fifth video. The queue which led to the third level rotating cable car is painfully slow. Furthermore we soon realized that this revolving cable car has no seats, unlike the previous two. We didn't like this cable car as the people are led inside these in very large groups. Those who are trapped in the middle can barely manage any good views. However we could somehow manage to take below video. We were having difficulty to stand properly with our bags. We felt that the number of rotating cable cars and rope-ways for this last level should be increased.

Now this is the view of mountains and valley from the top of Titlis - 

Shown below is the ice cave. 

After spending some more time on Titlis Summit we returned back on these cable cars and then waited for the train at Engelberg station. 

Final destination of our intinerary: The famous Lion Monument.

Now we went back to the same Indian restaurant after a tiring day for dinner. 

And then straight back to the hotel. 

(Next day we woke up a bit late and then left for Zurich airport to catch the flight to Amsterdam.)

 

Day3: Chur, Lucern

April 28, 2017

We got up morning at around 08:00 AM. We slept very well and were fresh. Complimentary breakfast was on the 2nd floor. So we went down to get pampered to an assortment of delicacies - orange juice, fruits, eggs, croissants, bread-butter and so on. 

We went out for a casual stroll. The weather hadn't improved and the drizzle was continuing. Took some pictures and then we were all set to bid good-bye to Chur. While going back I took a few picutes. The narrow lanes of Chur are very romantic. This place is indeed a photographer's paradise.

We went to a Mc-Donald's here and had delicious sandwiches. We were all set to board train to Lucerne now. 

The ticket counter was easy to locate and we took 2 tickets to Lucerne - Romir's ticket was waived off... as he is yet to turn 6.

So finally we were nestled inside the train. There weren't many people; seats were empty.

As the train chugged through towards Lucerne - we didn't get any out-of-the-ordinary view from the window. The part of the journey form Tirano to Chur was indeed very beautiful. Nevertheless the views were not bad.

However everything changed as we reached Lucerne. We basked in her beauty from all sides. Particularly the Lake Lucerne which is serene, vast and stunning. 

On reaching the Lucerne Station, first thing i discovered is that my Salt Sim was not working... No sooner had I entered Salt Customer Care Department than the phone started vibrating with messages and notifications. I was happy that the  sim was working now and I could navigate my way to the Ibis Budget Hotel. 

But now we were hungry. Located a Pizza shop. Chose a chicken Pizza. And my God - was it delicious? You bet!!! If you are ever in Lucerne do try this Pizza from shop - don't remember the name now - but will add the name later. 

So we were now walking form the station towards our Ibis Hotel - and on the way took this pic which truly depicts the awesomeness of THE GREAT SWISS Railway network - 

After reaching hotel, we took rest for an hour or so and then set forth towards the gorgeous Lucerne Lake. 

The lake looked very beautiful as slowly and slowly darkness was settling in...

From here we went to an Indian Restaurant. Had a very satisfying dinner and then went back to our hotel. This was end of day 3 of our Italy-Swiss Trip.

 

Day2: Tirano, St Moritz, Chur

April 27, 2017

We left Rafael Hotel exactly at 5:00 AM. The taxi was standing near the exit door. We hopped in and left for Milan Central Station. It's a long station and every platform had a different destination - all these were nicely displayed on the electronic board. Very systematic. No difficulty... no confusion. 

The train started at 6:40 AM, and we were trying to catch on to some morning sleep that we got deprived for the last 2 days. The beautiful scenery through the window was not letting me to close my eyes though. 

OK so the shock was awaiting us in the Tirano Railway Station. Bernina express for which i had done the entire planning had got cancelled for the day. The person in the ticket counter appologized again and again and said that we can ofcourse reach St. Moritz partially by train and partially by bus. So that was a relief!!!

My entire itinerary was hard coded, tickets booked - payments done and i didn't want any change in that.

Confusion among people
as the bernina express got cancelled
Waiting for train
inTirano Railway staton

So now the new plan for the first leg of the journey was -

  1. Tirano to Poschiavo ( by train)
  2. From Poschiavo to Pontresina (by bus).
  3. And from Pontresina to St. Moritz (by train again).

So the majority of the route would be covered by bus. However the train ticket (each - 32 Swiss Frank ) we took at Tirano station would cover all these bus and train fairs. We were saved from the hastle of booking multiple tickets. 

The train arrived soon and we were chugging through some beautiful scenic views on both sides of the train. The train was moving up and the climb was significantly steep.

Shown below in this lovely video is the beautiful Lake - Lago di Poschiavo.

 

We got down at Poschiavo and were soon helped by the friendly train guide who led all the passengers to the bus  standing nearby. 

We finally reached St Moritz. Went to the ticket counter and booked the tickets to Chur. Thrilled to locate a hotel here where we could recharge ourselves before beginning the next phase of the journey.


Second leg of the journey - St Moritz to Chur begins now. 

When we reached Chur, we were really tired. 

I took a local sim here, which took quite some time to come to life. And then we navigated to our hotel, which was quite nearby. It was drizzling and we were were happy inside the hotel room. This hotel didn't have a restaurant attached. Luckily we already had plenty of food packed with us and that helped. We had no energy to go out and hunt for food.

 

Day1: Milan

April 26, 2017

I prepared all the plans on a travel-note-book and i forgot to take it with me. would you believe that?

All my plans were left at home as we ran towards the Almere bus stop in the early morning to catch the bus. It was dark and the birds were still sleeping. The bus arrived late and that's why we could board it and we reached Poort. From Poort we took the train to Schiphol Airport.

That we had web-checked-in so we didn't have to get into the queue for checking in once more so we joined the security queue which was moving pretty fast. Thanks to the efficient employees of Amsterdam Airport. Going by a flight after a long time - seriously and i even forgot that i had to take out everything i had in my pocket and i had to come back twice to the belt that takes your belongings through the xray machine. This is what happens when you are out-of-touch. You struggle with the pretty obvious things and look like a goddamn fool.

The plane was making circles all over the infinite Amsterdam runway and it took ages before it finally took off. 

When it landed in Malpensa airport it was drizzling. We saw there were buses available to go to Central station however we decided to give that a skip and wanted to go by train. Train always my personal favorite. I had already googled earlier that to reach the main station was to catch a train from terminal 2 in airport. How to reach terminal2? You just have to look around a bit... struggle a bit and then you will find a way - and that's the fun of travelling on your own. What's the fun if everything is made available to you by some travel company? 

We were quick to locate the metro station and the ticket counter. Booked a ticket towards Milan Central station and then we were soon enjoying the train ride. The sight through the train window let us some glimpses of the country side of Milan. It looked different from the Netherlands. The soil, trees and overall landscape was more like India. The architecture of the buildings were different too. We were savoring the sight as the train continued to march on. 

At Milan central station i took a local sim and then figured out how to reach Hotel Raphael.  Centrale >>> Loreto >>> Piola >>> Lambrate FS >>>>Udine >>>> Cimiano>>>>Crescenzago >>>> Cascina Gobba >>>> 1.7 km walk to Hotel Rafael. The metro train station was busy with many local passengers in the station.

Just arrived at
the milan central station
Inside metro
Destination -> Casina Gobba

We took the metro and soon reached Cascina Gobba. The gps showed us the way and we were now walking on the streets of Milan under the cloudy sky and incessant drizzle. The hotel was big and tall and the receptionist was friendly and warm. She gave us our keys - room on the fourth floor and also assured us of a free breakfast in the morning. However we would be skipping the breakfast as our destiny was Tirano the next day and we had to leave early - very early - so no question of breakfast. Romir was ecsctatic to find the clean spotless bedsheet and he was soon playing all over it. The very idea of again leaving the hotel to see a few important places in Milan gave him jitters. However we had to leave. We booked a taxi and proceeded towards the famous Duomo. 

A few clicks infront of Duomo and then we stood in awe of it's enormous presence. It's huge - really huge and it's damn beautiful and majestic. It stands erect as a proof of human artistic excellence defying time with some arrogance.

It's the most important landmark of Milan and I was very clear about one thing - if at all i found it difficult to explore much of Milan i would make sure to visit this one place. And with this one important place done, I felt relieved. 

Multiple metro gates are near Milan and we entered one of these and bought tickets to go near the Castello Sforzezco. Here in the metro station we saw photos of Salman Khan on one of the walls. Thought of taking a picture but we moved on. We were running out of time. 

Coming out of the metro station, we didn't have to walk much to reach Castello Sforzezco. We took a few picuteres here. 

After spending one hour or so inside the castle, we started return-journey. Legs were tiring and Romir was no more willing to walk. We wanted a taxi but there was no taxi-stand in the offing. So we settled for dinner in one of the road side restaurants. 

What fun is it to not taste Italian Cusine in Milan... so picked a few items from the Italian Menu. Food was good, wine was even more delicious. Now we needed to go back to our hotel as early as possible. 

Requested the restaurant staff to arrange a taxi for us. It was still drizzling... the whole day there was not any relief from rain. We soon arrived Hotel Rafael and this marked the end of day 1.

Below is the link to all the pictures of Day1. 

See other Day 1 Milan Pictures

Orange Sun and Cricket Match

March 20, 2017

The sun set looked beautiful today. We went to the roof and ate moodi (rice flakes), pea nuts and onions - with Srikanta Acharya's sweet Bengali songs in the background. A brief whatsapp video chat with baba and maa (father and mother) followed soon and we showed them the surrounding place from the roof. They were happy. The orange sun at the far corner started descending and I took  a few pictures. Sunday was disappearing with the sun. 

The sun rises each day and the sun descends - I contemplated.............

Morning and evening keep coming in an endless rhythm - somewhere in the corner of my heart I know that it's all there and it won't be somewhere in future. It's only a matter of time - then endless sea of time will wipe out everything. Then why are we so so serious with our daily business of work, promotion, salary and recognition?

All are running after money. Pursuit of money is only meaningful till a certain point in one's life - after which it becomes meaningless. There is a time - one needs to pause and reflect on the state of things.... and ask within - is it time to surrender and look for something more meaningful. I don't know from where this thought came - may be from the cricket match I watched today morning....

In the second innings after reaching the Australian mammoth total of 450 odd runs, India was going on accumulating runs at a painfully slow pace...instead of aiming for a declaration and letting the opponent bat for a few overs towards the end of fourth day. At this point it seemed clear that more than runs now, time was precious and it was foolishness to waste time and accumulate runs. Whats the purpose of match after all ? Winning or accumulating runs? 

The purpose of the match is to win - I felt the same about life - endless hankering of money is going to become meaningless if we keep losing time and if we are not directing our energy towards the important things. Because like the overs of the test match, the precious days in our lives also end with each sunset... just like the one I was looking at. As I kept my eyes towards the descending sun, I thought, instead - if we start exploring the unknown - it might become more worthy and meaningful. 

However there is a problem. In the match there are clear cut goals. But human life has no standard goal as such. There is no finishing line defined clearly and so one doesn't know where to reach or what's the ultimate. It therefore becomes easy to march with the herd and keep accumulating money because that is one thing which is capable of giving cheap recognition and which ensures that material suffering is minimum. In other words it's easier to keep knocking for singles or the occasional boundary and not think about declaring the innings.... in our lives we don't have a captain to decide the course of the match - it's we - who need to take the call.... Each one of us - alone in this journey.

Finally India had declared their innings after a short burst of panicky hard hitting and kept Aussie openers under pressure for 8 overs or so - they got two wickets for that crucial decision. Mind you - two precious Wickets. 

The orange sun is no more there. It's total dark. When i close my eyes I can still see the illumination of beautiful orange hue. The brilliance of the illumination is as strong as the real sun. It's all in the mind - it's such a powerful tool to create things at will. I think about the two wickets again and again - had Virat Kohli and the Indian think tank not thought beyond the immediate gratification of accumulating runs (read cheap recognition) and extending the lead, could they have got those valuable wickets? 

What are the wickets in our lives? I can see mundane work, money blah blah are the runs we accumulate but isn't it also necessary to think about declaring or surrendering all these runs and aiming for the wickets.

What are these wickets? 

Wait - who is watching us - who is watching us batting, fielding and bowling - we don't have a spectator. The players have the additional responsibility of answering the media and fans!!!

And do we have any one to provide an explanation for?

Conscience??? To our own selves???

Clustered Faces - 5

March 5, 2017

Romir playing with Snow

February 11, 2017

 

Time heals

February 9, 2017

No matter how distinct the scars are...

IT ALL fades WITH TIME

 

Idle your way through the days and you rust...

February 9, 2017

Idle your way through the days and you rust...

Take the beating and you shine.

 

A Beautiful Trap

January 2, 2017

(Pic taken near Boeing Avenue on a cold misty Afternoon - the fine droplets of water from excessive fog have turned into snow particles rendering the white glow to the spider web)

Happy New Year 2017

January 1, 2017

Wishing you all a happy new year 2017

(Pic courtesy: Raghavendra. Place - near office in Boeing avenue)

 

Only a chosen few

December 23, 2016

Netherlands - Day 1367 (Winter again... )

December 18, 2016

Winters can be so boring in Netherlands. There is no place to go... not much excitement.  It's freezing cold everywhere. You remain packed in home.

But it also gives a lot of opportunities - specially in today's times when we have access to internet. If you go to youtube - you can type in any topic of your interest and there will be many videos. You can just go over them one by one and keep exploring.

Ted talks, travel blogs, philosophy, painting and so many topics - you can just watch whatever you want. 

Everything that you watch teaches you something new. Not necessarily everything is 100 percent new. Because at times you might already know it but it remains somehow dormant - so when you come across a similar line of thought presented in a new way it may rekindle your own thoughts and take it to another dimension. 

Then there are books that one can order online and read books. 

Is winter boring? No, not really.... If only you realize the amount of productive hours you can invest in your own self during weekend or other holidays.

Romir explaining symmetry

November 29, 2016

14 Candles

October 31, 2016

We say in bengali "choddo Batee"

Maa had earlier instructed us on phone to light  up 14 candles on the eve of Diwali and here it is: 

AEM 6.1 Tips and Tricks

October 24, 2016

 

  1. to enable online compaction -
    /author/crx-quickstart/install/org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg

    #put this in the file above
    service.pid="org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService"
    pauseCompaction=false

  2. in aem 5.6.1 to check if tar optimization (for example the default one which runs from 02 am to 05 am ) is running or not - check this: grep tar error.log |grep optim |grep Schedu
  3. ok...now coming to vi command - as you would all know the meaning of dd - which is to delete a line... and x - which is to delete a character... have you ever thought about as to how to delete a group of characters till a particular character Well the answer is: dt<that_character>.... so it can be like dt<space> if you want to delete till the next space character.
    give it a try and i am pretty sure you will like it... as they say there is no end to learning...
  4. Author login problems   [log message -  org.apache.sling.auth.core.impl.SlingAuthenticator handleLoginFailure: Unable to authenticate anonymous user]
    - try doing this: in system console configMgr search for : author sling authentication service - and then update the anonymous user with correct admin user and password... this may solve the issue
  5. Mapping - note that mapping run modes are always picked from start script run mode parameters... however even then sometimes you may have problems...jcrresolver might not show the correct mapping info - that means the mapping is not picked up from right place - having issue with mapping?
    here /system/console/configMgr check for - apache sling resource resolver factory
  6. how to configure ldap log -
    these are the steps - create a new logger at apache logging with below config - 
    1. Log level: Debug Log File logs/ldap.log
    2. Message Pattern: {0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}] {3} {5}
    3. Logger: org.apache.jackrabbit.oak.security.authentication.ldap

View older posts »

About me and the website

This website reflects my ideas, thoughts, philosophy and state of mind. The views and opinions posted in the blogs are completely my own.   

While my daytime job finishes, I start working on various things that constitute my dream world. They are primarily sketching, painting, blogging, reading, writing and thinking. In the weekends and holidays I travel to places, get immersed in photography, think about topics on which I can write or simply spend some invaluable moments with my family. 

I don't have a particular niche. The gamut of ideas that crop up in my mind is simply too wide to fit into a small niche. One moment I might think about ice creams and the next moment about camels and then followed by kites and sky and so forth... no logic or link... I am free to choose my topics in accordance with the timing of their conception and post them in different categories. If you are interested in a particular category, you are most welcome to pick that up and spend as much time as you want.

If you find this website interesting and valuable, do show your support and encouragement by sharing it with others and commenting on the blog posts. Your suggestions and opinions are most welcome. And if you also have a website, you can add that in your comment. 

You might also like to subscribe to my blog feeds, which is, http://dipeshmajumdar.com/entries.atom

Thanks a lot for your valuable time...

Dipesh Majumdar