29 November, 2014

It was a casual, simple outing with few friends. The weather was nice for the day. There were few people I didn't know who accompanied others.

Then there was she. She stood out among the aliens. She had something in her. Something that I didn't know of. Yet.

While others hung out, I was finding excuses to talk to her. Finally, we had a gathering. She came and sat by me. I had no words to say.

Needless to say, this was unexpected. I was thrilled beyond measure. I was cut from the outer world. I kept staring at her. There were mumblings in the background. But, who cared.

She looked like an angel. Her simple dress made her look even lovely. She never uttered anything, but I felt like she recited the most lovely poem to me.

She noticed me staring, but never said anything. I grew fonder of her with every passing second. I guess people noticed I was absent in the moment.

Then she started leaving. Shocked by the sight of a fat midget face in her place, I cried, "Leaving so soon!" People laughed. She too did.

A few hours later, it was time to depart. She was leaving with her friends. I kept staring. Then she turned, and smiled.

Though it was just a simple smile, I could feel the warmth of it. It felt as if she hugged me with that simple gesture. It was the best moment of my life.

It all felt too good to be true.


Then I woke up for I had to pee. FML.


Torrents blocked in SVNIT!

19 November, 2014

Recent talks about our college blocking P2P made me wonder if the problem is genuine.

It is. Simply stated, don't download copyright infringing material from P2P networks.


If you are interested in wasting at least 5 minutes of your time, read on.

A few days earlier, mostly between November 10 and November 16, the college administration started getting emails from IP-Echelon on behalf of Warner Bros. warning the institute against download of Copyright Infringing material downloads. Some clueless, innocent person, sitting in their underpants, enjoying the free internet the college provides decided to download Interstellar and Into the Storm using BitTorrent.


Image courtesy - Cyanide and Happyness #2898

That's when everything went wrong. I read the emails that the institute received, which we will discuss later.
For those who don't know what IP-Echelon is (this included me a few hours earlier,) it is an Australian company that monitors copyright infringement for various high-profile content creating clients of its. They usually drop around in P2P shares and track IPs seeding or leeching files. They also do some trade secret sorcery to identify people who download copyright infringing material. Then they warn them (which most people ignore,) then sue them, and then earn a lot of money.
Are they bad? IMO, they are just doing their business. All the evil lies in their clients who put huge amount of money to track down people to sue (subjected to different thought processes. I as a proponent of everything Free and Open Source, would see them as evil.)

A lot of technical jargon ahead, so keep your calm.

The emails specified our public IP as the offender in these cases. Of course no one knows who downloaded the movies (I DID NOT.) I believe the college authorities have enough resources to track down the person who downloaded them in the first place, but that would be an insane wastage of huge amount of time, man-power considering that the damage has already been made. So, they adopted the easiest route possible. Block all the URIs containing 'torrent' as a keyword. This caused quite a pain in the process of research I did for writing this article. But everything is justified on the institute's behalf. No one wants to put themselves in trouble.

