<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-2452034444854056122</atom:id><lastBuildDate>Wed, 04 Sep 2024 14:32:49 +0000</lastBuildDate><category>programming</category><category>spoj</category><category>mathematics</category><category>foss</category><category>open source</category><category>Ubuntu</category><category>Xiaomi</category><category>algorithm</category><category>AutoForward</category><category>CWC11</category><category>MacroDroid</category><category>Mi</category><category>PIVAL</category><category>Redmi 3s</category><category>VoLTE</category><category>animation</category><category>aw-snap</category><category>bollywood</category><category>chrome</category><category>college</category><category>destop alarm</category><category>eclipse</category><category>end</category><category>entertainment</category><category>euler totient function</category><category>exam</category><category>foss.in</category><category>google</category><category>graphs</category><category>guzaarish</category><category>inspiration</category><category>java</category><category>javadoc</category><category>jnlp</category><category>joy</category><category>karoke</category><category>linux</category><category>math</category><category>mukti</category><category>mukti 11.2</category><category>nostalgia</category><category>ns2</category><category>number-theory</category><category>pearls</category><category>perl</category><category>pointers</category><category>pride</category><category>python</category><category>shorten</category><category>sms</category><category>termimal</category><category>topcoder</category><category>tutorial</category><category>wisdom</category><title>pranay</title><description>linux and me- some technical experiences</description><link>http://streetfi8er.blogspot.com/</link><managingEditor>noreply@blogger.com (pranay)</managingEditor><generator>Blogger</generator><openSearch:totalResults>57</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-1840669801612909907</guid><pubDate>Thu, 08 Oct 2020 10:10:00 +0000</pubDate><atom:updated>2020-10-08T15:40:27.978+05:30</atom:updated><title>AMC Property Tax Payment Made Online</title><description>Nice initiative by AMC by allowing payments for property tax to be online.
However the payment by net banking has some glitches.Go for payment by cards.
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4Wl88Zs2phvGzrHsPGnISFGiH2xpOgcZo7Qwzhn8CML25oZU8INLjT5yKRp-rLN_b0lqpn5XODF77TOWgkHjZs0SKnpneNUJZCpfltF4PAhK2FqwmAtZosbHTWu3zyMk-1GtBIMQJeto/s1280/IMG_20201008_125830.jpg&quot; style=&quot;display: block; padding: 1em 0; text-align: center; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;400&quot; data-original-height=&quot;1280&quot; data-original-width=&quot;720&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4Wl88Zs2phvGzrHsPGnISFGiH2xpOgcZo7Qwzhn8CML25oZU8INLjT5yKRp-rLN_b0lqpn5XODF77TOWgkHjZs0SKnpneNUJZCpfltF4PAhK2FqwmAtZosbHTWu3zyMk-1GtBIMQJeto/s400/IMG_20201008_125830.jpg&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://streetfi8er.blogspot.com/2020/10/amc-property-tax-payment-made-online.html</link><author>noreply@blogger.com (pranay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4Wl88Zs2phvGzrHsPGnISFGiH2xpOgcZo7Qwzhn8CML25oZU8INLjT5yKRp-rLN_b0lqpn5XODF77TOWgkHjZs0SKnpneNUJZCpfltF4PAhK2FqwmAtZosbHTWu3zyMk-1GtBIMQJeto/s72-c/IMG_20201008_125830.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-4398775123431261666</guid><pubDate>Fri, 01 Mar 2019 02:49:00 +0000</pubDate><atom:updated>2019-03-18T07:29:01.685+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">aw-snap</category><category domain="http://www.blogger.com/atom/ns#">chrome</category><category domain="http://www.blogger.com/atom/ns#">google</category><title>Getting rid of the &#39;Aw snap&#39; on Chrome</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;

