<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Developer, designer and casual gamer aged sixteen, with a scruffy stubble and a sharpened wit to match.</description><title>Aviral Dasgupta</title><generator>Tumblr (3.0; @aviraldg)</generator><link>http://www.aviraldg.com/</link><item><title>GCI 2012 and Sahana Software Foundation</title><description>&lt;p&gt;This is a post about my experience working with the &lt;a href="http://www.sahanafoundation.org" target="_blank"&gt;&lt;em&gt;Sahana Software Foundation&lt;/em&gt;&lt;/a&gt;, a nonprofit organisation that develops software like Eden, Vesuvius and Agasti to help organisations like the UN in disaster management efforts.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/b81d98a50c0114109d9bfe6d9a4cec6e/tumblr_inline_mhqy9gnIOn1qz4rgp.jpg" alt=""/&gt;&lt;/p&gt;

&lt;p&gt;(I was selected as one of the &lt;a href="http://google-opensource.blogspot.in/2013/02/google-code-in-2012-grand-prize-winners.html" target="_blank"&gt;Grand Prize Winners for GCI 2012&lt;/a&gt; from SSF. :D)&lt;/p&gt;

&lt;h2&gt;The Experience&lt;/h2&gt;

&lt;p&gt;Before working with Sahana, I&amp;#8217;d never really used Web2py, only Flask and Django. So, while reading up on Web2py and S3 (Eden&amp;#8217;s custom CRUD framework) I started with some stuff that didn&amp;#8217;t require intimate knowledge of them. This included some documentation tasks, and bug hunting tasks (something I really don&amp;#8217;t like that much!)&lt;/p&gt;

&lt;p&gt;That was when Michael helped me get started with some of the Selenium tests. Before long, I realised that doing them by hand would be repetitive and would get complicated rather quickly, so I wrote a few helpers to make it easier. Later, Liezl added to this to enable automatic comparison with results returned from the DB, greatly simplifying the task of writing Selenium tests.&lt;/p&gt;

&lt;p&gt;Then, I helped clean up Trac (either by &lt;a href="http://eden.sahanafoundation.org/query?owner=aviraldg&amp;amp;status=closed&amp;amp;col=id&amp;amp;col=summary&amp;amp;col=status&amp;amp;col=type&amp;amp;col=priority&amp;amp;col=milestone&amp;amp;col=component&amp;amp;order=priority" target="_blank"&gt;fixing issues&lt;/a&gt;, or by triaging tickets) &amp;#8212; much of this wasn&amp;#8217;t a part of GCI, but I did it anyway because it was a lot of fun ;)&lt;/p&gt;

&lt;p&gt;After that, I worked on one of the bigger issues, the &lt;a href="http://eden.sahanafoundation.org/ticket/1017" target="_blank"&gt;image crop widget&lt;/a&gt;. Eden is often deployed in very remote locations where a reliable connection isn&amp;#8217;t usually available, so it&amp;#8217;s essential to ensure that there&amp;#8217;s as little data transfer as possible. The image crop widget, completely implemented using HTML5 and Javascript, simply allows a user to crop large images client-side, without having to transfer them to the server. This might sound easy, but in practice, it&amp;#8217;s slightly harder, because of several security restrictions that modern browsers put into place, like &lt;a href="http://stackoverflow.com/search?q=fakepath" target="_blank"&gt;fakepath&lt;/a&gt; and the &amp;#8220;dirty&amp;#8221; flag for &lt;code&gt;Canvas&lt;/code&gt;es. The final widget implements both scaling and cropping both on the client side, and on the server side (as a fallback, where it uses &lt;code&gt;PIL&lt;/code&gt;)&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/04f39b7278b1b94b76e3345d27c88555/tumblr_inline_mhqyu62pTi1qz4rgp.png" alt="The image crop widget in action."/&gt;&lt;/p&gt;

