My few pennies towards Open source

Over the past few years, I have made minor bug fixes and feature additions to some open source projects. Let me note down all those projects here.

  • angular-ellipsis
    • We used angular ellipsis in one of our projects. This utility provides a nice simple way to add ellipsis in text after n lines which is not possible through native CSS. When our app went through pen testing, we realised testing failed because of this library. The library didn’t HTML escape text. So time for a PR to the component.
  • officegen
    • This node tool is used to generate microsoft office documents. This doesn’t support all the features yet. We needed to add borders to the table in the word file. So I ended up adding that feature to the library.
  • cordova-plugin-apprate
    • Was working on a side project. A hybrid mobile app, I wanted the user to rate the app in play store. The plugin din’t support tamil, so added tamil translations for the plugin.
  • AndroidFileBrowser
    • This plugin allows to bring a file chooser kind of popup in a mobile app. I had added an option where you provide the file type to the plugin and it hides other file types from the view.
  • Kadhambam
    • An android mobile game, added option to install in sd card.
  • Contributed to few of friends projects generator-boomiconategenerator-smacssCSS-Hacks,
  • Improved documentation for quite a lot of projects including angular, brunch, generator-gulp-angular, node-schedule, essential-js-design-patterns, gitignore.io, rpush,
Advertisements

A Cool Join Us Page

Few days back, I was reading the book ‘Scope and Closures‘. I wanted to try an example in the page. I am used to running JS in Chrome developer console. My Chrome had Pinterest opened in it. When I opened the developer console, I found this message

♥ web? –> joinUs()

I got the clue, and ran joinUs() in the console. It redirected me to their careers page. That was an interesting way to attract developers to your startup.

Interview Questions

These are a list of few interview questions I was asked during different occasions.
  1. What is the difference between interface and abstract class?
  2. How to create a Java class which can have only one object?
  3. Is it possible to access the cookie of any other domain?
  4. Is there any restriction in number of connections from a single web page?
  5. What is a kernel?
  6. What are thread-safe methods?
  7. What is deadlock and when does one arrive?
  8. Explain Pigeon hole principal.
  9. Given n integers of size 8-bits, write a program to find the minimum difference between them.
  10. Given a binary tree with values in its nodes, write a program to sum the values of nodes within height k.
  11. How to use grep command to search files which contains the string ‘cat’ in its file name?
  12. What is the purpose of explain command in MySql?
  13. Is it possible to start a new Activity using Intents during start-up?
  14. What is the service used to load other services during booting of the Android device?
  15. What is the algorithm behind Java’s GC?
  16. Why is HTTP stateless?
  17. How do you implement chaining of methods as in jQuery?

FOSS vs Open Source

When I was preparing to move to England to do my higher studies, I googled for the local user communities and joined the Leicester Linux User Group. There were a lot of interesting discussions going on there. One particular day there was a mail saying “Richard Stallman”, the so called “Father of Open Source” was visiting Leicester to give a speech in De-Mont Fort Univeristy.

 

I was so interested in it. I along with my another friend were in the hall much before Richard visited the hall. Richard was a simple man with a different ideology. He spoke about FOSS movement and how it differed from Open Source movement of Linus Torvaldus. That was the first time I ever knew there was a difference between the both movements.

Richard started his speech by mentioning that not to post photos and videos of the sessions in Facebook. He said tagging peoples photos can be used as a way of surveillance. Found it true. So what I did. Deleted all the photos I uploaded on facebook. He asked whatever content of the session that is to be published in the internet must be creative commons attributed. Then he started preaching his philosophy about Free and Open Source Software movement.

 

Richard Stallman

Richard Stallman

From what Richard mentioned I would make that Linus and Open Source movement guys are more pragmatic and Richard is more philosophical. Richard was against using the closed source NVidia driver in Ubuntu, whereas Linus or Open Source movement is open to use closed source applications as a part of the application.

Richard then spoke how iPod and Kindle doesn’t allow users to use the devices with freedom. I was able to get his point when I tried to sync music into my newly bought iPod from my Ubuntu box. It seriously sucks.

At the end of the session, he started speaking about Emacs. Which I didn’t even understand a bit. I rarely use emacs and never knew what he was saying about.

At the question session someone asked him about Google. He said he enjoys few products of the Google and hates few products for its privacy policy.

At the end of the session he gave away few stickers and I left the hall with a different perspective of Open Source and the FOSS philosophy.

I should thank the Leicester LUG and the De-Mont Fort guys. The session was awesome.

Enhanced by Zemanta

How I translated Wallch to Tamil

Wallch is a Ubuntu app which allows your desktop wallpaper to change automatically.

There was an invitation to translate it into any language of your choice here 

I just wanted to give a shot. So translated the app into Tamil and have mailed the developers and am waiting for a reply.

It’s simple to translate any app into other languages if planned well. This app uses Qt linguist to translate the app. I used google translate from English to Tamil.

Enhanced by Zemanta

Chennai Bus Routes

Few weeks back, I started learning Android programming. My MSc dissertation is to develop an Android app for Latex. I don’t know much Android programming. So I started exploring it. Randomly I came across Phonegap. When I was exploring it a bit I felt it would be easy to convert an existing webapp into android native app with phonegap. To try that I took an existing website BusRoutes.in

 

I worked on the app for 3 days and the end product is here. I used Phonegap and Jquery Mobile. The major issue I feel with the app is it takes much time to load the auto-complete. I have also released the code in github.

Chennai Bus Routes

Chennai Bus Routes

So by the end of three days I fulfilled one of my long desires to host an app in Android market. Did it at last. It is as of now used by more than 100+ users.

App statistics

App statistics

I will be working to add more features when I get some free time.

You can get the app from this link


Get it on Google Play

 Please leave as comments if you need any more features.

 

Enhanced by Zemanta