<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Anay Kamat's Weblog</title>
	<atom:link href="http://anaykamat.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anaykamat.com</link>
	<description>Technology, Programming, Career, Fun, Friends And Thoughts</description>
	<lastBuildDate>Fri, 26 Apr 2013 12:36:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4</generator>
		<item>
		<title>Mistake Or No Mistake: Part 2</title>
		<link>http://anaykamat.com/2013/01/14/mistake-or-no-mistake-part-2/</link>
		<comments>http://anaykamat.com/2013/01/14/mistake-or-no-mistake-part-2/#comments</comments>
		<pubDate>Mon, 14 Jan 2013 11:58:28 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[My Thoughts]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=181</guid>
		<description><![CDATA[This is the second story in the &#8220;Mistake Or No Mistake&#8221; series (You can read the first part here). While this story might be the simplest in the entire series, it forms the base for the conclusions that we would make at the end of this series. Mr. Vijay Gupta, a senior software manager in [...]]]></description>
			<content:encoded><![CDATA[<p>This is the second story in the &#8220;Mistake Or No Mistake&#8221; series (You can read the first part <a href="http://anaykamat.com/2013/01/10/mistake-or-no-mistake-part-1/">here</a>). While this story might be the simplest in the entire series, it forms the base for the conclusions that we would make at the end of this series.</p>
<p>Mr. Vijay Gupta, a senior software manager in a reputed production company, is walking towards his office. He was slightly late today so he was trying to walk as fast as he could. As usual, he was dressed in formals and was carrying his laptop. Suddenly, while walking on the foot-path, he slips over banana peel and falls down. Ooooops!!</p>
<p>Now, coming back to our question, who do you feel was at fault here? Was there any mistake from Vijay&#8217;s end or did he pay for mistake from someone else?</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2013/01/14/mistake-or-no-mistake-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mistake Or No Mistake: Part 1</title>
		<link>http://anaykamat.com/2013/01/10/mistake-or-no-mistake-part-1/</link>
		<comments>http://anaykamat.com/2013/01/10/mistake-or-no-mistake-part-1/#comments</comments>
		<pubDate>Thu, 10 Jan 2013 11:52:29 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[My Thoughts]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=177</guid>
		<description><![CDATA[Long back, we were told a story about a man who goes to jungle for adventure. The story was more like a question to make us think and force us to enquire. Once upon a time, there was a doctor who used to enjoy making regular trips to a nearby jungle for adventure and studies. [...]]]></description>
			<content:encoded><![CDATA[<p>Long back, we were told a story about a man who goes to jungle for adventure. The story was more like a question to make us think and force us to enquire.</p>
<p>Once upon a time, there was a doctor who used to enjoy making regular trips to a nearby jungle for adventure and studies. However, on his 100th visit to the jungle, something happened.</p>
<p>That day, he left for jungle early in the morning. There was nothing new here as, he always used to leave early for his jungle/study trip. With him, he had carried all usual stuffs like first aid, communication devise, camera and binoculars. Soon, he was deep inside the jungle.</p>
<p>Though he had visited this area before, on that day, he noticed a tiger in that area. The tiger was lying down near the river. The moment the doctor noticed the tiger, he got scared and cried for help. As a result, tiger got up and started staring at the doctor. The doctor, in order to save his life, started running as fast as he could.</p>
<p>Next day, police found his dead body in jungle&#8230;.</p>
<p>The story ends here. We were then asked a very important question, &#8220;Who do you think was at fault? Do you think it was Doctor&#8217;s mistake? Was there a mistake or no mistake?&#8221;.</p>
<p>When we heard the story for the first time, we were so much disturbed that our first reaction was, &#8220;No, Doctor didn&#8217;t commit any mistake&#8221;. However, as we enquired further, we learnt a very important lesson.</p>
<p>I would like to ask the same question to all the readers of this blog post. Who do you think was at fault? Do you think it was Doctor&#8217;s mistake? Was there a mistake or no mistake? Kindly reply through comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2013/01/10/mistake-or-no-mistake-part-1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Fact-Based analysis of our current social and legal issues</title>
		<link>http://anaykamat.com/2013/01/09/fact-based-analysis-of-our-current-social-and-legal-issues/</link>
		<comments>http://anaykamat.com/2013/01/09/fact-based-analysis-of-our-current-social-and-legal-issues/#comments</comments>
		<pubDate>Wed, 09 Jan 2013 19:19:39 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[India]]></category>
		<category><![CDATA[My Thoughts]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=173</guid>
		<description><![CDATA[As far as human nature is concerned, it tries to define the problem and it’s corresponding solution based on the way his/her preferences and understanding of the problem. At any point, while it is true that we cannot really say which definition and solution is right, we could at-least try our best to be rational [...]]]></description>
			<content:encoded><![CDATA[<p>As far as human nature is concerned, it tries to define the problem and it’s corresponding solution based on the way his/her preferences and understanding of the problem. At any point, while it is true that we cannot really say which definition and solution is right, we could at-least try our best to be rational and form our conclusions on basis of facts.</p>
<p>Let’s consider few cases.</p>
<ol>
<li><strong>Traffic problems:</strong>We face traffic problems everyday and at every point in time, we blame government and police for that. If we think rationally, we would notice that the laws are already in place to enforce the lane discipline, Helmet and seatbelt usage etc. But the question is, do we follow them properly? Use of helmet or seatbelt is for our own safety but we still do not use them regularly. At this point, most people would claim that the cops should monitor and fine the rule breakers. But then, the reality is, people tend to wear helmet or seatbelt only when they notice that there is a police vehicle in front.On Mandovi Bridge, I notice this particular problem everyday. Whenever there is a traffic slowdown, people try to occupy the other lane completely without even a rational thought that this would simply convert it to traffic jam. At the end, we do get traffic jam AS EXPECTED.</li>
<li><strong>Social Equality:</strong> We know that this problem exists everywhere. In India, since we believe that law can help everywhere, we have reservation systems in place. Most claim that certain communities did get benefits out of these laws. But a conscious and rational observation would show us that majority of people are still suffering from social inequality. Remember the participant in the show “Kaun Banega Crorepati”, where he mentioned that his community is still not allowed in village temple. All this, while the required laws are in place.</li>
<li><strong>Criminal Activities:</strong> While the required law and enforcement agencies are in place, we still observe these cases around us.</li>
<li><strong>Eve teasing:</strong> This occurs everywhere and to almost every girl. Even though every brother knows that his sister has experienced this trouble, he would ignore such incidents when it happens to “some other girl” or he himself might get involved in eve teasing activities involving “some other girls”.</li>
<li><strong>Attack on parliament:</strong> We could literally say that the people involved in this have raped our national pride. As per the law, the criminal involved is already sentenced to death 8 years ago, but not yet executed.</li>
</ol>
<p>Why am I talking about all these problems at this point in time? It’s because, all these observations bring about a larger picture. It highlights the true reality. Even though laws are in place, it has not helped in getting rid of any of these problems in first place. Now, what can we conclude with help of our rational thinking and observations?</p>
<p>As it could be seen, all these issues could be traced back to the individual behaviour or awareness towards social responsibility. Though we have required laws in place, we have not made any advances in raising the level of social awareness and building up of individual character.</p>
<p>Most of the schoolgirls face the problem if being teased by her own classmates. Most schools try to take strict actions and often follow strict punishments to avoid it. However, the problem continues. My father was principal of a school, which also happened to have such cases. However, he decided to try out a completely different solution.</p>
<p>While the strict actions and punishments were being taken against the students involved in teasing girls, he went ahead and started celebrating “Rakhi” festival with aim of raising the sense of brotherhood. In few days, it was noticed that it helped in making students realize their mistakes and thus, reduced the number of such cases dramatically.</p>
<p>When only the strict actions were being taken, students used to be careful only in school premises, but not when they used to be out of it. However, the effort to build up the character and sense of brotherhood in every boy and girl did help to handle the “out of school” cases as well.</p>
<p>Keep in mind, the laws can be broken and in most cases, they either help only after the incident has occurred or end up causing a bigger harm. For example, in order to make the best laws, we have only made the entire system so complicated, that a wise man has to think twice before going to court.</p>
<p>Law is not a medicine. Law is only a process. Following the law and order, is again an attribute of individual character or level of social awareness. Since we have failed at building up the character or social awareness, it’s pointless to ask for new laws.</p>
<p>Another best-known human nature is the ability to forget. Last year, there was a protest against corruption. It seemed as if we would definitely see some results. However, at this moment in present, I have no clue what happened to that protest or what’s going to happen next. There is a saying that time heals everything”. I would just add “including the good things” to it.</p>
<p>When there is a loss of individual character and lack of social awareness, the laws tend to be useless. This leads to a political advantage:</p>
<ol>
<li>First make an issue out of any incident to gain political benefits</li>
<li>Once the issue starts affecting you as well, simply try to divert the issue with other related but less important thing, till the issue itself is forgotten. We are best at forgetting aren’t we?</li>
</ol>
<p><strong>Dealing with situations:</strong></p>
<p>We can deal with situations either in reactive way or proper way. The reactive approach is often the result of instinct and can lead to unwanted outcomes. For example, the chance of a person getting drowned in water increases if he acts reactively. Similarly, a person beaten by snake can die before he could be treated due to his reactive actions (faster heart beats due to fear of death).</p>
<p>Thus we need to deal with situations in proper way. Unfortunately, we cannot think about proper way or provide proper help quickly. Thus, we should be in a position to handle the situation, till we identify a proper way, rather than being reactive.</p>
<p>When person is under medical emergency, First Aid is applied. If we happen to see it from other angle, we realize that it might sound stupid, as First Aid itself, does not save life. It is of no use to just apply First Aid and provide no medical aid. It just helps us in buying time before we provide the right help.</p>
<p>Similarly, in case of war, soldiers use a concept of cover fire. They are not aimed at a particular person, but help the group to relocate to a better location.</p>
<p>In martial arts, certain actions are followed only to confuse the opponent and divert his attention. Such techniques are to be followed in case the opponent is stronger as compared to you.</p>
<p>In industries, people try contract negotiation as a technique to buy time to properly understand the requirements and allocate team members.</p>
<p><strong>Conclusion:</strong></p>
<p>Lets consider it from the perspective of the recent unfortunate and horrible rape incident in Delhi. People have been:</p>
<ol>
<li><strong>Doing the March protest:</strong> Good way to unite people and express opinion, but such protests cannot be sustained.</li>
<li><strong>Asking for a new law:</strong> On what facts and rational thinking do we believe that it would help to “Solve” the problem.</li>
<li><strong>Discussing about what certain religious entity said about it:</strong> Isn’t it the easiest way of diverting people’s attention from the real problem? Ignoring all the efforts taken to raise individual character and social awareness by these entities, why spend time on discussing a “misunderstood” statement? It would not help in solving the problem but would indeed help political actions to be able to divert the attention.</li>
</ol>
<p>Time has come to stop teaching others on what to do and what not to do. We all need to follow the path of proper enquiry to understand the world and the problems while increasing our individual character and level of social awareness. My new year’s resolution was not to change the world, but:</p>
<ol>
<li>To follow proper enquiry to learn from past and current issues</li>
<li>Act myself whenever a thought comes to my mind saying “Somebody should do something now”.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2013/01/09/fact-based-analysis-of-our-current-social-and-legal-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Story of Google map&#8217;s driving directions and a missing turn</title>
		<link>http://anaykamat.com/2012/07/01/story-of-google-maps-driving-directions-and-a-missing-turn/</link>
		<comments>http://anaykamat.com/2012/07/01/story-of-google-maps-driving-directions-and-a-missing-turn/#comments</comments>
		<pubDate>Sun, 01 Jul 2012 19:31:30 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[Technologies]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[driving directions]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[samsung galaxy s2]]></category>
		<category><![CDATA[software tools]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=155</guid>
		<description><![CDATA[Day before yesterday (29th June 2012) evening, I had to travel from a location in Margao (marked as point A in the screen-shot below) to Mickey&#8217;s in Colva (marked as point B). As I had not been to the place before, I took help from Google Maps App in my Samsung Galaxy S2 to identify [...]]]></description>
			<content:encoded><![CDATA[<p>Day before yesterday (29th June 2012) evening, I had to travel from a location in Margao (marked as point A in the screen-shot below) to Mickey&#8217;s in Colva (marked as point B). As I had not been to the place before, I took help from Google Maps App in my Samsung Galaxy S2 to identify the path between the two points. Google Maps marked the path as shown in the screen-shot below.</p>
<p><a href="http://anaykamat.com/wp-content/uploads/2012/07/MargaoToMickeysOriginal.png"><img class="aligncenter size-large wp-image-156" title="MargaoToMickeysOriginal" src="http://anaykamat.com/wp-content/uploads/2012/07/MargaoToMickeysOriginal-1024x339.png" alt="" width="570" height="188" /></a></p>
<p>With the help of GPS tracking in google map app, I started following the path. Everything went fine till I reached the turn identified with red circle in the screen-shot above. I was surprised to notice that there was no road for the turn at that point.</p>
<p>Fortunately, I was little familiar with this area and thus was able to identify the alternate route which could connect me to point B. Following screen-shot will show you the alternate route.</p>
<p><a href="http://anaykamat.com/wp-content/uploads/2012/07/MargaoToMickeysAlternate.png"><img class="aligncenter size-large wp-image-158" title="MargaoToMickeysAlternate" src="http://anaykamat.com/wp-content/uploads/2012/07/MargaoToMickeysAlternate-1024x328.png" alt="" width="570" height="182" /></a></p>
<p>Luckily, I was familiar with the location and thus, was able to identify the alternate route quickly. But the people who use the app to find paths/directions while travelling to a different state or an unknown location may not be so lucky.</p>
<p>While using the applications like google maps, we all need to remember that it is just a tool, which help us only to find a solution to the problem, but it need not be the best or the most accurate one. In some cases, we may be presented with wrong results as well.</p>
<p>Thus, if you are using google maps to plan your next family trip, make sure you verify all the information properly. Otherwise, your family trip may convert into an interesting adventure trip.</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2012/07/01/story-of-google-maps-driving-directions-and-a-missing-turn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Airtel 3G With Samsung Galaxy S2 : My Alternate Source For High-Speed Internet</title>
		<link>http://anaykamat.com/2012/06/20/airtel-3g-with-samsung-galaxy-s2-my-alternate-source-for-high-speed-internet/</link>
		<comments>http://anaykamat.com/2012/06/20/airtel-3g-with-samsung-galaxy-s2-my-alternate-source-for-high-speed-internet/#comments</comments>
		<pubDate>Wed, 20 Jun 2012 19:54:07 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[India]]></category>
		<category><![CDATA[My Thoughts]]></category>
		<category><![CDATA[Technologies]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[Airtel]]></category>
		<category><![CDATA[Broadband]]></category>
		<category><![CDATA[Galaxy S2]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=137</guid>
		<description><![CDATA[Can you imagine life without high speed internet access? Without it, we won&#8217;t be able to: Enjoy services provided by sites like Youtube Download free and opensource applications Make video calls through services like Skype Share screens and work from home (I hope you like it) Seriously, high speed internet adds significant value to our [...]]]></description>
			<content:encoded><![CDATA[<p>Can you imagine life without high speed internet access? Without it, we won&#8217;t be able to:</p>
<ul>
<li>Enjoy services provided by sites like Youtube</li>
<li>Download free and opensource applications</li>
<li>Make video calls through services like Skype</li>
<li>Share screens and work from home (I hope you like it)</li>
</ul>
<p>Seriously, high speed internet adds significant value to our daily life. Like most of my friends in India, I use BSNL Broadband to access high speed internet service at home. It provides pretty good connectivity in terms of speed and quality as shown in the screenshot below:</p>
<p style="text-align: center;"><a href="http://anaykamat.com/wp-content/uploads/2012/06/Speedtest.net-BSNLBroadband.png" target="_blank"><img class="aligncenter size-medium wp-image-138" title="Speedtest.net - BSNLBroadband" src="http://anaykamat.com/wp-content/uploads/2012/06/Speedtest.net-BSNLBroadband-300x178.png" alt="" width="300" height="178" /></a></p>
<p>However, during monsoon period, I often face connectivity issues which can cause problems, especially if I want to work from home. Thus, I prefer to have alternate source of high speed internet connection as backup. I prefer this source to be wireless and stable while providing good internet speed.</p>
<p>While searching for another source of high speed internet access, I came across Airtel 3G. Following screenshot will show you the speeds that I get with Airtel 3G:</p>
<p style="text-align: center;"><a href="http://anaykamat.com/wp-content/uploads/2012/06/Speedtest.net-Airtel3GTest.png" target="_blank"><img class="aligncenter size-medium wp-image-139" title="Speedtest.net - Airtel3GTest" src="http://anaykamat.com/wp-content/uploads/2012/06/Speedtest.net-Airtel3GTest-300x183.png" alt="" width="300" height="183" /></a></p>
<p>These screenshots show that Airtel 3G provides internet with speed which is half of what is provided by BSNL broadband. Depending on the quality of network, I can even get better speed.</p>
<p>To access this internet connection on my laptop, I make use of the &#8220;Portable Wi-Fi Hotspot&#8221; feature provided by my Samsung Galaxy S2 mobile phone. It&#8217;s a great device with lot of good features and this is just one of it.</p>
<p>I have been using the internet provided by Airtel 3G for around a month now and I am pretty much happy with it. Now I use it for most of my regular tasks and rely of BSNL broadband only to download large files.</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2012/06/20/airtel-3g-with-samsung-galaxy-s2-my-alternate-source-for-high-speed-internet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Understanding and Applying Artificial Neural Networks : Engineering Perspective</title>
		<link>http://anaykamat.com/2010/11/26/understanding-and-applying-artificial-neural-networks-engineering-perspective/</link>
		<comments>http://anaykamat.com/2010/11/26/understanding-and-applying-artificial-neural-networks-engineering-perspective/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 07:57:02 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technologies]]></category>
		<category><![CDATA[ann]]></category>
		<category><![CDATA[artificial neural networks]]></category>
		<category><![CDATA[engineering perspective]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=127</guid>
		<description><![CDATA[Lasts week (15th November to 19th November), NITTTR (National Institute of Technical Teachers Training and Research) had organized a course on Artificial Neural Networks at Government College Of Engineering &#8211; Farmagudi, Goa. I was appointed as course faculty for this event. Personally, I do not believe in concept of teaching. Humans are smart and intelligent [...]]]></description>
			<content:encoded><![CDATA[<p>Lasts week (15th November to 19th November), <a href="http://www.nitttrbhopal.org/index.php?option=com_content&amp;view=article&amp;id=237:goa-extension-centre&amp;catid=52:articles&amp;Itemid=261" target="_blank">NITTTR</a> (National Institute of Technical Teachers Training and Research) had organized a course on Artificial Neural Networks at <a href="http://www.gec.ac.in/">Government College Of Engineering &#8211; Farmagudi, Goa</a>. I was appointed as course faculty for this event.</p>
<p>Personally, I do not believe in concept of teaching. Humans are smart and intelligent animals and as such, they are capable of learning new things themselves based on their experience and observations. Thus, rather than providing a training, I preferred sharing my experience and knowledge on ANN with the members attending the course.</p>
<p>Considering the fact that this event was organized for staff of engineering colleges, the &#8220;Joint &#8211; Discussion&#8221; was titled, &#8220;<strong>Engineering Solutions With Artificial Intelligence Using A System Popularized As Artificial Neural Networks</strong>&#8220;.</p>
<p>Generally, we discuss Artificial Neural Networks either in theoretical perspective or in terms of purely scientific applications. However, the world of practical engineering is always different from theoretical or purely scientific perspective. The same applies to applications of ANN in perspective of modern digital engineering.</p>
<p>In this joint discussion, we spent first two days trying to understand the concept of artificial neural networks. To understand it practically, demonstrations were provided using the examples developed in JRuby. The code written for this purpose is now available on GitHub (The link is provided at the end of this post).</p>
<p>For next two days, all the participants were allowed to experiment with the JRuby code. Participants could play around with different training sets while modifying variables like learning rate, momentum, activation functions, number of hidden layers, number of neurons in hidden layers etc. They could also experiment with performing the same training using backpropagation algorithm and genetic algorithm. This helped them in understanding the challenges faced by engineers in practically implementing the solutions using ANN.</p>
<p>On the last day (Friday 19th, November 2010), we concluded the joint discussion by determining the capabilities and limitations of ANN based on the experience and knowledge obtained by participants in four days. At the end, a demo of <a href="http://userscripts.org/scripts/review/38736" target="_blank">OCR written in Javascript</a> was given by Tejas Vernekar.</p>
<p>During the joint discussion, some of the alternative non-neural solutions for few problems were discussed as well. A ruby equivalent of spell checker (which uses statistical language processing) originally developed in python was also demonstrated. The ruby equivalent code is available in the code in GitHub Repository.</p>
<p>In case you are interested in JRuby code used during the joint discussion, you can download it from <a href="https://github.com/kamatanay/JRuby-Neural-Networks" target="_blank">this GitHub repository</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2010/11/26/understanding-and-applying-artificial-neural-networks-engineering-perspective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just Released: Maya Programming Language</title>
		<link>http://anaykamat.com/2010/08/25/just-released-maya-programming-language/</link>
		<comments>http://anaykamat.com/2010/08/25/just-released-maya-programming-language/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 12:14:15 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technologies]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[language translators]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[programming languages]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=123</guid>
		<description><![CDATA[Around one year ago, I had started experimenting with concepts of creating programming languages. I first started with building few DSLs (Domain Specific Languages) using Ruby and Boo. It was quite interesting to work on development of DSLs. While doing this, I learnt a lot about how the programming languages are developed. Eventually, I thought [...]]]></description>
			<content:encoded><![CDATA[<p>Around one year ago, I had started experimenting with concepts of creating programming languages. I first started with building few DSLs (Domain Specific Languages) using Ruby and Boo. It was quite interesting to work on development of DSLs. While doing this, I learnt a lot about how the programming languages are developed.</p>
<p>Eventually, I thought of writing my own programming language. While I was in engineering college as a student, we had a subject on language translators. This subject taught us lot of theory on how languages are compiled or interpreted. However, we never got a chance to write even a simple programming language during our practicals. According to few, it was not possible to write one in one semester&#8217;s time.</p>
<p>That turned out to be my main motivation. I decided to write this programming language without using any compiler tools like LEX and YACC. I ended up writing my own lexical analyzer, the grammar parser and the language using the concepts taught to us in engineering college only. I worked on it daily for around an hour and within two weeks, I had the basic language ready.</p>
<p>Today, the code is released under GPL license. It&#8217;s available on GitHub at <a href="http://github.com/kamatanay/MayaLanguage" target="_blank">http://github.com/kamatanay/MayaLanguage</a></p>
<p>I hope it would be useful for students learning language translators.</p>
<p>Why did I name it Maya? Well, that&#8217;s the name of my sweetheart wife. Isn&#8217;t that a sweet name?</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2010/08/25/just-released-maya-programming-language/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fun: Adsense and Deepika Padukone</title>
		<link>http://anaykamat.com/2010/08/11/fun-adsense-and-deepika-padukone/</link>
		<comments>http://anaykamat.com/2010/08/11/fun-adsense-and-deepika-padukone/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 06:12:58 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[adsense]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=115</guid>
		<description><![CDATA[Yesterday I was reading an article on &#8220;How to Uninstall Symantec AntiVirus&#8221;. The article was from EzineArticles. While reading it, I suddenly noticed that the AdSense block is showing a complete unrelated ad on the page. Take a look at the screen-shot below. For those who don&#8217;t know, Deepika Padukone is a bollywood actress. The [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I was reading an article on &#8220;How to Uninstall Symantec AntiVirus&#8221;. The article was from EzineArticles. While reading it, I suddenly noticed that the AdSense block is showing a complete unrelated ad on the page. Take a look at the screen-shot below.</p>
<p style="text-align: center;"><a href="http://anaykamat.com/wp-content/uploads/2010/08/deepika_paducone_on_adsense_arrows.png"></a><a href="http://anaykamat.com/wp-content/uploads/2010/08/deepika_paducone_on_adsense_arrows.png"><img class="aligncenter size-full wp-image-116" title="adsense showing a completely unrelated ad" src="http://anaykamat.com/wp-content/uploads/2010/08/deepika_paducone_on_adsense_arrows.png" alt="adsense showing a completely unrelated ad" width="477" height="170" /></a></p>
<p>For those who don&#8217;t know, <a href="http://en.wikipedia.org/wiki/Deepika_Padukone" target="_blank">Deepika Padukone</a> is a bollywood actress. The article I was reading was related to removing a software (Symantec Antivirus) which was not related to film industry or actors in any context.</p>
<p>I found this quite funny and thought of sharing it. Do you find it interesting as well? Let me know your thoughts through comments.</p>
<p>Enjoy!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2010/08/11/fun-adsense-and-deepika-padukone/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Error in ruby on rails documentation for ActionController::UrlWriter</title>
		<link>http://anaykamat.com/2010/05/30/error-in-ruby-on-rails-documentation-for-actioncontroller-urlwriter/</link>
		<comments>http://anaykamat.com/2010/05/30/error-in-ruby-on-rails-documentation-for-actioncontroller-urlwriter/#comments</comments>
		<pubDate>Sun, 30 May 2010 18:25:02 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[My Thoughts]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technologies]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=110</guid>
		<description><![CDATA[In Ruby on rails, methods that generate urls from named routes are not globally accessible. For example, you can&#8217;t access them from console (script/console). If you want to use these methods from such places, then the rails documentation for ActionController::UrlWriter suggests two ways of doing it. According to this documentation, you can: Include ActionController::UrlWriter in [...]]]></description>
			<content:encoded><![CDATA[<p>In Ruby on rails, methods that generate urls from named routes are not globally accessible. For example, you can&#8217;t access them from console (script/console). If you want to use these methods from such places, then the <a href="http://api.rubyonrails.org/classes/ActionController/UrlWriter.html" target="_blank">rails documentation for ActionController::UrlWriter</a> suggests two ways of doing it. According to this documentation, you can:</p>
<ol>
<li>Include ActionController::UrlWriter in your class</li>
<li>Call the method directly on ActionController::UrlWriter</li>
</ol>
<p>When I tried it out, only the first method worked. I was able to use methods generated from named routes in console after including ActionController::UrlWriter. However, it was not possible to call those methods on ActionController::UrlWriter. This looks like an issue with documentation to me.</p>
<p>It might be the case that the second method used to work in earlier version of rails. As rails is constantly being developed, some refactoring might have made the second method obsolete. I hope rails community will fix such issues in documentation soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2010/05/30/error-in-ruby-on-rails-documentation-for-actioncontroller-urlwriter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSpec Matchers: Be careful while testing boolean values</title>
		<link>http://anaykamat.com/2010/05/30/rspec-matchers-be-careful-while-testing-boolean-values/</link>
		<comments>http://anaykamat.com/2010/05/30/rspec-matchers-be-careful-while-testing-boolean-values/#comments</comments>
		<pubDate>Sun, 30 May 2010 14:19:55 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technologies]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[unit tests]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=105</guid>
		<description><![CDATA[While testing methods that return boolean values in ruby (the ones that end in &#8216;?&#8217;), try to avoid following matchers: or This is because, &#8216;be_true&#8217; and &#8216;be_false&#8217; matchers considers &#8216;nil&#8217; to be false and anything other than &#8216;nil&#8217; to be true. When we write methods in ruby which end with question mark (&#8216;?&#8217;), intent is [...]]]></description>
			<content:encoded><![CDATA[<p>While testing methods that return boolean values in ruby (the ones that end in &#8216;?&#8217;), try to avoid following matchers:</p>
<pre class="brush: ruby; title: ; notranslate">
method_returning_true?.should be_true
</pre>
<p>or</p>
<pre class="brush: ruby; title: ; notranslate">
method_returning_false?should be_false
</pre>
<p>This is because, &#8216;be_true&#8217; and &#8216;be_false&#8217; matchers considers &#8216;nil&#8217; to be false and anything other than &#8216;nil&#8217; to be true. When we write methods in ruby which end with question mark (&#8216;?&#8217;), intent is that the method will return boolean value. To ensure that our tests will always reflect the intent of code, use following to assert boolean values instead of using &#8216;be_true&#8217; or &#8216;be_false&#8217; matchers:</p>
<pre class="brush: ruby; title: ; notranslate">
method_returning_true?.should == true
</pre>
<p>or</p>
<pre class="brush: ruby; title: ; notranslate">
method_returning_false?.should == false
</pre>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2010/05/30/rspec-matchers-be-careful-while-testing-boolean-values/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
