Wednesday, November 11, 2009
Path to Success
1. Try to identify a goal.
--- This is the most difficult thing to do. As you may have several things in your mind you want to do and sticking to something might not be the good way. The diplomatic answer would be Pick some thing which you wont regret later doing it.
2. Then see/imagine yourself succeeding that goal.
--- This is not to enjoy the sucess. But to see the responsibilities, thinking and smaller neccesities like dressing, way of walking etc, basically the traits.
3. Now you have to start indulging those traits right away.
4. So be professional in your attitute. See that you can reflect all the above things in every small thing you do. ( I will probably expand/explain it in detail later).
Sunday, January 04, 2009
Laptop Addiction
Saturday, January 03, 2009
Thursday, December 25, 2008
An Underdog
Do you really know what it is???
The concept of nothing to lose and nothing to gain..
But you do it knew, you do it hard , you do it willingly and so much that it over comes the most passionate love some one has... That is the beauty of unknown randomness, its some thing you never find out unless you searched for it.
At the brink of survival everyone is an einstein and a nothing,Yeah, Its a paradigm of quantum physics.
I had loved somethings, but i never knew its quantity. I knew ppl saying that sentence but no one knows about it. Normally ppl loved to do things which they hate...
The point is to acheive something you have to lose all. Just like the sansyasi, to acheive god you should leave all but you should survive. Its not that i wanted to be god , Its the concept of passion.
Monday, December 22, 2008
Proof that imagination on a long run becomes real
a)Imaginary
b)Real
c)1
d)None of the above
i= e^(i*pi/2)
Then, i^i = e^(-pi/2) , Hence imagining on a long run becomes real.
Pulihora and Approximate Algorithm
If you were given this problem and asked to solve it.
What would you do if you were an algorithmist
Your goal would be to find approximate solution, where the optimal pulihora is in polynomial distance.
So, for the greedy algorithm,
1. Taste the tamarind :)
2. Make a juice out of it, so that it would be homogeneous.
3. for each increasing delta amount of tamarind juice
add rice and taste it. If you find it more than optimal stop it.
4. From the ratio from step 3, scale the tamarind juice to meet the quantity of rice.
5. Add Basic Spices, use the same algo as in step 3.
6. Put oil and preprocess all the ingredients,
7. A approximate solution for pulihora.
Sunday, December 21, 2008
Audio, Video and Firefox
Though an browser is stuck with video the audio still flows continuosly.
2 Things can be summarized from this.
1) My Video card is not processing fast enough, because my RAM is overloaded ( firefox fills up virtual memory very fast ) and the codec is not decoded in real time causing lots of synchronization problem.
This i guess could an software design problem or a research topic, never know ! (unless we work on it).
2.Watching movies can be a learning excerise ;)
Friday, December 19, 2008
Live CD
Later i found it as real easy to get into details of live cd.
So whats the difference between a normal linux hd install and live cd.
The Filesystem and the booting options. Really, the invention of UnionFS made a livecd possible, it made a unreadable parts readable..... Yeah hell very simple , Hell they made a soft link of the file on the ram. I made it look simple whereas infact its not, we need a detailed understanding of the filesystem.
But the fact is filesystem which looks so simple , small logical improvement made a big deal out of it.
Thursday, December 18, 2008
My Current Electronics and Future Electronics
iphone
and nikon s3....
and my next buy would be
playstation 3 [ reason: novel architecture, cell broadband engine]
sony hd-handycam [ To prove that pictures are dumb, they reveal only art & nothingelse]
2 20'LCD screens [ Just for fun, for what else, i cannot waste my time closing windows ;) ]
CUDA enabled, NVIDIA card, just like cell broadband engine,theortically gives an improved performance.
A normal Quad-core 32/64 bit intel and a 4GB RAM....
Bose normal headphones or noise cancelling headphones...
Practically, if i really want, i can add all the processing power of above devices to solve a computer problem....4 power devices, a small cluster for myself...the news will be posted..
Wednesday, February 20, 2008
Temporary Email ID
http://spambox.us/
http://www.guerrillamail.com/
Friday, March 02, 2007
The Lion and Gazelle
It knows that it must outrun the fastest
lion or it will be killed.
Every morning in Africa, a lion wakes up.
It knows that it must out run the slowest
gazelle or it will starve.
It does not matter whether you are a lion or gazelle.
When the sun comes up you had better be running.
Tuesday, February 27, 2007
How to Undelete a file or folder from linux and windows
The Murphy’s Law "Whatever can go wrong, will go wrong".
My friend’s final year project is in one of the drives, and I decided to install Linux. Soon I started installing and I have removed the drive where the project lies. I should thank the windows, for their automatic process of undelete-ing a file. I just had to undelete all the files and folders, Lucky for me that the Linux hasn’t overwritten project folders. So you follow the below process to undelete files on the windows.
You can use a bootable Norton System works CD to this for you, if you don’t have.
You can remove the hard disk and attach the same to a another computer, run system works on that, and check for disk repairer, It will automatically undelete a file or folder.
Thanks for reading the crap, but the real fun starts now, what happens if some one deletes files in Linux and I believe there is no robust tool as Norton system works to do it for you.
So the only way is to find the inodes or the datablocks, with the latest modified time and which are deleted and manually undelete them. Assume the /dev/hda5 is the filesystem on which files have to be undeleted.
1) We are trying to modify the file system contents, so better make a copy of the drive to another drive or other file system.
#cp /dev/hda5 /root/working
2) Run the command , #debugfs /dev/hda5
3) Now a new command shell for debugfs pops, debugfs: lsdel
4) Or you can try this # echo lsdel debugfs /dev/hda5 > lsdel.out
5) We have a slight different for undeleting files more than 12 blocks.
6) To undelete a small block, use stat command to do that, let us assume 148003 is the inode in one of delete list
debugfs: stat <148003>
Inode: 148003 Type: regular Mode: 0644 Flags: 0x0 Version: 1
User: 503 Group: 100 Size: 6065
File ACL: 0 Directory ACL: 0
Links: 0 Blockcount: 12
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x31a9a574 −− Mon May 27 13:52:04 1996
atime: 0x31a21dd1 −− Tue May 21 20:47:29 1996
mtime: 0x313bf4d7 −− Tue Mar 5 08:01:27 1996
dtime: 0x31a9a574 −− Mon May 27 13:52:04 1996
BLOCKS:
594810 594811 594814 594815 594816 594817
TOTAL: 6
7) So we have 6 blocks, less than 12, we can recover it directly,
debugfs: dump <148003> /mnt/recovered.000
OR
# dd count=1 if=/mnt/recovered.000 of=/mnt/resized.000 bs=6065
8) If you have more than six blogs, you should better read the ext2 filesystem, how an large file is stored.
9) The other way to undelete a file is to modify the inode structure, the deletetime to 0 and the link count to 1.
10) And now you modified the inodes, but no directly links to this inode.So you run the command below
# e2fsck −f /dev/hda5
11) Now the recovered file or directory is in the location /lost+found
Friday, February 23, 2007
Unification, Classification, Experience and FreeThought
Unification, Try to bend the problem to simplify it or to get into a known form.
Classification, Try to divide the problem, where you can solve it through unification.
Experience, Determinism will get you towards problem, but this depends on the faults made in the past, but not about the future ahead.
Free thought, the thoughts should be based on the facts and not on the pre-assumptions, about the problem.
Wednesday, January 31, 2007
It is not a Rabbit, It is a Sphere
Monday, February 06, 2006
The Wall
stores himself from the treasure outside,
consciousness is the drab,stopping you to heaven,
paint the walls till with ethereal
let the subconsiousness give you the pleasure
Tuesday, January 24, 2006
A BEE'S LIFE
lurking around light,never ends right
wanna summon the sun,to plummet down the dark throat
looks no forward of plight,enjoys the flight
envies the eagle for the desire of sight
looks like the light has died,wings are tired
eyes out of focus,hopes are bummed,dreams drowned
But the heart frenzied with the sight of an remnant light...

