Thursday, June 16, 2011

Me, Myself and I

Nah, this post is not about the tool that Google has announced recently to manage your identity on the web. Its about the site that I have built to manage my identity on the web. I have recently built this new personal site www.varunkumar.me to act as a landing page for all my activities on the web. I have taken up this exercise with the intension of learning something new out of this. The site may look simple but lots of cool features are hidden within it. This post is a summary of things I have learnt out of that piece of work.

www.varunkumar.me Highlights

  • HTML5 Semantics. HTML5 introduces lots of new semantic elements – section, nav, header, footer, etc. I have implemented the various techniques described here to add semantics to different sections of the site. Bots / screen readers can easily understand the contents of the site. View page source to know more about this.
  • Offline access. The site is available for access in offline mode as well. Honestly there is no real need for offline access here but how else one can learn things. I have used Application Cache to offer this feature. It is a very straight forward technique but the real challenge is with detecting the connectivity and updating the content whenever it changes. The key is to update the manifest file whenever a static file changes. I am using maven to auto-increment the version number on manifest to serve a fresh copy whenever the content changes. For detecting the network connectivity, I have used the techniques described here.

Offline access

  • Spam-proofing email address. This is a by-product of another hobby project (I am working on) which requires spam-proofing of email addresses. Two things to be considered while spam-proofing email address: 1. It should be clickable 2. It should be easy to copy the address. I can secure the email address (to some extent) like this: varunkumar(dot)n(at)gmail(dot)com but the usability is not so good. I have implemented two out of the ten techniques discussed here to spam-proof the email address. It uses hidden garbage text and ROT13 encoding techniques. Inspect the email address shown on the site to know more. More details about the implementation of this can be found here.

Spam-proofing after JS based ROT13 decryption

  • CSS3. Most of the animations and styling on the page are achieved using CSS3. The following properties are employed to get the visual style on the page: box-shadow, transform, transition, etc. Page curl effect. Polaroid effect.
  • Deliberate vulnerabilities. The site features a link to my complete profile but it is not open to all. It is password protected. However, I have introduced deliberate vulnerabilities to the system. There are at least three different techniques using which you can break into my profile page. And, they are not really hard. If you are able to reach my profile page, take a screenshot and post it on the comments section along with the technique applied.

Password protected profile page

  • Smartphone friendly layout using ‘Media Queries’. The site is built as a set of sections and depending on the real estate of the screen I am attaching / detaching the sections. This is done via the media queries. If you are accessing from your desktop browser, keep reducing the width of your browser to see how the layout changes.
  • Browser support. The site is best viewed on the following browsers: Chrome 4+, Firefox 4+, Safari 5+, IE 9+, Opera 10+, Safari Mobile, Android webkit browser. I have not tested the site on other browsers.

The site is hosted on Google App Engine and I have setup a local git repo for this project. You can view the page source to know more about the things described above. Smart developers always do so. Pass on your comments / feedback about the site.

-- Varun

Wednesday, June 8, 2011

VW Art Car Tent For Sale - Get your Camping on!!!

Get ready for this years camping trip with a super 65 VW Camper Tent Art Car on sale at Firebox.com. Its an Officially licensed, four-person tent, full-size replica of the iconic 1965 VW Camper Van that will be sure to turn heads when you set it up. It comes in Red, Yellow and Blue but who says you have to settle, so go ahead and turn into an Art Car Tent.

Saturday, June 4, 2011

Bowling Pin Art Car Strikes Out - 1785 Bowling Ball Pyramid

I hope the guy who owns this cute little bowling pin covered art car never has a run in with this giant 1785 bowling ball pyramid.What is the sound of 1785 bowling balls striking a pin car? If it happens in the woods and no one is around does it make a sound?

GreaseMonkey for Android via TamperMonkey

If you love customizing pages on the web using GreaseMonkey (GM) scripts, here is a good news for you. TamperMonkey, originally a Chrome extension which provides enhanced userscript support on Google Chrome and Chromium browsers,  has been ported to Android. The Android app is still in beta and it comes with all the functionalities provided by TamperMonkey. TamperMonkey Android app comes along with a browser where in you can use the userscripts you have installed.

TamperMonkey - Install userscripts TamperMonkey - Home TamperMonkey - Options

How to use TamperMonkey Android app?

  • Install the beta version of the app from Android market
  • Launch the application. It will open a browser which acts as the host for the scripts.
  • Click on Menu –> “Context” –> “Get new scripts…” to add new scripts from Userscripts.org
  • Browser through the pages and the installed userscripts will be activated by TamperMonkey.
  • TamperMonkey will take care of updating the scripts as well. 

The app is still in beta and it seems to be slow on my Nexus One. More info here.

-- Varun

Wednesday, June 1, 2011

Help Charlie The Unicorn Art Car Go to Burning Man

Ken and friends are building an art car for Burning Man 2011 based on the legendary video “Charlie The Unicorn”. They have setup a Kickstarter project to help raise funds for its completion and a Charlie Camp group on Facebook.
google-site-verification: googlea4d68ed16ed2eea6.html