&lt;p&gt;This was followed by some more client-side modifications that used HTML5 (eg. the fullscreen API) and the colour picker widget. All this was relatively easy to do.&lt;/p&gt;

&lt;p&gt;Finally, I worked on some of Eden&amp;#8217;s GIS components &amp;#8212; the hard stuff &amp;#8212; imports, deduplication and synchronisation. Now, every time you import POIs from OpenStreetMap into Eden, Eden will automatically sync with OSM and ensure that no duplicates are created on new imports.&lt;/p&gt;

&lt;p&gt;All the mentors were extremely helpful throughout, and none of this would have been possible without them.&lt;/p&gt;

&lt;h2&gt;Thanks, Everyone!&lt;/h2&gt;

&lt;p&gt;First, a big thank you to all the mentors (in no particular order):&lt;/p&gt;

&lt;ol&gt;&lt;li&gt;Pat, who would always stay around and help, sometimes even at the cost of her own sleep.&lt;/li&gt;
&lt;li&gt;Robby, for his encouragement (and showering me with praises! :D)&lt;/li&gt;
&lt;li&gt;Dominic, for being the &amp;#8220;drill sergeant&amp;#8221; (wink) and really helping out when I got into trouble with S3.&lt;/li&gt;
&lt;li&gt;Fran, who helped me with a lot of Eden&amp;#8217;s internals, and generally guided me around the project.&lt;/li&gt;
&lt;li&gt;Michael, who introduced me to Selenium testing (and helped me with some of my first tasks!)&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;and, to some of the students:&lt;/p&gt;