Is the block justified? I would argue that it is. Most of the college population is ignorant enough to take any of it seriously. Protocols, VPNs, Tunnels are rocket science for the vast majority (they don't need it anyway). So, the action is reasonable for the greater good.

So, I researched. While there are many ways to circumvent this (mentioned below,) I would NOT recommend any Tom-Dick-And-Harry to try them and put themselves in trouble, and curse me later. TRY THEM AT HOME, NOT IN THE COLLEGE.

  1. Simply don't download any copyright infringing material from the P2P networks. Films being the biggest factor in aid of surveillance. Music the other. Don't download these two and you are good to go. BitTorrent is a spectacular thing to use.
  2. Use a VPN to shadow your tracing information. This is one of the fool-proof methods to avoid spying and surveillance. This also does not bring any harm to the college or you. The worst you can expect is to get your VPN account suspended by your provider. That's it. No, I will not tell you how to use a VPN.
  3. Use your neighbours Wi-Fi. This can be difficult to realize in the college, so just ignore it. Read the above two.

Earlier last day, I wondered if enabling Encryption in the BitTorrent clients could be one of the methods to safety. I tried using encrypted stream for downloading torrents and it is working (should warn the college people :p) I advised a few people to do so as well.
Well, I was wrong. As it turns out, enabling Encryption of streams only obfuscates your traffic and does not actually encrypt the data that is being shared. Your IP information is revealed eventually. To put in a nutshell, you are as good with Encryption enabled as you are with it turned off. Why it is there is not the point of this article.

Of course there are many tools out there that can prevent spying to a certain extent, but in the end they are prone to very simple workarounds. An interesting read can be found here:
This document describes some of the simple techniques one can use to evade being caught to a great level.

Now you decide if you want to have the awesome internet we have in college, or download a couple of movies that raise more of such emails and cause all of it to be blocked. I would suggest a few preliminary actions you can take to save youself, the college and its internet from any issues.

  1. Do not download pirated content at all. Shed some bucks if you are dying to watch something. Use Amazon Prime, iTunes, Netflix or so. Flipkart too have started e-deliveries.
  2. Be very cautious in downloading pirated content related to the big players in the market, in this case Warner Bros.
  3. Use only trusted and verified uploaders such as YIFY, Pimp003 and a few others for they strip most of the identifying information related with a torrent using their own swarms and allowing filtered leeching. The torrents in question were from not from either of the two uploaders.
  4. Use trusted websites like or ThePirateBay only for downloading torrents. Most of them are available on these two.

I believe this should be enough for a sane person to keep control on the content they consume illegally.


[EDIT] The original post URI contained 'torrents' :p

Another comic - 2

19 October, 2014

I am getting better at this, still nowhere near to being any good.

I should buy a tablet to draw more sketches and be able to edit them with GIMP. Anyone willing to contribute?

Anyway, here it is:


Seriously? Is this how you make captchas?

11 October, 2014

So, I have been around Indian Railways website for some time now, mostly checking my PNR status repeatedly.

Guess what? The PNR enquiry form at has a captcha that is pure text embedded in a span.

If you said WTF!, my reaction was not very different.


Someone can easily write a script that fills the captcha and make gazillions of requests leading to a DDoS attack.


I wrote a worried email to CRIS, the agency that maintains the website, though. Hopefully, this gets resolved soon.

Another comic

28 September, 2014

Better than previous one, still, needs a lot of work to reach any acceptable level. <determined face>


Nibbleblog Techie theme edit

31 August, 2014

I recently happened to change my blog's theme and something didn't feel quite right.

The sidebar which pops out when you click the burger-like undefined button will not disappear if you clicked outside of it. That looked odd, considering that the default sidebar size is quite large and covers a lot of the screen.

Thanks to Diego Najar Nibbleblog is Open-source, and anyone can contribute for its betterment. So I did.

The most challenging part to accomplish this was to prevent event bubbling from a DOM element to its parent. Event bubbling means that if a mouse event, like click, hover and others is registered to a DOM element, it will bubble out of that element, and execute the event handlers for that event on the parent elements or the window element if they have one registered.

This event bubbling caused things to break. Upon clicking over the burger-like* button, the click would try to make the sidebar pop out, and the click event will bubble out and cause the sidebar to pop back in because I tried to keep an event handler on the window element (the parent of all.) This happened so fast that the transition animations had no time to complete and it seemed like nothing worked.

For understanding event bubbling, consider this HTML code:

<div id="div-parent">
	<div id="div-child">

If it so happens that both div-parent and div-child have a mouse click event registered to them,

var divParent = document.getElementById('div-parent'),
    divChild = document.getElementById('div-child');

divParent.addEventListener('click', function() {
	// do something
}, false);

divChild.addEventListener('click', function() {
	// do something else
}, false);

then upon clicking the div-child, something else and something, both will be done.

This may seem like a very bad behaviour, but is a very good fallback in case things break.

Fortunately, the folks at W3C have it considered and provided us with a preventive measure. If the above code is modified to:

divChild.addEventListener('click', function(e) {
	// do something else
	// e is the event
}, false);

the event no longer bubbles out of div-child and we are good to proceed.

So I applied the fix and pushed it. Within 2 hours, it got merged! That is fast.

Sidebar now disappears when clicked outside · 3bf4189 · dignajar/nibbleblog


* - I was hungry, alright?

← Older posts