Skip to main content

Block Those Ads!

It is a stormy night. A flash of lightning shows an old dilapidated house in the middle of nowhere. Thunder rumbles across the sky as the pretty blonde girl inside the dark house looks terrified. Suddenly there is a knock at the door. She picks up an axe and with trembling hands, opens the door. Just then the lightning flashes again and in that flash, looking at the visitor, the girl's face turns ashen-white. "Uski safai meri safai se behtaar kaise? Rin Supreme apnao..." I switch off the TV and bang the remote on the bed in frustration. Yet another commercial break.

Despite the fact that we all hate advertisements (except may be when someone posts a hilarious video of one on a social-networking site and we choose to see it), ads are present everywhere. From TV, internet, newspapers to billboards, everyone is asking us to buy something. The unbearable part is when they appear out of nowhere just when we least expect them to be.

In case of TV or internet, there are many ways to escape ads. TimeShift TV or the AdBlock extension for Google Chrome works wonders when we want a clean, ad-free environment. But what do you do in case of newspapers? There has never been a day when I have picked up the copy of Times Of India lying outside my flat's door without fliers falling out of it. Sometimes there are tens of them each asking you to join the local gym or to protect your PC by taking it to Raja Computer Institute. Its certainly does not make up for a good morning when the wind blows away all the fliers and you have to run after them lest the society members accuse you of littering. Being bleary-eyed doesn't help at all.

Nowadays there is a trend of ads being printed on pages cut in half. Just today, Salman Khan was flapping out of one informing me that Bigg Boss 4 will start tonight. These half-page ads make holding the newspaper an exercise in gymnastics. How do you hold it without removing the offending page in its entirety and thus losing the news that is in the adjoining page! I haven't figured it out till now.

Just a few days back readers in the NCR region were in a shock when their newspaper started making noises. Some even called in the police suspecting it to be a bomb. Turns out it was an advertisement for Volkswagen and they had pasted a device at the back of every newspaper, which when opened made the noise. TOI was gloating over this "innovative" way of advertising without being least worried about the hot tea that I spilled over myself when I opened it.

As R. Serling said, "It is difficult to produce a television documentary that is both incisive and probing when every twelve minutes one is interrupted by twelve dancing rabbits singing about toilet paper." Now if you don't mind, will you please click on the ads appearing on the right-side of this blog?

Comments

  1. Hi, came here via GreatBong. Good one, totally agree. The last line was very funny!

    ReplyDelete

Post a Comment

As far as possible, please refrain from posting Anonymous comments. I would really love to know who is interested in my blog! Also check out the FAQs section for the comment policy followed on this site.

Popular posts from this blog

Integrating React with SonarQube using Azure DevOps Pipelines

In the world of automation, code quality is of paramount importance. SonarQube and Azure DevOps are two tools which solve this problem in a continuous and automated way. They play well for a majority of languages and frameworks. However, to make the integration work for React applications still remains a challenge. In this post we will explore how we can integrate a React application to SonarQube using Azure DevOps pipelines to continuously build and assess code quality. Creating the React Application Let's start at the beginning. We will use npx to create a Typescript based React app. Why Typescript? I find it easier to work and more maintainable owing to its strongly-typed behavior. You can very well follow this guide for jsx based applications too. We will use the fantastic Create-React-App (CRA) tool to create a React application called ' sonar-azuredevops-app '. > npx create-react-app sonar-azuredevops-app --template typescript Once the project creation is done, we

Creating a Smart Playlist

A few days earlier I was thinking that wouldn't it be nice if I had something which will automatically generate a playlist for me with no artists repeated. Also, it would be nice if I could block those artists which I really hate (like Himesh Reshammiya!). Since I couldn't find anything already available, I decided to code it myself. Here is the outcome -  This application is created entirely in .NET Framework 4/WPF and uses Windows Media Player Library as its source of information. So you have to keep your Windows Media Player Library updated for this to work. It is tested only on Windows 7/Vista. You can download it from here . UPDATE : You can download the Windows XP version of the application here . Please provide your feedback!

Add Git Commit Hash and Build Number to a Static React Website using Azure DevOps

While working on a React based static website recently, there was a need to see exactly what was deployed in the Dev/Test environments to reduce confusion amongst teams. I wanted to show something like this: A quick look at the site's footer should show the Git Commit Hash and Build Number which was deployed and click through to actual commits and build results. Let's see how we achieved this using Azure DevOps. Git Commit Hash Azure DevOps exposes a variable called  $(Build.SourceVersion) which contains the hash of the commit. So I defined a variable in the Build Pipeline using it. Build Id and Build Number Azure DevOps also exposes two release time variables  $(Build.BuildId) and  $(Build.BuildNumber) which can be used to define custom variables in the pipeline. So we have a total of 3 variables defined: Next we use these variables in our React App. I created 3 global variables in index.html and assigned a token value to them. < script   type = "text/JavaScript&quo