Author Archives: vineethkartha

How I met the qutebrowser


It was through the ‘windows’ of Internet Explorer that I first got a glimpse of the Internet world. During those days, every PC you buy came with a version of Windows XP installed. I doubt if I knew about any other browsers back then ( I don’t think I even cared.). A couple of years later around 2007, is when I installed Ubuntu. Those where the days when Ubuntu used to ship free CDs. That opened up a new world for me. I remember, how I initially struggled to get the Internet working in Ubuntu, I used to boot back and forth from Windows to search for workarounds and then to Ubuntu to try it out, and finally when I had the internet working on ubuntu, firefox became my favourite browser for a very long time ( I have had my thing for Chrome but firefox still has that special spot.) That was until recently.

I am a person who hates the mouse. Every time my hand moves from the keyboard to the mouse, there is a part of me that dies. So with weekends with nothing to do due to the lockdown, I started my search for a browser that is mainly keyboard oriented.
Being an Emacs fan, my first criteria was to find something that used the Emacs keybindings, and I stumbled upon Next. I was ecstatic when I was reading through the github page. But within 30 minutes of usage , my excitement soon died out. There were several sites that Next could not handle. I realised that this is still a project in the nascent stage. Well I hope they do make progress in fixing all those issues, because I would love to use that as my main browser.

The next project that came up was the qutebrowser. As per the qutebrowser website, qutebrowser is a minimalist keyboard focused browser. The only problem was that it uses the VI keybindings. Nevertheless since I saw a couple of good reviews about the project, I decided to take this for a spin. I quickly glanced through the cheat sheet. I was already familiar with some VI shortcuts. I was soon surfing through the internet waves on qutebrowser. Despite the fact that I had some learning curve due to the VI keybindings, the experience was much more pleasant and I felt much more efficient compared to the traditional mouse based browsers.

On Ubuntu all you have to do is:

sudo apt install qutebrowser

and you are all set. It might be a good idea to keep the cheatsheet open for the first couple of hours until you get familiar.

Most of the keybindings are intutive, like ‘o’ means open a link, which will give you a prompt to type the hyper link. You can scroll a page using the ‘j’ and ‘k’ keys.

Qutebrowser also has a pass through mode which can be activated and deactivated using the Ctrl-v. With the pass through mode all keypresses from the keyboard are treated as normal and will not be interpreted as commands. This is from the VI mode concept.
By default you are in the command mode and that is how keys like ‘o’, ‘j’ and ‘k’ have different meanings. But on pressing ‘i’ you enter the insert mode or the edit mode where the keypresses are treated as characters entered. For readers who are not familiar with the VI, maybe it is a good idea to have some familiarity with VI before trying the qutebrowser.

After three weeks of usage I can say that the honeymoon period is over and here is what I like about the qutebrowser:

  1. qutebrowser is a minimalist browser. All it has is a title bar, and that too a very narrow one.
  2. It is 99% keyboard oriented. The 1% is because I still could not figure how to copy paste content from the webpages without using the mouse.
  3. It is as fast as chrome or firefox.
  4. It does not consume a whole lot of memory like chrome.
  5. Despite being minimalist, it can still play videos from Youtube, CuriosityStream etc.
  6. It does a decent amount of adblocking.

The things that I wish qutebrowser had:

  1. Qutebrowser still does not have a mechanism for autofill of forms and passwords.
  2. Ocassionaly I have seen the qutebrowser crashing if I leave it on for a long time. I am still not sure about this and once I am I will considering raising an issue in the github page.

Here is a very short video of qutebrowser in action.

qutebrowser

So why don’t you try it out and let me know your thoughts on the qutebrowser.

i3- A tiling window manager to declutter your desktop


The corona virus pandemic has forced many governments to enforce a lockdown. This has forced many of us to work from home. Over the last several weeks I have been trying to perfect my home desktop environment to make me as productive as possible and to optimise all the resources I have.

At the office I had a desktop setup that consisted of two 27 inch monitors. One display was used for my editor and the other for applications like email, skype etc. I had been quite happy with this setup for some time. But with the recent developments, I have been forced to work on a single monitor and since the work is now done remotely, there are several applications like the vpn client, the remote desktop, email client, browsers and Microsoft teams that compete for the available desktop space.

For the first couple of days I spent 10-15 minutes arranging each application on the desktop and resizing and stacking them so that everything is within grasp.

While googling for better solutions to this workflow, I came across something known as the tiling window managers. After going through a few articles and some videos on the internet, I decided to give the i3 windows manager a shot. I spend a weekend trying to configure it followed by a week of working with the i3 windows manager. The experience was so liberating that I felt the need to write about this so that if any of my readers are looking for perfecting there desktop related workflows, this may show you the way.

Unlike your regular desktop environments like gnome or kde, the tiling window managers use make use of the entire desktop real estate for all applications opened. The first application that you open will occupy the entire screen space. If a second application is opened, it will share the screen space with the already opened application. And with each window opened, the screen gets split equally.

We also have workspaces, similar to the ones you see in the regular desktop environments. However the workspaces in i3 are customisable and we can even configure certain applications to open up only in certain workspaces and we can also configure i3 such that at startup applications can be opened and can be sent to its respective workspace.

