<?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>texens</title>
	<atom:link href="http://blog.texens.in/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.texens.in</link>
	<description>Hello World !</description>
	<lastBuildDate>Mon, 14 Nov 2011 08:49:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>MySQL db replication</title>
		<link>http://blog.texens.in/2011/11/12/mysql-db-replication/</link>
		<comments>http://blog.texens.in/2011/11/12/mysql-db-replication/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 22:42:53 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[db replication]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.texens.in/?p=390</guid>
		<description><![CDATA[This is a step by step guide to setup database replication for MySQL. In this replication setup, there are primarily two (or more) database servers &#8211; master and slave. The two databases are exact copies i.e. they have exactly same data. Any operation done on the master is immediately executed on the  slave as well [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-345" title="mysql" src="http://blog.texens.in/wp-content/uploads/2011/05/mysql-logo.gif" alt="" width="200" height="145" />This is a step by step guide to setup database replication for MySQL. In this replication setup, there are primarily two (or more) database servers &#8211; master and slave. The two databases are exact copies i.e. they have exactly same data. Any operation done on the master is immediately executed on the  slave as well and hence the two are synced.</p>
<p>Steps 1 : We need to configure the master and prepare it for replication</p>
<p>Edit my.cnf file and enable networking for master. Also, allow MySQL to communicate with other machines. Depending on your flavour of linux, you can locate my.cnf file in /etc/my.cnf or /etc/mysql/my.cnf. Comment out the following two lines.</p>
<blockquote><p>#skip-networking<br />
#bind-address            = 127.0.0.1</p>
<p>Next, we restart mysql to bring the aforementioned changes into effect.</p></blockquote>
<p>Step 2 : Log into the MySQL database as root and create a user with replication privileges.</p>
<blockquote><p>GRANT REPLICATION SLAVE ON *.* TO &#8216;repl&#8217;@'%&#8217; IDENTIFIED BY &#8216;&lt;my_password&gt;&#8217;;<br />
FLUSH PRIVILEGES;</p></blockquote>
<p>Step 3 : Now, we need to lock down the MySQL</p>
<blockquote><p>USE mydatabase;</p>
<p>FLUSH TABLES WITH READ LOCK;</p>
<p>SHOW MASTER STATUS;</p></blockquote>
<p>You will get the following information back</p>
<blockquote><p>mysql&gt; SHOW MASTER STATUS;<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| File                             | Position        | Binlog_Do_DB  | Binlog_Ignore_DB |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
| mysql-bin.000004 | 466435744  |                                 |                                       |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<br />
1 row in set (0.00 sec)</p></blockquote>
<p>Save this information as it is going to be used while configuring the slave.</p>
<p>Take a dump of the master.</p>
<blockquote><p>mysql -u root -p&lt;my_password&gt; &#8211;opt mydatabase &gt; mydatabase.sql</p></blockquote>
<p>Once, the aforementioned information has been noted down, we can unlock MySQL.</p>
<blockquote><p>UNLOCK TABLES;</p></blockquote>
<p>Step 4 : Coming on to the slave, first we need to create the database.</p>
<blockquote><p>CREATE DATABASE mydatabase;</p></blockquote>
<p>Now, copy the sql dump from master server to the slave server. You can use scp to transfer the sql dump file</p>
<blockquote><p>scp mydatabase.sql slave_user@slave_machine:/tmp/mydatabase.sql</p>
<p>mysql -u root -p&lt;my_password&gt; mydatabase &lt; /tmp/mydatabase.sql</p></blockquote>
<p>Step 5 : Now we need to configure the slave</p>
<p>Open my.cnf file and append the following lines</p>
<blockquote><p>server-id=2<br />
master-host=master_server_ip<br />
master-user=repl<br />
master-password=mypassword<br />
master-connect-retry=60<br />
replicate-do-db=mydatabase</p></blockquote>
<p>Now, restart mysql</p>
<blockquote><p>sudo /etc/init.d/mysql restart</p></blockquote>
<p>Step 6 : Next, log into mysql and execute the following commands</p>
<blockquote><p>SLAVE STOP;</p>
<p>CHANGE MASTER TO MASTER_HOST=&#8217;master_host_address&#8217;, MASTER_USER=&#8217;repl&#8217;, MASTER_PASSWORD=&#8217;&lt;my_password&gt;&#8217;, MASTER_LOG_FILE=&#8217;mysql-bin.004&#8242;, MASTER_LOG_POS=466435744;</p></blockquote>
<p>Finally, we need to stare the slave</p>
<blockquote><p>SLAVE START;</p></blockquote>
<p>Now the replication should be in effect. You can test if the replication has been successfully implemented by adding a row in any of the tables in the master, and the same will be added to the slave as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2011/11/12/mysql-db-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to host multiple domains on the same machine</title>
		<link>http://blog.texens.in/2011/10/27/how-to-host-multiple-domains-on-the-same-machine/</link>
		<comments>http://blog.texens.in/2011/10/27/how-to-host-multiple-domains-on-the-same-machine/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 16:15:59 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.texens.in/?p=360</guid>
		<description><![CDATA[In the last article we saw how one can get himself a domain name and host his own website using Amazon Web Services (AWS). In this post we&#8217;ll see how to host multiple domains on the same machine. Why would you want to do this. The reason is simple and plenty: You may have just [...]]]></description>
			<content:encoded><![CDATA[<p>In the last article we saw how one can get himself a domain name and host his own website using Amazon Web Services (AWS). In this post we&#8217;ll see how to host multiple domains on the same machine. Why would you want to do this. The reason is simple and plenty: You may have just one machine but more than one sites that you want to host. If you&#8217;re using Apache/httpd web server, its pretty straight forward.</p>
<p>Locate your httpd.conf file, usually its sitting somewhere in</p>
<pre>/etc/httpd/conf/httpd.conf</pre>
<p>or</p>
<pre>/etc/apache2/httpd.conf</pre>
<p>&nbsp;</p>
<p>Now, we need to add a couple lines to this file so that it can support multiple domains on the same machine.</p>
<pre>NameVirtualHost *:80

&lt;VirtualHost *:80&gt;
    ServerAdmin amitshanker@acm.org
    DocumentRoot /var/www/www.texens.in
    ServerName texens.in
    ServerAlias www.texens.in
&lt;/VirtualHost&gt;

&lt;VirtualHost *:80&gt;
    ServerAdmin amitshanker@acm.org
    DocumentRoot /var/www/www.blog.texens.in
    ServerName blog.texens.in
    ServerAlias www.blog.texens.in
&lt;/VirtualHost&gt;</pre>
<p>&nbsp;</p>
<p>The aforementioned configuration allows for the following two domains to map to the same machine: <em>texens.in</em> as well as <em>blog.texens.in </em>. The DocumentRoot tells where exactly to look for the files corresponding to that domain. For example, texens.in will look at /var/www/www.texens.in for the corresponding web pages. We can add multiple domains using the <em>&lt;VirtualHost&gt; </em>tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2011/10/27/how-to-host-multiple-domains-on-the-same-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get yourself a website !</title>
		<link>http://blog.texens.in/2011/10/09/how-to-get-yourself-a-website/</link>
		<comments>http://blog.texens.in/2011/10/09/how-to-get-yourself-a-website/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 18:49:21 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.texens.in/?p=347</guid>
		<description><![CDATA[When I was a student in college, I spend a couple days learning HTML. Given the ease with which you can write HTML, I very soon build myself a couple pages just for fun. Our college used to provide us free webspace to host our own website and I used it to host my personal [...]]]></description>
			<content:encoded><![CDATA[<p>When I was a student in college, I spend a couple days learning HTML. Given the ease with which you can write HTML, I very soon build myself a couple pages just for fun. Our college used to provide us free webspace to host our own website and I used it to host my personal homepage.</p>
<p>But there were many a limitations with the hosting provided by our Computer Science and Engineering Department (mostly due to security and disk space constraints), so I decided to host my website elsewhere.</p>
<p>To get yourself a website you need two very basic things:</p>
<ol>
<li>Domain name (example: http://texens.in)</li>
<li>Hosting space (the location on a webserver where all your files live)</li>
</ol>
<div>You can get both the aforementioned items for free (And obviously like most free things there will be limitations). But for a beginner, its more than enough.</div>
<p>I remember using http://freedomain.co.nr in my college days to get a free domain. Its not exactly a domain but a codomain. You&#8217;ll get something like texens.freedomain.co.nr. But its not bad when you&#8217;re getting it for free. If you can shell out a couple hundred rupees, you can buy yourself a domain from a reseller. There are tons of them out there &#8211; godaddy.com, netspaceindia.com, etc..</p>
<p>The cost of the domain name varies &#8211; you can get a .info for a 100 Rupees while a .com may cost you upwards of 500 Rupees. You can buy multiple domains and direct them to the same site.</p>
<p>As far as hosting space is concerned, a lot of website give free hosting space. They also provide one or more databases which you can use for your website. I remember using 5gigs.net back in the college days. They provide 5 GB free space along with two databases. These hosting providers have cPanel which one can use to manage various services such as mailers, databases, emails, etc.</p>
<p>These hosting providers run their own PHP servers in the backend and the only limitation is that you can&#8217;t get access to the servers. So, if you want to install a module to the apache server, you just can&#8217;t. To overcome this, you can use Amazon&#8217;s EC2 (<a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a>). They provide a micro instance for a year absolutely free. The beauty about Amazon&#8217;s EC2 is that you can install the operating system, and packages of your choice. They provide a virtual machine and a lot of addon services like storage, email etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2011/10/09/how-to-get-yourself-a-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Complaints via SMS (Bangalore Traffic Police)</title>
		<link>http://blog.texens.in/2011/09/21/auto-complaints-via-sms-bangalore-traffic-police/</link>
		<comments>http://blog.texens.in/2011/09/21/auto-complaints-via-sms-bangalore-traffic-police/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 16:50:52 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[Bangalore]]></category>
		<category><![CDATA[Auto Complaint]]></category>
		<category><![CDATA[Bangalore Traffic Police]]></category>
		<category><![CDATA[BTP]]></category>

		<guid isPermaLink="false">http://blog.texens.in/?p=312</guid>
		<description><![CDATA[A couple days back, on my way to work I came across a traffic police constable who was distributing these mini booklets among the pedestrians passing by. Apparently the Bangalore Traffic Police has come up with some really cool IT enables services to help out the Bangaloreans. I&#8217;m not sure if these services have been [...]]]></description>
			<content:encoded><![CDATA[<p>A couple days back, on my way to work I came across a traffic police constable who was distributing these mini booklets among the pedestrians passing by. Apparently the Bangalore Traffic Police has come up with some really cool IT enables services to help out the Bangaloreans. I&#8217;m not sure if these services have been in service for long, because this was the first time I came across it. But I&#8217;m guessing that 90 % of the Bangaloreans are unaware of these very helpful services and hence this blog post.</p>
<p>The content of the pamphlet goes like this:</p>
<p>&nbsp;</p>
<p>Now you can avail information regarding Parking Situation, Pending Violation Notices and Vehicle Ownership details by SMS</p>
<h3>4 WHEELER PARKING INFORMATION</h3>
<p>To get latest information on 4 wheeler parking space availability by sending SMS</p>
<blockquote><p>BITS&lt;SPACE&gt;PARK to 52225</p></blockquote>
<p>Example: BITS PARK    (Send to 52225)</p>
<p>&nbsp;</p>
<h3>TRAFFIC VIOLATION PENDING NOTICE</h3>
<p>You can get information on the pending challans of your vehicle by sending SMS</p>
<blockquote><p>BITS&lt;SPACE&gt;FINE&lt;SPACE&gt;VEHICLE NO.</p></blockquote>
<p>Example: BITS FINE KA01XY1234  (Send to 52225)</p>
<h3></h3>
<h3>VEHICLE OWNERSHIP DETAILS</h3>
<ol>
<li>Did you sell your vehicle?</li>
<li>Is ownership transferred?</li>
</ol>
<p>You can get current owner&#8217;s information of a vehicle by sending SMS.</p>
<blockquote><p>BITS&lt;SPACE&gt;RTO&lt;SPACE&gt;VEHICLE NO.</p></blockquote>
<p>Example: BITS RTO KA01XY1234  (Send to 52225)</p>
<p>If not transferred, visit RTO and get it done or you will continue to receive violation tickets</p>
<p>&nbsp;</p>
<h3><strong>USEFUL CONTACT NUMBERS</strong></h3>
<blockquote><p>Police Control Room : 100</p>
<p>Ambulance : 108</p>
<p>Easy Auto : 9844112233</p>
<p>Traffic Control Room : 103</p>
<p>&nbsp;</p></blockquote>
<p>24 hours helpline for all traffic related queries / suggestions / reporting of violation call :</p>
<h4><strong>080-25588444</strong></h4>
<h4><strong>080-25588555</strong></h4>
<p>Bangalore Traffic Police Website: www.bangaloretrafficpolice.gov.in</p>
<p>&nbsp;</p>
<h3>Auto Rickshaw Refusal or Overcharging</h3>
<p>In case of refusal or overcharging by an auto, just send an SMS to <strong>52225</strong></p>
<p><strong>For Refusal :</strong></p>
<blockquote><p>AUTO&lt;SPACE&gt;REF&lt;SPACE&gt;AUTO NO.&lt;SPACE&gt;LOCATION&lt;SPACE&gt;TIME OF REFUSAL</p></blockquote>
<p>Example: AUTO REF KA01XY1234 MG ROAD TO KORMANGALA 5:30 PM</p>
<p><strong>For Overcharging:</strong></p>
<blockquote><p>AUTO&lt;SPACE&gt;OVR&lt;SPACE&gt;AUTO NO.&lt;SPACE&gt;LOCATION&lt;SPACE&gt;TIME OF OVERCHARGING</p></blockquote>
<p>Example: AUTO REF KA01XY1234 MG ROAD TO KORMANGALA 5:30 PM</p>
<p><strong></strong>Send to 52225</p>
<p>&nbsp;</p>
<h3><strong>Traffic Alerts</strong></h3>
<p>For real time traffic alerts</p>
<p>Just send SMS to 567678</p>
<blockquote><p>JOIN BTP</p></blockquote>
<p>To unsubscribe, Send SMSto 567678</p>
<blockquote><p>LEAVE BTP</p></blockquote>
<p>&nbsp;</p>
<p>I have a scanned copy of the images here because those were scanned copied and hence pretty heavy to fit. If you wish, you may download the pamphlets <a href="http://www.texens.in/downloads/bangalore-traffic-police-pamphlet-1.jpg" target="_blank">here</a> and <a href="http://www.texens.in/downloads/bangalore-traffic-police-pamphlet-2.jpg" target="_blank">here</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2011/09/21/auto-complaints-via-sms-bangalore-traffic-police/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reset MySQL root password on linux</title>
		<link>http://blog.texens.in/2011/05/11/reset-mysql-root-password-on-linux/</link>
		<comments>http://blog.texens.in/2011/05/11/reset-mysql-root-password-on-linux/#comments</comments>
		<pubDate>Wed, 11 May 2011 11:38:24 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[root password]]></category>

		<guid isPermaLink="false">http://texens.wordpress.com/?p=297</guid>
		<description><![CDATA[While working on multiple projects, machines and environments it happens every once in a while that I forget the root password. But resetting your MySQL instance&#8217;s root password is very straight-forward job and doesn&#8217;t require much effort or skill. Following is a quick step by step guide to reset your MySQL&#8217;s root password. First of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-345" title="mysql" src="http://blog.texens.in/wp-content/uploads/2011/05/mysql-logo.gif" alt="" width="200" height="145" /></p>
<p>While working on multiple projects, machines and environments it happens every once in a while that I forget the root password. But resetting your MySQL instance&#8217;s root password is very straight-forward job and doesn&#8217;t require much effort or skill.</p>
<p>Following is a quick step by step guide to reset your MySQL&#8217;s root password.</p>
<p>First of all, stop your MySQL server</p>
<pre>root@texens:/home/texens# /etc/init.d/mysql stop
mysql stop/waiting</pre>
<p>Now, run mysql in safe mode with the skip-grant-tables option:</p>
<pre>root@texens:/home/texens# mysqld_safe --skip-grant-tables&amp;
[1] 5259</pre>
<p>Now log into mysql console, it&#8217;ll allow you to login without password</p>
<pre>root@texens:/home/texens# mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.54-1ubuntu4 (Ubuntu)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.</pre>
<p>MySQL contains an internal database that goes by the name &#8220;mysql&#8221;. This table contains all the information regarding the users, password, host etc.</p>
<pre>mysql&gt; use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed</pre>
<p>Now set new password from mysql commandline</p>
<pre>mysql&gt; update user set password=PASSWORD("admin") where User="root";
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3  Changed: 3  Warnings: 0</pre>
<p>Finally, flush the privileges and quit.</p>
<pre>mysql&gt; flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql&gt; quit
Bye
root@texens:/home/texens#</pre>
<p>Now restart the MySQL server and you&#8217;re good to go !</p>
<pre>root@texens:/home/texens# /etc/init.d/mysql restart
mysql start/running, process 5653
root@texens:/home/texens#</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2011/05/11/reset-mysql-root-password-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadband Penetration and the vicious circle</title>
		<link>http://blog.texens.in/2010/11/08/internet-penetration/</link>
		<comments>http://blog.texens.in/2010/11/08/internet-penetration/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 21:09:37 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[broadband]]></category>

		<guid isPermaLink="false">http://blog.texens.in/?p=377</guid>
		<description><![CDATA[Broadband is a term normally considered to be synonymous with a high-speed connection to the internet. The term itself is technology neutral; broadband can be delivered by a range of technologies including DSL, LTE or next generation access. Broadband is often contrasted with dial-up access which uses 56 kbps modem. Often a minimum limit is [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-383" title="Broadband" src="http://blog.texens.in/wp-content/uploads/2011/11/broadband.gif" alt="" width="208" height="208" />Broadband is a term normally considered to be synonymous with a high-speed connection to the internet. The term itself is technology neutral; broadband can be delivered by a range of technologies including DSL, LTE or next generation access. Broadband is often contrasted with dial-up access which uses 56 kbps modem.</p>
<p>Often a minimum limit is defined to differentiate between broadband and other means to access the web and this limit varies from country to country. It can be anything between 64 kbps to 4 Mbps. Interestingly, this limit keeps on rolling higher as the market gets flooded with connections with higher speed. Although ADSL and cable internet are the most common technologies in use for broadband, optical fiber and VSDL are now getting quite some popularity. And as cellular broadband are moving to third generation (3G) networks, they are getting the ability to support faster data speeds using technologies such as EVDO, HSPDA and UMTS.</p>
<p>Broadband penetration is now being treated as a key economic indicator.</p>
<p>One of the most important factors behind internet penetration is the broadband costs. For example, <strong><a href="http://www.o2.co.uk/tariffs/simplicity">O2</a></strong> - a broadband Internet access service offered by Telefónica O2 U.K., (a subsidiary of Telefónica Europe) provides unlimited downloads for just 30 USD. While a basic package costs just 25 USD a month. These packages often come with various premium services such as free technical help from experts 24/7 over phone, free email addresses, anti virus packages and lots of free web texts.</p>
<p>On the contrary, broadband in many developing countries like India and China cost about 60-80 USD per month and that explains the lower penetration rates.  A quick study into the statistics reveals a lot about the Internet penetration in a region. For example, UK has 19.5 million broadband connections (that makes it a 31% internet penetration) while Brazil has 14 million broadband connections (7.23%). Higher broadband connections offer not just HD video and games, but also include services such as tele-presence (providing flexible working patterns and cutting travel costs), e-healthcare and cloud services which help costs and drive innovation. According to the <em>Next Generation Final Third Project, UK, </em>the first generation broadband gave a boost of 0.5 to 1% to the GDP in a year.</p>
<p>Higher internet penetration drives economy, better economy means lower broadband costs, which in turn leads to larger user base and hence even higher internet penetration. In this way, it sets in a self-sustaining vicious circle leading to better economy. Many developing countries are subsidizing broadband to increase the internet penetration. With more and more governing agencies adopting e-governance, it makes all the more sense to empower the citizens with this powerful tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2010/11/08/internet-penetration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selectively hide posts on Facebook using Greasemonkey</title>
		<link>http://blog.texens.in/2010/06/13/selectively-hide-posts-on-facebook-using-greasemonkey/</link>
		<comments>http://blog.texens.in/2010/06/13/selectively-hide-posts-on-facebook-using-greasemonkey/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 11:35:56 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[greasemonkey]]></category>

		<guid isPermaLink="false">http://texens.wordpress.com/?p=272</guid>
		<description><![CDATA[Unlike a lot of people, I don&#8217;t happen to be a fan of Soccer. I know thats a bit difficult to believe, especially with this World cup season going on. Since the last few days, I&#8217;ve been waking up in the morning to a facebook full of soccer posts. I tried to tolerate it for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.texens.in/wp-content/uploads/2010/06/flomar_football_soccer.png"><img class="alignleft size-thumbnail wp-image-284" title="Soccer" src="http://blog.texens.in/wp-content/uploads/2010/06/flomar_football_soccer.png?w=141" alt="" width="141" height="150" /></a><a href="http://blog.texens.in/wp-content/uploads/2010/06/simple_icon_facebook.png"><img class="alignright size-thumbnail wp-image-282" title="Facebook" src="http://blog.texens.in/wp-content/uploads/2010/06/simple_icon_facebook.png?w=150" alt="" width="150" height="150" /></a>Unlike a lot of people, I don&#8217;t happen to be a fan of Soccer. I know thats a bit difficult to believe, especially with this World cup season going on. Since the last few days, I&#8217;ve been waking up in the morning to a facebook full of soccer posts. I tried to tolerate it for a while, but then I realized that I couldn&#8217;t take it anymore, so I wrote this simple Greasemonkey script to hide all the posts on facebook containing the term soccer.</p>
<p>Named &#8220;I hate Soccer&#8221;, this script hides all the facebook posts that contain the word soccer.</p>
<p>In order to see it working, you need to install Greasemonkey addon for mozilla. from <a href="https://addons.mozilla.org/en-US/firefox/addon/748/" target="_blank">here</a>. Once installed, just navigate to the URL: <a href="http://texens.5gigs.net/webpage/iHateSoccer.user.js" target="_blank">http://texens.5gigs.net/webpage/iHateSoccer.user.js</a></p>
<p>You&#8217;ll see a dialog box come up, select install and that&#8217;s all. You won&#8217;t see any posts that contain the term soccer from now onwards on facebook.</p>
<p><a href="http://blog.texens.in/wp-content/uploads/2010/06/screenshot-greasemonkey-installation.png"><img class="aligncenter size-full wp-image-274" title="Screenshot-Greasemonkey Installation" src="http://blog.texens.in/wp-content/uploads/2010/06/screenshot-greasemonkey-installation.png" alt="" width="430" height="429" /></a></p>
<p>The source code for the script:</p>
<blockquote><p>// ==UserScript==<br />
// @name           I Hate Soccer<br />
// @namespace      none<br />
// @description    removes all posts containing the keyword soccer<br />
// @date           2010-06-13<br />
// @author         texens<br />
// @include        http://www.facebook.com/*<br />
// @require        http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js<br />
// ==/UserScript==</p>
<p>$(document).ready(function() {<br />
$(&#8220;h6:contains(&#8216;soccer&#8217;)&#8221;).parent().parent().parent().hide();<br />
});</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2010/06/13/selectively-hide-posts-on-facebook-using-greasemonkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modem Configurations for BSNL Broadband</title>
		<link>http://blog.texens.in/2010/05/24/modem-configuration-for-bsnl-broadband/</link>
		<comments>http://blog.texens.in/2010/05/24/modem-configuration-for-bsnl-broadband/#comments</comments>
		<pubDate>Mon, 24 May 2010 04:45:46 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[bsnl]]></category>
		<category><![CDATA[modem configuration]]></category>

		<guid isPermaLink="false">http://texens.wordpress.com/?p=245</guid>
		<description><![CDATA[I just got a BSNL Broadband connection (UL 750 Plan) and spent all day trying to setup the connection on my laptop and desktop. The setup on Windows 7 via wired connection was a cake walk, but the wireless on the Windows gave me hell. After a lot of googling and some hit &#38; trial, [...]]]></description>
			<content:encoded><![CDATA[<p>I just got a BSNL Broadband connection (UL 750 Plan) and spent all day trying to setup the connection on my laptop and desktop. The setup on Windows 7 via wired connection was a cake walk, but the wireless on the Windows gave me hell.</p>
<p>After a lot of googling and some hit &amp; trial, I was finally able to get the wireless as well as wired connection on both my machines &#8211; laptop and the desktop, in both Windows and Ubuntu.</p>
<p><strong>System Information</strong></p>
<p>I&#8217;m using Type 2 ADSL modem <em>Teracom T2-B-Gawv1.4U10Y-BI. </em>The machines I&#8217;ve connected run Windows 7 Professional and Ubuntu 10.04.</p>
<p><strong>Procedure</strong></p>
<p>I&#8217;m assuming that you have been able to connect to the modem using the wired or wireless connection and we&#8217;re going to concentrate on connecting to Internet part.</p>
<ol>
<li>Fire up your browser and navigate to 192.168.1.1. This is your modem&#8217;s IP address. You&#8217;ll be prompted to give username and pasword. By default, BSNL uses <em>admin</em> and <em>admin</em> as the username and password. respectively.You&#8217;ll be directed to the Home &gt;&gt; Overview Page.<img class="alignnone" title="Overview" src="http://blog.texens.in/wp-content/uploads/2010/05/1-home-overview1.png" alt="" width="624" height="627" /><img class="aligncenter size-full wp-image-260" alt="" /></li>
<li>Before we start playing around with the settings and configuration, lets create a backup of our current modem settings. Go to Admin &gt;&gt; Backup &amp; Restore, and create a backup file and save it on your local hard drive.<a href="http://blog.texens.in/wp-content/uploads/2010/05/reboot.png"><img class="aligncenter size-full wp-image-248" title="Backup &amp; Restore" src="http://blog.texens.in/wp-content/uploads/2010/05/reboot.png" alt="" width="640" height="515" /></a></li>
<li>If you&#8217;re using <em>Teracom T2-B-Gawv1.4U10Y-BI</em>, then you just got lucky, because I have the configuration file that you can use straight away and save yourself the effort to manually change all the settings. You may download the configuration file off this link: <a href="http://texens.in/downloads/Conexant.icf.zip">http://texens.in/downloads/Conexant.icf.zip</a></li>
<li>In order to save this configuration file to your modem, go to Admin &gt;&gt; Backup &amp; Restore.<img class="aligncenter size-full wp-image-249" title="backup-n-restore" src="http://blog.texens.in/wp-content/uploads/2010/05/backup-n-restore.png" alt="Backup &amp; Restore" width="640" height="515" /></li>
<li>You still need to set your username and password in the new internet connection that has been created. Go to Configuration &gt;&gt; Internet Connection and edit the pppoe_0_35 connection. Keep on pressing the Next button until you arrive &#8220;<em>Configure Broadband Username and Password</em>&#8221; page. <img class="aligncenter size-full wp-image-261" alt="" />&gt; Internet Connection Configuration&#8221; src=&#8221;http://blog.texens.in/wp-content/uploads/2010/05/2-edit-pppoe1.png&#8221; alt=&#8221;" width=&#8221;640&#8243; height=&#8221;515&#8243; /&gt;<img class="aligncenter size-full wp-image-251" title="3" src="http://blog.texens.in/wp-content/uploads/2010/05/3.png" alt="" width="640" height="515" /><img class="aligncenter size-full wp-image-253" title="Internet Connection Configuration" src="http://blog.texens.in/wp-content/uploads/2010/05/5.png" alt="" width="640" height="515" />Use the username and password provided to you by your provider and click on Next. <img class="aligncenter size-full wp-image-262" title="Configure Broadband Username and Password" src="http://blog.texens.in/wp-content/uploads/2010/05/61.png" alt="" width="640" height="515" />Finally on the last page, click on <em>Apply</em> to set everything up.<img class="aligncenter size-full wp-image-255" title="Summary" src="http://blog.texens.in/wp-content/uploads/2010/05/7.png" alt="" width="640" height="515" /></li>
<li>The last step is to reboot the modem. Go to Admin &gt;&gt; Reboot and reboot the router therefrom. <img class="aligncenter size-full wp-image-256" title="Reboot" src="http://blog.texens.in/wp-content/uploads/2010/05/reboot1.png" alt="" width="640" height="515" />Wait for a minute and you&#8217;re all set with the modem.</li>
</ol>
<p>Now that we have our modem properly configured, we can move to setting up the PC. For Windows, its pretty straight forward, but for Linux, it may not be all that easy. I had a hard time trying to configure linux to get the internet connection. And then I came across this totally awesome tool <em>wicd. </em>wicd worked like a charm and it was all very easily setup without any problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2010/05/24/modem-configuration-for-bsnl-broadband/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>the bitch is here !</title>
		<link>http://blog.texens.in/2010/05/07/the-bitch-is-here/</link>
		<comments>http://blog.texens.in/2010/05/07/the-bitch-is-here/#comments</comments>
		<pubDate>Fri, 07 May 2010 17:00:20 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://texens.wordpress.com/?p=236</guid>
		<description><![CDATA[Ever since I replaced my CPU and 17 inch monstrous CRT monitor with a 14 inch HP laptop, I&#8217;ve been missing the large screen badly. Getting a new monitor to connect with my laptop was on my cards since quite some time, but I was unable to materialize it due to one or the other [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I replaced my CPU and 17 inch monstrous CRT monitor with a 14 inch HP laptop, I&#8217;ve been missing the large screen badly. Getting a new monitor to connect with my laptop was on my cards since quite some time, but I was unable to materialize it due to one or the other reasons. But, finally I bought a new big black beautiful bitch from Kolkata. It was pretty difficult to find a 22 inch monitor with HDMI port. I checked in 4 shops &#8211; including the (in)famous E-Mall in Chandani Chowk, Kolkata and got a negative. 22 inches are very common in CC but HDMI port was the problem. Finally, I was able to lay my hands on one with HDMI port at good old Arihant&#8217;s. Thanks to his bias for kgpians, he not only arranged the monitor with HDMI support, but also gave it to me at the old (cheaper) price. Here&#8217;s a snap of the laptop with the monitor connected with the HDMI cable.</p>
<p style="text-align:center;">
<div id="attachment_237" class="wp-caption aligncenter" style="width: 624px"><img class="size-large wp-image-237  " title="Big Black Beautiful Bitch" src="http://blog.texens.in/wp-content/uploads/2010/05/dsc05448.jpg?w=1024" alt="Big Black Beautiful Bitch" width="614" height="461" /><p class="wp-caption-text">the Big Black Beautiful Bitch</p></div>
<p style="text-align:left;">Coming to the specifications:</p>
<p style="text-align:left;">It has a maximum resolution of 1920&#215;1080 and a dynamic contrast ratio of 10000:1. It has a D-sub, DVI-D as well as HDMI input connector. I have tried the DVI-D input connector once, but most of the time I&#8217;ve been running with the HDMI connector. Note that, the HDMI connector doesn&#8217;t come along with the Monitor and you&#8217;ll have to buy it separately. The picture quality has been great ! It took me quite some time to grasp all the functionalities of its vast menu. It has a number of preconfigured settings which can be changed from the monitor&#8217;s panel manually. It also has inbuilt speakers and supports HDMI audio. The response time is 5 ms (gray to gray is 2 ms). Its user manual also boasts of a senseye+photo technology which gives 5 preset modes to support everyday needs. I haven&#8217;t been able to discover these modes fully yet. But, for sure this bitch is on for some real adventure for the coming few days.</p>
<p style="text-align:left;">There seems to be some problem with ubuntu 10.04 as it has failed to support the HD audio on my system. It works absolutely fine on windows 7 but ubuntu is creating quite some trouble. But I&#8217;m not surprized, 10.04 was launched jst a week back and its pretty much expected to have some bugs in the system for the next few days. I&#8217;m hoping that the problem will be fixed asap. I&#8217;ve been using the monitor for mostly 2 purposes &#8211; viz coding and watching movies in full HD. The experience is simply awesome ! Combined with a Creative 2.1 speakers, it acts pretty much like a Home Theatre system. Very soon I&#8217;ll be getting myself a 5.1 speakers and it&#8217;ll add some more fun to the experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2010/05/07/the-bitch-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hindi translations for limesurvey</title>
		<link>http://blog.texens.in/2010/04/30/hindi-translations-for-limesurvey/</link>
		<comments>http://blog.texens.in/2010/04/30/hindi-translations-for-limesurvey/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 23:38:38 +0000</pubDate>
		<dc:creator>texens</dc:creator>
				<category><![CDATA[limesurvey]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[hindi]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">http://texens.wordpress.com/?p=230</guid>
		<description><![CDATA[I had an interesting experience today. We needed to translate a news article posted on limesurvey website into hindi. I had never done any translations before and had absolutely no idea how to do it. In the absence of a Hindi keyboard, it bacame all the more difficult. My first thought was to try Google [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.texens.in/wp-content/uploads/2010/04/limesurvey2.jpg"><img class="alignleft size-medium wp-image-231" title="limesurvey2" src="http://blog.texens.in/wp-content/uploads/2010/04/limesurvey2.jpg?w=300" alt="" width="180" height="135" /></a>I had an interesting experience today. We needed to translate a news article posted on limesurvey website into hindi. I had never done any translations before and had absolutely no idea how to do it. In the absence of a Hindi keyboard, it bacame all the more difficult.</p>
<p>My first thought was to try Google translations. After a couple attempts, I realized that the google translations wasn&#8217;t good enough. Fortunately, while googling for translations I stumbled upon 2 very useful resources &#8211; <a href="http://www.google.co.in/transliterate/indic" target="_blank">Google Transliterations</a> and <a href="http://www.shabdkosh.com/s?e=engine&amp;f=0&amp;t=0&amp;l=hi" target="_blank">shabdkosh</a>.</p>
<p>Using Google Transliterations, one can type hindi words using english alphabets and the transliteration engine automatically convrerts the words from english alphabets to hindi alphabets. On the other hand, shabdkosh is an excellent English to Hindi dictionary. On querying english words, it returns the translated words in hindi alphabets and makes life easier <img src='http://blog.texens.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It would have been a herculian task to do all the translations in the absence of these two amazing resources. I&#8217;ll be getting myself a HIndi keyboard in a couple days to make it easier to type in the hindi alphabets physically.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.texens.in/2010/04/30/hindi-translations-for-limesurvey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

