Wednesday, December 3, 2008

What is cube inc

Cube Inc is a startup by students of BITS-Pilani. The company has a wide focus varying in relation to software development from website devlopment to AI solutions. Long term projects include Cube Inc ERP solution for relatively smaller organisations. Cuniversity project a metasearch engine for open course ware sites.Another ambitious project is the cobot, which aims to build a full fledged house hold robot. Find our more about cube inc at its official site

Why Cube Inc

I have always believed in never giving up without a fight and more so you are never defeated until you give up willingly. So any person who thinks so and takes up a job is in no way a follower or rather probably doesn't even understands this philosphy(Obviously only if his aims match with me).

If you aim to rise high, go get a job and work hard, but if you want to be at the absolute top, that way is not for you. No matter how high you rise working at 'a google', you will never be higher than page and brin. So how do you beat them???You definitly don't go behind them, you make your own path.

So many successful people are dropouts, why??? Many people i know like it put it this way that not all dropouts are successful. Sure, but its not 'dropping out' thats important, but the fact that those who are successful when they did find their direction,didn't go fetching stuff that wasn't important. When a person aims to makes billions, he probably requires to more than double his wealth every year, so wasting an year, you may end up at just 500 million. Isn't it a clear reason for those who think that maybe taking a job for 1-2 yrs will help one stabalise are wrong. Yes i don't say it wouldn't stabalise.But what's at stake is some loosing a small part of probability to be no.1, you may have many folded the probability of being the 100th, but is being 100th good enough???, isn't every bit of being 1st worth risking everything else for.Worse the job would put one to a habit of accepting mediocrity. After all the company effects, when you work along others working at probably 10% of there already low capacity, very soon you'll be the same too.
So how about going for m.s after all you get so much time to work, plus you get to learn,plus you resume is improved and you build contacts. But who are you building the resume to show off too? If nothing else my undergrad degree taught me atleast this that no formal curriculum is worth bit of devoted time. The worse it would do, is give one a sense of security, that there are still 2 years but what is needed is a sense or urgency. Forget all time considerations, do you think what you'll be taught would be worth 40+ lacs of fees, i wouldn't value the knowledge as the rise in my value in front of others(read employers) but my value in my own eyes.

Some times I think that maybe its all sour grapes, or maybe i am just a coward who doesn't want to face placement thinking them as important but all summed up i think i made up this decision far before i realized life is tough and its just that i never decided to give up the same as many other is c doing. Doesn't everybody in his childhood think that he will be the most successful person in the world, where does it all go, when does one decide to settle to lower levels, why does every failure lower ones expectations from himself.Aren't those who failed you are just ordinary people, have you even once been told no by someone whom you actually respect. If not that they were definitly not your failures but missed opportunities of those who failed you.

Just think of it once, are you going the same route as you have always wished? if not give up what ever you are doing right and go chase your dream.Otherwise do get a plan ready on how you are going to face yourself when you see someone else living your dream life. Nothing puts it life better than the lyrics of cup of life

And when you feel the heat. The world is at your feet
No one can hold you down. If you really want it
Just steal your destiny. Right from the hands of fate
Reach for the cup of life. 'Cause your name is on it
Do you really want it...(YEAH)

Cube Inc is my effort to make my dream true.

P.S-Actual reason for this post was to provides some relevant links to, but i think it went to far away from it to be any useful for the same

P.P.S- Go watch gone with the wind or The Shawshank Redemption or persuit to happiness when you are feeling you can't fight anymore.

Wednesday, October 8, 2008

Death Magnetic vs Black Ice

hmmmmmmm, i don't know what made me write this post, probably just the excitment of two great albums i got to hear in such a shor period of time. Metallica has always been a favourite, though there is no ac/dc which you don't like. So i would rather say the new albums got me really excited.
Death Magnetic has as expected metallica's creative and innovative touches. With parts of songs going really good. But black ice really got me thumping. With death magnetic i felt the music has gone close to there first album rather than the more mature music they played later(not meaning in anyway that one was better than other) but still all tracks did feel new.Now listening to Black Ice you can really kind of at once say that its ac/dc with the same style as there previous albums but why change when you are so good at some thing and rather can improve upon, I really felt it is ac/dc at there best.