i3 window manager heavily relies on keyboard shortcuts and hence your efficiency will not be plagued by the rodent on your desk. However if you still need to use the mouse you can do so.

The most difficult part about i3 window manager (and this holds true for all the tiling window managers as per the info I have), is that you will have to spend some time customising the desktop to suite your needs. Starting from the task bar everything has to be customised.

Luckily there are lots of folks out there who have spend a good amount of time configuring their desktops and were generous enough to share their work.

To get started all you have to do is

$ sudo apt-get install i3 i3blocks

i3blocks is the package that lets you display information in the task
bar/status bar.

The i3 configuration can be located at /etc/i3/config

copy this file to ~/.config/i3/config

The i3 documentation is pretty detailed for anyone who wants to modify
this file.

Similarly the i3blocks configuration can be located at /etc/i3blocks.conf

make a copy of this in ~/.config/i3blocks.conf

After playing around with i3blocks, I realised that the i3blocks is too simple and that for the status bar I reguire some further
customisation and hence I moved to polybar.

$ sudo apt-get install polybar

My configuration files and the scripts used are available here.

The Queen of Thirunelli


As I slid into the driver’s seat at 4:30 in the morning, I could not believe that we are finally on our way to Wayanad. A month back we had started
planning for this trip and 2 weeks back our chances of making this trip seemed so slim. Hectic work schedules and us falling sick had dampened our spirits. But finally, here I was driving through the city and towards Wayanad. This was our fourth visit to Jungle Retreat at Thirunelli. Every visit to this beautiful place had given us memories to cherish for a lifetime. I believe it was a visit to Jungle Retreat in 2016, that brought me closer to nature and the Indian Jungles.

After a quick breakfast from a restaurant near Srirangapatna, we continued towards Nagarhole. We were stopped at the Nagarhole entry for the usual formalities Once we enter the gates we have to exit at the other side within an hour. I handed over the wheels to my brother-in-law. I pulled out my camera and waited in anticipation. It was around 10:30 in the morning and with the hot sun above our heads, chances of any sightings were slim. Despite the heat and the reports regarding the meagre monsoons, Nagarhole looked green. It was a treat to the eyes to see the different shades of green on both sides of the road. And intermittently there would be a tree mostly with shades of red, that will stand as the odd one out. Those trees, of which I do not know the name, looked like the work of some master artist.

Rood into the woods

We soon checked into the Jungle retreat and on our way to the room, a small creature caught our attention. It looked like a squirrel and if this incident had happened a few years back, I would have walked on without taking a second look. But over the last couple of years, I developed a curiosity towards nature. I have learned not to underestimate any creature that I come across. And that curiosity has paid off on several of my trips. And today at the Jungle retreat I saw one of the most elusive animals of the Indian jungle – a mouse deer. These are tiny shy creatures and on several of my previous trips, I have heard several naturalists speak about this amazing creature.

We had started early in the morning and everyone was a bit tired after the long drive. My daughter who had slept for the entire duration of the drive was fully rested and was ready to explore. As we were proceeding to the dining area Manu had just come back from a trek with several other guests. We had a lot of catch up to do but the first thing he said as soon as he saw me was that they have been seeing the tiger for the past 11
days during their return trip from the campfire and he was so
optimistic that we might see Snow white and her cubs today as well.

With our hopes rejuvenated by Manu’s words and our spirits rekindled by the tasty food that was being served, we enjoyed our welcome at the Jungle Retreat. Soon after, we left for Nagarhole for our evening safari. The next two hours was one of the most disappointing experiences I have ever had in Nagarhole or any other wildlife sanctuary so far. We had a driver who did not know anything about the jungles. He just drove around the game tracks without ever stopping unless we requested him to stop. Neither did he show interest in showing us anything.

Wild boar

Malabar Giant Squirell
I wish not to waste words or space on my blog about those two hours. Soon after we went back to our rooms, freshened up and went for the campfire, which was a few kilometres away from the resort.

The campfire experience in Jungle retreats is something worth mentioning. We left the resort compound and drove towards farmland that is on the banks of a stream. The other side of the stream is a Jungle. There is a small area by the stream where our hosts had arranged a few stones to sit on and a small circle in the centre to light the fire. The main star of the campfire is ‘Chathettan’ a local tribal man from that area. He comes with a tomato soup that he warms up on the bonfire and then we also get a serving of tapioca with a chutney that is made of onions, green chilies, and salt. It is amazing to see the magic that ‘Chathettan’ does with these simple ingredients. And in the darkness of the night with just the bonfire providing light, ‘Chathettan’ looks like a wizard brewing magic potions.

Tales around the fire

Picture this, sitting under a starlit sky, by a gently flowing stream. A cool breeze that blows carrying with it the smell of the Jungle, crickets, and frogs croaking in the background and a fire to keep you warm. I don’t think anything else in the world can relieve my stress the way this can.
After almost an hour of chit-chatting around the fire and listening to Manu’s stories around the campfire, we headed back. Unlike the promise that Manu had made nothing happened on our drive back to the resort. We drove slowly keeping watch for the tiniest of the movements on both sides of the road. The closer we got to the resort the more dissapointed I got.  I tried to convince myself that, the mouse deer sighting from the morning was worth more than a tiger sighting. But deep down I really wanted to see snow white.