Suddenly today as i opened the Google Chrome, i found something very strange. Every time i tried opening a page it didn&#39;t. Instead, i was greeted with the annoying &#39;Aw-snap&#39; that the page is unavailable. I tried using the &#39;&lt;i&gt;settings&lt;/i&gt;&#39; page  but that wouldn&#39;t open either.
&lt;br/&gt;
I tried using another browser and found that my internet connection was working fine. After googling, i finally found a solution:
&lt;p&gt;
1. Open &quot;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;%LOCALAPPDATA%\Google\Chrome\User Data\&quot;(without quotes) on the file explorer &lt;/br&gt;
2. Rename the &#39;Default&#39; folder to something else , eg. &quot;&lt;i&gt;BackupDefalut&lt;/i&gt;&quot; &lt;/br&gt;
Now one may face the problem in renaming the folder as the system would prompt as : &quot;Unable to rename as being used by another programme&quot;
So one needs to go the &lt;i&gt;Task Manager&lt;/i&gt; and end the process &quot;&lt;i&gt;Chrome.exe&lt;b&gt;&lt;/b&gt;&lt;/i&gt;&quot; &lt;/br&gt;
3. Now we need to restart Chrome and it should work &lt;/br&gt;
4. You will notice that due to this your old profile is gone,however one may sync it back by signing into the google account.&lt;/br&gt;
&lt;/p&gt; 
Hope it was helpful. Thanks!</description><link>http://streetfi8er.blogspot.com/2019/03/getting-rid-of-aw-snap-on-chrome.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-8955300569541148436</guid><pubDate>Tue, 05 Sep 2017 12:47:00 +0000</pubDate><atom:updated>2017-09-17T23:18:45.025+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">AutoForward</category><category domain="http://www.blogger.com/atom/ns#">MacroDroid</category><category domain="http://www.blogger.com/atom/ns#">Mi</category><category domain="http://www.blogger.com/atom/ns#">sms</category><category domain="http://www.blogger.com/atom/ns#">Xiaomi</category><title>Auto forwarding sms</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Recently i was trying a way to auto forward the incoming sms from one phone to another. I stumbled upon the app &lt;a href=&quot;https://www.google.co.in/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwjQ18m2iI7WAhWJfbwKHdcsDWgQFgglMAA&amp;url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.arlosoft.macrodroid%26hl%3Den&amp;usg=AFQjCNFiqpgRmZen7MMeJV12Ald4Id3VoA&quot; target=&quot;_blank&quot; &gt; MacroDroid &lt;/a&gt;Its almost a perfect app for doing automated tasks like auto forwarding sms, alarm, reading out messages and many more.
&lt;p&gt;Its based on &lt;i&gt;trigger&lt;/i&gt; &lt;i&gt;action&lt;/i&gt; and &lt;i&gt;configure&lt;/i&gt; where you need to create a trigger and the corresping action alongwith some configurations(if any).&lt;/p&gt;
Here is an example to auto forward any sms:
&lt;p&gt;
1. Create a new Macro&lt;/br&gt;
2. Add the trigger : Incoming sms from a contact (one can choose among contacts,unsaved contacts,etc)&lt;/br&gt;
3. Add the corresponding Action, in this case, forward the sms . Add the contact to whom the sms is to be forwarded here.&lt;/br&gt;
4. Add the constraints if any for the trigger to work.&lt;/br&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;UPDATE:&lt;/b&gt;&lt;/br&gt;
After using the app in different phones, i faced a problem that the app doesn&#39;t seem to work as expected on Mi phones. The main reason behind it is to do with the ROM of the Mi phones being configured such that it doesn&#39;t allow all applications to run in the background by default. Hence the MacroDroid app was getting killed once the user either locks the phone or some other priority app being opened. 
&lt;/p&gt;
&lt;p&gt;
Though the problem can be solved only after Mi releases an updated version for their ROM , here is a tweak to make the app not being closed in the background automatically.
&lt;/p&gt;
&lt;p&gt;
Go to &lt;i&gt;Settings&lt;/i&gt;-&gt;&lt;i&gt;Permissions&lt;/i&gt;-&gt;&lt;i&gt;AutoStart&lt;/i&gt;-&gt;. Here you will find a list of various apps . Choose the aap you need to autostart and make it active.
&lt;/p&gt;
&lt;p&gt;
Next go to &lt;i&gt;Settings&lt;/i&gt;-&gt;&lt;i&gt;Permissions&lt;/i&gt;-&gt;&lt;i&gt;Permissions&lt;/i&gt;-&gt; . Here you need to grant the corresponding permissions to allow the app to use.
&lt;/p&gt;
&lt;p&gt;
Next go to &lt;i&gt;Settings&lt;/i&gt;-&gt;&lt;i&gt;Battery&lt;/i&gt;-&gt;&lt;i&gt;Manage apps battery usage&lt;/i&gt;-&gt;&lt;i&gt;Choose apps&lt;/i&gt;. Choose the required app and after selecting the app choose on &lt;i&gt;No restrictions&lt;/i&gt;
&lt;/p&gt;
Hope the post was useful.
Please leave behind comments if you face some issues.
Thanks.
</description><link>http://streetfi8er.blogspot.com/2017/09/auto-forwarding-sms.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-472237046682405366</guid><pubDate>Thu, 22 Dec 2016 08:51:00 +0000</pubDate><atom:updated>2016-12-23T12:38:11.317+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Redmi 3s</category><category domain="http://www.blogger.com/atom/ns#">VoLTE</category><category domain="http://www.blogger.com/atom/ns#">Xiaomi</category><title>Enabling VoLTE in Redmi 3S</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;

I bought Redmi 3S recently.Though it is a VoLTE enabled handset,the  signal is not shown. So on inserting the Jio Sim card, i couldn&#39;t see the VoLTE signal. 
To overcome this here&#39;s a small tweak :
Go to &lt;b&gt;Settings&lt;/b&gt; -&gt; &lt;b&gt;Sim cards and mobile networks&lt;/b&gt; -&gt;
Here you will find the sim cards 1 and 2
Go to the specific sim card where there is Jio Sim 
Next go to &lt;b&gt;Access point names&lt;/b&gt; . 
Here you need to add a new APN  with name as &lt;i&gt;Jio 4G&lt;/i&gt; and APN as &lt;i&gt;jionet&lt;/i&gt;
Next go to more and save the settings. 
The APN will reset. You should be able to see the VolTE/HD sign now. If not, try changing the Access Point to something else and again switch back to the newly set Access Point.
Voila! the VoLTE should be back.
&lt;p&gt;
It may happen that after this even if u disable mobile data it may not be disabled. So for that you need to go to the network settings as mentioned above and Restore default APN . Now you should have a working VoLTE as well as internet.
&lt;/p&gt;

All the best.</description><link>http://streetfi8er.blogspot.com/2016/12/enabling-volte-in-redmi-3s.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-5977090096471086122</guid><pubDate>Sun, 09 Dec 2012 10:08:00 +0000</pubDate><atom:updated>2012-12-09T15:41:46.629+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">inspiration</category><category domain="http://www.blogger.com/atom/ns#">mathematics</category><category domain="http://www.blogger.com/atom/ns#">number-theory</category><category domain="http://www.blogger.com/atom/ns#">PIVAL</category><category domain="http://www.blogger.com/atom/ns#">python</category><category domain="http://www.blogger.com/atom/ns#">spoj</category><title>Digits/Life of PI</title><description>Well this post comes mainly after watching &lt;a target=&quot;_blank&quot; href=&quot;http://www.imdb.com/title/tt0454876/&quot;&gt;Life of Pi&lt;/a&gt; and being inspired by it. I always wanted to solve this problem &lt;a target=&quot;_blank&quot; href=&quot;http://www.spoj.pl/problems/PIVAL&quot;&gt;PIVAL&lt;/a&gt; but never quiet got the kick untill watching the movie. 
&lt;p&gt;Till date about 10 million digits of &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/Pi&quot;&gt;PI&lt;/a&gt; have been successfully known. I started with Machin&#39;s &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/John_Machin&quot;&gt;Machin&#39;s&lt;/a&gt; formula which gives correct values till 100 decimal places. Then i came upon this formula by &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/Chudnovsky_algorithm&quot;&gt;Chudnovsky&lt;/a&gt; which helped me to calculate around 35000 digits of PI within the time limit specified (~25 secs). On applying &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/Binary_splitting&quot;&gt;binary splitting&lt;/a&gt; and a customized square root function (Newton&#39;s method)  i was able to improve to 37000. Hope to increase more and in search of better results.

