<?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>KunalB</title>
	<atom:link href="http://kunal-b.in/feed/" rel="self" type="application/rss+xml" />
	<link>http://kunal-b.in</link>
	<description>Yet another way to learn.</description>
	<lastBuildDate>Sun, 29 Aug 2010 19:37:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Hi!</title>
		<link>http://kunal-b.in/2010/08/hi/</link>
		<comments>http://kunal-b.in/2010/08/hi/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 21:37:12 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=118</guid>
		<description><![CDATA[Welcome. You’re probably here to find out more about EventPress or BuddyPress Custom Posts. If you are, feel free to jump to those links. If, by a strange quirk of fate, you’re more interested in my random blog posts, feel &#8230; <a href="http://kunal-b.in/2010/08/hi/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Welcome. You’re probably here to find out more about <a href="http://kunal-b.in/eventpress/">EventPress</a> or <a href="http://kunal-b.in/buddypress-custom-posts/">BuddyPress Custom Posts</a>. If you are, feel free to jump to those links.</p>
<p>If, by a strange quirk of fate, you’re more interested in my random blog posts, feel free to browse beyond this post.</p>
<p>For a bit more up to date information about what I’m doing at the moment, you can check out my twitter feed <a href="http://twitter.com/kunalbhalla">@kunalbhalla</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2010/08/hi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trekking through TEDxDelhi</title>
		<link>http://kunal-b.in/2010/08/trekking-through-tedxdelhi/</link>
		<comments>http://kunal-b.in/2010/08/trekking-through-tedxdelhi/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 13:54:04 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[Lifestream]]></category>
		<category><![CDATA[TEDx]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=80</guid>
		<description><![CDATA[A review of TEDxDelhi -- the one that occurred on 1st August. <a href="http://kunal-b.in/2010/08/trekking-through-tedxdelhi/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post is aimed at sharing my experiences at TEDxDelhi — perhaps getting other attendee’s reactions as comments (if anyone actually ever <em>does</em> read this post) — and making everyone else — who missed a great TEDx — jealous (insert devil smiley icon here).</p>
<p>Imagine you’re going on a trek with various many interesting people. You slide off an artificial iceburg, and land in a village without electricity. Using a hand cranked torch, you make your way to the Ganga — which you clearly want to avoid, considering the amount of sewage flowing through it. There’s this curtain of sarees blocking your way, and after having a comment about 6 inches etched into your brain you move on to hear beautiful melodies by Kabir. As you drift off into a blissful, melody induced Nirvana, you’re reminded about the harsh reality of India — poverty — and a remarkably innovative solution for it. As you ponder the possibilities of generalized micro-level carbon credits, you’re suddenly exposed to well engineered clothes that you can redesign in a minute (taking the humble button where it’s never gone). Shaking your head, trying to get rid of the feeling that you’re wearing your trousers as a shirt you wander into the crazed, crowded streets and trains of Mumbai, with Dabbawallas rushing around you with more purpose and efficiency than the greatest of multinationals ever aspire to. The thought of all those tiffins and lunches inspires you to do exactly that — have a bit of food, after which you’re suddenly transported to the Khajurao temples where the sculptures remove you from the pleasant, rich food induced reverie you were in. You fidget uncomfortably as you walk through India, realizing that more than 8 million children are dying precisely from lack of what you just over-indulged in — food. Landing up in Delhi, someone throws a few flowers at you — a perhaps purpose-less, but well intentioned project by a man in a sari. Slightly bemused, you’re then shown the latest of technologies merged with one of the most ancient of crafts — to result in one of the greatest recent temples in India. As you admire the beautiful sculptures, you hear melodies crafted just for you. Still not completely satisfied, you dive headlong into an artist’s mind as you see the experiences behind the art. Proud to be able to wear the Indian flag on your lapel, you listen to a lazy man singing some of the best songs you ever heard. Ineffectually trying to match his voice, you gradually wake up and realize that you’re sitting in a huge air conditioned auditorium, and your trek through a completely different world just ended.</p>
<p>And that, people, was TEDxDelhi.</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2010/08/trekking-through-tedxdelhi/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>On Green Technology</title>
		<link>http://kunal-b.in/2010/04/on-green-technology/</link>
		<comments>http://kunal-b.in/2010/04/on-green-technology/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 23:54:57 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=663</guid>
		<description><![CDATA[What is Green Technology? Green technologies, simply defined are those technologies that are environmentally friendly and are at the same time used for commercial gain. This is an essay I wrote for Honda Yes 2009. I didn’t get selected, but &#8230; <a href="http://kunal-b.in/2010/04/on-green-technology/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h1>What is Green Technology?</h1>
<p>Green technologies, simply defined are those technologies that are environmentally friendly and are at the same time used for commercial gain.</p>
<p class = 'aside alignright c2'>This is an essay I wrote for Honda Yes 2009. I didn’t get selected, but I still liked the essay, and decided to share it.</p>
<p>The developed countries – those that make use of the maximum resources 1 – are not willing to cut down on their usage and lifestyle, which is understandable. Developing countries are not ready to stop growth just for the sake of compensating for the pollution caused by others – which is even more understandable. The only obvious way out – new technologies which aim at sustainable, environmentally friendly development.</p>
<p>Ideal green technologies are those that at one and the same time are <em>environmentally friendly, financially viable and socially equitable.</em> Achieving all three at the same time is a daunting task, indeed, most environmentally friendly technology is found to be financially prohibitive, but the only way we can keep developing and fulfilling the needs of the 6.787 billion 2 (and counting) people inhabiting this planet.</p>
<h1>Benefits and Problems</h1>
<h2>For the environment …</h2>
<p>The benefits of using green technology are many – starting with the all important energy sector (over which wars are instigated and carried out). The first point we must realize is that moving away from Fossil Fuels is not necessary only because of their limited availability but <em>also</em> because of the excessive harm that they do to the environment. The US Energy Information Administration has put the peak oil production in May 2005 and July 20063 – dates we have already passed. The emissions of carbon dioxide have been gradually increasing through the years.</p>
<p>By switching from fossil fuels to less polluting sources of energy, we might be able to at the same time avert the impending energy crisis and also reduce the effects of global warming. Possible alternatives provided by green technology are solid fuel cells, nuclear power (a bit controversial as it does generate waste products), solar energy and wind energy.</p>
<p>The downside is that the amount of effort and investment required to switch to green energy sources is massive. Hydrogen based fuel cells are currently not suitable as handling hydrogen is very dangerous and a massive network will be required for distribution, etc. Nuclear energy produces extremely toxic waste products which must be specially stored separately. The biggest factor that makes switching to Green, rather, <em>any</em> alternative technology so difficult is the massive <em>inertia</em> caused by the world’s dependence on the standard fossil fuels.</p>
<h2>… and the companies</h2>
<p>Switching to green technology for companies also greatly increases their CSR value and even drives business to the company – green technology <em>is</em> economically viable and the fact that a company is using environmentally friendly techniques drives customers to that company.</p>
<p>As an example, consider GE Ecomagination:  a program started by General Electric to reduce energy consumption and increase efficiency, while at the same time cutting costs – which is highly important in today’s recession. In the some note, they also aim at increasing R&amp;D to $1.5 billion by 2010 4.  As of today, they are working on reducing emissions, water consumption, reducing waste generated, working on improved wind-energy generation, etc.</p>
<p>Considering the revenues of the company in 2008 – the consolidated revenue reached $183 billion while the green-house gas emissions have reduced from 7.50 (2004) to 6.49 (2008) million metric ton CO2 equivalents, operational GHG intensity from 60.58 to 35.58 (metric tonnes per $ million revenue), operational Energy Intensity from 496.69 to 312.75 (MMBTu per $ million revenue) and energy use has reduced from 61.50 to 57.0 $ million MMBTu – an ideal application of green technology.</p>
<p>On the flip side GE has a history of large-scale air and water pollution; based on year 2000 data it has been listed as the fourth largest corporate producer of air pollution in the United States apart from being implicated in the creation of toxic wastes; so, at one level Ecomagination can be considered as profitable CSR as well as riding the current “Go Green” wave all over the world – Green Technology definitely makes a lot of business sense.</p>
<h2>But what about the people?</h2>
<p>What we cannot forget, in all the current enthusiasm about green technology with the buzzwords of “sustainable development”, “business-sense”, etc. that right at this moment a quarter of this world’s population is below the poverty line, too many people do not have access to drinking water nor food. And I would rather not comment on the percentage of people living in war-torn areas.</p>
<p>There is always the urgency of diving in, using whatever resources we have at hand to help. To be able to look at ourselves in the mirror, we must. One fact that must be clear to the world at large and the elite in specific is that only we, with access to all the resources that we have at our disposal can be expected to cut down. You cannot steal from people who have nothing.</p>
<p>Our enthusiasm for ‘<em>saving the world’</em> cannot reach the extent that we <em>deny</em> development in order to reduce environmental degradation. Everyone must be brought to a common, sustainable baseline – what is too often ignored by media and people in general is that this involves bringing the resource utilization by certain sections of the world <em>up</em> rather than down.</p>
<p>Such a strategy, I believe, in the long run will pay for itself – when we reach the peak of civilization with the world at 100% literacy and awareness, and the basic necessities of life satisfied for all, sustainable development will be a <em>way of life</em> and not a <em>goal</em>.</p>
<h1>As a citizen of the Earth,</h1>
<p>I will recommend that we use Green Technology as far as possible, even if the short term costs are on the high side in terms of research required and money invested – for otherwise, we will never be able to pay the debt incurred by mismanaging our natural resources.</p>
<p>All of us must realize for a fact that our resources will, at best allow us to maintain our current rate of development for a few decades – at worst, for a few years. We have already seen examples of rising political tension over energy sources; what we may not have yet realized is that if the situation worsens we may even be facing wars over resources like fresh water.</p>
<p>The threat of global warming has been hanging over our heads for years but has not been really been addressed yet; particularly by certain developed nations. The very concept behind Carbon Credits is symbolic of why we have not been able to control Carbon Dioxide emission to any worthwhile extent today – very few countries are willing to give up their way of life for goals spanning many lifetimes, and not simply those of the current generations.</p>
<p>Instead of expecting or bribing other countries to reduce emissions (and thus reducing their own guilt) <em>every</em> country must work towards the common goal of reducing resource exploitation, overpopulation and excessive reliance on fossil fuels; to look at the <em>really</em> big picture – the one beyond boundaries, languages and even species.</p>
<p>The onus of improvement does not lie solely with the governments and large corporations of the world; rather every single person must participate in every way he can. Every small effort, when consolidated over 6 billion people, has a massive effect.</p>
<p>As a single person, I can consciously reduce my energy consumption, perhaps research better technologies; spread the word to my neighbours. As 6 billion people, <em>I</em> can vote out environmentally indifferent governments, dismiss resource hungry companies, <em>change the course of history</em> by choosing the right leaders and making my voice heard.</p>
<p>Of course, that means I must identify myself as more than a Delhite, an IITian or an Indian. I must realize that I’m an <em>earthling</em> – and more importantly, so is everyone else.</p>
<p>You must realize that at no place have I specified that it is the <em>Youth’s</em> prerogative to achieve target X, or that Y must do what they can. I believe this to be one of the greatest drawbacks in today’s approach to development – at no stage should there be any distinction on <em>saving</em> the world. Everyone can be a <em>superman</em> in his own way, and do his own bit to save the world. (Or superwoman; and her, as appropriate.)</p>
<h1>As an Engineer,</h1>
<p>I must and will push towards a radical change in the current design beliefs – we must do away with planned obsolescence. Everything from the ultra-sophisticated cell-phone to the plastic water bottle must be made to last. We cannot expect to keep harvesting resources indefinitely and expect no repercussions; consider the words (and work) of Mechanical Engineer Saul Griffith – “<em>The business plan for the next century should be to take every object you sell and figure out how to give the service of that object to the consumer with one-tenth of that power.</em>”</p>
<p>Specializing in Structural Civil Engineering, there is a lot of scope where work can be made more environment friendly. Waste material (plastic) is being extensively used in making roads, reducing landfills, etc. Buildings should be designed and constructed on lines similar to those specified by the U.S. Green Building Council, Leadership in Energy and Environment design LEED (an international green building certification system) 5.</p>
<p>The fundamentals behind LEED, and rather, any such system are <em>sustainability</em> – the design must respect the community and culture behind the building, considering all socioeconomic levels; <em>inclusiveness</em> – involve the community in the design; <em>progress </em>– the impact of the building on the environment, community and economy must be quantifiable; <em>connectedness</em> – recognize the relationship between man and nature and give emphasis to it.</p>
<p>From various studies carried out in America, where LEED is being gradually introduced into the standard codes, it has been shown that – as with almost all other green technology – the initial cost <em>might</em> appear prohibitive, but in fact, the payback in the long run more than covers up for them 6.</p>
<p>Better, more efficient methods developed across the world must be open – while intellectual property rights must be maintained and there must be sufficient stimuli, monetary and otherwise for people to innovate – research and results must be <em>open</em> and shared. A single company or country discovering an alternative source of energy and then hiding it/not sharing it with the rest of the world is simply a waste.</p>
<p>The urgency and importance of the current situation requires open collaboration between countries – with the developed helping the developing in implementing these. Making costs of green technology more prohibitive than they must me is the height of foolishness.</p>
<h1>In conclusion,</h1>
<p>I end by simply reiterating the theme that has been present throughout this essay – we must work together, as people, as countries, as corporations to meet the coming challenges and shortages caused by our own exploitation of available resources. We cannot face them alone, but we <em>might</em> survive together.</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2010/04/on-green-technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hostel Collapses! More than 50 laptops feared damaged and destroyed!</title>
		<link>http://kunal-b.in/2010/01/hostel-collapses/</link>
		<comments>http://kunal-b.in/2010/01/hostel-collapses/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 15:19:16 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[IIT]]></category>
		<category><![CDATA[Faking News]]></category>
		<category><![CDATA[IITd]]></category>
		<category><![CDATA[Vindy]]></category>
		<category><![CDATA[Windy]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=612</guid>
		<description><![CDATA[30/01/2010 The Windy Hostel, Indian Institute of Consultancy, Delhi: At 11.05 a.m. today morning a horrifying accident occurred because of gross negligence by engineers at Windy Hostel, IICd. The hostel had been undergoing renovation for over a year and work &#8230; <a href="http://kunal-b.in/2010/01/hostel-collapses/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>30/01/2010 The Windy Hostel, Indian Institute of Consultancy, Delhi:</strong> At 11.05 a.m. today morning a horrifying accident occurred because of gross negligence by engineers at <strong>Windy Hostel, IICd</strong>. The hostel had been undergoing renovation for over a year and work had recently started on a new block today. Students were still residing in the 4-story hostel on the top 2 floors while the bottom floors had been vacated.</p>
<p>In order to complete his work on time, the contractor had <em>allegedly</em> told the workers to demolish the lower portion of the building and start renovation work on it, without considering whether the already considerably weakened, 40 year old structure could take the weight. The inevitable occurred, with the top two floors crashing down and burying and damaging many laptops.</p>
<p>In the words of one of the surviving students (who has requested to remain unnamed) “They were destroying the doors beneath our room and the balcony start moving wildly, deflecting as much as <strong>1 cm</strong>. We ran to stop them, but the [expletive deleted] workers refused to budge.”</p>
<p>The maintenance secretary of the hostel was <em>allegedly </em>gallivanting somewhere in East Delhi during the incident, meeting some foreigner. On being contacted he replied that he had an <em>urgent</em> meeting with someone he could not name — a fact that has been noted by the investigating authorities who have taken him into custody. We managed to get a statement from the Chief Investigator, Mr. M. Adi “We have not ruled out the involvement of the maintenance secretary, and are also considering the foreign angle”, obliquely referring to the recent statement by the President of United States of Pakerica, Mr. Obama Bin Bush.</p>
<p>Being a holiday, most of the students were sitting in their rooms during the accident, apparently trying to block their internet access so as to be able to prepare for their upcoming examinations. A quote by one of the IICians from our archives: “Our professors believe that we can obtain everything we need to learn by surfing the internet — in fact they maintain a check to see that all students download at least 100MB of data every day to ensure they are spending enough time on the internet. We have learnt a lot but it becomes difficult to adhere to this rule during our minor exams so trying to outsmart our professors and blocking our internet access is a favourite pass-time for IICians during the exam season.”</p>
<p>Most of the students were taken by surprise as the building came crashing down on them, and more than 50 laptops have been reported missing and are assumed to still be buried under the rubble, while 10 damaged (2 critically) laptops have been recovered. One or 2 lucky laptops survived on their battery life and were discovered as they were playing heavy rock and could be heard through the concrete. Worried students at IIC have kept a candle light vigil outside the laptop repair shop, with the very best technicians of the top laptop manufacturers including Nosy Baio, Sell and Compact working tirelessly to save the laptops. More technicians are expected to arrive from around the world soon. Excavation work to locate the remaining laptops is also underway.</p>
<p>Many IICians are still in shock, with many roaming around in a daze. A particularly sad case is that of a few students, who, being deprived of access to their laptops and the Facebook live feed appear to have devolved to animals — with one imitating a bull, another squealing in French like a pig and the  worst affected keeps trying to fly off the top of the hostel and is constantly restrained by his friends. It is currently not clear whether he has delusions about being a bird or being the Man of Steel (both being able to fly).</p>
<p>What has made this accident even more unique is the fact that there have been various reports of the accident being a complete fabrication and fallacy as people have <em>allegedly</em> communicated with the missing residents of the hostel (using their own laptops). In the public interest, we reiterate that the accident has happened and any such rumours must be disregarded as utter nonsense.</p>
<p>There have been suspicions of paranormal activity at the site of the accident because of these apparent messages and the top investigative news channel in India — IndiaTV — has sent its best reporter to find out the truth. The initial findings of the reporter will be presented on tomorrow’s primetime show at 8 p.m. — “<em>IIC ke khooni engineer</em>”. Insiders (who wish to remain unnamed) have said that such a tragic parting of nerds with their computers can cause their ghosts to linger on till they manage to complete their last wish: to update their status messages. Only then will they be able to pass on to the afterlife. As always, there are many skeptics who have denounced this theory, claiming that the ghosts need to play one last LAN game of AoE.</p>
<p>In a surprise turn of events, famed teen impersonator and actor Aamir K. and ex-IICian and MBA B. Chetan came together in support of the missing laptops. They said that they has put aside all differences to be able to garner even more publicity for their film/book as people had stopped discussing their recent disagreements.</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2010/01/hostel-collapses/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Reliance ZTE/ONDA on Linux</title>
		<link>http://kunal-b.in/2010/01/reliance-zteonda-on-linux/</link>
		<comments>http://kunal-b.in/2010/01/reliance-zteonda-on-linux/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 03:14:06 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[reliance netconnect]]></category>
		<category><![CDATA[ubuntu 9.10]]></category>
		<category><![CDATA[zte]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=566</guid>
		<description><![CDATA[I have a HSD Reliance ZTE datacard/modem which I had been unable to run on Linux till tonight. The interesting bit is, I have had this card for around 7 months now — and it was forcing me to use &#8230; <a href="http://kunal-b.in/2010/01/reliance-zteonda-on-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have a HSD Reliance ZTE datacard/modem which I had been unable to run on Linux till tonight. The interesting bit is, I have had this card for around 7 months now — and it was forcing me to use Windows Vista (the horror, the agony, the pain!).</p>
<p>As a log (in case my computer gets formatted sometime in the future — a likely, but not hoped for occurrence — ) as well as a possible guide to others, here are the steps I followed.</p>
<p>Note: I’m using Ubuntu 9.10 with a Reliance NetConnect ZTE AC8710 modem.</p>
<ol>
<li>Connect to the net using some other, temporary connection
<ol>
<li>Get usb-modeswitch. Those with access to a repository can simply do<br />
[bash]sudo apt-get install usb-modeswitch<br />
[/bash]<br />
Others can get the latest version from <a title="USB Modeswitch" href="http://www.draisberghof.de/usb_modeswitch/">http://www.draisberghof.de/usb_modeswitch/</a> .</li>
<li>You will also need (do an apt-get as required)<br />
[bash]lsusb, libusb-dev, wvdial, modprobe<br />
[/bash]</li>
</ol>
</li>
<li>Connect your modem and run<br />
[bash]lsusb<br />
[/bash]<br />
You should see one of the usb ports having your modem — it will probably be classified as ONDA and have a vendor/product id specified. Along the lines of<br />
[bash]192d:fff6<br />
[/bash]<br />
The fff6 indicates that it has been detected as a flash drive/cd rom and <em>not</em> as a modem.</li>
<li>Also do a<br />
[bash]dmesg | tail<br />
[/bash]<br />
And observe where the modem has gone — usbtty0 / 1 / 2/ 3 etc.</li>
<li>Edit the usb-modeswitch configuration to make your computer recognize it as a modem<br />
[bash]sudo vim /etc/usb_modeswitch.conf<br />
[/bash]<br />
Navigate till you find the settings for your vendor id/product id.<br />
[bash]########################################################<br />
568 # ZTE AC8710<br />
569 #<br />
570 # Two ID variants known; check your default<br />
571 #<br />
572 # Contributor: Michael Khurtsiya<br />
573<br />
574 ;DefaultVendor=  0x19d2<br />
575 ;DefaultProduct= 0xfff5<br />
576<br />
577 ;TargetVendor=   0x19d2<br />
578 ;TargetProduct=  0xffff<br />
579<br />
&lt;strong&gt; 580 # No. 2<br />
581<br />
582 ;DefaultVendor=  0x19d2<br />
583 ;DefaultProduct= 0xfff6<br />
584<br />
585 ;TargetVendor=   0x19d2<br />
586 ;TargetProduct=  0xfff1<br />
587<br />
588 # only for reference<br />
589 # MessageEndpoint=0x05&lt;/strong&gt;<br />
590 &lt;strong&gt;<br />
591 ;MessageContent=“5553424312345678c00000008000069f030000000000000000000000000000”&lt;/strong&gt;<br />
[/bash]<br />
And remove the ‘;’ before the required lines. Save and exit.<br />
Run it.<br />
[bash]sudo usb_modeswitch[/bash]</li>
<li>Check whether it’s worked — do another<br />
[bash]lsusb<br />
[/bash]<br />
and see that the product id has changed to fff1 (or whatever your target product was).</li>
<li>Now we need to do a modprobe<br />
[bash]modprobe usbserial vendor=0x19d2 product=0xfff1<br />
[/bash]<br />
Replace vendor and prodcut as you require.</li>
<li> Once that’s done, you need to make your wvdial.conf file. To edit the file:<br />
[bash]sudo vim /etc/wvdial.conf<br />
[/bash]<br />
Copy paste the following in it.<br />
[bash][Dialer Defaults]<br />
Username = &amp;lt;enter your 10 digit modem number here&amp;gt;<br />
Password = &amp;lt;enter your 10 digit modem number here&amp;gt;<br />
Init1 = ATZ<br />
Init2 = ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0<br />
Modem Type = Analog Modem<br />
Phone = #777<br />
ISDN = 0<br />
SetVolume = 0<br />
FlowControl = Hardware (CRTSCTS)<br />
Modem = /dev/ttyUSB0 &amp;lt;modify based on the results of your dmesg&amp;gt;<br />
Dial Command = ATDT<br />
Baud = 460800<br />
Stupid Mode = 1[/bash]</li>
<li>Once that’s done, you <em>should</em> be good to go. Simply run<br />
[bash]sudo wvdial<br />
[/bash]</li>
</ol>
<p>And you should be connected. Hopefully this helps someone and prevents them from wasting as much time as I did.</p>
<p>Sources:</p>
<ul>
<li><a href="http://ubuntuforums.org/showthread.php?t=1333535">http://ubuntuforums.org/showthread.php?t=1333535</a></li>
<li><a href="http://travisneotyler.blogspot.com/2009/07/back-on-wireless-web.html">http://travisneotyler.blogspot.com/2009/07/back-on-wireless-web.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2010/01/reliance-zteonda-on-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Boredom. My worst nemesis. My best ally.</title>
		<link>http://kunal-b.in/2009/12/boredom-my-worst-nemesis-my-best-ally/</link>
		<comments>http://kunal-b.in/2009/12/boredom-my-worst-nemesis-my-best-ally/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 00:36:46 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
		
		<guid isPermaLink="false">http://kunal-b.in/?p=557</guid>
		<description><![CDATA[I get bored very easily. It may be because I have nothing to do; or I’ve lost interest in what I was doing for some reason — it being too repetitive, etc.; I have too little to do; what I’m &#8230; <a href="http://kunal-b.in/2009/12/boredom-my-worst-nemesis-my-best-ally/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I get bored <em>very</em> easily.</p>
<p>It may be because I have nothing to do; or I’ve lost interest in what I was doing for some reason — it being too repetitive, etc.; I have too little to do; what I’m working on doesn’t seem to have any apparent purpose; or even if only some senses are occupied and others left alone.</p>
<p>I try to get over this foible of mine by listening to music — hence the headphones hanging around my neck or on my ear, 24 by 7 by 4 by 12 by ~20. At least, by keeping my ears occupied I can relax, and <em>possibly </em>not get bored. This has also resulted in my having a 70GB music + video collection on my iPod.</p>
<p>But I digress.</p>
<p>I have come to realize that if I did <em>not</em> get bored so easily — I would have achieved less than half of what I have today. There would be no reason for me to tread on the fine line of <em>just</em> enough work to do; I could have <em>relaxed</em> a bit more — and perhaps <em>enjoyed</em> a bit less.</p>
<p>On the other hand, I have abandoned certain projects because I found out that they were no-where near as challenging as I’d imagined and hoped for, and were rather achievable — and no longer interesting; because I no longer believed that the work I was doing served any purpose.</p>
<p>What pushes me — and also stops me from working — is my characteristic of getting bored so quickly. Paradoxically, it makes me <em>give up</em> and <em>move ahead</em> at the same time.</p>
<p>And ever since I’ve had more to do — or more that I want to do — I lose my patience with other things even more quickly. I can no longer comfortably watch a film in a cinema hall — my hands are unoccupied, and depending on the film — perhaps even my brain.</p>
<p>Doing only one thing at a time is possible only if it is <em>interesting</em> enough to merit my full concentration. Hence the rabid multi-tasking — reading a book with lunch while listening to music or maybe watching television. Coding while watching a film or having a conversation. Social Networking while reading a comic. etc. etc.</p>
<p>What about you?</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2009/12/boredom-my-worst-nemesis-my-best-ally/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to study like an IITian</title>
		<link>http://kunal-b.in/2009/07/how-to-study-like-an-iitian-2/</link>
		<comments>http://kunal-b.in/2009/07/how-to-study-like-an-iitian-2/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 19:04:16 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[IIT]]></category>
		<category><![CDATA[studies]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=478</guid>
		<description><![CDATA[The title does say it all, doesn't it? <a href="http://kunal-b.in/2009/07/how-to-study-like-an-iitian-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Looking through the hits on my blog from Search, I noticed a few based on <em>“how to study like an IITian”.</em> Frankly speaking — I’m sure there are a lot of misconceptions floating around out there about how IITians study (further spread by the infamous 5 pointers) — so in the interests of improving the level of information on the internet and in public interest, allow me to elaborate.</p>
<p>The Golden Rule, The First Commandment and the Code by which every IITian <em>must</em> live by is<em> never do anything before the last minute.</em> If the presentation is due at 13.00, completing it before 12.30 is blasphemy and before 12.00 means that the concerned IITian has been abducted by aliens and replaced by a doppleganger. Lab reports — even those involving 30 pages of writing, 10 pages of calculations and 20 graphs each with atleast 50 points (all of which must be drawn exclusively by hand) must never be started before the night before it is due. You get my drift, I assume.</p>
<p>Those who actually <em>buy</em> books are an endangered species — fast dying out. Books are arranged by <em>jugaad</em>, through seniors, <em>not</em> returning books to the insti library, from the hostel library, photocopies, <em>not buying at all</em>. And so on.</p>
<p><em>Class Notes</em> are an alien concept conceived by the same alien dopplegangers I mentioned earlier. And are photocopied and distributed throughout. Repeatedly.</p>
<p>Reading room is a euphemism for <em>something else</em> involving socializing, ornithology, etc. Ex(hibition) Hall is often mentioned with an extra <em>s</em> appended on the right word. The only way to <em>actually</em> accomplish anything is  to sit facing the wall, with a pair of headphones. And maybe blinkers.</p>
<p>Another phenomenon often observed is that group study is extremely popular. I always doubt the efficacy of this method, though people I know are extremely successful in following this method. Including my room-mate and batch-mates. I have failed miserably in earning marks through group study.</p>
<p>And of course — <em>time</em> devoted to study. If we did devote as much time to studies as the 5(!?) pointers did, we would’ve been <em>9 </em>pointers. Without the (excessive) blessings of the Gods and daily devotion periods. Self study is something you fit in between extra-currics, video games, sleep (4 hours or so) and classes. If you do.</p>
<p>Hope that helps. Yours as always.</p>
<p>–Me.</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2009/07/how-to-study-like-an-iitian-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Passage: Carl Sagan, Cosmos</title>
		<link>http://kunal-b.in/2009/07/passage-carl-sagan-cosmos/</link>
		<comments>http://kunal-b.in/2009/07/passage-carl-sagan-cosmos/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 19:05:28 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
		
		<guid isPermaLink="false">http://kunal-b.in/?p=430</guid>
		<description><![CDATA[One of my favourite passages till date. <a href="http://kunal-b.in/2009/07/passage-carl-sagan-cosmos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A book is made from a tree. It is an assemblage of flat, flexible parts (still called “leaves”) imprinted with dark pigmented squiggles. One glance at it and you hear the voice of another person — perhaps someone dead for thousands of years. Across the millenia, the author is speaking clearly and silently inside your head directly to you. Writing is perhaps the greatest of human inventions, binding together people, citizens of distant epochs who never knew one another. Books break the shackles of time, proof that humans can do <em>magic.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2009/07/passage-carl-sagan-cosmos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editors for coding?</title>
		<link>http://kunal-b.in/2009/06/editors-for-coding-2/</link>
		<comments>http://kunal-b.in/2009/06/editors-for-coding-2/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 20:00:34 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=366</guid>
		<description><![CDATA[Converting you to VIM. <a href="http://kunal-b.in/2009/06/editors-for-coding-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So today’s post begins with a question: what editor is your <em>favourite</em>? Do you have separate editors based on different contexts (eg. Netbeans for Java, Dreamweaver for sites), or do you tend to stick to a single Man Friday to fulfill all your needs? Do you prefer IDEs or simple text editors?</p>
<p>My answer for the above questions:</p>
<p>I <em>love</em> gVIM (graphical VIM). I’ve set it up to work over SSH in Windows (I work on a different box and merely use my laptop as a convenient interface), hidden all menu bars and installed a colour theme pack of which I’m currently using “Evening”. And I’ve started using VIM for <em>every</em> code related task I do. In defence of my choice, allow me to introduce some of the basic functionality included in VIM and some practical use cases: (Not intended as a tutorial, but a quick glimpse at the great functionality on offer)</p>
<ol>
<li><strong>Simple Editing<br />
</strong>Typographical errors are the programmer’s bane. And if they’re not shown as errors (occasionally the case with various Javascript libraries), life becomes hell. Quick correction options in vim:</p>
<ul>
<li><strong>dw, dd, etc.</strong> Basically, both for deleting and cutting text. dw deletes till the end of the line. d2w deletes 2 words. dd deletes the current line. Entering %d on the command line (i.e. using : ) deletes the full file. D deletes until the end of the current line. Considering standard equivalents, I’m always astonished by what I can accomplish so quickly in VIM.<br />
<em>I really tend to use d…d to quickly get rid of large chunks of commented code. Or simply for moving code around very very quickly.</em></li>
<li><strong>r, rw, etc. </strong>d was for delete. r is for replace. Need I elaborate?<br />
<em>I tend to mis-type certain words a lot. Really easy for me to just go over the offending character and type in rx, where x is the new character I want to replace it by.</em></li>
<li><strong>o, i, a, A, etc.</strong> Single keypresses for: 0: add a new line after current one and start editing, O: add a new line before the current line and start editing, a: start appending after cursor, i: start inserting before cursor, A: insert stuff at end of the current line.<br />
<em>A is the forgetful programmer’s boon. Really useful for adding ; at the end of lines.</em></li>
</ul>
</li>
<li><strong>Editing over scp/ftp/etc.<br />
</strong>Vim comes with a special plugin (NetRW) that lets you quickly edit files over your protocol of choice. I regularly use<br />
<em>:e scp://&lt;username&gt;@&lt;host&gt;/path/<br />
</em>to get a directory listing of all the files in that path; choose your file and edit away.</li>
<li><strong>Search and replace<br />
</strong>Ever changed a variable at the last minute and had to change it? Easily carry out regular expressions over very simply defined yet <em>complex</em> range of lines using /&lt;pattern&gt;/ or :s/&lt;pattern&gt;/&lt;substitute&gt;/flags. You can even carry out commands on matching portions. One of the most useful features I’ve used once I got the hang of it.</li>
<li><strong>Ranges<br />
</strong>Vim’s flexibility in terms of defining ranges for substitution/deletion/anything you’d care to mention is amazing. One of the features I most constantly use is ‘<em>marks’</em> that allow you to mark certain positions to be easily referenced later.</li>
<li><strong>Too many colour themes</strong><br />
The amount of possible colour themes available is astonishing. And allows a <em>UI freak </em>like me to be completely satisfied with what I’m coding in. And switching quickly when I want to.</li>
<li><strong>Registers<br />
</strong>Registers allow you to cut/copy and store stuff in different named “registers and then paste where and when you want. Anyone who’s shuffled through various files can easily comprehend the huge help this is.</li>
<li><strong>Buffers and Tabs<br />
</strong>Tabs are essential to any decent program today. Buffers are tabs without the graphical interface indicating their presence. The best part is while using Vim in linux I tend to use<br />
<em>gVIM –p *.php<br />
</em>and other such commands to quickly open all files of  a single type in tabs in a single window. Really makes finding the right file much much easier.</li>
<li><strong>Sessions<br />
</strong>Using :mksession and :source allow you to quickly open all the files you had open the last time you sat down to work. And as you get to choose where the file containing the session is saved, handling sessions becomes really simple and easy.</li>
<li><strong>Abbreviations<br />
</strong>How many times do you find yourself using common stuff like console.log() or error_log() while debugging? Just use the command<br />
<em>:ab cl console.log<br />
</em>and every time you type cl( (followed by a space/newline/./(/etc.) it will be automatically expanded. I imagine you can see the possibilities. Interestingly, abbreviations can be saved in sessions so if you don’t want to keep an abbr. around for a long time, or have something specific (such as a class name) just use and save it in the session.</li>
<li><strong>Key Mapping<br />
</strong>Map keys to carry out your most often used commands.</li>
<li><strong>An awesome community<br />
</strong>There are thousands of sites out there with pointers on using VIM as well as an excellent Vim tips twiki. Be sure to check out the <a href = "http://vim.wikia.com/wiki/Main_Page">VIM tips twiki</a> and this <a href = "http://gravitonic.com/files/talks/vancouver-2007/vim-for-php-programmers.pdf">presentation on VIM for PHP programmers</a> by Andrei Zmievski to get a much better idea of what VIM is capable of. </li>
</ol>
<p> Also, for those of you who edit a lot of stuff on the web (using text boxes), install <a href = "https://addons.mozilla.org/en-US/firefox/addon/4125">It’s all text</a> to edit any text box’s contents using your favourite editor (VIM, anyone?). This post was written in <a href = "http://www.vim.org">gVIM</a>, opened via “It’s all text” on the excellent blogging platform provided by <a href = "http://www.wordpress.org">WordPress</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2009/06/editors-for-coding-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Web Designing</title>
		<link>http://kunal-b.in/2008/12/learning-web-designing/</link>
		<comments>http://kunal-b.in/2008/12/learning-web-designing/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 13:45:20 +0000</pubDate>
		<dc:creator>kunalb</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://kunal-b.in/?p=180</guid>
		<description><![CDATA[First off: there are many excellent tutorials on the net which will fulfill all you need to learn how to create Web pages. From my experience (and I have learned HTML, etc. just from the net and the occasional book) &#8230; <a href="http://kunal-b.in/2008/12/learning-web-designing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First off: there are many excellent tutorials on the net which will fulfill all you need to learn how to create Web pages. From my experience (and I have learned HTML, etc. just from the net and the occasional book) I must emphasize one point: the <em>most difficult</em> task in learning designing/coding is separating the grain from the chaff. As many excellent tutorials as there are, there are more completely useless tutorials, which promise the moon and end up giving stale cheese.</p>
<p>For those of you just <em>beginning</em>, I would seriously suggest <a title="W3 Schools" href="http://www.w3schools.com">http://www.w3schools.com</a> . Don’t be concerned about the staid look of the website. The content is solid gold; you get complete references, accurate information and short and sweet tutorials with loads of examples. Again, for the beginner: try reading/coding <a href="http://www.w3schools.com/html/default.asp">HTML</a> — <a href="http://www.w3schools.com/xhtml/default.asp">xHTML </a>-&gt;<a href="http://www.w3schools.com/css/default.asp"> CSS </a>-&gt; <a href="http://www.w3schools.com/js/default.asp">Javascript </a>-&gt;<a href="http://www.w3schools.com/php/default.asp"> PHP</a> &amp; <a href="http://www.w3schools.com/sql/default.asp">SQL </a>-&gt; <a href="http://www.w3schools.com/ajax/default.asp">AJAX</a>. This is roughly the order I went in (though I learned Javascript before CSS). Stuff I know that you (&amp; I) should cover, but have no idea about where to fit in: XML and Flash. When (and if) I learn more about these, I’ll edit this post.</p>
<p>A few tips while coding up websites:</p>
<ul>
<li>From the beginning, ensure <strong>cross browser compatability.</strong> Whether or not you consider IE6 worthy enough to be included in the list of browsers your site appears perfectly in, depends on your personal opinion. There are those who would argue much more for all round accessibility, and those who consider the 8 years old (malfunctioning) browser obsolete. Personally, I agree with the latter. (Very few websites I design work completely in IE6).</li>
<li>Write code as if <strong>someone else will grade it</strong>. Do your best to keep stuff well commented, neatly tabbed and avoid unsightly hacks put together at the last moment. Remember, unlike coding a program, where (in most cases) the code is a secret you can carry to your grave, clicking “View Source” does allow everyone to see your sloppiness. And it ain’t easy to find bugs in messy code either.</li>
<li>Keep everything <strong>W3 compliant</strong>. Always ensure that your websites are <a href="http://validator.w3.org/">xhtml</a>,<a href="http://jigsaw.w3.org/css-validator/"> css </a>valid. Don’t forget to put in a !DOCTYPE.</li>
<li>Try to use the <a href="http://yoast.com/articles/wordpress-seo/">best</a> <strong>S</strong>earch <strong>E</strong>ngine <strong>O</strong>ptimization practices from the beginning so that you get into a habit of using the proper elements at the right places. I’m afraid I still struggle and accidentally use [code]h1[/code] where I should have put an [code]h2[/code]. (If you don’t understand what I’m talking about, you will, later.)</li>
<li>Use <strong><a href="http://www.alistapart.com/articles/sprites/">sprites</a> </strong>while handling images. One of the worst impressions I can get of a site is having non-preloaded roll-over images.</li>
<li>Look at the <strong>source code</strong> of sites that you like. Wonder about how certain effects might be created and then check from the source code.</li>
<li>Use Firefox and its excellent plugins: <a href="https://addons.mozilla.org/en-US/firefox/addon/1843"><strong>Firebug</strong></a> (for looking quickly through a page, editing to find those pesky bugs on the fly and making your life much more comfortable) and <strong><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer Toolbar</a> </strong>(to do the few things firebug doesn’t).</li>
<li>At all costs, <strong>never use GUI based webpage creators</strong>. Hand-code, use libraries, whatever. Don’t use something which doesn’t even give you a glimpse of the code.</li>
</ul>
<p>Apart from the above, it’s <a href="http://www.alistapart.com">always</a> <a href="http://www.warpspire.com">good</a> <a href="http://www.htmlgoodies.com">to</a> <a href="http://www.yoast.com">read</a> <a href="http://www.jquery.com">stuff</a> <a href="http://www.wordpress.org">all</a> <a href="http://browsershots.org">over</a> <a href="http://www.w3.org">the web</a>. I’ll keep putting up links here to interesting websites which give useful information, but it’s better if you search for yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://kunal-b.in/2008/12/learning-web-designing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