The dinner was again delicious. With our stomachs full and hearts empty we decided to call it a day and went to bed.

I could not get myself to sleep so I went out on the balcony of our room and I was enjoying the cool breeze and the starry night. Have you heard the saying that ‘silence is deafening’, well the silence in the jungle can be scary as well. I would have spend a good 20 minutes out on the balcony before my mind started playing tricks on me. I started hearing all kinds of eerie sounds nearby.
The trees seemed to be moving, They might have been talking to each other I am not sure. I could hear an elephant trumpeting somewhere nearby. Well, that was all I could take for one night and I decided to go back and force myself to sleep.

The next day I got up early as Manu and I had decided to go for a bird walk. So we stepped outside the compound wall of the resort and started walking towards the Jungle. Manu saw elephant dung on our way and he said “It looks like this is from yesterday night. Anil sir mentioned that he did hear elephants at night.” We moved into the Jungle and found a sweet spot on a rock. We waited there for a good one hour. In that one hour, we were entertained by the show of a golden fronted leaf bird pair. A Malabar grey hornbill that came to gather food for its family that might have been waiting on a tree far off from human sight. We had Malabar barbets and chestnut tailed starlings, fighting for the same perch on the tree. Minivets were flashing there bright orange colors.

Malabar Grey Hornbill

By the time I came back, my folks had gone to the Tiruneli temple. They were supposed to be back by 10 AM because that is when we go for the ‘Jungle Trek’.
It was 10:30 AM when every other guest was ready for the trek and my wife had not returned. I knew that I would be walking into my death if I decided to go ahead without her.
Anyway, I decided to go. We started with the same route that Manu and I took in the morning. We walked past the water hole near the resort. So before we started the trek, Manu had informed us that 2 days back there was a kill located near the resort. So there is a high possibility that Snow White might be guarding that kill. So we were at all costs to avoid that part of the jungle. Instead, we would go around the property close to the property’s border and come back.
Once we crossed the open field. We literally had to walk through thick lantana bushes. I realized that pulling my camera out might not be the brightest idea and instead I kept my binoculars close. The forest floor was littered with dry teak leaves and with 8 of us walking on those dry leaves any animal in a 1-mile radius would have fled. Occasionally Manu would stop to check if there were any signs of elephants. Out of nowhere suddenly we saw two black eagles circling an area. Manu confirmed that it was there that the dead carcass of Snow Whites feast was lying and as per the plan we were to avoid that area. And we did avoid that area. After all, no one wants to walk into a tiger who has cubs and is guarding her kill. Soon we were walking behind the Jungle Villa and I could hear my wife talking. On any other day, I would have been happy to hear her voice, but at that particular moment, it reminded me of my impending doom once I reach back. So far we had nothing interesting that happened during the trek and I was hoping that I could use that to my advantage to convince her she had not missed on anything. While I was thinking about how I was going to save my ass, Manu stopped all of a sudden and pointed into the bushes. What happened for the next few seconds I do not know and I do not know how to describe what I felt.
All I remember is seeing an orange surface with black stripes on it. The few folks who were just behind had taken a 180-degree turn and had started walking back. A few skeptics in the group wanted to see before they turned back, and then there was me, very slowly pulling out my binocular and focusing in on the cat that was lying maybe a 100 meters in front of me. I remember Manu trying to convince us all to turn and walk back.

By the time I regained my senses, I could only think about what Jim Corbet had written about tigers in his stories. “The tiger indeed is a large-hearted gentleman”.

PS: If any of my readers feel that this is an over-hyped narration, you are free to believe so. But for the other 7 folks who were on the trek, they know the truth.

A weekend on the banks of Kaveri


Travel is one of the greatest stress busters, that I have ever experienced and that too there is nothing like a trip out into the wild. My wife and I never missed an opportunity to travel until our little angel arrived in 2018. Since then we were on a break from travel and was patiently waiting for the day when she will be ready for adventure. Finally we decided to get back on the roads. Our destination, the Bheemeshwari Jungle Lodges and Resorts’ adventure and nature camp, on the banks of river Kaveri.

We started of from our home in Bengaluru at around 7:30am on a Saturday morning. We had a reservation made at the Jungle lodges and our check in time was 12PM. This meant we had plenty of time to reach. The drive from Bengaluru to Bheemeshwari was a 3 hr drive with approx 130Km to cover. We took the Nice road and then from there hit the Mysore road. Google Maps was trying to re-route us through the Kanakpura road as that was a shorter route.
But having traveled on Kanakpura road in the past, I preferred the Mysore road as that had more options for a pit stop.

We stopped for Breakfast at A2B in Bidadi, which was our regular breakfast spot for all our travels on this route. After a quick breakfast we moved on. From Chanapatna we took a left turn towards Malavalli. From there we simply followed Google Maps.