</description><link>http://streetfi8er.blogspot.com/2012/12/digitslife-of-pi.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-483976025685953118</guid><pubDate>Sat, 06 Oct 2012 07:27:00 +0000</pubDate><atom:updated>2012-10-06T12:59:37.636+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">algorithm</category><category domain="http://www.blogger.com/atom/ns#">euler totient function</category><category domain="http://www.blogger.com/atom/ns#">math</category><category domain="http://www.blogger.com/atom/ns#">spoj</category><category domain="http://www.blogger.com/atom/ns#">topcoder</category><title>Modifying the Euler Totient Funtion</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;p&gt;
Hi All,
       Came across an interesting problem and thought of sharing it. Most would know about the &lt;a target=&quot;_blank&quot; href=&quot;http://en.wikipedia.org/wiki/Euler%27s_totient_function&quot;&gt;ETF&lt;/a&gt; , which basically helps one to count the number of integers co-prime and less than N . However to get the count of integers which are co-prime to N but less than a specified limit (say M &lt;= N ) is not so common. &lt;/p&gt;
&lt;p&gt;
At first i thought of modifying the ETF calculation &lt;a target=&quot;_blank&quot;   href=&quot;http://community.topcoder.com/tc?module=Static&amp;d1=tutorials&amp;d2=primeNumbers&quot;&gt;ETF calculation&lt;/a&gt; by initialising result to m . The results were &#39;almost&#39; accurate but not correct. So as a turnaround , i got a different approach. We can factorise N and then from M do an inclusion-exclusion principle on the factors of N . i.e say the factors of N are p1,p2,p3..pk . Then the required solution would be :
M - sum(M/pi) (1&lt;=i&lt;=k) + sum(M/pi*pj) - ..sum(M/pi*pj*..pk) 
&lt;/p&gt;
&lt;p&gt;
Though i had got the result but coding it was the next challenge. 
1. First step was easy as it involved just factoring N . (O(sqrt(N)))&lt;/br&gt;
2. Next we had to get all combinations of the factors, in other words all the subsets. This can be done by bitmask technique, i.e consider binary representation of integers and  if the ith bit is set  then the integer is in the set . We can store each subset in a vector and then based on the size of the subset calculate the denominator with appropriate sign! &lt;/br&gt;
3. Thus we can calculate the answer perfectly. :)

&lt;/p&gt;

Hope it was useful.
Finally a post after almost 6 months.Been really busy , specially after getting into this corporate world. 
 </description><link>http://streetfi8er.blogspot.com/2012/10/modifying-euler-totient-funtion.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-9190823785094145730</guid><pubDate>Sun, 04 Mar 2012 16:14:00 +0000</pubDate><atom:updated>2012-03-05T12:35:47.779+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">graphs</category><category domain="http://www.blogger.com/atom/ns#">programming</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>A tutorial on trees</title><description>I came across this site &lt;a target = _blank href=&quot;http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_bst1.aspx&quot;&gt;eternally confuzzled&lt;/a&gt; which seems really good on data structures, specially trees and thought of sharing it..Hope it&#39;s useful :)</description><link>http://streetfi8er.blogspot.com/2012/03/tutorial-on-trees.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-5005814465560385492</guid><pubDate>Mon, 12 Dec 2011 03:08:00 +0000</pubDate><atom:updated>2011-12-29T16:31:00.808+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">mathematics</category><category domain="http://www.blogger.com/atom/ns#">programming</category><title>divisibility by 7</title><description>Hi, recently i came across a problem where it was required to check if a number is divisible by 7 . Though quiet an elementary task, i think its not very commonly known. This is what i found.&lt;br /&gt;