&lt;ol&gt;&lt;li&gt;Liezl, a great developer. (We&amp;#8217;ll be meeting anyway, so I&amp;#8217;ll leave it at this!)&lt;/li&gt;
&lt;li&gt;Cynthia, for making GCI about more than just development and showing remarkable resilience, even when dealing with difficult issues. Truly inspiring.&lt;/li&gt;
&lt;li&gt;Vijay, for being a gentleman (he knows what I&amp;#8217;m talking about!)&lt;/li&gt;
&lt;li&gt;Toh(or Zie? [or Jie?]), a fun guy in general, who taught me about Asian names (it&amp;#8217;s still rather confusing though, as you can see :P)&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;and finally, to everyone at OSPO (Carol, Chris, Stephanie, and anyone else I&amp;#8217;ve forgotten) The work that you guys put into encouraging students to get involved with Open Source Software is really admirable. I remember many people asking me for guidance on how to get started with OSS dev after GCI 2010, including people who&amp;#8217;d never heard of the term before.&lt;/p&gt;

&lt;p&gt;Also, thanks to everyone I forgot to mention here! I hope I&amp;#8217;ll get to know you better in the future.&lt;/p&gt;

&lt;h2&gt;About the Future&lt;/h2&gt;

&lt;p&gt;(if you don&amp;#8217;t work on Eden, you could probably stop reading at this point)&lt;/p&gt;

&lt;p&gt;While working on Eden I found several issues that were out of scope in terms of GCI, but were pretty interesting on their own. These are pretty major ideas and require significant amounts of work to get done, so I&amp;#8217;d definitely need people to work on these ideas with me.&lt;/p&gt;

&lt;p&gt;Firstly, I found it odd, that Eden, being a disaster management platform, doesn&amp;#8217;t have a &amp;#8220;proper&amp;#8221; mobile app. So, during GCI, I started working on a native Android app for Eden. (UI/UX sketches are available at &lt;a href="http://eden.sahanafoundation.org/wiki/DeveloperGuidelines/Mobile/Android#NativeClient" target="_blank"&gt;http://eden.sahanafoundation.org/wiki/DeveloperGuidelines/Mobile/Android#NativeClient&lt;/a&gt;) Some of the XForms code could probably be reused for this, and we could have an &amp;#8220;app repackager&amp;#8221; to allow deployments to create their own custom versions of the app.&lt;/p&gt;

&lt;p&gt;Another idea suggested by Michael, was that we could have a new theme based on Twitter Bootstrap. Not only would this add some spice to the existing UI, but it would also allow us to support other mobile devices easily, as Bootstrap supports RWD (of course, this could be done without Bootstrap, but it&amp;#8217;d require much more time and effort.)&lt;/p&gt;

&lt;p&gt;During GCI, I implemented two widgets for Eden, a colour picker and an image cropper (that&amp;#8217;s based on HTML5&amp;#160;&lt;em&gt;hawtness&lt;/em&gt;!) As far as UI widgets and JS goes, these are relatively untested, except on the newest browsers. Compatibility tests need to done for these, and suitable workarounds need to be devised where required.&lt;/p&gt;

&lt;p&gt;Since most of Eden&amp;#8217;s modules basically do CRUD operations on models, I think it would be a wise idea to consider using something like AngularJS for the client side framework in the future. (I expect a long chat with Dominic about this on IRC :D) This would also enable us to create things like &amp;#8220;live widgets&amp;#8221; etc. (of course, this is still possible now, but doing that would make it easier)&lt;/p&gt;

&lt;p&gt;Finally, I think the static file build system should be replaced with something that&amp;#8217;s actually meant for that purpose, like Grunt.&lt;/p&gt;

&lt;h2&gt;TL;DR&lt;/h2&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/f4c6f4e15bb5ebcc4970924153bf3ac7/tumblr_inline_mhqy3pIpjX1qz4rgp.jpg" alt=""/&gt;
It was: &lt;em&gt;LEGEN-wait for it-DARY.&lt;/em&gt;&lt;/p&gt;</description><link>http://www.aviraldg.com/post/42349284334</link><guid>http://www.aviraldg.com/post/42349284334</guid><pubDate>Tue, 05 Feb 2013 17:48:00 +0530</pubDate><category>competitions</category><category>open-source</category></item><item><title>Some flowers we bought at the local flower show.</title><description>&lt;img src="http://25.media.tumblr.com/ffb05f3bf502219ad0ecb2e3f3c2065d/tumblr_mfzyvu54E91qbmgivo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Some flowers we bought at the local flower show.&lt;/p&gt;</description><link>http://www.aviraldg.com/post/39468868394</link><guid>http://www.aviraldg.com/post/39468868394</guid><pubDate>Wed, 02 Jan 2013 17:34:41 +0530</pubDate></item><item><title>Status Update</title><description>&lt;p&gt;I haven&amp;#8217;t posted here in a while, so here&amp;#8217;s a status update: I&amp;#8217;m alive. :)&lt;/p&gt;

&lt;p&gt;11th grade doesn&amp;#8217;t really leave you with much time for anything. So&amp;#8230; anyway, no excuses :)&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&lt;p&gt;I had my second term exams - and I screwed up pretty bad.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Shubham and I came 2nd at the TCS IT WIZ national finals held in Chennai. Prempal and Arnav from Delhi won (on the tie breaker!) &amp;#8212; hats off!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I started volunteering with &lt;a href="http://eden.sahanafoundation.org" target="_blank"&gt;Sahana Eden&lt;/a&gt;. More about this later.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;</description><link>http://www.aviraldg.com/post/39126668057</link><guid>http://www.aviraldg.com/post/39126668057</guid><pubDate>Sat, 29 Dec 2012 19:56:00 +0530</pubDate></item><item><title>Learning (or at least trying to learn) how to read and write...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m8xwsaAryW1qbmgivo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Learning (or at least trying to learn) how to read and write Bangla… It’s like KG all over again :-)  (Taken with &lt;a href="http://instagram.com" target="_blank"&gt;Instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://www.aviraldg.com/post/29679574241</link><guid>http://www.aviraldg.com/post/29679574241</guid><pubDate>Sat, 18 Aug 2012 12:58:58 +0530</pubDate></item><item><title>Shubham and I at the Kolkata edition of TCS IT Wiz ‘12 -...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m8szooJPh51qbmgivo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="https://www.fb.com/shubham.jsr" target="_blank"&gt;Shubham&lt;/a&gt; and I at the Kolkata edition of TCS IT Wiz ‘12 - first place :)&lt;/p&gt;</description><link>http://www.aviraldg.com/post/29483911275</link><guid>http://www.aviraldg.com/post/29483911275</guid><pubDate>Wed, 15 Aug 2012 21:13:35 +0530</pubDate><category>competitions</category></item><item><title>WikiPDF</title><description>&lt;p&gt;TCS IT Wiz is coming up (the Kolkata edition&amp;#8217;s on the 9th) and that means a lot of research work, especially from Wikipedia. So, I wrote up a quick tool to export Wikipedia pages as PDFs. First, install Python 2.7 from &lt;a href="http://python.org/download/releases/2.7.3/" target="_blank"&gt;here&lt;/a&gt; and download the following script:&lt;/p&gt;

&lt;script src="https://gist.github.com/3262821.js?file=wikipdf.py"&gt;&lt;/script&gt;&lt;p&gt;Then, install PIP by downloading and running &lt;a href="https://raw.github.com/pypa/pip/master/contrib/get-pip.py" target="_blank"&gt;https://raw.github.com/pypa/pip/master/contrib/get-pip.py&lt;/a&gt; and execute the following commands:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;aviraldg@aviraldg-netbook:~$ pip install beautifulsoup4
aviraldg@aviraldg-netbook:~$ pip install requests
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now, just create a text file which lists all the topics you want to download, each on a new line, and drag this file on top of the wikipdf script (or execute it from the terminal with the list file as an argument.)&lt;/p&gt;

&lt;p&gt;Comment if you have problems or want to offer feedback.&lt;/p&gt;</description><link>http://www.aviraldg.com/post/28755892816</link><guid>http://www.aviraldg.com/post/28755892816</guid><pubDate>Sun, 05 Aug 2012 13:52:43 +0530</pubDate><category>wikipedia</category><category>script</category><category>development</category></item><item><title>You're an Idiot If You Use PHP.</title><description>Mohammed: i like coding in PHP :D&lt;br /&gt;&#13;
me: Then you're an idiot. I'll tolerate anything but two languages: PHP and BASIC.&lt;br /&gt;&#13;
Mohammed: hehe&lt;br /&gt;&#13;
BASIC goes for me too&lt;br /&gt;&#13;
me: PHP is brain-damagingly bad.&lt;br /&gt;&#13;
Mohammed: but it is used so widely.......&lt;br /&gt;&#13;
me: That doesn't automatically make it good.&lt;br /&gt;&#13;
Mohammed: but PHP must hv[sic] something which made it the most widely used server side language. I know that Python is a powerful language but you can't just say that PHP is bad&lt;br /&gt;&#13;
me: I can and I am. Here's why it's that popular: because you can just drop HTML into PHP source code and you can just drop PHP code into a directory and it "just works." That makes it easy for newbies. Doesn't mean that it's the safest or the best thing to do. In fact putting source code into a web facing directory is an absolute no-no. The standard library in PHP has no namespaces and is a big messy ball of functions. There's no consistency when it comes to naming: there's functions like strlen and also functions like str_foo. The parameters of these functions, even when they are exactly the same, don't follow the same order. The typecasting system is laughably bad. For example, in PHP:&lt;br /&gt;&#13;
    &lt;br /&gt;&#13;
    "3 hundred spartans" == 3&lt;br /&gt;&#13;
  &lt;br /&gt;&#13;
would evaluate to true. The syntax for many common language features like variables and hashes is poorly thought out and clunky. $and_all_variables_look_like_this and hashes (dicts in Python) use =&gt; as a separator. Need more evidence? Newbies using PHP is bad as it is.&lt;br /&gt;&#13;
 Mohammed: nah :-|&lt;br /&gt;&#13;
 me: But knowing all this and still using PHP is nothing but stupidity.&lt;br /&gt;&#13;
 Mohammed: i got my answer (an intelligent answer)&lt;br /&gt;&#13;
 me: ?&lt;br /&gt;&#13;
What?&lt;br /&gt;&#13;
Mohammed: now&lt;br /&gt;&#13;
i saw the 'real' face of PHP&lt;br /&gt;&#13;
as always......u tell me things which prove to be very awesome&lt;br /&gt;&#13;
me: lol. Anyway here's more:&lt;br /&gt;&#13;
Mohammed: thanks :D&lt;br /&gt;&#13;
me: The biggest problem with PHP&lt;br /&gt;&#13;
imho&lt;br /&gt;&#13;
is Rasmus Lerdorf (the guy who created it)&lt;br /&gt;&#13;
According to him, "PHP is a language for non-programmers"&lt;br /&gt;&#13;
Mohammed: that's right&lt;br /&gt;&#13;
me: and "PHP is not engineered ... it was just hacked together" (rough quote)&lt;br /&gt;&#13;
Check it up.&lt;br /&gt;&#13;
When I write something, I want it to be fast, readable and bug free.&lt;br /&gt;&#13;
PHP doesn't let me do that (easily.) In fact a lot of PHP itself is very buggy. For example, I remember a case where a standard library function was supposed to return false, but was returning a "falsy" (anything that resolves to false, in this case 0) value and someone reported that it was causing some of his apps to break, but the issue was closed without a fix. Things like that.&lt;br /&gt;&#13;
Is it possible to develop good software in PHP? Yes. But it's extremely difficult. Your programming language should make it as easy as possible for you to develop stuff.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;end of rant&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
(there are a lot more things that are broken in PHP, but I don't know enough of it to tell you about all of them, and frankly speaking, I don't want to know more than I already do; it's bad enough as it is.)</description><link>http://www.aviraldg.com/post/27474478858</link><guid>http://www.aviraldg.com/post/27474478858</guid><pubDate>Wed, 18 Jul 2012 15:23:09 +0530</pubDate><category>php</category><category>chat</category><category>rant</category><category>development</category></item><item><title>Limbo.</title><description>&lt;p&gt;I recently managed to grab &lt;a href="http://limbogame.org/" target="_blank"&gt;Limbo&lt;/a&gt; (and a few other excellent videogames) as a part of the 5th Humble Indie Bundle. I&amp;#8217;d seen Limbo long before HIB5, but back then it&amp;#8217;d only been released on XBLA, which is why I was overjoyed to see it on HIB5 (which &lt;em&gt;usually&lt;/em&gt; means Linux compatibility.) Unfortunately it appears that the Linux version is a simple WINE wrapper over the Windows version. Either way, I had to have a go at it (on my dad&amp;#8217;s laptop which &lt;em&gt;still&lt;/em&gt; runs XP.)&lt;/p&gt;

&lt;p&gt;Limbo&amp;#8217;s a monochromatic platform-puzzler with an interesting sense of design and a macabre sense of humour which involves having your character impaled by spikes, decapitated and eaten by a spider (among other things) while you try and figure out solutions to its puzzles. It&amp;#8217;s almost like Braid in black-and-white. I&amp;#8217;ve had a lot of fun with it so far (and I&amp;#8217;m about 70% through.) Go buy it if you haven&amp;#8217;t bought it yet &amp;#8212; it&amp;#8217;s totally worth it.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m4y4hoe9WN1qbaxmf.jpg" alt="The silhouette of a boy atop that of a tree trunk."/&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m4y4niKZWT1qbaxmf.jpg" alt="A shadowy image of a raven perched upon a box which hangs above the shadowy protagonist of Limbo."/&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m4y4lt8xcg1qbaxmf.jpg" alt="A giant spider chases the hero of Limbo, who is wrapped in its silky white web."/&gt;&lt;/p&gt;</description><link>http://www.aviraldg.com/post/25642970288</link><guid>http://www.aviraldg.com/post/25642970288</guid><pubDate>Fri, 22 Jun 2012 18:30:00 +0530</pubDate><category>videogames</category><category>review</category><category>HIB</category></item><item><title>Learning #1: Flask</title><description>&lt;p&gt;&lt;em&gt;This is a new series of posts wherein I&amp;#8217;ll post about something at the start of a month, learn about it and experiment with it through the month. At the end of the month, I&amp;#8217;ll make a post about all my experiments and learnings.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m5e3l6fRIO1qbaxmf.png" alt="Flask's logo."/&gt;&lt;/p&gt;

&lt;p&gt;To kick things off, this month, I&amp;#8217;ll be doing: &lt;a href="http://flask.pocoo.org/" target="_blank"&gt;Flask&lt;/a&gt;, the Python microframework.&lt;/p&gt;

&lt;h2&gt;Why Flask?&lt;/h2&gt;

&lt;p&gt;I&amp;#8217;ve been using &lt;a href="http://djangoproject.com/" target="_blank"&gt;Django&lt;/a&gt; for Python web development for years now, and it works rather well. Recently, I saw &lt;a href="https://speakerdeck.com/u/kennethreitz/p/flasky-goodness" target="_blank"&gt;Kenneth Reitz&amp;#8217;s presentation, &amp;#8220;Flasky Goodness: Or Why Django Sucks.&amp;#8221;&lt;/a&gt; While I won&amp;#8217;t go all the way and say that Django &lt;em&gt;sucks&lt;/em&gt; outright, he definitely makes some valid points. I&amp;#8217;ve also heard (mainly good things) about Flask before. Hence, Flask. Also, I&amp;#8217;ve used Jinja before and need experience with SQLAlchemy for another (CLI) app I&amp;#8217;m building.&lt;/p&gt;

&lt;p&gt;In addition to all the points mentioned above, this will also help me test my theory that microframeworks require you to &lt;em&gt;reinvent the wheel&lt;/em&gt;, several times over (compared to frameworks like Django.)&lt;/p&gt;</description><link>http://www.aviraldg.com/post/24702335798</link><guid>http://www.aviraldg.com/post/24702335798</guid><pubDate>Sat, 09 Jun 2012 03:07:00 +0530</pubDate><category>learning</category></item><item><title>Is Academic Performance Related to Age?</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m57qtx1hpq1qbaxmf.png" alt="Graph."/&gt;
(This data was gathered from &lt;a href="http://www.aviraldg.com/post/24552761747/how-i-got-my-schools-icse-exam-results" target="_blank"&gt;my school&amp;#8217;s examination results&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;Apparently not. It looks like academic performance has no correlation with age. However there&amp;#8217;s a noticeable dip in the graph towards the &amp;#8220;19+&amp;#8221; end, which might be caused by these students failing and repeating the class (hence the age difference.)&lt;/p&gt;

&lt;p&gt;(The dataset consisted of 230 tenth-graders.)&lt;/p&gt;</description><link>http://www.aviraldg.com/post/24558643839</link><guid>http://www.aviraldg.com/post/24558643839</guid><pubDate>Thu, 07 Jun 2012 02:18:00 +0530</pubDate><category>data-mining</category></item><item><title>How I Got My School's ICSE Exam Results.</title><description>&lt;p&gt;First, have a look at &lt;a href="http://dl.dropbox.com/u/16632318/results.html" target="_blank"&gt;ICSE Results (Loyola)&lt;/a&gt; and &lt;a href="http://dl.dropbox.com/u/16632318/toppers.html" target="_blank"&gt;Prizewinners/Toppers (ICSE)&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It was as simple as this (farily hackish) Python script (which uses the &lt;em&gt;awesome&lt;/em&gt; &lt;a href="http://docs.python-requests.org/en/latest/index.html" target="_blank"&gt;requests&lt;/a&gt; and &lt;a href="http://www.crummy.com/software/BeautifulSoup/" target="_blank"&gt;BeautifulSoup&lt;/a&gt; libraries):&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;script src="https://gist.github.com/2883991.js"&gt;&lt;/script&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Edit/Note: If you&amp;#8217;re planning to use this for your own school, you should probably note that it doesn&amp;#8217;t take subjects other than the ones taught at Loyola into account, so results exported for other schools &lt;em&gt;may&lt;/em&gt; be incorrect.&lt;/strong&gt;&lt;/p&gt;</description><link>http://www.aviraldg.com/post/24552761747</link><guid>http://www.aviraldg.com/post/24552761747</guid><pubDate>Thu, 07 Jun 2012 00:47:00 +0530</pubDate><category>icse</category><category>development</category><category>hacks</category></item><item><title>An Easy Problem?</title><description>&lt;p&gt;Quick, without much thought, how would you extract the sign of a 32-bit integer?&lt;br/&gt;
The question isn&amp;#8217;t difficult but is interesting as it gives you an insight into a person&amp;#8217;s though process. Most low-level C hackers who don&amp;#8217;t know better (&lt;em&gt;like &lt;a href="http://www.aviraldg.com" target="_blank"&gt;yours truly&lt;/a&gt; from about three or four years ago.&lt;/em&gt;) will start rambling about sign bits and two&amp;#8217;s complement and whatnot. Funny, right?&lt;/p&gt;

&lt;p&gt;I think this should replace (&lt;em&gt;complement?&lt;/em&gt;) &lt;a href="http://en.wikipedia.org/wiki/Bizz_buzz#Other_uses" target="_blank"&gt;FizzBuzz&lt;/a&gt; tests, period.&lt;/p&gt;</description><link>http://www.aviraldg.com/post/24490665943</link><guid>http://www.aviraldg.com/post/24490665943</guid><pubDate>Wed, 06 Jun 2012 02:22:05 +0530</pubDate></item><item><title>"The long run is a misleading guide to current affairs. In the long run we are all dead. Economists..."</title><description>“&lt;strong&gt;The long run is a misleading guide to current affairs. In the long run we are all dead.&lt;/strong&gt; Economists set themselves too easy, too useless a task if in tempestuous seasons they can only tell us that when the storm is past the ocean is flat again. — John Maynard Keynes”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;(I found this particularly interesting, especially in context — it was posted by &lt;a href="http://news.ycombinator.com/item?id=4065733" target="_blank"&gt;a commenter&lt;/a&gt; on a &lt;a href="http://news.ycombinator.com/item?id=4065167" target="_blank"&gt;HN thread&lt;/a&gt; about Groupon and what &lt;a href="https://www.google.com/finance?client=ob&amp;q=NASDAQ:GRPN" target="_blank"&gt;its fate&lt;/a&gt; &lt;em&gt;might have been had it been bought by Google.&lt;/em&gt;)&lt;/em&gt;</description><link>http://www.aviraldg.com/post/24462375820</link><guid>http://www.aviraldg.com/post/24462375820</guid><pubDate>Tue, 05 Jun 2012 14:28:00 +0530</pubDate><category>quote</category></item><item><title>Spamusement! (link)</title><description>&lt;a href="http://spamusement.com"&gt;Spamusement! (link)&lt;/a&gt;: &lt;p&gt;In the words of the creator, “Poorly-drawn cartoons inspired by actual spam subject lines!” Quite amusing.&lt;/p&gt;</description><link>http://www.aviraldg.com/post/24393409282</link><guid>http://www.aviraldg.com/post/24393409282</guid><pubDate>Mon, 04 Jun 2012 13:53:08 +0530</pubDate><category>link</category><category>comic</category><category>cartoon</category></item><item><title>Online advertising.</title><description>&lt;p&gt;I feel terrible saying this, but online advertising is dead. It never was &amp;#8220;alive&amp;#8221; anyway — and the reason is simple: if I needed to do something, I wouldn&amp;#8217;t be online (&lt;a href="http://behindcompanies.com/2012/05/facebook-fools-gold/" target="_blank"&gt;definitely not on Facebook&lt;/a&gt;). If I needed to buy something online, I&amp;#8217;d already be on Flipkart (&lt;em&gt;or Amazon for those of you who aren&amp;#8217;t familiar with the Indian ecommerce giant&lt;/em&gt;.) If I needed your service I&amp;#8217;d already have found it on Google.&lt;/p&gt;

&lt;p&gt;Not through an ad.&lt;/p&gt;</description><link>http://www.aviraldg.com/post/24001909442</link><guid>http://www.aviraldg.com/post/24001909442</guid><pubDate>Tue, 29 May 2012 22:06:00 +0530</pubDate><category>rant</category></item><item><title>The road ahead. (From Nubra Valley)  (Taken with instagram)</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m45fszbgbJ1qbmgivo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;The road ahead. (From Nubra Valley)  (Taken with &lt;a href="http://instagr.am" target="_blank"&gt;instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://www.aviraldg.com/post/23212763083</link><guid>http://www.aviraldg.com/post/23212763083</guid><pubDate>Thu, 17 May 2012 09:44:59 +0530</pubDate></item><item><title>Somewhere around Leh.  (Taken with instagram)</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m45fqrDs7H1qbmgivo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Somewhere around Leh.  (Taken with &lt;a href="http://instagr.am" target="_blank"&gt;instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://www.aviraldg.com/post/23212700429</link><guid>http://www.aviraldg.com/post/23212700429</guid><pubDate>Thu, 17 May 2012 09:43:39 +0530</pubDate></item><item><title>Leh.  (Taken with instagram)</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m45fmiS1ah1qbmgivo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Leh.  (Taken with &lt;a href="http://instagr.am" target="_blank"&gt;instagram&lt;/a&gt;)&lt;/p&gt;</description><link>http://www.aviraldg.com/post/23212578646</link><guid>http://www.aviraldg.com/post/23212578646</guid><pubDate>Thu, 17 May 2012 09:41:05 +0530</pubDate></item><item><title>Taken with instagram</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m3qqq9auCD1qbmgivo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Taken with &lt;a href="http://instagr.am" target="_blank"&gt;instagram&lt;/a&gt;&lt;/p&gt;</description><link>http://www.aviraldg.com/post/22703779415</link><guid>http://www.aviraldg.com/post/22703779415</guid><pubDate>Wed, 09 May 2012 11:16:56 +0530</pubDate></item><item><title>The Journey</title><description>&lt;p&gt;I stand by the window of an old train,&lt;br/&gt;
Screeching along through torrents of rain.&lt;br/&gt;
By meadows of joy and forests of dark sorrow.&lt;br/&gt;
Through unknown towns, unknown villages and the countryside.&lt;/p&gt;

&lt;p&gt;Truly, here I am alone — but an observer&lt;br/&gt;
Of a fleeting moment of time.&lt;br/&gt;
Like a prisoner, who before the gallows,&lt;br/&gt;
Looks through the bars of his prison —&lt;br/&gt;
And finds beauty in the smallest things,&lt;br/&gt;
And philosophy in his sadness.&lt;br/&gt;
Forgotten, when his journey has ended,&lt;br/&gt;
And mourned only by raindrops flowing down a window.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;— Aviral Dasgupta&lt;/em&gt;&lt;/p&gt;</description><link>http://www.aviraldg.com/post/22500307380</link><guid>http://www.aviraldg.com/post/22500307380</guid><pubDate>Sun, 06 May 2012 11:08:00 +0530</pubDate><category>poetry</category></item></channel></rss>