The villages in Karnataka have a special charm. They are the typical Indian villages from R.K Narayan’s writings. A small lane with small houses on both sides, with open drains running in front of the house. The houses themselves had a homely feeling. The houses are made of brick and cement, but yet their structures are quite interesting. Small houses with a verandah in the front. The roof supported by two pillars.There will be a main door and a window on each side.

We passed several such villages. The village center will be a bazaar with a bus stop and with vendors selling all kinds of fruits, vegetables flowers and other items.

After one such village we saw the entrance to Kaveri wild life sanctuary. There were two guards and we had to make an entry in the register before we proceeded. There was a govt. bus in front of us and we had to wait until the guards finished inspecting the bus.
This sanctuary does not have safaris and hence there are very few tourists that visit this place. The activities provided by the Jungle Lodges are the only attraction over here.

The Jungle Lodges was 6 kms from the sanctuary entry gate. By now my daughter had woken up. She had slept for almost the entire duration of the drive. In anticipation of seeing some wild life, I drove slowly. The road was full of monkeys which amused my daughter. We could see people from the bus in front of us throwing food to the monkeys. Ironically there were boards every few yards with a warning that feeding the wild animals was a punishable offense and so was littering the place.

We were received at the jungle lodges by Muthaiyya, a Jungle lodges staff and our guide. We were escorted to the Manager’s office for a briefing about the rules of the sanctuary and for other formalities of our stay. The entrance to the Manager’s office had a small garden which was full of Red Pierrots and Crimson Roses. I wanted to pull out my camera and sit there for the whole day. Soon after, we were allotted our tented cottage and were served with a very refreshing lemonade.

Crimson Rose

Red Pierrot

After settling in, we took a walk around the camp. It was an area sprawling with trees. There were information boards at random locations, explaining various flora and fauna found in the place. We had to walk to reach the dining hall which was located close to the banks of river Kaveri. The lunch was sumptuous with a very beautiful view of the Kaveri. Soon after lunch our activities were to start.

The first set included some adventure sports like Burma loops, parallel walk, zip lining and that sort of things. This was followed by a coracle ride. Which I found more interesting. Coincidentally our boatsman was also called Muthaiyya. He was showing us the forest and how high the water gets during the monsoons. He did an amazing job of giving an interesting conversation.

I was watching the river terns that were flying all around the place. Every few minutes there were formations of cormorants that flew over head. The Kingfishers and lapwings were calling in rhythm. Occasionally a darter would also fly by.

And then Muthaiyya started pointing to a rock at a distance. I tried to follow the direction in which his fingers were pointed but all I could see was rocks. He started rowing closer and still all I could see was grey colored rocks with lichen on them. And then as we got closer a part of the ‘rock’ started moving and it is then that we realised that Muthaiyya was pointing at a crocodile.

I cursed my fate for not having carried the right lens. All I was expecting was a scenic ride in the river and hence all I had was a wide angle lens. Soon after there was another movement and that was a second crocodile.
It is quite fascinating to see true camouflage at work. And it was even more impressive how Muthaiyya was able to spot them even from a distance.

I also happened to see a Fish Eagle fly onto a tree. I lost site of it after that. After our coracle ride, the next item on the list was Kayaking. Now this was a two man kayak and we decided to drop it out as we could not carry our daughter with us. But then Muthaiyya told us to try out everything and that we could go one by one. So I took the first turn. There was one life guard along with me. On the Kayak, the area we could visit was restricted and I believe it is the crocodiles that were the reason.

After the kayaking we took a stroll along the banks. The sun was setting and there was a breeze. It just felt so good to walk there. There were a few other guests who were going on about their activities. We made way back to our cottage. I spent some more time capturing the scenes around the river and hoping to see a few more birds in the area. It was getting dark soon and I went back to freshen up for dinner. When we came out it was pitch dark except for the small lights that were along the walk ways to the dinner hall.

As soon as we passed the canopy of the trees surrounding our cottage. I looked up into the sky. The view was so breathtaking that even my daughter who was restless till then calmed down for a couple of minutes until she started singing ‘Twinkle Twinkle little star’. She was so ecstatic that a few of the guests who were passing by also stopped to see what the whole commotion was about. I went back and brought my camera gear to try my best to capture the sky. Because such a moment comes only rarely and for city dwellers like us, seeing a clear night sky is nothing but a dream come true.
By the time I returned I realized that the frogs in the puddles of water nearby had taken up where my daughter had left the song. As the night sky revealed, more and more with the symphony of the frogs and crickets. It seemed as if the stars were dancing in tune to that symphony. What a better way to end the day.

DSC_3048

The next day morning I got up early. We were told that there would be a wake up call at around 6AM and then there would be a trek to a nearby hill by 7AM. I was up by 5 in the morning, excited about the events that were to unfold and mainly because the excitement from the previous day.

By 7AM Muthaiyya our guide who had welcomed us at the camp, came to our cottage and we started on the trek. We started walking towards the main gate of the camp and then out. The roads were empty. The monkeys we had seen on the previous day were not there. Maybe it was too early for them. We followed Muthaiyya as he took a detour from the main road and walked into the shrubs. There were several pairs of gray hornbills flying around. Bulbuls, parakeets, bee-eaters all the usuals were going on about their daily chores. The path started getting steeper and I had to put my camera away and carry my daughter. It was not a difficult trek but carrying my camera gear and my daughter and the fact that I am not in my best shape(never have been), it seemed like a really tough trek. We forgot to carry water and thankfully the sun was still not beating down on us.