&lt;b&gt;Test 1:&lt;br /&gt;
&lt;/b&gt;    Reverse the number . Mulitply each digit of this reversed number by the digits 1(=1%7),3(=10%7),2(=100%7),6(=1000%7),4(=10000%7),5(=100000%7) consequtively till all digits are covered. Sum the products. If this value is divisible by 7 then the original number is too.&lt;br /&gt;
Actually these numbers are the cyclic remainders of division by 7.&lt;br /&gt;
&lt;b&gt;Test 2:&lt;br /&gt;
&lt;/b&gt;    Take the last digit of the number and subtract it from the number formed by the remaining digits.If this value is divisible by 7 then the original number is too. We can do it recursively to reduce the number .&lt;br /&gt;
&lt;br /&gt;
Hope that helps.</description><link>http://streetfi8er.blogspot.com/2011/12/divisibility-by-7.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-6212193465228162470</guid><pubDate>Thu, 20 Oct 2011 04:06:00 +0000</pubDate><atom:updated>2011-10-20T09:36:36.538+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">pointers</category><category domain="http://www.blogger.com/atom/ns#">programming</category><title>Pointers</title><description>Hi, recently came across an article which through some questions, has great explanation of pointers . They show that arrays are not pointers which is common pitfall.&lt;br /&gt;
Here&#39;s the link:&lt;br /&gt;
&lt;a href=&quot;http://blogs.oracle.com/ksplice/entry/the_ksplice_pointer_challenge&quot;&gt;Pointers&lt;/a&gt;&lt;br /&gt;
Njoy reading. :)</description><link>http://streetfi8er.blogspot.com/2011/10/pointers.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-2402227677935256327</guid><pubDate>Tue, 18 Oct 2011 06:33:00 +0000</pubDate><atom:updated>2011-10-18T12:03:51.571+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">eclipse</category><category domain="http://www.blogger.com/atom/ns#">javadoc</category><title>Adding Javadoc of a jar in eclipse</title><description>Hi, recently i was facing with this problem of how to add the javadoc files of a jar in eclipse. I used netbeans earlier in which it was a simple process but here its not so straightforward.&lt;br /&gt;
First go to configure build-path of the project and select the jar in libraries tab. On expanding the jar file add the javadoc location to it and you&#39;r done.&lt;br /&gt;
Hope its hopeful.</description><link>http://streetfi8er.blogspot.com/2011/10/adding-javadoc-of-jar-in-eclipse.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-5666500379595759836</guid><pubDate>Mon, 05 Sep 2011 15:17:00 +0000</pubDate><atom:updated>2011-09-05T20:48:20.674+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">pearls</category><category domain="http://www.blogger.com/atom/ns#">programming</category><category domain="http://www.blogger.com/atom/ns#">wisdom</category><title>Some pearls of wisdom</title><description>Recently i came across few articles which were very inspiring especially for programmers.&lt;br /&gt;
They generally are concerned about how one must learn a language, start programming and ask relevant questions&lt;br /&gt;
Here are the links:&lt;br /&gt;
&lt;p&gt;&lt;a target = _blank href=&quot;http://catb.org/~esr/faqs/smart-questions.html&quot;&gt;How to ask the smart way&lt;/a&gt;&lt;br /&gt;
&lt;a target = _blank href=&quot;http://sscce.org/&quot;&gt;Short simple examples&lt;/a&gt;&lt;br /&gt;
&lt;a target = _blank href=&quot;http://norvig.com/21-days.html&quot;&gt;Why everyone&#39;s in a rush?&lt;/a&gt;&lt;br /&gt;
&lt;/p&gt;Hope it was useful.</description><link>http://streetfi8er.blogspot.com/2011/09/some-pearls-of-wisdom.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-9042420053269792771</guid><pubDate>Fri, 02 Sep 2011 06:30:00 +0000</pubDate><atom:updated>2011-09-02T12:04:10.004+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">algorithm</category><category domain="http://www.blogger.com/atom/ns#">mathematics</category><category domain="http://www.blogger.com/atom/ns#">spoj</category><title>Finding the shortest distance connecting 3 points</title><description>I came across another interesting problem, &lt;a target=_blank href=&quot;http://www.spoj.pl/problems/THREETW1&quot;&gt;THREETW1&lt;/a&gt; in spoj, thanks to &lt;a href=&quot;http://www.spoj.pl/users/hwk&quot;&gt;hwk&lt;/a&gt; . Here we need to calculate the co-ordinates of the point which connects 3 points in shortest path. &lt;br /&gt;
For this problem we need to find the &lt;a target=_blank href=&quot;http://en.wikipedia.org/wiki/Fermat_point&quot;&gt;Fermat point&lt;/a&gt; . We first calculate the barycenter of this point from the sides of the triangle and then represent it in cartesian form.&lt;br /&gt;
This problem has application in finding the point where 3 points would be linked most efficiently , specially in cable wires and telephones.&lt;br /&gt;
Happy coding!!</description><link>http://streetfi8er.blogspot.com/2011/09/finding-shortest-distance-connecting-3.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-6791427518671041019</guid><pubDate>Fri, 12 Aug 2011 19:02:00 +0000</pubDate><atom:updated>2011-12-22T22:55:33.629+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">mathematics</category><category domain="http://www.blogger.com/atom/ns#">programming</category><category domain="http://www.blogger.com/atom/ns#">spoj</category><title>Finding whether a point lies inside a polygon</title><description>Hi, it&#39;s been a really loong break. Well after getting into the corporate world, you hardly get time!&lt;br /&gt;
I recently came across a problem  &lt;a target=_blank href=&quot;http://www.spoj.pl/problems/TETRAHED&quot;&gt;TETRAHED&lt;/a&gt; in SPOJ which asks us to find whether a point lies inside a tetrahedron or not.&lt;br /&gt;
It seems quiet an interesting problem as the solution can be extended to any polygon.&lt;br /&gt;
In this we need to find the &lt;a target = _blank href=&quot;http://en.wikipedia.org/wiki/Barycentric_coordinate_system_%28mathematics%29&quot;&gt;barycenters&lt;/a&gt; of the required point and then check the signs of the barycenters. If they are same then we can say that the point lies inside the region.&lt;br /&gt;
The problem has its application in geometric modelling and in graphics.&lt;br /&gt;
Enjoy!!&lt;br /&gt;
IMPORTANT LINKS:&lt;br /&gt;
1.&lt;a href=&quot;http://math.stackexchange.com/questions/60280/calculating-the-fermat-point-of-a-triangle&quot;&gt;My DISCUSSION&lt;/a&gt;&lt;br /&gt;
2.&lt;a href=&quot;http://faculty.evansville.edu/ck6/encyclopedia/ETC.html&quot;&gt;triangle centers&lt;/a&gt;&lt;br /&gt;
3 &lt;a href=&quot;http://www.blackpawn.com/texts/pointinpoly/default.html&quot;&gt;tutorial&lt;/a&gt;</description><link>http://streetfi8er.blogspot.com/2011/08/finding-whether-point-lies-in.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-261118882090679671</guid><pubDate>Mon, 25 Apr 2011 15:55:00 +0000</pubDate><atom:updated>2011-04-26T15:29:38.708+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">college</category><category domain="http://www.blogger.com/atom/ns#">end</category><category domain="http://www.blogger.com/atom/ns#">exam</category><category domain="http://www.blogger.com/atom/ns#">nostalgia</category><title>Down the memory lane...</title><description>I feel quiet sentimental as i write this. Its been 4 winks of time since i stepped into a place , getting where needs you to beat around 350000 more aspiring candidates. As i appeared today for the very last time for my semester exam i felt that this can&#39;t be it. I mean how could it end just like this , would there be no more bunking classes,tests, no Ctrl+C followed by Ctrl+V ?? Was this the end ?&lt;br /&gt;
After i finished the exams and stepped out of the academic building,I stood there in a haze just gazing at it. The very place, getting into was something big for me 4 years ago when i had once gone passed it. &lt;br /&gt;
It was on 28th April 2007 when i stepped in and found around 100&#39;s alike lined up in a queue in front of HALL 9 all waiting to enroll themselves. We all were tensed not knowing what would happen in a place completely different to whatever most of us had been exposed so far.&lt;br /&gt;
I was lucky to have &lt;i&gt;Partho Debnath&lt;/i&gt; as my first friend there and my roommate. I still remember how in the first week there both of us would explore most of the rooms of Hall 9 trying to make friends and learn about them . It was a great feeling that people throughout India were under a roof. Then perhaps the most dreaded moments came when boys visited each others rooms to know which &lt;i&gt; zone &lt;/i&gt; he belonged. (you know why?) We had &lt;i&gt;friendly&lt;/i&gt; interactions with our seniors who embraced us into their &lt;i&gt; college families&lt;/i&gt; and thus our journey started. &lt;br /&gt;
Time flew past and soon we were sophomores. I was again greatful to have &lt;a href=&quot;http://www.navinkumarverma.com&quot;&gt;&lt;i&gt;Navin Kumar Verma&lt;/i&gt;&lt;/a&gt;,a.k.a &lt;i&gt;Navin ji&lt;/i&gt; as my roommate who inspired me greatly to believe that &lt;i&gt;All is well :)&lt;/i&gt;. I also met &lt;a target=_blank href = &quot;http://pyav.blogspot.com&quot;&gt;Anand Verma&lt;/a&gt;[a.k.a &lt;i&gt;baba&lt;/i&gt;] , who till date gets up at 6 in morning , does some excercises, freshens up and then only studies and yes who also goes off to sleep by 11 at night.&lt;br /&gt;
Tests, assignments, proxies and bunking classes summed up the next years and we were sophomores no more. &lt;br /&gt;
Third year came and with it the tension to get a good internship . &lt;i&gt;Sab lag gaye daud mein&lt;/i&gt; (including me). Inbox of IIT professors were flooded and many industries too gave us &lt;br /&gt;
opportunities. I too did my project on Android platform which was quiet satisfying.&lt;br /&gt;
Well third year too passed by as we now entered into the final lap.&lt;br /&gt;
We were now the BTech seniormost and that gave a completely different though not new feeling. Soon campussing started and most of us got placed at good places. Soon it was my chance and i too got placed. :)  At first it felt that now what? But then i realised that &lt;a target = _blank href=&quot;http://mkti.in&quot;&gt;Mukit&#39;11&lt;/a&gt; was coming up and we had to make it large. It was a grand success with participants all over the world (we had some online events too.) Mukti ended , now what, two months passed by and entered April and it was project time. I would be highly greatful to Howlader Sir who helped a lot in my Cryptography project. What a guide!&lt;br /&gt;
Soon exams were knocking and though we had only a couple of papers and we knew it would end before we would realise it. So finally it ended within a span of 5 days and now i sit before my computer writing this and realising that yes this is it. Well one phase of my journey has ended but there are many a miles to walk before i stop. Its been a great golden period of my life, emboidered by moments like India winning the World cup. Oh! that tumbling in mud in Hall 9 to running on streets in the final year. These moments would be treasured for ever.&lt;br /&gt;
Lets see next is what?</description><link>http://streetfi8er.blogspot.com/2011/04/day-has-finally-arrived.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-8420692458230657373</guid><pubDate>Mon, 04 Apr 2011 12:17:00 +0000</pubDate><atom:updated>2011-04-04T17:49:55.901+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">bollywood</category><category domain="http://www.blogger.com/atom/ns#">entertainment</category><category domain="http://www.blogger.com/atom/ns#">guzaarish</category><category domain="http://www.blogger.com/atom/ns#">karoke</category><title>One of my favourite songs</title><description>Just love this song, &quot;Sau gram zindagi&quot; sung by Kunal in Guzaarish.&lt;br /&gt;
Here&#39;s just a try:&lt;br /&gt;
&lt;iframe title=&quot;YouTube video player&quot; width=&quot;380&quot; height=&quot;290&quot; src=&quot;http://www.youtube.com/embed/FXwHzsCa1QA&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;</description><link>http://streetfi8er.blogspot.com/2011/04/one-of-my-favourite-songs.html</link><author>noreply@blogger.com (pranay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/FXwHzsCa1QA/default.jpg" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-607427192196330110</guid><pubDate>Sun, 03 Apr 2011 15:24:00 +0000</pubDate><atom:updated>2011-04-03T21:02:19.786+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">CWC11</category><category domain="http://www.blogger.com/atom/ns#">joy</category><category domain="http://www.blogger.com/atom/ns#">pride</category><title>The Cup that matters!</title><description>Really thrilled today as most of you are after we won the all important battle.. yes the cup that matters the most is finally with us, and we can now proudly say that yes we are the CHAMPIONS of the cricketing world.&lt;br /&gt;
&lt;p&gt;It was a dream come true and perhaps the only achievement left to achieve for the greatest cricketer on Earth, the great &lt;i&gt;Sachin Tendulkar&lt;/i&gt;. What hasn&#39;t he done for the INDIAN cricket!! and aptly Virat Kohli says, &quot;..he has carried the INDIAN cricket on his shoulders for the past 21 years and we are just carrying him on our shoulders for sometime..&quot; after the historic win.&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;I believe what Gary and Dhoni have done and made this INDIAN cricket team is remarkable specially after all the controversies under Greg Chappel era. Gary now seems just another INDIAN .. :)&lt;br /&gt;
The attitude of MSD is immense and you could sense it with the way he ended the match, the way he spoke and silenced the critics by his bat.. as they say.. &quot;bite is more effective than the bark&quot;!&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;For us(me and all those in 2007-2011 batch) it couldn&#39;t have been a better adieu to our golden period of life. They won it for us when we entered this phase and they gifted us with even a bigger Cup when we are about to embark on the Corporate journey of our lives.&lt;br /&gt;
Often we used to cherish the moments when we won the T-20 world cup only to relive it now even in a bigger style.&lt;br /&gt;
I once again feel honoured to be an INDIAN  and can proudly say to have lived in an era where GOD lived amongst us. &lt;br /&gt;
&lt;/p&gt;</description><link>http://streetfi8er.blogspot.com/2011/04/cup-that-matters.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-517259759921779689</guid><pubDate>Mon, 28 Mar 2011 22:28:00 +0000</pubDate><atom:updated>2011-03-29T03:58:35.734+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">shorten</category><category domain="http://www.blogger.com/atom/ns#">spoj</category><title>Winner for a couple of hours</title><description>Hi all, felt really happy to be the first one to submit a solution to &lt;a href=&quot;http://www.spoj.pl/problems/BALLS/&quot; target=_blank&gt;this&lt;/a&gt; spoj challenge. This is a challenge problem so the shorter the code, the more points. Well i did remain the winner till a couple of hours till my code length was beaten by &lt;a href = &quot;http://www.spoj.pl/users/numerix&quot; target=_blank&gt;numerix&lt;/a&gt;, who is one of the best python coders around. &lt;br /&gt;
Hoping to improve my code and learn more python.</description><link>http://streetfi8er.blogspot.com/2011/03/winner-for-couple-of-hours.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-1564840778247660127</guid><pubDate>Wed, 09 Mar 2011 09:01:00 +0000</pubDate><atom:updated>2011-03-09T14:31:25.497+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">destop alarm</category><category domain="http://www.blogger.com/atom/ns#">foss</category><title>DesktopAlarm_v2</title><description>Hi, recently working on making a better version of Desktop Speaking Alarm. &lt;br /&gt;
&lt;a href = &quot;https://sourceforge.net/projects/speakingalarm/&quot; target=&quot;_blank&quot;&gt;Here&#39;s&lt;/a&gt; the latest version.&lt;br /&gt;
Improvements:&lt;br /&gt;
1. The application now works in background once you set the timer.&lt;br /&gt;
2. The clock set is a 24 hour one.&lt;br /&gt;
Please leave you reviews.</description><link>http://streetfi8er.blogspot.com/2011/03/desktopalarmv2.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-1124046856725324691</guid><pubDate>Sun, 06 Mar 2011 03:34:00 +0000</pubDate><atom:updated>2011-03-06T09:06:17.542+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">animation</category><category domain="http://www.blogger.com/atom/ns#">foss</category><category domain="http://www.blogger.com/atom/ns#">perl</category><category domain="http://www.blogger.com/atom/ns#">termimal</category><title>Fun with perl-- Terminal Animation</title><description>Here&#39;s some fun for you. Want to turn you terminal to a live aquarium with sharks and ships roaming around?? Here&#39;s what you need to do:&lt;br /&gt;
1. &lt;b&gt;Install Term-Animation&lt;/b&gt; from &lt;a href = &quot;http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
2. Extract the package using tar -xvf &lt;i&gt;filename&lt;/i&gt;&lt;br /&gt;
3. cd to the directory formed after extraction and run :&lt;br /&gt;
perl Makefile.PL &amp;&amp; make &amp;&amp; make test&lt;br /&gt;
4. sudo make install&lt;br /&gt;
5. &lt;b&gt;Install AsciiAquarium&lt;/b&gt; from &lt;a href = &quot;http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
6. cd to the directory and type sudo cp asciiquarium /usr/local/bin&lt;br /&gt;
7. sudo chmod 0755 /usr/local/bin/asciiquarium&lt;br /&gt;
8. Now to test the application , type:&lt;br /&gt;
/usr/local/bin/asciiquarium&lt;br /&gt;
or &lt;br /&gt;
perl /usr/local/bin/asciiquarium&lt;br /&gt;
Here&#39;s a screenshot of the animation:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://files.cyberciti.biz/uploads/tips/2011/01/small-aq-01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; width=&quot;420&quot; src=&quot;http://files.cyberciti.biz/uploads/tips/2011/01/small-aq-01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
That&#39;t it hope you enjoy! &lt;br /&gt;
&lt;b&gt; P.S &lt;/b&gt; Source: nixcraft</description><link>http://streetfi8er.blogspot.com/2011/03/fun-with-perl-terminal-animation.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-6233213944932587616</guid><pubDate>Tue, 08 Feb 2011 14:06:00 +0000</pubDate><atom:updated>2011-03-03T10:22:14.829+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">ns2</category><category domain="http://www.blogger.com/atom/ns#">open source</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><title>Installing NS2 in Ubuntu gets easy</title><description>Hi friends, the  following is one of the easy procedures to get ns2 (Network Simulator) running on Ubuntu:&lt;br /&gt;
&lt;b&gt;1&lt;/b&gt;.Download the .rar file form &lt;a target=_blank href=&quot;http://www.4shared.com/file/vY0e9N_3/NS2inUbuntu.html&quot;&gt;here&lt;/a&gt;. &lt;br /&gt;
&lt;b&gt;2&lt;/b&gt;. Now extract it (u need unrar programme for that).&lt;br /&gt;
&lt;b&gt;3&lt;/b&gt;. You would find some .deb packages. Just right click on each and choose &quot;Open with Package Installer&quot;.&lt;br /&gt;
&lt;b&gt;4&lt;/b&gt;. Open the terminal and type: &lt;i&gt; ns &lt;/i&gt; . If you see a &lt;b&gt;%&lt;/b&gt; sign then you have successfully installed ns2&lt;br /&gt;
&lt;b&gt;5&lt;/b&gt;. Now to test the simulator, type in terminal : &lt;i&gt; ns example.tcl &lt;/i&gt; and a simulator should pop up.(You need to write a sample tcl for this or you may donwload the example tcl file from &lt;a target=_blank href= &quot;http://www.4shared.com/file/MKfOVBy0/example.html
&quot;&gt;here&lt;/a&gt;).&lt;br /&gt;
That&#39;s it , congratulations,you have installed ns2 without much hasstles i suppose. :)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;P.S&lt;/b&gt;: &lt;br /&gt;
&lt;b&gt;1.&lt;/b&gt; While installing the packages with the package manager, some error messages may come , so leave those packages, and proceed with next and then come back to it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.&lt;/b&gt; A tutorial on ns and tcl can be accessed &lt;a target=_blank href=&quot;http://www.isi.edu/nsnam/ns/tutorial/index.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;b&gt;3.&lt;/b&gt; Through the above method one  won&#39;t be able to edit the source code of ns , so for that one can downlaod the ns-allinone RC7 from &lt;a href=&quot;http://www.isi.edu/nsnam/dist/release/ns-allinone-2.35-RC7.tar.gz&quot;&gt;here&lt;/a&gt; . Extract it and do ./install . Then one needs to add some path variables in ~/.bashrc file (you will be told after the install process) and then run ./validate inside the ns folder</description><link>http://streetfi8er.blogspot.com/2011/02/installing-ns2-in-ubuntu-gets-easy.html</link><author>noreply@blogger.com (pranay)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-7234250805967674232</guid><pubDate>Mon, 07 Feb 2011 04:08:00 +0000</pubDate><atom:updated>2011-02-07T09:56:53.672+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">foss</category><category domain="http://www.blogger.com/atom/ns#">mukti 11.2</category><title>The Beginnning of Another End</title><description>It gives me immense pleasure to say that &lt;a target =_blank href = &quot;http://mkti.in&quot;&gt;Mukti 11.2&lt;/a&gt; ended in great spirits- The spirit of Openness and collaboration, contribution and encouragement.&lt;br /&gt;
Sadly it was my last Mukti as a co-ordinator but indeed the journey&#39;s been memorable. &lt;br /&gt;
&lt;b&gt;Day 1:&lt;/b&gt;&lt;br /&gt;
Mukti 11.2 started with speeches from our Director and teachers who promoted foss. We had some wonderful speakers like &lt;a target=_blank href = &quot;http://fedoraproject.org/wiki/RahulSundaram&quot;&gt;Rahul Sundaram&lt;/a&gt; who started the day with workshop on RPM packaging .There was a great turn out and the workshop was very informative.&lt;br /&gt;
This was followed by some events. Later in the evening we had the workshop on Python programming(basics) by &lt;a href = &quot;http://fedoraproject.org/wiki/KushalDas&quot; target = _blank &gt; Kushal Das &lt;/a&gt;&lt;br /&gt;
&lt;b&gt;Day 2:&lt;/b&gt;&lt;br /&gt;
The second day there were talks on Python Programming(advanced)by Kushal and then later &lt;a target=_blank href=&quot;http://www.codechef.com/users/gamabunta/&quot;&gt;Shilip Gupta&lt;/a&gt; gave some tips on Fundamentals of Programming. &lt;br /&gt;
Late in the evening i had the prelims of my event ,InCanity. Thanks to all for the great response. Only 1 of the qualifying team -&lt;i&gt;&quot;Madmen&quot;&lt;/i&gt;( which ultimately were the winners) could correctly answer the question : &quot;Importance of keyword volatile in C &quot; . It left me wondering was it that uncommon??&lt;br /&gt;
&lt;b&gt;Day 3:&lt;/b&gt;&lt;br /&gt;
At 10:00 am we started off with the finals of InCanity which was quiet interesting especially with teams competing to get the shortest code in a question. &lt;br /&gt;
Meanwhile we had workshop on System Programming in Python by Kushal.&lt;br /&gt;
In the afternoon we had talk on &lt;a target=_blank href = &quot;http://doc.qt.nokia.com/4.7/qdeclarativeintroduction.html&quot;&gt; QML&lt;/a&gt; by &lt;a target=_
 href = &quot;http://www.shantanutushar.com/&quot;&gt;Shantanu Tushar Jha&lt;/a&gt; following by &lt;a target=_  href = &quot;http://fedoraproject.org/wiki/User:Shreyankg&quot;&gt; Shreyank&#39;s&lt;/a&gt; workshop on Ruby on Rails.&lt;br /&gt;