So which album do you say is better, Which one would you chose to listen whole your life if you were to be left at a lonlly island. For me i guess black ice closly edges over death magnetic. what about all others

Thursday, September 11, 2008

Prevent multiple refresh button and multiple requests to server using javascript

Let me mention out at the start itself:- This post will help you prevent a stupid impatient user from sending multiple requests to your server. But a deliberate attack will go through without slightest of problems
Here is the scenario
You have a web application running on an slow server which can handle user requests simultaneously but when a impatient user starts hitting his refresh button million times a second, it leaves your server in a pity state. So how to go about?

Key is to use onbeforeunload event built into ie and Firefox browsers. But you would not want to trouble your users every time they want to leave a page. So key is to use a flag variable along with timeout function, check the code below:-

<title>Untitled Document</title>
<script language='javascript'>
var me = true;
function closeIt()
if(me == true) {me = false ; return;}
return "Server is still executing the previous request, Are you sure you wish to send another request?";
PUT a heavy server job here to actually test it

there are other methods to prevent the same, but most of them require to be taken care of while coding. This solution is useful when you already have an application ready but want a quick fix for the refresh button problem. If you are still in the coding stage of your application here is a more detailed way to implement it on server side for much more complete control

Monday, September 8, 2008

Blocking ads on webpages using hosts file

If the adblock plus extension is the only thing holding you back from using google chrome instead of firefox, Here's a simple solution for the same
if you are using windows

Just open this file:
c:\windows\system32\drivers\etc\hosts(assuming your windows is in c drive)
in any plaint old text editor maybe notepad
assuming your windows is in c drive
Now get a list of various adservers along with ipaddresses commonly used to supply ads for eg. here is one:-

copy all the entries from here and copy it to your own hosts file, you may want to keep the existing entries.

Thats it now no more ads will be served on your webpages.

For linux users edit the hosts.conf file in etc directory

You can also get the same hosts file here:

just extract the same to overwrite your original hosts file
P.S if you get empty pages or connection timed out on any site you wish to browse,just find the correponding entry in the hosts file and remove the same

Sunday, August 31, 2008

orkut in colleges

For all bitsians and others trapped to restricted access use this basic proxy(For Orkut check the tutorial below),Atleast you can hope it won't be blocked soon, buzz me when it does and i'll give you another link)


Orkut tutorial

open the poxy site
goto , make sure you have the followiing settings selected
everything ticked except rotate 13 and strip title

now login normally until you reach the google accounts invalid page

in the poxy url bar -- remove the part in url before "http://orkut" and remove the single quote form end
click go again and you have working orkut

You may get some javascript missing problems, in that case click on using orkut from mobile, and again remove the quote and part before http://m.orkut

The mobile orkute is perfect for slow net connection with almost all the features you may need



Firefox: now you won't need to tell million features to impress a user to use firefox, just tell them about ubiquity

Ubiquity for Firefox from Aza Raskin on Vimeo.

I don't think ne words describe it better than this video

Friday, August 1, 2008

Audacity: Software noise Reduction