The Calm Kaveri

We had to leave the place not because we wanted to but because we had to make space for the other guests as well and due to the fact that we had to checkout soon after this. We started our descend back. All the time while I was climbing my worry was about how I will descend this peak carrying my daughter because the path was very steep with very little to hold on to.

But Muthaiyya had an alternate route which was a bit longer but had a very gentle descend. All the while I was wondering why we had not taken this path while climbing. We started hearing langur calls at a distance. We saw wild boars running parallel to us in the bushes. We reached the main road and were relaxing a bit. I was making a checklist of all the birds I had seen on the way, which were not many. I should say that I was a bit disappointed at not having spotted any serious wildlife.
As we were about to reach the gates of the camp, Muthaiyya pointer his stick to the tall grass on the other side of the road. I could see something moving and was not sure on what I was seeing, and then from the grass it came out in the open, It was an Indian Jackal. The jungles in Bheemeshwari are known for the Indian Jackal population. It was interesting to meet the most talented trickster of the Indian jungles as per the folklore.

Indian Jackal

As I struggled to setup my camera back and get a shot, this guy had disappeared back into the grasses. We soon returned back and thanked Muthaiyya for that wonderful trek. All good things must come to an end and so was the case with our trip to Bheemeshwari. But we left the place content and happy.

Rowing through the canals of Munroe Islands


The first time I saw the name Munroe Islands was almost a decade back. It was during a train journey from Kottayam to Thiruvananthapuram, that I noticed a small railway station called ‘Munroe Thuruthu’. It might have been the name that fascinated me. I used to wonder what was outside that railway platform. What the lives of the people there would have been like. I had imagined a place with British era bungalows.

Some where in 2019 after the one year anniversary of the devastating floods in Kerala, I happened to read a editorial article about the plight of the residents at Munroe Islands. The article went on to say that the residents live in water clogged houses through out the year and that many families have left behind their land and are looking for better living opportunities. And how the authorities have completed turned a deaf ear to the remaining people of Munroe Islands.

During one of my recent vacations to Kerala, we decided to visit this exotically name place called Munroe Islands.
We started of from our relative’s place at Kollam after a 1 hour drive the townscapes started giving way to the typical Kerala style villages. With narrow tarmac roads with foliage on both sides, interspersed with houses. And after every few kilometers there would be a junction, which had a handful of shops.

Then came the Ashtamudi Lake and now homes were replaced with ‘Home Stays’. There were canoes, ready to take tourists for a ride.

DSC_2707

It was a little past lunch time so everyone in the group was hungry and we were on a look out for a decent place to eat before we continued further. We stopped to ask for a good suggestion and the a few local folks said that either we could drive to one of the home stays or they could take us on their canoes. After much thought and bargaining on the rates we decided to try the canoe ride.

The Boatman

We got on one of the boats one by one with the canoe shaking at each movement that we made. We almost were about to rethink our decision about getting on to the canoe, given the fact that my 2 year daughter was with us, but our boatsman Mr. Shiju assured as that the canoe was capable of handling even larger crowds and that there was nothing to worry. For some of us his assurance was not good enough so we enquired about life jackets, to which Shiju responded with a smile and told us that the water was not too deep.

DSC_2625

The canoe moved through the canals. I have to admit that although I have been on boat rides in other parts of Kerala, like the famous backwaters of Alapuzha and Kumarakam and the likes of it. This was unlike any of those rides. There was a homely feeling to those narrow canals and the mangrove forests. The place was indeed beautiful. It was like on of those places right out of the travel guide pictures. It might not have been the English colony that I had once imagined but this was far more better. It really felt like God’s own country. Some of the Islands had houses. Yes they indeed were beautiful and might be perfect for visitors to enjoy the waking up to a cool breeze and the view of back waters, but one can only imagine the struggle of the every day people over there.

DSC_2679

Mr. Shiju took us along those canals and tried to add in some adventure as well, there were areas where the mangrove branches were low lying and one had to lie down inside the canoe to cross them.

DSC_2627

The whole place looked like scenes from postcards. After around 30 minutes of the ride. We approached a shack. Shiju docked the boat close to the shack. It was more like a small house with an extended shed. There was seating arrangement “inside”, as well as an outdoor seating arrangement. I couldn’t make much difference between the two.

We were served the regular Kerala rice with all sorts of fish and chicken curries. Maybe it was the hunger but everything seemed delicious to me. Although the shack was on the canal there was nothing out of the ordinary to see, It was just water on all sides. So I gave rest to my camera and concentrated on the food. Things were disappearing as soon as they were being bought to the table.

