<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2" -->
<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/"
	>

<channel>
	<title>Aalap's Vibes</title>
	<link>http://www.aalap.info/blog</link>
	<description>Inspired Confessions</description>
	<pubDate>Thu, 12 Apr 2012 02:06:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>
	<language>en</language>
			<item>
		<title>Making Net::SCP work (CPAN, FTP_PASSIVE, sudo, visudo)</title>
		<link>http://www.aalap.info/blog/?p=27</link>
		<comments>http://www.aalap.info/blog/?p=27#comments</comments>
		<pubDate>Thu, 12 Apr 2012 02:01:55 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Techie Stuff-Linux]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=27</guid>
		<description><![CDATA[This is a short note regarding the motions I had to go through to make the perl module Net::SCP work. This is a note to self.
Step 0 -  CPAN&#8217;s documentation is pretty straight-forward. http://search.cpan.org/~ivan/Net-SCP-0.08/SCP.pm
Step 1 - Installation

$cpan
install Net::SCP

Oops.. Needs sudo permissions to perform make install

$sudo cpan

What!! Can not fetch LWP/FTP. Why? It just did it. FTP_PASSIVE [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short note regarding the motions I had to go through to make the perl module Net::SCP work. This is a note to self.</p>
<p>Step 0 -  CPAN&#8217;s documentation is pretty straight-forward. http://search.cpan.org/~ivan/Net-SCP-0.08/SCP.pm<br />
Step 1 - Installation</p>
<p><code><br />
$cpan<br />
install Net::SCP<br />
</code></p>
<p>Oops.. Needs sudo permissions to perform make install</p>
<p><code><br />
$sudo cpan<br />
</code></p>
<p>What!! Can not fetch LWP/FTP. Why? It just did it. FTP_PASSIVE is set as an environment variable (see my previous blog). Now what&#8217;s wrong.</p>
<p>Turns out sudo filters out most environment variables (FTP_PASSIVE not picked up). The fix is to edit /etc/sudoers</p>
<p><code><br />
env_keep = ..... FTP_PASSIVE .....<br />
</code></p>
<p>So, I tried : <code>sudo /etc/sudoers</code> Read-only - Er.. For Root? Oh that&#8217;s a security feature, so let&#8217;s try : <code>sudo visudo</code> Err visudo doesn&#8217;t exist. It&#8217;s not in $PATH. All right <code>sudo /usr/sbin/visudo</code>.</p>
<p>Problem solved. Now <code>sudo cpan</code> can make install in peace and I can get around pesky firewall&#8217;s with passive FTP as root.</p>
<p>Oh and a code dump of what I was testing.</p>
<p><code><br />
#!/bin/perl<br />
use strict;<br />
use warnings;<br />
use Net::SCP;</p>
<p>#used ssh-keygen -t rsa to generate key on local machine<br />
#used ssh-copy-id -i ~/.ssh/id_rsa.pub [remote_username]@[remote_machine] to share public key from [local_machine] to [remote_machine]</p>
<p>#otherwise replace Net::SCP-&gt;new("[remote_machine_name]<remote_machine>&#8220;,&#8221;PASSWORD&#8221;);</remote_machine></p>
<p>my $scp;<br />
$scp = Net::SCP-&gt;new(&#8221;[remote_machine]&#8221;);<br />
$scp-&gt;login(&#8221;[remote_username]&#8221;);<br />
$scp-&gt;put(&#8221;[what to put]&#8221;,&#8221;[where to put]&#8221;)  or die $scp-&gt;{errstr};<br />
</code></p>
<p>This was pretty straight-forward.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=27</wfw:commentRss>
		</item>
		<item>
		<title>My BITSAA Journey&#8230; (so far)</title>
		<link>http://www.aalap.info/blog/?p=25</link>
		<comments>http://www.aalap.info/blog/?p=25#comments</comments>
		<pubDate>Wed, 11 Apr 2012 20:07:49 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[BITS Pilani Goa]]></category>

		<category><![CDATA[BITS Pilani]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=25</guid>
		<description><![CDATA[
I joined the first batch at the spanking newly christened BITS Pilani Goa Campus. Just as the many bright-eyed students who enter the hallowed halls of BITS Pilani,  we the 2004 batch students (the first in a sister campus in India) perhaps had some additional apprehensions, worries. Among them there was a burning desire to [...]]]></description>
			<content:encoded><![CDATA[<p><span style="border-collapse: collapse; color: #222222; font-family: arial, sans-serif; font-size: 13px; line-height: normal" class="Apple-style-span"></span></p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">I joined the first batch at the spanking newly christened BITS Pilani Goa Campus. Just as the many bright-eyed students who enter the hallowed halls of BITS Pilani,  we the 2004 batch students (the first in a sister campus in India) perhaps had some additional apprehensions, worries. Among them there was a burning desire to be accepted as, feel like, be treated and get the same experience as and finally be accepted into the vast pantheon of BITS Alumni. BITS did that spectacularly - the same coursework, many of the same legendary Professors who moved to spanking new campus, sometimes setting the same exams, and encouraging similar extra-curricular activities. As students, we did other things - contributing to Sandpaper, enthusiastically adopting programs initiated by alumni like BITSEmbryo. Tens of alumni who spoke to us through BITSEmbryo welcomed their fellow BITSian&#8217;s in the campuses.  Then BITSAA CEO Ashish Garg (someone of our generation), visited the campus, was given a rousing welcome (about 500 students attended a pack Lecture Theatre). His rousing speech set aside any remaining aspersions permanently etching in our minds - BITSAA (like BITS Pilani) was one brand - we are brothers-in-arms. As the Goa campus evolved, we were already mimicking structures in Pilani with a Goa twist in some - org structure for campus events to Centre for Software Development. BITSAA Bangalore was doing wonderful things - hosting our then Director Prof. Goel for a series of talks with alumni. Then came the Practice School Program where some of us made the trek to Silicon Valley or the East Coast as Interns and came back to tell us wonderful stories about the life &#8220;out there&#8221; as a BITS Pilani graduate awaiting us. BITS Alumni like Sunil Nanda (Nvidia) came by to the Goa Campus in the very first year to not only hire but educate students in &#8220;Whats out there?&#8221; It might not be unfair to say that most of the companies who came in to hire from the Goa Campus in its very first year were either headed by or had BITSians in influential positions.</p>
<p style="font: normal normal normal 12px/normal Helvetica; min-height: 14px; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">To most of us, BITSAA was this massive monolith (behemoth?) - an army of &#8220;BITSians&#8221; organized in many chapters out there helping each other and helping the cause of BITS. BITSConnect had just happened (2003-2004). We had seen the &#8220;Old Boys&#8221; come together to wire up the BITS Campuses not too long ago. BITS alumni could make magic happen. Stalwarts like Jayan Ramankutty, Chandra Bhople and others flew down regularly to address students, encourage budding entrepreneurs, opening doors. I was fortunate to come to the Silicon Valley as a Practice School student. Among other things, I had the opportunity to see BITSAA Silicon Valley Chapter in full force. The ACYUT Robotics Team from BITS Pilani had just made an appeal to alumni for support in building India&#8217;s first humanoid. I saw first-hand Raju and Viggy and many others marshall fellow alumni - raising record sums in record time. Not only that, under their leadership alumni drove down to the event to cheer BITS Pilani at the Robogames. Such a wonderful gesture! Team ACYUT was invited to and given rousing receptions in several Silicon Valley companies, TiE hosted an event, so did BITSAA. I saw the level of attachment and commitment alumni had in promoting young BITSians. Wow! these guys are EXACTLY who I imagined they were.</p>
<p style="font: normal normal normal 12px/normal Helvetica; min-height: 14px; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">Next, I had a unique back room view into BITSAA International&#8217;s rebirth - working directly with then CEO Ashish Garg. I helped in putting BITSAA International&#8217;s paperwork in order &amp; realized how all the &#8220;different BITSAA&#8217;s&#8221; I adored were working hard but not talking to each other. I also attended the first couple of Board of Trustees meetings minuting discussions - understanding the thinking at the highest levels of BITSAA&#8217;s leadership (especially the challenges they faced). In hindsight, there were many problems - a global alumni directory did not exist, a consistent annual fundraiser had never happened, finances and paperwork were not consistently maintained. Lots of alumni were interested in contributing but there was no structure, no inclusive organization which managed everything. Only the most passionate among alumni could sustain projects. When their enthu died, so did BITSAA. That is what SP Kothari, Ashish Garg and the then Board of Trustees were fighting and ended up creating a  &#8221;BITSAA Leaders Group&#8221; &amp; the BITSAA Leadership Program. BITSAA was now going to operate as a Corporate entity with a Board of Trustees, an empowered Executive Team and a pseudo-corporate hierarchy. For an all-volunteer group, I think it was a bold move an experiment whose time had come.</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">In 2008, as a newly christened BITS graduate I came to Texas for Grad school. Was disappointed that there was no Chapter in the area. Efforts were underway to recreate one. I ended up joining BITSAA&#8217;s new Technology Team - its newly assigned mandate: &#8220;Create BITSAA&#8217;s first global alumni directory&#8221;. I had the opportunity to work with Sarath Kolla, then CTO. I learnt from him about his more than 5 year long commitment as the CTO. It was all finally coming to fruition - a comprehensive all-in-one managed website, alumni directory, fundraising portal, e-store, career center, news portal, newsletter, bulk-mailing system etc. etc. Sarath was an amazing mentor not only for technical matters but for &#8220;How to be a leader&#8221; and &#8220;Get stuff done&#8221;. In addition to spending time on numerous technology/backend matters, application development etc., I was also managing the agenda and minutes for Sunday calls for the next two years. This gave me a unique vantage point to see, learn from and be inspired by the many BITSians who joined these calls on a dutiful, diligent basis - reported on the progress of their programs, initiatives - investigated failures, celebrated success together. This was a different somewhat unique experience but extremely rewarding to be a part of. I was a regular. There were so many programs that took off between 2008-2010: LPBP, Campus Relations, CEL, Sandpaper, two fundraising drives driven globally, BITS2Marathon, many new scholarships, travel grants for students and faculty and more. For the first time, BITS alumni were creating endowments which would last for decades. Alumni were donating money to help fallen BITSians (Seema Sood, Life for Manish). It was exhilarating!</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">Alas, all good things come to an end. One fine weekend, I got a call from the &#8220;Boss&#8221; (Ashish) saying he was hanging his boots and he was on the lookout for a successor. I was sad, tried to make him change his mind but he was &#8220;done&#8221;. Quite dutifully, I rattled off my recommendations (there were about a hundred people in the team then, 20-25 very active). Very quickly I realized that the &#8220;Boss&#8221; was drafting me in as his replacement!</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">Fast forward 2010, BITSAA had at its helm a young (somewhat untested) yet energetic executive team. The founding fathers had stepped down and it was up to gen-next to do it right. The first thing on our to do list was charting a way forward for the first BITSAA Global Meet. It was a great idea. We had to pull it through or drop it entirely. Every alumnus we spoke to encouraged us, had his own ideas about it. I would like to singularly congratulate Abhisheak for doggedly pursuing the BGM dream at this very early stage. After a lot of meetings, conference calls with Chapters &amp; BITS Leadership, we finally had everything sorted out. CS Goel, the dynamic leader of BITSAA&#8217;s oldest chapter - &#8220;BITSAA Delhi&#8221; had stepped up to the plate with his team. A marriage made in heaven - youth (the young BITSAA Intl volunteers) and experienced (the Delhi team have been doing this for the community for 30+ years). BITSAA could have its first BGM early 2011. Four years of planning was going to be put to the test. The biggest value BGM brought to the community was that it brought us together. Although it was a 3 day event, the 6+ month planning brought together chapter leaders, batch leaders, distinguished BITSians, ethued BITSians under one roof. We BITSians relish a challenge - and thats what we did. Chapters from Silicon Valley to Dubai to Australia - long lasting ones in Bangalore, Hyderabad, Chennai, Singapore put their heads together - conducted parallel events informing BITSians of the effort, encouraging everyone to join in the festivities. Long dormant chapters like Houston, Boston, Seattle, UK, Singapore, Arizona sprung to life. The BITS Leadership saw this as an excellent opportunity to solicit alumni support in the &#8220;Parivartan&#8221; they had been mulling for some time. Win-win-win for everyone. Overall, BGM2011 benefited from a concocted recipe for success on all fronts.</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">What&#8217;s BITSAA all about? Among other things, it&#8217;s an avenue for enthu&#8217;ed BITSians to put our minds together, bring our expertise, resources and talents together, contemplate, devise and deliver game-chaning projects for the alma-mater. That&#8217;s exactly what happened at BGM (as expected I may add!). Bringing the BITS campuses together with state-of-the-art video conferencing technology had long been identified as the need of the hour by the BITSEmbryo team led by Shashikant Khandelwal(theFIND) and Prof. Rahul Banerjee (BITS) (scroll up!). Potential impact and reach of such frameworks had already been demonstrated over several years through Project Embryo. The bottlenecks had been identified - end delivery of video conferencing needs to be improved. BITS had already made made strides in this regard under the leadership of the Chancellor KM Birla &amp; Kris Ramachandran. Bandwidth had been purchased (a long standing bottleneck out of the way). Classrooms need to be equipped to handle state of the art video conferencing infrastructure. If potential recruiters were to come into the campuses to hire, they need to be guaranteed unparalleled quality of service from the video-conferencing solution. If the leadership of the campuses wanted to have a virtual meeting to sort out administrative matters they need to use &#8220;No excuses&#8221; technology that &#8220;simply works&#8221;. If a distinguished visitor at one campus is making a speech to 2000 students in an auditorium, how can it be reliably webcast to the other campuses? How can a quality of service be guaranteed. When there is a will, there is a way. A volunteer army coalesced under the leadership of Prem Jain, the flag-bearer and alumni leader for projects like these. BITSConnect2.0 was born from BGM1.0. A comprehensive study of available technologies and fit for the alma-mater was started - request for quotes sent to the leading providers, detailed discussions held with BITS leadership -Prof. Rahul Banerjee playing a stellar role. After the technology fit was approved, price negotiations began. The BITS Leadership appeared very enthusiastic - &#8220;We wanted this years ago! This can bring a sea-change in the BITS system&#8221;. Mission accomplished. Let the fundraising begin..</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">BITSAA has been an integral part of my life for the past 5 years – I began as a volunteer in Project Embryo, worked in various roles within Technology Team, Operations/HR in an emerging BITSAA Organization. Over the past two years, I have had a chance to actively work with legends (like SP, Raju, Prem, Kris, Viggy, CS, Brij, Ashish, Anupendra, Sudeep, Sarath) who I think have become as close as family to me. It has been a lot of hard work and hours put in - lots of joy and yes occasional frustrations - my payback to BITS Pilani which has been the foundation for my life&#8217;s journey. Through my BITSAA experience, I have learnt professionally and personally. I would like to thank everyone who have come on this journey with me and given me the opportunity and honor to serve BITSAA. I have met some incredible BITSians along the way (like Arun Aravind, Abhisheak, Rohit, Vivek Iyer, Shashikant, SatP, VJ) who have had me redefine what &#8220;BITS Passion&#8221; really means - some of them have been going on upwards of a decade. I have had an extra intense last two years as BITSAA&#8217;s CEO. With a lot of BITSAA firsts and some missed opportunities - perhaps a once-in-a-lifetime experience at my age! I would like to thank all Board Members and SP, Raju, Ashish in particular for reposing faith in me and bequeathing their legacy - BITSAA Leaders. I hope I have done you all proud.</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">BITSAA, I feel today is at the at cusps of its next evolution under the dynamic leadership of its beloved new Chairman Raju Reddy and the now Global Board of Trustees. Flagship projects which they have nurtured beginning BGM2011 prep like BITSConnect2.0, BITS Spark and the umbrella &#8220;Bridges to the Future Campaign&#8221; need to be taken into high-gear, fulfilled and celebrated with full gusto. A new BGM 2014 Org Team needs to be put together. A more capable and energetic team who can do more justice to them has taken over - the dynamic Rohit Koul (&#8217;02) as the new CEO, the equally vociferous and committed Vijay Sharma (&#8217;06) as the new COO. &#8220;Maximizing the potential of BITSians and BITS Pilani&#8221; has begun with new visions, new beginnings, fresh minds and a renewed sense of purpose and direction.</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">BITSAA, in the next couple of years, in my opinion will need to focus on &#8220;alumni enrichment&#8221; - efforts for career improvement (online portal or in-person career fairs), promoting young entrepreneurs (BITS SPARKS) will make the network more relevant to the alumni. The more we get together for fellowship, the more we will devise projects benefitting our alma-mater. This is what most of the successful long-lasting chapters have been doing - Indore, Jaipur, Delhi, Australia, SVC. Getting together only when it is time to give is not a sustainable approach. BITSAA International in recent years, has focussed much on the mechanics - running things (scholarships, awards, programs etc). With the newly established  Office of Alumni Affairs at BITS taking full shape, BITSAA should transfer those obligations to BITS. That will free up our volunteer hours to promote existing programs - virtually or through chapter events. We can then figure out more says to enhance our bond as alumni, think of and execute programs benefitting alumni (job fairs, entrepreneurship, career growth, professional improvement etc). We can also find ways to collaborate and deliver on projects involving alumni worldwide. Chapter events which are held could be promoted to wider audiences - in person or virtually. We will be able to find ways to bring BITSians who are &#8220;out of the network&#8221; back into the fold. Alumni through BITSAA could potentially support BITS in other ways it has identified for us (outside of fundraising) - &#8220;identifying and hiring quality faculty&#8221;, &#8220;hiring graduate BITSians from the undergraduate and post-graduate programs&#8221;. &#8220;establishing new Practice School stations&#8221;, &#8220;setting up centers for excellence, Chair Professorships,&#8221; &#8220;leveraging their positions of influence in bringing to BITS&#8221; already available industry and government funding for research and teaching. The opportunities are endless. BITS resolve is strong. BITSians are the most passionate when it comes to BITS. The recipe, I feel is just about right. We just need to get going.</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">&nbsp;</p>
<p style="font: normal normal normal 12px/normal Helvetica; margin: 0px">Go BITS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=25</wfw:commentRss>
		</item>
		<item>
		<title>LWP failed with code[400]</title>
		<link>http://www.aalap.info/blog/?p=26</link>
		<comments>http://www.aalap.info/blog/?p=26#comments</comments>
		<pubDate>Wed, 11 Apr 2012 19:57:51 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=26</guid>
		<description><![CDATA[When installing Perl modules with cpan, it is possible to get a error due to the firewall. 

Fetching with LWP:
  ftp://cpan.cs.utah.edu/CPAN/authors/01mailrc.txt.gz
LWP failed with code[400] message[FTP return code 150]
Fetching with Net::FTP:
  ftp://cpan.cs.utah.edu/CPAN/authors/01mailrc.txt.gz

after doing:

perl -MCPAN -e shell
install


It typically hangs for a while while trying to fetch for a while over LWP or FTP
The simple fix [...]]]></description>
			<content:encoded><![CDATA[<p>When installing Perl modules with cpan, it is possible to get a error due to the firewall. </p>
<p><code><br />
Fetching with LWP:<br />
  ftp://cpan.cs.utah.edu/CPAN/authors/01mailrc.txt.gz<br />
LWP failed with code[400] message[FTP return code 150]<br />
Fetching with Net::FTP:<br />
  ftp://cpan.cs.utah.edu/CPAN/authors/01mailrc.txt.gz<br />
</code></p>
<p>after doing:<br />
<code><br />
perl -MCPAN -e shell<br />
install
<packagename>
</code></p>
<p>It typically hangs for a while while trying to fetch for a while over LWP or FTP<br />
The simple fix is:  <code> export FTP_PASSIVE=1 </code> before calling <code>sudo perl -MCPAN -e shell </code> or <code>sudo cpan </code> as the case may be.</p>
<p>The same thing ca be done within cpan with <code>o conf ftp_passive</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=26</wfw:commentRss>
		</item>
		<item>
		<title>Giving a Root User Remote Access to a mySQL database</title>
		<link>http://www.aalap.info/blog/?p=24</link>
		<comments>http://www.aalap.info/blog/?p=24#comments</comments>
		<pubDate>Fri, 30 Mar 2012 00:48:52 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Techie Stuff-Linux]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=24</guid>
		<description><![CDATA[I happen to be within a firewalled environment and I wanted to simply login as the root user for a mysql server from a development machine. Well, security purists would scoff at the idea, but I needed it (running some scripts as root from the dev machine).
The issue is mysql out-of-the-box is configured to explicitly [...]]]></description>
			<content:encoded><![CDATA[<p>I happen to be within a firewalled environment and I wanted to simply login as the root user for a mysql server from a development machine. Well, security purists would scoff at the idea, but I needed it (running some scripts as root from the dev machine).</p>
<p>The issue is mysql out-of-the-box is configured to explicitly dis-allow root from log in from anything other than the local machine.</p>
<p>Enabling remote access for any user is easy. Most of us have gone through this as part of mysql setup :</p>
<p>Step 1: On the mySQL server:<br />
<code><br />
sudo vi /etc/my.cnf<br />
</code></p>
<p>Look for the line that says<br />
<code><br />
bind-address=YOUR-SERVER-IP<br />
</code><br />
Change that to:<br />
<code><br />
bind-address=YOUR-SERVER-IP<br />
</code></p>
<p>Step 2: Restart mysql service<br />
<code><br />
sudo /etc/init.d/mysql restart<br />
</code></p>
<p>All&#8217;s well. As long as individual users have been given permissions to a database through something like:<br />
<code><br />
GRANT ALL ON *.* TO foo@bar IDENTIFIED BY 'PASSWORD';<br />
</code></p>
<p>Now what if I want the same for root? We need to update the allowed permissions for root on the server side with the following simple steps.</p>
<p><code> mysql -uroot -p<br />
</code></p>
<p>To Check what&#8217;s the current state of user,host login permissions we&#8217;ll lookup the default mysql table elegantly named: mysql.</p>
<p><code><br />
mysql&gt; use mysql;<br />
mysql&gt; select host, user from user;<br />
+—————+——————+<br />
| host | user |<br />
+—————+——————+<br />
| myhostname | root |<br />
| localhost | root |<br />
| %          | myusername |<br />
| myhostname | myusername |<br />
+—————+——————+<br />
3 rows in set (0.00 sec)<br />
</code></p>
<p>It seems that a non-root user &#8216;myusername&#8217; was indeed allowed to login from anywhere. This is not the case for root. Now I’ll update the &#8216;myhostname&#8217; entry to use the wildcard &#8216;%&#8217;, and then issue the command to reload the privilege tables.</p>
<p><code> mysql&gt;update user set host=’%’ where user=’root’ and host=’myhostname’;<br />
mysql&gt;flush privileges;<br />
</code></p>
<p>Now, here&#8217;s the catch: It&#8217;s important to <strong>update</strong> the entry where host=’myhostname’. Inserting a fresh row will not work. Now you should be able to login from a remote machine (say a development box) to the mysql server as root. Any perl scripts will work fine. If this is not enabled on the remote machine, mysql command-line or any scripts for instance will look for &#8216;root&#8217;@'the-development-machine&#8217; instead of &#8216;root&#8217;@'myhostname&#8217;. Thereby confusing the heck out of you.</p>
<p><code> $mysql -u root -h myhostname -p<br />
</code></p>
<p>This simple fix gave me a headache for sometime. So, this is a note to self.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>Installing DBD::mysql on Mac OS X Lion</title>
		<link>http://www.aalap.info/blog/?p=23</link>
		<comments>http://www.aalap.info/blog/?p=23#comments</comments>
		<pubDate>Thu, 22 Mar 2012 00:38:04 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Techie Stuff - Mac]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=23</guid>
		<description><![CDATA[I was trying to install the perl module DBD::mysql on Mac OS X Lion. I faced some hassles. Here are a couple of useful links (Thanks!). I had some peculiar problems of my own, so this post is a &#8220;note-to-self&#8221; for the next time :
http://blogs.perl.org/users/phillip_smith/2012/03/installing-dbdmysql-on-mac-os-x-107-lion.html
http://probably.co.uk/problems-installing-dbdmysql-on-os-x-snow-leopard.html
According to Joe Di Pol’s blog, OS X works slightly backwards to [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to install the perl module DBD::mysql on Mac OS X Lion. I faced some hassles. Here are a couple of useful links (Thanks!). I had some peculiar problems of my own, so this post is a &#8220;note-to-self&#8221; for the next time :</p>
<p>http://blogs.perl.org/users/phillip_smith/2012/03/installing-dbdmysql-on-mac-os-x-107-lion.html</p>
<p>http://probably.co.uk/problems-installing-dbdmysql-on-os-x-snow-leopard.html</p>
<p><code><span class="Apple-style-span" style="color: #333333; font-family: Tahoma, Arial, Helvetica, sans-serif; line-height: 22px">According to <a href="http://blogs.sun.com/dipol/entry/dynamic_libraries_rpath_and_mac" target="_blank" style="border-style: initial; border-color: initial; font-size: 13px; vertical-align: baseline; color: #4a630f; text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; border-width: 0px; padding: 0px; margin: 0px">Joe Di Pol’s blog</a>, OS X works slightly backwards to what most of us from Linux and Solaris backgrounds understand – compiled binaries look at a dynamic library, which in turns says where it is, rather than the traditional way of thinking which is to include a library search path in the compiled binary.</span></code></p>
<p><code><span class="Apple-style-span" style="color: #333333; font-family: Tahoma, Arial, Helvetica, sans-serif; line-height: 22px"></span><br />
cpan[1]&gt; install DBD::mysql<br />
</code></p>
<p>So, when it comes down to testing (make test), it fails.</p>
<p><code>#   Failed test 'use DBD::mysql;'<br />
#   at t/00base.t line 21.<br />
#     Tried to use 'DBD::mysql'.<br />
#     Error:  Can't load '/Users/aalap/.cpan/build/DBD-mysql-4.020-9nL8LG/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/aalap/.cpan/build/DBD-mysql-4.020-9nL8LG/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Library not loaded: libmysqlclient.18.dylib<br />
</code></p>
<p>There are two solutions:</p>
<ol>
<li>Symlinking ‘libmysqlclient.XX.dylib’ from ‘/usr/local/mysql/lib’ to ‘/usr/lib/’ (where XX is the version of the library that is available to link to).</li>
<li>Run install_name_tool command, install DBD::mysql buillds</li>
<p><code><br />
sudo install_name_tool -id /usr/local/mysql-5.5.21-osx10.6-x86_64/lib<br />
</code></p>
<p><code><br />
otool -D `mdfind libmysqlclient.18.dylib`<br />
</code></ol>
<p>Alas, it still failed for me. Building successfully doesn&#8217;t mean it is installed. CPAN performs make install only after make test. I had changed my root password. The Makefile expects &#8220;&#8221; (NULL) password. I had to pass a valid user and a valid password. Passing arguments to the Makefile to ensure that the tests run using a proper MySQL user (the Makefile defaults to the system user running the tests, if no other user is provided, which fails for me as that user doesn’t exist). After a few more turns I realized, it lacks permissions to place some files in /Library/Perl/5.12/darwin-thread-multi-2level/Bundle/DBD. I decided to use root and run sudo CPAN. The way to do it is:</p>
<p><code><br />
cpan[2] o conf makepl_arg "--testuser=root --testpassword=Whatever_my_password_is"<br />
</code></p>
<p>Now run install DBD::mysql again<br />
<code><br />
cpan[3] install DBD::mysql<br />
</code></p>
<p>Yoohoo..</p>
<p><code><br />
Running make install<br />
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree<br />
Installing /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bs<br />
Installing /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle<br />
Installing /Library/Perl/5.12/darwin-thread-multi-2level/Bundle/DBD/mysql.pm<br />
Installing /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql.pm<br />
Installing /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/GetInfo.pm<br />
Installing /Library/Perl/5.12/darwin-thread-multi-2level/DBD/mysql/INSTALL.pod<br />
Installing /usr/local/share/man/man3/Bundle::DBD::mysql.3pm<br />
Installing /usr/local/share/man/man3/DBD::mysql.3pm<br />
Installing /usr/local/share/man/man3/DBD::mysql::INSTALL.3pm<br />
Appending installation info to /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level/perllocal.pod<br />
CAPTTOFU/DBD-mysql-4.020.tar.gz<br />
/usr/bin/make install  -- OK<br />
</code></p>
<p>All&#8217;s well that end&#8217;s well. Annoying errors had me stuck me for a while.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=23</wfw:commentRss>
		</item>
		<item>
		<title>Passwordless Log in to Linux</title>
		<link>http://www.aalap.info/blog/?p=21</link>
		<comments>http://www.aalap.info/blog/?p=21#comments</comments>
		<pubDate>Sat, 05 Nov 2011 22:47:32 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Techie Stuff-Linux]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=21</guid>
		<description><![CDATA[I was annoyed with having to enter passwords across multiple machines multiple times. this is something straight-forward..
On the Server (Machine to connect to):
Ensure PublicKeyAuthentication and RSA Authentication is accepted

vi /etc/ssh/sshd_config

Uncomment lines:

RSAAuthentication yes
PubkeyAuthentication yes

Restart SSH server

CentOS / RHEL / Fedora / Redhat Linux Restart SSH
# /etc/init.d/sshd restart
OR
# service sshd restart
Debian / Ubuntu Linux Restart SSH
# /etc/init.d/ssh [...]]]></description>
			<content:encoded><![CDATA[<p>I was annoyed with having to enter passwords across multiple machines multiple times. this is something straight-forward..</p>
<p>On the Server (Machine to connect to):</p>
<p>Ensure PublicKeyAuthentication and RSA Authentication is accepted</p>
<p><code><br />
vi /etc/ssh/sshd_config<br />
</code></p>
<p>Uncomment lines:</p>
<p><code><br />
RSAAuthentication yes<br />
PubkeyAuthentication yes<br />
</code></p>
<p>Restart SSH server</p>
<p><code><br />
<strong>CentOS / RHEL / Fedora / Redhat Linux Restart SSH</strong><br />
# /etc/init.d/sshd restart<br />
OR<br />
# service sshd restart</code></p>
<p><code><strong>Debian / Ubuntu Linux Restart SSH</strong><br />
# /etc/init.d/ssh restart<br />
OR<br />
# service ssh restart</code></p>
<p><code><strong>FreeBSD Restart SSH</strong><br />
# /etc/rc.d/sshd restart</p>
<p></code><code></code><code><strong>UNIX Restart SSH</strong><br />
# kill -HUP `cat /var/run/sshd.pid`<br />
</code></p>
<p>On the Client (Machine to connect from)</p>
<p>Create public/private keypairs (~/.ssh/id_rsa and ~/.ssh/id_rsa.pub)</p>
<p><code><br />
ssh-keygen -t rsa<br />
</code></p>
<p><code><br />
Generating public/private rsa key pair.<br />
Enter file in which to save the key (/home/aalap/.ssh/id_rsa):<br />
Enter passphrase (empty for no passphrase):<br />
Enter same passphrase again:<br />
Your identification has been saved in /home/aalap/.ssh/id_rsa.<br />
Your public key has been saved in /home/aalap/.ssh/id_rsa.pub.<br />
</code></p>
<p>Although it is very much possible to copy the contents of ~/.ssh/id_rsa.pub (on the client) to ~/.ssh/authorized_keys (on the server), it is easier to do it from the client side using ssh-copy-id</p>
<p><code><br />
ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote_host<br />
</code></p>
<p>Okay, I have multiple machines to connect to: What should I do? Use the same key-pair?<br />
Yes, you probably can, what that means is that if its gets compromised you will have to go to each and every system you use the same shared key on and revoke the public key manually. There is a security risk but it works fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=21</wfw:commentRss>
		</item>
		<item>
		<title>Setting up SSH-RSA with Putty - No Password necessary</title>
		<link>http://www.aalap.info/blog/?p=19</link>
		<comments>http://www.aalap.info/blog/?p=19#comments</comments>
		<pubDate>Mon, 02 Aug 2010 22:00:00 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Techie Stuff-Linux]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=19</guid>
		<description><![CDATA[[Source]
SSH Protocol

SSH (Secure Shell) is a network protocol that provides secure access  to a computer (mostly Unix based).  When you want to connect to a remote  Unix server, SSH is one way of accessing the server. SSH is very  powerful by combining both security of the data transmitted over network  and [...]]]></description>
			<content:encoded><![CDATA[<p>[<a href="http://" title="http://www.codelathe.com/blog/index.php/2009/02/20/ssh-without-password-using-putty/" target="_blank">Source</a>]</p>
<p><span style="text-decoration: underline"><strong>SSH Protocol<br />
</strong></span></p>
<p>SSH (Secure Shell) is a network protocol that provides secure access  to a computer (mostly Unix based).  When you want to connect to a remote  Unix server, SSH is one way of accessing the server. SSH is very  powerful by combining both security of the data transmitted over network  and accessibility to the remote system. SSH protocol works between two  computers by a client-server architecture. When a client computer  connects to the server, the server requires the client to authenticate  itself. There are different ways a client can authenticate itself to the  server. A typical authentication mode will be to enter a password when  logging into a remote system. In this howto we can explore another mode  of authentication in which server doesn’t require a password to be  entered by the user. This mode will be very useful if you are connecting  to a remote system frequently and dont want to enter the password  everytime.</p>
<p>Before we see the steps, just to give a background on the components involved:</p>
<p><span style="text-decoration: underline"><strong>SSH SERVER</strong></span></p>
<p>When you need to connect to a remote computer via SSH, that computer  should have a SSH server running on it. All Unix based distributions (  Linux, Mac OSX etc.,) includes a ssh server. For Windows based systems  Cygwin can be used as an SSH server.</p>
<p><span style="text-decoration: underline"><strong>SSH CLIENT</strong></span></p>
<p>Assuming your remote computer has an SSH server running on it, to  connect to that computer you would need a SSH client on the local  computer. On Unix based systems, SSH clients are available as command  line utilities. For Windows based systems, putty is an excellent client.  Check <a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.chiark.greenend.org.uk');" target="_blank">here </a>for more information about putty.</p>
<p><span style="text-decoration: underline"><strong>CONFIGURATION</strong></span></p>
<ol>
<li>We start the configuration at the client windows computer. Download the latest version of Putty.exe and Puttygen.exe from  <a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.chiark.greenend.org.uk');" target="_blank">here.</a>  Using the Puttygen tool we have to generate an authentication key. This  key will serve as a substitute for the password that will be entered  during login.<a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/" target="_blank"><br />
</a></li>
<li>Start puttygen.exe by double clicking on the executable. The following window opens up.</li>
<li>Leave the default ‘SSH-2 RSA’ selection and click on the ‘Generate’  button. The following window opens. Move mouse randomly over the empty  space below the progress bar to create some randomness in the generated  key.</li>
<li>Don’t enter any key phrase. Click on ‘Save private Key’ button. Click  ‘Yes’ on the window asking for confirmation for saving the key without a  password.</li>
<li>Save the key file to a safe location (Let us assume you will be saving it as C:\Personal\SSHKey\Laptop.ppk).</li>
<li>Now you can close the Puttygen window.</li>
<li>Open the Laptop.ppk file in a notepad. Copy the four lines under ‘Public-Lines’ section to windows clipboard.</li>
<li>Now open putty and connect to the remote system using the user id  you want to use for future no password connections. (Let us assume you  will connect to the remote machine using user name ‘ubu’. This time when  you login, you have to provide the password at the prompt. Future  logins won’t require this password.</li>
<li>Under the logged in user’s  home directory there will be .ssh  directory, under that create a new  file called authorized_keys using a  text editor such as vi. (In our case the file will be created under  /home/ubu/.ssh/authorized_keys).</li>
<li>Type the word ” ssh-rsa ” (including  spaces on both ends of the  word) and paste the 4 lines copied from step 7. Remove the carriage  return at end of each line, merging four lines into one single line. Be  careful not to delete any characters while doing that.  Final output  should like the following window.</li>
<li>Now we have configured SSH server, its time to test our setup.</li>
<li>On the local system, open Putty, enter the ip address details of the remote system.</li>
<li>Now from the left navigation, select Connection -&gt; Data. Enter ‘ubu’ as ‘Auto-login username’ on the right panel.</li>
<li>Again from the left navigation menu, scroll down and select Connection  -&gt; SSH -&gt; Auth. Enter the path of the saved private key file ( In  our case C:\Personal\SSHKey\Laptop.ppk ). Leave other defaults as such  and press open button.</li>
<li>Now the putty connects to the remote SSH server and there won’t be any password prompt here after :-).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=19</wfw:commentRss>
		</item>
		<item>
		<title>Posse Comitatus</title>
		<link>http://www.aalap.info/blog/?p=17</link>
		<comments>http://www.aalap.info/blog/?p=17#comments</comments>
		<pubDate>Thu, 04 Dec 2008 07:29:23 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[The West Wing]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=17</guid>
		<description><![CDATA[In the third season finale of the &#8220;West Wing&#8221;, President Bartlet makes a life-or-death decision regarding a foreign diplomat who is a known terrorist. He ponders the situation during a charity benefit performance of a Shakespeare play about another conflicted leader, Henry VI. This is very intelligently interspersed with patriotic music &#8220;England Arise&#8221; from Shakespeare&#8217;s War [...]]]></description>
			<content:encoded><![CDATA[<p>In the third season finale of the <a href="http://en.wikipedia.org/wiki/The_West_Wing_(TV_series)" target="_blank" title="The West Wing Wiki">&#8220;West Wing&#8221;</a>, President Bartlet makes a life-or-death decision regarding a foreign diplomat who is a known terrorist. He ponders the situation during a charity benefit performance of a Shakespeare play about another conflicted leader, Henry VI. This is very intelligently interspersed with patriotic music &#8220;England Arise&#8221; from Shakespeare&#8217;s War of the Roses play which is on show. Look at the video below.  The Music and lyrics are actually by Stephen Oliver and are from <em>The Life and Adventures of Nicholas Nickelby</em>.Amazing Drama and sound effects!By the way, the episode name refers to the Posse Comitatus Act of 1878. In its most simplistic sense, this law prohibits the US armed (uniformed) forces (the Army, Air Force) from exercising law enforcement powers. Imagine, the conflict - the President here is giving an &#8220;illegal&#8221; assassination order and again asking for the military to handle it. Watch the full episode for the push and pulls behind this decision. But, the ending is simply marvelous. What do you think?The lyrics of the song below:<br />
<blockquote><em>England arise! Join in the chorus!It is a new made song you should be singing.See in the skies, flutt&#8217;ring before uswhat the bright bird of peace is bringing!See upon our smiling landwhere the wealths of nations standwhere prosperity and industry walkever hand in hand.Where so many blessings crowd,&#8217;tis our duty to be proud.Up and answer, English Yeoman,sing it joyfully aloud.Evermore upon our countryGod will pour his rich increase,And victorious in war shall be made glorious in peace,And victorious in war shall be made glorious in peace.</em><em>See each one do what he can to further God&#8217;s almighty plan.The benificence of heaven help the skilfulness of man.Ev&#8217;ry garner fill&#8217;d with grain, Ev&#8217;ry meadow blest with rain:Rich and fertile is the golden corn that bear and bears again.</em><em>Where so many blessings crowd,&#8217;Tis our duty to be proud.Up and answer, fellow Britons,sing it joyfully aloud.</em><em>Evermore upon our countryGod will pour his rich increaseAnd victorious in war shall be made glorious in peace,And victorious in war shall be made glorious in peace.</em> </p></blockquote>
<p><code><a href="http://www.youtube.com/watch?v=UTVtcZc8MGc"></a></code><a href="http://www.youtube.com/watch?v=UTVtcZc8MGc"></a><a href="http://www.youtube.com/watch?v=UTVtcZc8MGc"><code><object width="320" height="265">
<param name="movie" value="http://www.youtube.com/v/UTVtcZc8MGc&amp;hl=en&amp;fs=1&amp;rel=0"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/UTVtcZc8MGc&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"></embed></object></code></a></p>
<p><a href="http://www.youtube.com/watch?v=UTVtcZc8MGc"> </a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=17</wfw:commentRss>
		</item>
		<item>
		<title>Create a 3D Face from a Single Photo</title>
		<link>http://www.aalap.info/blog/?p=16</link>
		<comments>http://www.aalap.info/blog/?p=16#comments</comments>
		<pubDate>Thu, 04 Dec 2008 06:35:09 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Image to 3D Object]]></category>

		<category><![CDATA[Cool Stuff]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=16</guid>
		<description><![CDATA[This was something amazing that I came across tonight. I always thought that technologies like this would exist only with the Government and big corporations. But, it is here. I am looking forward to the day when this could be physically rendered at the same speed.
http://www.youtube.com/watch?v=gXLvUY2Rz2w




]]></description>
			<content:encoded><![CDATA[<p>This was something amazing that I came across tonight. I always thought that technologies like this would exist only with the Government and big corporations. But, it is here. I am looking forward to the day when this could be physically rendered at the same speed.</p>
<p><code><a href="http://www.youtube.com/watch?v=gXLvUY2Rz2w">http://www.youtube.com/watch?v=gXLvUY2Rz2w</a></code></p>
<p><code><object width="320" height="265">
<param name="movie" value="http://www.youtube.com/v/BsFj1-fvbkA&#038;hl=en&#038;fs=1&#038;rel=0"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/BsFj1-fvbkA&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"></embed></object></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=16</wfw:commentRss>
		</item>
		<item>
		<title>Objectivity and the European Union</title>
		<link>http://www.aalap.info/blog/?p=12</link>
		<comments>http://www.aalap.info/blog/?p=12#comments</comments>
		<pubDate>Wed, 09 Jan 2008 13:08:23 +0000</pubDate>
		<dc:creator>Aalap</dc:creator>
		
		<category><![CDATA[Reading : "Yes Minister"]]></category>

		<guid isPermaLink="false">http://www.aalap.info/blog/?p=12</guid>
		<description><![CDATA[My interest in reading brought me to another classic &#8220;The Complete - Yes Minister&#8221; by Jonathan Lynn and Antony Jay which I have been re-reading for the past few days. My dad has an amazing collection of &#8220;delectable&#8221; books. (I know - should be food!! but hey this is &#8220;My&#8221; Blog and &#8220;My Rules&#8221;) Since [...]]]></description>
			<content:encoded><![CDATA[<p>My interest in reading brought me to another classic &#8220;The Complete - Yes Minister&#8221; by Jonathan Lynn and Antony Jay which I have been re-reading for the past few days. My dad has an amazing collection of &#8220;delectable&#8221; books. (I know - should be food!! but hey this is &#8220;My&#8221; Blog and &#8220;My Rules&#8221;) Since I am crazy for bureaucracy and red-tapeism which my Dad &#8220;supposedly&#8221; practices daily in Office, I kind of find these books funny and humorous. I remember a time when I was probably in second or third grade that &#8220;Yes Minister&#8221; used to come in on Doordarshan. Even then I had an enjoyable time pulling Dad&#8217;s legs.</p>
<p>Ok. this blog post is about something very interesting I read. I will make the effort of typing it all in full :</p>
<p>Jim Hacker, the Minister in charge of the fictitious Department of Administrative Affairs (DAA) in Her Majesty&#8217;s Government says - &#8220;We went into the EEC (the old version of the European Union) to strengthen the international brotherhood of free nations&#8221;</p>
<p>To this Sir Humphrey Appleby, the Permanent Under Secretary to the DAA (the Departmental Head, roughly equivalent to what my Dad is in the State Government) says - &#8220;We went in to screw the French by spitting them off from the Germans. The French went in to protect their inefficient farmers from commercial competition. The Germans went in to cleanse themselves of genocide and apply for readmission to the human race.&#8221;</p>
<p>Cynical no doubt. But Sir Humprey did make a point here.  Of course realities today might be evaluated differently. But this coming in a comic composition almost a generation back (I have a 1997 reprint) has had me thinking. What do you say ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aalap.info/blog/?feed=rss2&amp;p=12</wfw:commentRss>
		</item>
	</channel>
</rss>