So you added id3 tags to all your media, but still you would be happier if none of your those great mp3 had that tape hissing noise. No worries, Open Source to the rescue
First you'll need to get a few tools all free
1. Audacity available here(
2. Lame: available here

So ready to go?
Just fire up the easy audacity installation extract the lame to any permanent folder you may want(maybe windows???)
1. Now start audacity from you start menu and import your mp3 file by dragging it into audacity window. Next select the 'Selection Tool' using the first icon just below the file menu.

2. You may now want to choose some noise only region of you audio track, most like at start or end

3. next goto noise removal in effects menu just click on generate noise profile
4. Select the whole tract using edit select-> all
5. fire up the same window again(effect-> noise removal) and this time you may want to preview the audio by clicking the preview button. You may move the bar almost to the left at start which is usually sufficient.
After you are satisfied just selct remove noise
6. Goto file and select export as mp3 here it will ask for file name etc. and also for lame encoder. Just guide it to the place where you extracted the lame encoder dll file. All done Enjoy noise free music this weekend

Thursday, July 24, 2008

Add Album information to you media library

So you have got lot of mp3's maybe unorganized or sometimes organized into folder but containing no or wrong album info.
Here's a method to do it easily, without any additional downloads apart from you good old windows media player.
So To get going just add all your media to windows media library if you don't already have it:
1.In file(alt-F) menu select add to library
2. In the next window just cick on add and lead it to your songs folder

It will add new files to your library and you are ready to get going
Goto your library tab next and its better to use the library or songs view so that you can know which songs have partial information.
So for any song for which you need media information just right click on it and select find media info, media player will search for appropriate information and show you the results and you can select the one that suits you

No here is the most important trick if you know multiple songs are from same album just selet them all and then choose find media info, This should greatly improve the search and more often than not , there will be only one result and you can just click on finish to get the album info

Sunday, July 13, 2008

Tata One cat

So You are a car fanatic, tata fan?
Well after the nano blast tata is to create another explosion the tata one cat
Yes, Tata Motors plans to launch the OneCat, a car running on compressed air by 2009.
You say oh its another impractical 60 mile/hr max speed costing 3.5 lakh+ concept, NO it isn't, so read on.

The car is expected to be a five-seater with a glass fiber body, which would weigh just 350 kg and cost just about Rs 2 lakh. The project is backed for an undisclosed sum by Tata, which says it may also use the technology for power generation.

A BBC report has pointed out that Tata's backing makes the idea much more marketable and that the Indian company will be putting finishing touches to the engine.

French engineer Negre is planning to sell the car in India by 2009, the report said. He hopes that the first buyers of the compressed air car will be people who care about the environment and would sell it for an economical price. Tata would be the only big firm Negre will license to sell the car and sales will be limited to India.

The car will be driven by compressed air stored in carbon-fiber tanks that can be filled in just three minutes. The tanks will be built into the chassis. The car can also be plugged into the mains for four hours and an on-board compressor will do the job.

For long journeys, the compressed air driving the pistons can be boosted by a fuel burner which heats the air so it expands and increases the pressure on the pistons. The burner will use all kinds of liquid fuel.

Mind you compressed air cars have very high accelerations in general and would really be suitable for stop and go traffic of indian cities. Further the car is virtually noise less and consumes absolutly no fuel while standing still

Saturday, July 12, 2008

A few reasons why i hate java

Java has really sink to a new low for me.
I had never liked coding in java but this new project they forced me to use and its in my first proper java project that i see my instincts coming really true.
So as i follow this project i'll continue adding more points to it(Hopefully Not)
One more thing as I should make it clear i am new to JAVA, so if any of the points are wrong please comment and save me a headache:-

1.) You can't pass simple variables by reference in java

2.) There is no simple way to inherit constructors

3.) You have to instatiate each of Array element individually (Don't say you can use loops)

4.) Every Limitation is names as a feature in java books.


You can add the one of the millions more in the comments

Tuesday, April 22, 2008

The name

Thought I should clarify it in first post itself where does the name come form. Firstly this post shall not pertain to any specific topic, but utterly random(as it seems) collection of material from any where i feel about. But why pseudo then. One obvious reason i couldn't get the url But a more technical reason is actually these posts won't be quite random but actully depending upon my mood which further depends on millions of factors, hence pseudo random. Huh where does really come from, i couldn't even get

So how do i feel today:-
utterly bored hence u see me just typing out this random stuff just so that i can pass my type. If you are bany sensible person i suppose you won't be coming to this blog again but that wasn't my purpose. This post just help me waste 10 mins and that too freeof cost thanks to
So you still reading then better wait for my next post. Hope thisone keeps you thinking till then