After lunch we got back on the canoe and we took a different route this time. We saw the infamous Perumon bridge. This railway bridge once
collapsed and caused on of the greatest railway tragedies in the history of Kerala. Shiju recollected the memories, he was small boy and some of his neighbors were on that train. We also saw the spot where the elephants cross the river for the Pezhumthuruthu temple festival. After dropping us at our car parking spot, The local men there asked us to take the traditional route that connected Kollam town to the Munroe Island, which involved crossing the lake on a ferry. Driving our cars onto a ferry was an exciting experience. And these ferries are no modern machines, They are old shaky boats, chugging through a 500m distance in about 10 minutes.

If any of my readers ever plan a trip to Kerala. I would suggest that they drop the regular touristy spots from their itinerary and try to include Munroe Islands as a replacement. You will not regret it and for the shutter bugs out there, you will thank me later.
For those of you who are wondering how the place got it’s name. After coming back from the trip I did search the internet and found that the place was named after Colonel John Munro who served as the Deewan of the King of Travancore.

Rtags completes Emacs


This post is a description of how to setup Rtags on Emacs.  The internet is has quite a few resources about Rtags’ setup, but despite that I had to go over several of them to get things up and running for me.

Rtags is ideally meant to work for C++ projects that use CMake build systems, for others there are a few tweaks that may be needed. So here is the setup that works for developers using the traditional GNU Make for building their projects.

So here goes my setup:

To start with I had Emacs already installed, and I use Ubuntu 18.04

Installing Clang

Fire up a terminal and execute the following commands

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main"
sudo apt-get update
sudo apt-get install clang-3.9 lldb-3.9
sudo apt-get install libclang-3.9-dev

Installing Rtags Server

Once you have clang installed now its time to install Rtags. This can be done with the following commands

git clone --recursive https://github.com/Andersbakken/rtags.git
cd rtags
mkdir build
cd build
cmake ..
make

If the make executes with out any errors then it’s time to move forward. Once this install is complete you can start the rtags server with the rdm command

rdm -j3 &

If this does not work ensure that $PATH has the path to your rtags/build/bin folder which was created in the above steps, added to it. The rdm process is located in that folder.

This will have the rdm process running and listening to build commands and create the cache for the code navigation.

Install The Rtags plugin for Emacs

Emacs being an awesome editor all you have to do is

M-x package-install RET rtags RET
M-x package-install RET flycheck-rtags RET
M-x package-install RET company-rtags RET

Now in your .emacs file add the following(sourced from here)