After this we started off with closing ceremony by giving away the prizes for various events, with the best moments coming with Shreyank, DJing. Oh! take away his phone and he&#39;s helpless :)&lt;br /&gt;
Overall it was a great success, thank you all for being part of it.&lt;br /&gt;
Looking forward for Mukti 12.2</description><link>http://streetfi8er.blogspot.com/2011/02/beginnning-of-another-end.html</link><author>noreply@blogger.com (pranay)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-633007551414097380</guid><pubDate>Wed, 02 Feb 2011 12:29:00 +0000</pubDate><atom:updated>2011-02-02T18:04:28.337+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">mukti</category><category domain="http://www.blogger.com/atom/ns#">open source</category><title>Mukti 11.02</title><description>Hi friends,&lt;br /&gt;
Each year Open Source enthusiasts from all over the country rise to it in unison. When Mukti comes calling.... MUKTI is the Annual National Level Technical Symposium on GNU/Linux and Free Software conducted by the GNU/Linux Users&#39; Group of NIT Durgapur. Our sole goal is to promote the awareness of Free and Open Source Software (FOSS) in and beyond the student community of India. We have had the opportunity to play host to a number of eminent FOSS contributors at the international level during MUKTI. We preach the holy teachings of Open Source and practice it at the hallowed portals of the numerous workshops dedicated to it.We have also always had the good fortune of being associated with an enthusiastic and knowledge audience. So if you want to breath the fresh air of freedom – freedom from copyrights, licenses and registration codes - it is time to wake up. To the call of MUKTI...&lt;br /&gt;
So come on and &lt;a target=_blank href=&quot;http://mkti.in&quot;&gt;register&lt;/a&gt; youself.&lt;br /&gt;
&lt;iframe title=&quot;YouTube video player&quot; class=&quot;youtube-player&quot; type=&quot;text/html&quot; width=&quot;450&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/7UWPCs5M1-Y&quot; frameborder=&quot;0&quot; allowFullScreen&gt;&lt;/iframe&gt;</description><link>http://streetfi8er.blogspot.com/2011/02/mukti-1102.html</link><author>noreply@blogger.com (pranay)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/7UWPCs5M1-Y/default.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-4829408703131882723</guid><pubDate>Tue, 01 Feb 2011 05:06:00 +0000</pubDate><atom:updated>2011-02-01T10:36:27.751+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">java</category><category domain="http://www.blogger.com/atom/ns#">jnlp</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><title>Solution to .jnlp file not launching in ubuntu</title><description>Hi, i was having this problem of not being able to launch a .jnlp file , i thought that it might be some problem with the java installed in my system and was almost ready to reinstall it when luckly i realised that Sun java was requiered for it and the default i was using was OpenJDK.&lt;br /&gt;
So i corrected it and now it&#39;s working perfectly  :)&lt;br /&gt;
Here&#39;s how you can do it to prevent any hasstles.&lt;br /&gt;
Type in the terminal:&lt;br /&gt;
&lt;b&gt;&lt;i&gt;sudo update-alternatives  --config java&lt;/i&gt;&lt;/b&gt; &lt;br /&gt;
This command will present you the java options in your system and the default one . Just follow the instruction and choose Sun Java as the default. &lt;br /&gt;
That&#39;s it . Enjoy :)</description><link>http://streetfi8er.blogspot.com/2011/02/solution-to-jnlp-file-not-launching-in.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-2643271995239192815</guid><pubDate>Sun, 19 Dec 2010 06:56:00 +0000</pubDate><atom:updated>2011-02-03T22:05:33.559+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">foss.in</category><category domain="http://www.blogger.com/atom/ns#">open source</category><title>FOSS.IN</title><description>This was my first and sadly the last FOSS.IN and as expected, it was full of fun as well as inspiration. Speakers and developers from around the globe had gathered for this event.&lt;br /&gt;
On the first day , i got off a little late from my room and reached the spot only to find a long queue for the ID cards. After the formalities, we (Praveen, Prayag and of course me) stepped in the hall. &lt;br /&gt;
The first talk was on Wikimedia by &lt;a href = &quot;http://en.wikipedia.org/wiki/Danese_Cooper&quot;&gt;Danese Cooper &lt;/a&gt; who also said &quot;Wikileaks!= Wikimedia&quot; :)&lt;br /&gt;
There were several other talks but i attented a few which included :&lt;br /&gt;
Beyond init - &lt;a target=_blank href=&quot;http://0pointer.de/lennart/&quot;&gt;Leonart Pottering&lt;/a&gt;&lt;br /&gt;
Failures of Fedora and what we learned from it -&lt;a target=_blank href=&quot;http://fedoraproject.org/wiki/RahulSundaram&quot;&gt;Rahul Sundaram&lt;/a&gt; &lt;br /&gt;
Day two was even more interesting:&lt;br /&gt;
It featured Fedora MiniConf . It included 6 talks. Rahul started it by getting throught the schedule and then Amit talked about virtulisation.This was followed by talk by Arun and then Ankit Patwari  and then &lt;a target=_blank href=&quot;http://fedoraproject.org/wiki/User:Shreyankg&quot;&gt;Shreyank&lt;/a&gt; talked about his Four Seasons Of Code. &lt;br /&gt;
Later we had a packaging session by &lt;a target=_blank href=&quot;http://fedoraproject.org/wiki/User:Sagarun&quot;&gt;Arun Sag&lt;/a&gt;. &lt;br /&gt;
The last day included another packaging session by Rahul and it was very detailed. Thanks to IRC :)&lt;br /&gt;
The event ended with a lively performance by &lt;a target=_blank href=&quot;http://raghudixit.com/&quot;&gt;Raghu Dixit&lt;/a&gt; , a well known band in Karnatka and the ambience was filled with excitement. Thanks to him , i even learned some Kannad words!! &lt;br /&gt;
It was an awesome experience and will be remembered for a long time . &lt;br /&gt;
Proud to use Open Source .</description><link>http://streetfi8er.blogspot.com/2010/12/fossin.html</link><author>noreply@blogger.com (pranay)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2452034444854056122.post-826443804378491684</guid><pubDate>Mon, 01 Nov 2010 07:16:00 +0000</pubDate><atom:updated>2010-11-01T14:16:09.885+05:30</atom:updated><title>Convert .jpg to .pdf instantly! and combine multiple pdf to one</title><description>Hi all, recently i had to convert some .jpg files to pdf , i knew that it can be done via GIMP by exporting as pdf but going by the number of files , it would have taken a lot of time, so i googled and found this amazing tool called Imagemagick which one can find in the Ubuntu repository.&lt;br /&gt;
First you need to install it as:&lt;br /&gt;
&lt;b&gt;&lt;i&gt;sudo apt-get install imagemagick&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
and then convert simply as:&lt;br /&gt;
&lt;b&gt;&lt;i&gt;convert foo.jpg foo.pdf&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;strike&gt;Moreover i&#39;m thinking of writing a bash script which would convert all the files at one go. It will take some time so keep watching.&lt;/strike&gt;&lt;br /&gt;
Here&#39;s script i wrote to convert all the .jpg files in the current directory to .pdf:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
count=1;&lt;br /&gt;
for file in *.JPG;&lt;br /&gt;
do&lt;br /&gt;
echo &quot;$file coverted to $count.pdf&quot;&lt;br /&gt;
convert $file $count.pdf&lt;br /&gt;
let count=$count+1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
Now to combine multiple pdfs to one , one needs to install two small packages:&lt;br /&gt;
&lt;i&gt;&lt;b&gt;gs&lt;/b&gt; and &lt;b&gt;pdftk&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
next to combine use the following command:&lt;br /&gt;
&lt;i&gt;&lt;b&gt; pdftk *.pdf output combined.pdf&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
where combined.pdf is the new combined pdf formed.&lt;br /&gt;
&lt;br /&gt;
Hope it was useful. &lt;br /&gt;
Proud to use open source :)</description><link>http://streetfi8er.blogspot.com/2010/11/convert-jpg-to-pdf-instantly.html</link><author>noreply@blogger.com (pranay)</author><thr:total>0</thr:total></item></channel></rss>