Tuesday, July 16, 2013

Sublime text : How to fix OSError: [Errno 1] Operation not permitted (when opening file with sublime text 2)

Recently Sublime released its new version 2.0.2 and if you want to continue with sublime you , u need it to update to the latest version





you can use the command to update the  sublime text 2 using terminal:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text



Now type the command to evoke the editor, if it throwing the below error that you can follow below tutorial 

Unable to run package setup:
Traceback (most recent call last):
  File "./PackageSetup.py", line 165, in upgrade
    upgradePackage(pkg, pristinedir, datadir, backupdir)
  File "./PackageSetup.py", line 158, in upgradePackage
    os.path.join(backupdir, base), inhibitOverwrite)
  File "./PackageSetup.py", line 113, in upgradeArchive
    shutil.copy(src, dst)
  File ".\shutil.py", line 89, in copy
  File ".\shutil.py", line 66, in copymode
OSError: [Errno 1] Operation not permitted: '/home/rubix/.config/sublime-text-2/Pristine Packages/AppleScript.sublime-package'


Tuesday, July 9, 2013

zumbl - website/app to chat stranger



Hi All,

if you have some free time and really do not know what to do .... this might post  might be interesting to you.
Recently I came across an app called "zumbl" where you can "chat as stranger to a stranger".
How it is different from other web service like omegle
first it message chat so no cam required
second it has do and donot and kind of moderated chat.
So person you are chatting with can assign you "tags" and "scores" and if you accumulated too much negative score you might be even get banned for couple of day.


SO what r u waiting for ... just go ahead download this app and experience it yourself.


Wednesday, July 3, 2013

The case for updating ubuntu if you are a 12.04 or 12.10 user

I am a user of Ubuntu 12.10 (Quantal Quetzal) user and have been getting the usual prompts from canonical to upgrade to 13.04. Well on paper both look almost the same. So I decided to try out the latest Ubuntu named Raring Ringtail. So I took out my old but still trustworthy acer laptop (The specs are core2duo 2ghz and 4GB RAM) and updraded my linux distro. 

Well first look it looked the same but onceI clicked on the Unity icon I discovered a new set of snazzy icons. I was impressed as it gave a premium feel to the whole GUI (think apple). The laptop did respond a trifle better and over a period of few days noticed the resource usage and memory usage was improved . But then I was still facing the system errors which were a common feature in Quantal Quetzal. Some things never change so much so for being snazzy as an APPLE. But anyways I liked the latest iteration but as a general user didn't find much of improvements when it came to Quantal Quetzal.

Now comes the key question to upgrade or not? Well if its work we are talking about I would still stick to the 12.04 precise pangolin release just for the fact that it has a 5 year support cycle while Quantal Quetzal has a 18 month update cycle while the latest Raring ringtail its just 9 months. So no more security patches for raring Ringtail while precise Pangolin smokes out all the competition to all the other releases. When it came to choose between Precise Pangolin and Quantal Quetzal I was happy to upgrade because Quantal Quetzal provided way much more in terms of eye candy and some fancy packages but after the upgrade I had realised that precise Pangolin was a real good release with less memory and CPU utilization as compared to Quantal Quetzal. Well the eye candy does come at a cost.

So my verdict If you are on Precise pangolin then its a no brainer to update to the Raring Ringtail update but if on the Quantal Quetzal well its a 50-50 split opinion to upgrade or wait till september for the next iteration.

Sunday, June 23, 2013

vi - opening second file in split screen

Some we get in need of comparing two different files for over the section or lines.
To open the new file in the split window all u need to follow the below steps




to open  already existing file
vi file_name

now type
:new file_name

This will split the screen horizontally 

Tuesday, June 18, 2013

Split the screen in vi - horitzontally or vertically





Most of us have some time in need to compare the two files to compare same file on different line or section,

then you will find 'split' can be very handy.

 the simplest usage is to type 'split' command that will split the screen horizontally.
:split

Thursday, June 13, 2013

Nostalgia in the times of Instant GRatification!!!



This week in India was an memorable one. No no strikes, no scandals, no corruption this week but rather two very important announcements cam through which kind of made me nostalgic.

The first bit of news was that Telegram would be switched off in India from July 15. Am I sad...welll not exactly. i can't remember when was the last time when i sent or received a telegram but I do remember we had to write some as part of our English syllabus in class 10. Yes I remember the last telegram which our family received was from a cousin during the Latur earthquake to tell us that he's safe. And it was exorbitantly priced even for those times. But I guess in the age of SMS and IM it was a relic of old times

The second news was closing of Music World Stores. I still remember the first music world store at Ansal Plaza at Delhi. It was the best place to be. on a hot delhi day. I could listen to all the latest tracks across genres on the listening stations and the variety was mind boggling. My firts tryst with serious english music was at the music world.  But I never realised when youtube became the primary source of music for me and then camethe online music streaming services where I could create my own playlists and won't have to worry either about carrying CD's or illegally downloading music

SO RIP two icons from different era are no more

Monday, June 3, 2013

Interval tree and next generation sequencing


Recently I was working with some genome data on my leisure project. I had some huge number of coordinate of gene and various transcription element . The task was to fetch elements name  between the coordinate given by the required inputs range of the gene.

Though, the above problem challenge can be easily solved, using various approaches, but I wanted to have it best optimized way. Little R&D and small discussion with my programer cousin Najeeb,  I came across a data structure called "interval tree" .I decided to give a try and begin my exploration for this data structure.