(defun setup-flycheck-rtags ()
  (interactive)
  (flycheck-select-checker 'rtags)
  (setq-local flycheck-highlighting-mode nil)
  (setq-local flycheck-check-syntax-automatically nil))

;; only run this if rtags is installed
(when (require 'rtags nil :noerror)
  ;; make sure you have company-mode installed
  (require 'company)
  (define-key c-mode-base-map (kbd "M-.")
    (function rtags-find-symbol-at-point))
  (define-key c-mode-base-map (kbd "M-,")
    (function rtags-find-references-at-point))
  ;; install standard rtags keybindings. Do M-. on the symbol below to
  ;; jump to definition and see the keybindings.
  (rtags-enable-standard-keybindings)
  (setq rtags-autostart-diagnostics t)
  (rtags-diagnostics)
  (setq rtags-completions-enabled t)
  (push 'company-rtags company-backends)
  (global-company-mode)
  (define-key c-mode-base-map (kbd "<C-tab>") (function company-complete))
  ;; use rtags flycheck mode -- clang warnings shown inline
  (require 'flycheck-rtags)
  ;; c-mode-common-hook is also called by c++-mode
  (add-hook 'c-mode-common-hook #'setup-flycheck-rtags))

If you use the CMake build systems the story kind of ends here, but as I said if you use the GNU Make then hold on .

A Secret Recipe for GNU Make users

Go back to the rtags folder where we synced the code from github. Remember that in step 1 we created a build folder to build rtags and that the binary rdm was present in rtags_path/build/bin

What we are going to do is use the rtags wrappers for g++/gcc to ensure that when these commands are triggered rdm process will listen and create the cache needed for it to work.

So in a terminal we will do the following

ln -s /path-to-rtags/bin/gcc-rtags-wrapper.sh /path-to-rtags/build/bin/g++
ln -s /path-to-rtags/bin/gcc-rtags-wrapper.sh /path-to-rtags/build/bin/gcc

The paths to these newly created symbolic links should already be a part of $PATH from step 1.

After doing this step open a new terminal and type:

which g++

If this returns the path to the newly created links then you are set.

Once this is done go to your project folder and build the project. If you have the terminal with rdm running you can see it is logging some information. Once this stops. You are all set. Start Emacs and open a source file. The key bindings for each action can be found on the C++ menu as shown below.

emacs_rtags

Here is a short demo of how to navigate the code using rtags

rtags_demo

Hope you found this useful.

A tale by the river : Talakadu


Let me take my readers today to a hamlet called Talakadu. Once a capital city of the Ganga dynasty, now reduced to a ‘heap of sand’. There are many legends, folklore and mysteries surrounding Talakadu.

Legend says that aeons ago in the Jungles of this area lived two brothers (some stories say they were demons, others say they were hunters). One day they were chopping trees in the jungle. One tree started bleeding as soon as it was struck by the axe. The brothers panicked and tried to cover the wound on the tree with the leaves and fruits of the tree. And magically the tree cured itself. It is believed that the tree was a manifestation of Lord Shiva and since he had cured himself a temple was setup in that area. The deity is known as Vaidyanatheswara ( which means god of healers).  The place came to be known as Talakadu because the the brothers were ‘Tala’ and ‘Kadu’.

I believe this legend has a deeper meaning to it than the literal meaning. It shows that trees are divine beings. They not only provide the rest of the world with all necessities but are capable of self sustaining themselves.

Now back to my story. I started from Bangalore at around 7am in the morning.  Took the nice road to get out of the city and got on to Mysore road. This almost took me an hour and stopped for breakfast at Malgudi Vatika. The place has a nice theme that resembles with the India of 1900s, some antique pieces of furniture add to the ambience. At the entrance there is a large stone engraved with A quote by R.K. Narayan ( but that quote does not belong to R.K.N it was by Marcus Garvey).

After the breakfast I continued on for almost and hour to reach Maddur. From there I took the route to Malavalli. The road ahead looked like a black serpent laying on a green velvet carpet. There were lush green farms on both sides of the road. The traffic on these roads consisted of bullock carts carrying loads of sugar cane.

I reached Talakadu by 12PM. There were buses and cars parked on both sides of the road. I could see the Vaidyanatheswara temple. I went a little further and parked a little away from the crowd. As I mentioned earlier this place was the capital of the Ganga dynasty and was later taken over by the Hoysalas and later by the Wodeyars. This place was a bustling city once and as per a folklore, Talakadu was submerged in sand after the curse of Alamelamma. I would not be getting into the details of this story at this point because, the internet is full of references to that story with different versions. The Archeological Society of India very recently excavated parts of a temple from the sands of Talakadu.

We started our ‘pilgrimage’ from the opposite end (Typically people would start from Vaidyeshwara temple). There is a covered walkway that takes you all  the way round the area. We first visited the Maraleshwara temple. This is a small temple with the diety as Shiva. It is located in a trench. This is because the temple was excavated from under the sands. The temple in itself is small. Photography is prohibited inside the temple.

This  is followed by the Pathaleshwara temple, which looks very similar. We then continued our walk and we reached the back side of Kirti Narayana temple one of the most beautiful temples in the area. Unlike the other temples of the area Kirti Narayana temple is dedicated to Lord Vishnu. This is a huge temple the carvings on this temple is not as detailed as the ones on the Vaidyeshwara temple but still. It is an excellent piece of architecture marvel by the medieval Indians. This temple was built by the Hoysalas to mark their victory over the Cholas. The temple has a “Mahadvara” (main entrance) made fully of granite, which adds to the beauty of the temple. All these parts were recovered from under the sand in recent times.

And finally we have the Vaidyeshwara temple which is full of intricate carvings depicting stories from the Hindu Mythology. The temple is built in a star shaped platform which is quite common with many temples in Karnataka. The star shape gives more surfaces for the sculptors to work on with more details and carvings.

Our final stop was at the river Kaveri. The river was gently flowing. It was a witness to all that has happened at  Talakadu. It was there when the Hunter brothers were cutting down the trees. It was still there when the Ganga dynasty came and established a city and with a subsequent conquerors it was a witness to the creation and destruction that occurred on its banks. Kaveri  has  seen Talakadu changing from a capital city to a heap of sand.

A stroll at Hoskote Lake


It was a fine Sunday morning. The past week Bangalore witnessed intermittent spells of rains and the the days were overcast and gloomy. In the past few weeks some of my birding trips to the lake was cut short by spells of rain.

40914727844_7d9eeb68df_z

Today was different. There was a cool breeze and the sun was fighting vehemently with the clouds. The sky looked like a battle ground with the Sun piercing through the clouds and making its way to the beautiful waters of the lake. As the rays touched the water it shimmered like diamonds. Pelicans  swam across this water scooping in to catch fish. Herons stood in meditation, as if they were also thanking the Sun god for shining upon them. Swamp hens were pecking around searching for something they lost. The cattle grazed lazily whilst there shepherds sat under on the  ground basking in the warmth of the sun and  puffing a beedi and occasionally accompanied by a dog that would bark at anyone passing by.  There was a lapwing calling out in the distant.

Drongos and Shrikes were performing their acrobatics. Each time it flew to the ground it picked up something went to a nearby perch to gulp in the morning catch. A bee eater was perched on a nearby tree, and in  a swift movement it spread its wings  and tails, shot up like a  missile and returned to the same perch with a dragonfly between its beaks. Larks kept shooting out from the low bushes, it was a beautiful sight to see them glide effortlessly back to where they launched from.

42642823190_cc721e6a4e_z.jpg

But I was on the look out for the Baya Weaver. This is the breeding season for the weavers and on my previous visits I had seen the weavers cousins – the Indian Silver bills, tri-colored munias  and even the scaly breasted munias. The weavers are not a rare species but its just that I have not been fortunate to see them during the breeding season.

My usual walk starts near the farm fields near one end of the lake and then I keep walking  to the other end and back. I had walked for almost an hour and had almost lost hope of spotting the weaver, when I suddenly saw a weaver’s nest hanging at a distant. This brought my hopes back and I was also cautious so as not to disturb the birds during their breeding season. I walked past the tree and found a wonderful spot at a safe distant from where I could see the nest and its weavers. It seemed as if the nest was still being built as I could see a male Baya weaver weaving the nest. The females gave occasional visits as if inspecting the quality. They would fly in through the bottom opening of the nest and after a few seconds would come out and hover around the nest. Sometimes they would hover around the entrance, as if they were wondering whether to go in or not. Another male weaver happened to drop by the nest, but was immediately chased away by the first bird. Watching these birds gave me an immense sense of gratification. I had spend quite some time watching these birds and I failed to notice that the Sun had lost the battle to the clouds and the sky was overcast. And just when I was about to pack up and leave, a cool breeze blew caressing the tall grass around me. Like a shower of flowers falling from the skies a flock of Red Avadavats flew and perched on the grass and bushes around me. wept across the tall grass around me. I was pleasantly surprised by what was being offered to me after several weeks of disappointing birding trips. The lighting was not good enough for a clean and clear shot but, I wanted to capture this record moment. And as I was aiming my camera the Sun shone brightly for a moment, giving me a window short but long enough to get one shot of the bird. 43397140845_3db27f30ad_k

We are all in a hurry…


I start my day by seeing the newspaper boy fling the paper as I watch its different pages landing all over the place.  He has almost 10 seconds between the opening and closing of the lift at each floor, to fling papers to 4 different door steps. He is always in a hurry. I wonder why?

I get ready for office and leave, as usual the Bangalore roads are choked. I see drivers honking incessantly though they see that the poor chap in-front of them is as helpless as they are. At the traffic signals some drivers are impatient and race off even before the signals turn green. Everyone is in a hurry I still wonder why.

I reach office, and as I walk away from the parking lot I receive a call, It’s my mother. I pick up and reply, ‘Amma I’m on my way to office and I’m in a hurry…’

The Onam Sadya Demystified


With another Onam round the corner, all Kerala restaurants are flaunting its customers with the promise of a Kerala feast or the Onam Sadya as it is more popularly known. I thought it appropriate to decode the Onam Sadya ( and no, Onam Sadya does not include beef and liquor).
The ‘Sadya’ is not specific to Onam, for a culture that believes in ‘Annadanam Mahadanam’, a feast is the part and parcel of all celebrations.
It is a time where kith and kin join together and have atleast one meal, which is prepared and savored by the entire family together.
The sadya is served on a plaintain leaf, that is laid on the floor where you sit with legs crossed( also known as Sukhasana in Yoga) infront of it. There is lot of information avaialble that explains the benefits of sitting in the Sukhasana posture while eating.

The items on the leaf are arranged in a particular order as in the picture below.

DSC_0050.jpg

Pickles, chips and pappadam take the left corner, the side dishes or kootu curry takes the top row and the rice  on the bottom row. This order is maintained so that the people who serve can identify what might be missing on a leaf and what needs to be served.
To really enjoy a Sadya one has to do a bit of planning in advance and has to be displined in sticking to the plan. The aroma of the steaming rice on a plaintain leaf makes it really difficult to stop yourself from over-eating. You have to decide on how much rice you are capable of eating. Divide this into three portions and during the first serving ask for only the first portion. One half of this portion of rice is to be enjoyed with parippu curry (dal), ghee and pappadam. The second half with Sambhar. The side dishes can be used to add more flavour to each scoop of rice you take.
Once you have savoured the taste of parippu curry with ghee followed by the taste of the moderatly spicy sambhar, with a touch of side dishes like olan, kichdi etc. Its time for your digestive system to get soem aid in digestion. This is where the second portion of the rice comes in. This portion is to be had with rasam or puliserry ( curry made from buttermilk). This gives a soothing effect to your tongue as well as your entire digestive tract.
Then comes the most favourite part of any meal, the deserts. For Sadya the desserts are the payasams. Sometimes you may have multiple varieties of payasam, but traditionally the Ada Pradhaman ( made from Ada, jaggery), followed by Palpayasam ( made with milk, rice and sugar). The payasams are to be had in the same leaf where you had rice. The sweet payasam mixed with the salt, sour and spices of the curries takes you on cloud nine. Usually a modern day meal ends with the desert, but for a sadya, the last part is the last portion of rice which should be had with curd. Ask any Tamilian and they will tell you how a meal is incomplete without curd rice. Having curd which is rich in lactobacillus, is like taking probiotics. This aids in digestion, prevents acidity from all the Payasam that you had. The sadya is usually served for lunch, and noon time in South India can be really hot, curd acts as a coolant to the body.
And then as a climax the guest folds the plantain leaf from top to bottom which is a gesture that he is happy with the food served. In a way it shows that the guest is grateful to the host for providing him with a meal and the host is grateful to the guest for having blessed him with his presence and well wishes. So the next time you are invited for a Sadya keep these in mind, enjoy the food and most importantly make it a point not to waste any of it. Happy Onam to all my readers.

%d bloggers like this: