Booting Saturday

February 23, 2008

Our booting saturday has become booting sunday!!!

I have to find a place to hang this noose..

No more sorrow… I cant pay for your mistakes..

When my time comes forget the wrong I have done

Leave out all the rest!

When is my time coming??


Wanted a Companion for Peerless Inc!!

February 22, 2008

In few days Peerless Inc is going to unleash a new lease of life. Plans and dreams are big @Peerless Inc .. as always.

Peerless Inc.. is recruting tooo..!!

Guys and gals (Will be prefered 🙂 )  who are willing to work in bringing up the start up and sustain its growth can directly contact our CEO at peerlessdeepaks@gmail.com

You should be above twenty years of age and must have some prior experience in moaning about the ambience around (Where ever you are!)

You should be excited about making and masking bits and bytes (Programming…. Linux is prefered ..A strong no to high level pompous application programmers)

You should be a movie freak (You should know to enjoy even a dirty crap from Maddy  )

The primary responsibility of the role is to listen to whatever we people at Peerless Inc got to say! Additionally you must be prepared to speak a lot when we become silent (Very crucial since it determines the performance of the company!) .

The applicant must be able to debug human systems which are affected by mental and physical strains.

Rewards are among the best in the world –> You get instant access the utopian world of the Peerless Inc. and all of the above services will be reciprocated to the employee too (Our moto is TRULY employee first  ….HCL guys laugh please:::).

So what are you waiting for???Join the peerless inc and shape my career!!!

In case if you are from opposite sex and interested in applying for the permanent employee state (you get 50% stake in peerless Inc ) ..

“Please wait for few more years .We are not open to the market yet.May be depending on your interest ,performance and our situation we may decide to make that call at any time but not now”

PS:Woke up tired in the morning…yet another debugging dream forgot what it was ..Didnt have heart to wake up with that.So slept again and made another dream where i had lot of pending works…(So I woke up to do them) .Looked tired but made a bold move to wake up and have some fun(Compiled and installed bochs..but didnt explore it)

Today its holiday to my regular morning sessions and hence you find the above crap..


I am ready

February 21, 2008

I have just begin to look at system calls and kernel. I want to sing the below lines from pilfered from Bryan Adams to my sweet heart,

I’d like to see ya – thought I’d let ya know
I wanna be with ya everyday
Cause I got a feelin’ that’s beginning to grow
And there’s only one thing I wanna say

I’m Ready – To Love (Understand)Ya
I’m Ready – To Hold(Compile) Ya
I’m Ready – To Love (Code)Ya
I’m Ready – To Hold(Maintain) Ya
Ready as – I’m gonna be  (Mad about you!)

One more instance of idiocrasy ,

Ive been down – Ive been beat
Ive been so tired-that I could not speak
Ive been so lost thatt I could not see
I wanted things that were out of reach
Then I found you and you helped me through
And ya showed me what to do
And thats why Im comin back to you…

Like a star that guides a ship across the ocean
Thats how your love will take me home back to you
And if I wish upon that star – someday Ill be where you are
I know that day is coming soon – ya, Im coming back to you.
Youve been alone, but ya did not show it
Youve been in pain, but did not know it
Let me do what I needed to – you were there when I needed you
Mighta let you down, mighta messed you round
But ya never changed your point of view
And thats why Im comin back to you…

Im coming back to you
Im coming back to you
Im coming back to you
That day is coming soon

Im coming back to you

——————————————————————————————-

People say dont compare !! But that just applies to people alone. When you make a analogy between software and life both can improve a lot. Often our life crashes when we try to reach something out of our reach(SEGMENTATION FAULT!!)  We should not let it crash by writing appropriate error handlers 🙂 …SOunds simple?? Naught thats just a sample of what it can provide.

Well!! the reason for the analogy series with love songs is there is no  other way for me to feel the songs:(!

Todays dream: I was performing some commands in linux which was reported to give more details in another guys console…With an eager to see how and what it is I woke up to see this beautiful world today!

Thats it …I am ready for the day..to love you my love!!!


Reveries for a noble cause

February 20, 2008

Our mind is a big mystery,for we doesnt know or have control over it at time. Once again my ego boosted a bit when I found this article on lucid dreaming.  I have also used the same techniques to simulate all my victories and losses. Main purport of my dreams were to bake me up for the day ahead. Almost at all the times I wake up because something will be pending at the dream and when it reaches the threshold I will decide to wake and complete it.

Thats how i completed umpteen wordlists.All thats old story.The technique could backfire too. When my going was tough in the last two months , the dreams exacerbated the situation. I had replications of the days events in dreams which created one more bad day. All i needed was one good dream to wake up from the sleep of miseries. I tried in hell a lot of ways to get out of the maze.

I didnt give up the desire but stopped trying for a while.Two day back I got the perfect dream and now I am making my days.When simulation good remove all our bugs in our software,why not try the same for our personality.

Again I am going to use my favourite analogy, when you are afraid that your date will go amiss,why dont you simulate it your dreams and get it debugged. And one more advantage also lies here. When we miss something in reality we could catch them in virtuality (OOPS dont get in to this virtual reality for 24 hours a day!) .

I have unofficially used this mind hacking technique and when I found it on phrack i could stop my ego blistering.In days to come I should work on suppressing the negative effects and the most vaunted module of porting the brain from pessimistic space to optimistic space should be coded.

Virtual Reality~~~    Today I joined twitter… Though I have seen Robert Love using it I joined it only after seeing Froward having it. MORAL: ????

So when i release this mindware people can share their dreams in their tweets and jaikus.

My Todays Dream: One of the fds registered in poll returned and the interupt handler made me awake


Anything for you my love!

February 13, 2008

They say you never come home, boy you been drivin’ too fast
When you gonna shape up, how long is this gonna last
You may be laughin’ today, but listen to some good advice
An’ take a look at tomorrow in a workin’ man’s weary eyes
You gotta pick a carreer, go for the gold
Smile for the camera, do what you’re told
Well you can take away the ladder ‘cos I ain’t gonna climb it
If there’s a stairway to heaven I swear I’m gonna find it

Well there are winners and outlaws and leaders and lovers
Behind every man in the news
And one thing I know is behind everyone there’s a boy who had nothin’ to lose
Behind every man who has somethin’ to say
There’s a boy who had nothin’ to prove
An’ every hero was once, every villain was once just a boy with a bad attitude
Every hero was once, every villain was once just a boy with a bad attitude

She says you never call, how come you’re actin’ so tough
You either hold me too tight, or you don’t hold me enough
Don’t be afraid of me angel, I ain’t about to clip your wings
Just put your feet on the ground and your arms around the real thing

You gotta love me for keeps, feather the nest
Plan for the future, an’ gimme your best
Boy we’re never gonna have a normal family life
Steamin’ up and down the speedway on the back a’ your bike

Well there are winners and outlaws and leaders and lovers
Behind every man in the news
And one thing I know is behind everyone there’s a boy who had nothin’ to lose
Behind every man who has somethin’ to say
There’s a boy who had nothin’ to prove
An’ every hero was once, every villain was once just a boy with a bad attitude
Every hero was once, every villain was on


Butterfly Effect…..

February 13, 2008

Shit!!! Thats all I have to say when I think about my current way of life. All my recent blogs are out of frustrations and nothing has gone right. I am ruined by all the TPICs.

Only good news is that I might be visiting MIT and HARVARD in a week or two.

Here it starts!! Peerless Deepak 2014 from university of ??? Irvine.

Its Feb 14 2014!!

When the whole world is celebrating the cupid festival myself and froward where still working on applying a patch to the tinyOS. It took us three long weeks to identify the problem was with the schedulers and it was Love who suggested us to use his preemptive model for TinyOS too… By doing so we will have the benefit of transfering the most sensitive data first to our base station.

Once this is done and tested the application (BodyNest – A project to monitor various health paramters ) must be miles better than how it was.

It was 6:00 AM when we slept in the morning. The subsequent day we had a poster presentation in SENSYS 08. So we started preparing for it. Thanks to Knuth ,Latex makes our work much easier and we were ready with our posters by 11:00 AM .

Meanwhile i had my operating systems lecture group by 2:00 PM. I havent noticed it till 1:00 PM ..

—————————————

I failed at posting this entry..Just now when i was about to give publish my connection was down and I missed more than half of my write up..anyway making it up in the hope of completing it in 2014:)


Lunch??

February 5, 2008

THis is also a pretty old post almost typed during Jan 5 @

It one and time for lunch.This posts purport is to take a snap of the thoughts running in my mind.I turned to be a very different guy from what I had been a year ago. I have lost the respect and passion I had for my job. (If its totally junk I must atleast dispose it fastly..neither that happens..).

But there is no fun with work…I am indifferent towards it.Whether I make a bug or fix one my heart remains emotion less.No sense of satisfaction;talk least about pride.

But I got to learn a lot here before I call it a quit;The day when I make things around me fucking easy and when I am done with my module I of CS GRE ,I am going to call it a day.

I am not in a mood to lunch and hence i blogging ;This indifference is nothing new to me ..I have weared the same escape mask during my college days to ratiocinate my low scores and my inability to read and work hard; Boss stop this nonsense..Dont ever say that as my inability…If I had got one good reason to study I would have crammed them up!! Sounds true 🙂

Now I got plenty of reasons to study but time bogs me down…A big blow in GRE couldnt stop me in my way; Of course it took a week to recover but I am not going to stop this voyage.Its on planned tracks.Lucky to have Ashok alias Froward with me !!!

Life has got plenty to offer but I am eclectic and hence sacrificing a lot of what I could do at these days. I am looking for the days when I could resume my 29 C travel.

I am also moving closer to reality these days.The secret of sucess is breaking traditions and at the same time following the same. The one who winnows which to break and which to take is the man near to success. Luckily success means different to me than others of my age. I am losing out on the social front but couldnt offer to care for it now.

Thats it my mind is point blank now….If you have read to this extent then pat yourself on your back on behalf of myself…I will break for lunch at 2 PM


Cheeni Kum – Sweeter than the name

February 5, 2008

 OOPS pretty old blog!

I neither knew hindi nor fond of amitabh;but ever since I heard about this movie I have longed  to see it. Inadvertently it came to me via my movie consultant Ananth at an expedient time.

Hope none of you would have seen or have any desire to see this movie, hence I am going to unveil its plot now to write a testimonial to it.Its all about a senile but young chef who is just 64:). He boasts himself to be the most eligible bachelor to himself. He runs the “Londons finest Indian resteraunt ” and his life tastes sweet as he happens to meet Tandri Khabab alias Tabu through a tiff (So its not a different love story…Its a normal love story without even an iota change in spirits …). The first half is relatively slower than its latter part but its spreed with humour and all the characters make their bases well in it.

I couldnt easily resort to one between Ghazbuzz and tandrikhabab when it comes to the question of the best actor in the movie. While it was a close to reality portrayal of a froward old man by the BigB, Tabu steals us with her matured acting. This movie is handled the confession of love very well. I have always wondered how one can boldly express it to the person in question. Of course the fear of failure is with all of us and it attains its zenith at this situation. I liked the way in which both the parties approached each other.


HUSH Hash Tables

February 5, 2008

This blog is going to be a chain blog. I am going to collect the best of the best and all the hash implementations i come across ! Most of our manhours(Thats how they call my **cking office hours)….and all our resources (code churning machines) waste lot of time in maintaining a data structure.

What if we develop a independent package to do all this job!! Bravo Many have thought in same lines and few have implemente too..

Heres one.. uthash ..

It might take two weeks for me to install linux at home(Hey froward if you had come last sunday we could have finished that man! Anyways I am downloading fedora8 )
So until that little chances for testing the package.


Files never have a name!

February 5, 2008

I have just started reading Robert Loves Linux system programming.Guess there cant be a better warm up exercise to the kernel hacking process.An hour in to the book makes me overwhelm all that I have learned (!!!) in this one and half year at ***.

I was agape when I found that the files are never stored by their name internally. Woo wow the reason might be searching a list of strings is a fools tasks.Numbers are always easy to sort and reach.

Every file has been attached to a data structure called inode. It stores all the details owned and controlled by the kernel for the specific file.To your amazement the file name is not integral part of this structure. In uni/linux almost everything is abstracted as a file.

OOPS I hear you shouting how do I reach my file??

Hold on thats achieved with the help of a special file called directory. A directory is nothing but a file containing a table (hash table)

mapping your file nam
es against their inodes.

So whenever you type a file name its inode is got from this file (try finding how its implemented) and once you get you inode thats the key to all the information about your file.

Its pretty much more than what a newbie like me could decipher..So I copy paste it leaving it for you to elucidate it.

struct inode {

struct hlist_node i_hash;
struct list_head i_list;
struct list_head i_dentry; /This is directory entry*/

/* list.h is good place to see how linked lists are manipulated*/
unsigned long i_ino; // This is our key in the world of files.

atomic_t i_count;
umode_t i_mode;
unsigned int i_nlink;
uid_t i_uid;
gid_t i_gid;
dev_t i_rdev;
loff_t i_size;
struct timespec i_atime;
struct timespec i_mtime;
struct timespec i_ctime;
unsigned int i_blkbits;
unsigned long i_blksize;
unsigned long i_version;
unsigned long i_blocks;
unsigned short i_bytes;
unsigned char i_sock;
spinlock_t i_lock; /* i_blocks, i_bytes, maybe i_size */
struct semaphore i_sem;
struct rw_semaphore i_alloc_sem;
struct inode_operations *i_op;
struct file_operations *i_fop; /* former ->i_op->default_file_ops */
struct super_block *i_sb;
struct file_lock *i_flock;
struct address_space *i_mapping;
struct address_space i_data;
#ifdef CONFIG_QUOTA
struct dquot *i_dquot[MAXQUOTAS];
#endif
/* These three should probably be a union */
struct list_head i_devices;
struct pipe_inode_info *i_pipe;
struct block_device *i_bdev;
struct cdev *i_cdev;
int i_cindex;

__u32 i_generation;

#ifdef CONFIG_DNOTIFY
unsigned long i_dnotify_mask; /* Directory notify events */
struct dnotify_struct *i_dnotify; /* for directory notifications */
#endif

unsigned long i_state;
unsigned long dirtied_when; /* jiffies of first dirtying */

unsigned int i_flags;

atomic_t i_writecount;
void *i_security;
union {
void *generic_ip;
} u;
#ifdef __NEED_I_SIZE_ORDERED
seqcount_t i_size_seqcount;
#endif
};

Well this is the start of my expedition in to the kernel. Thats pretty much to grep the world for.When you pour laurels on google desktop search why cant we try to test and improve this

Now One question to end with…. Whats the maximum number of files a directory can have …?
Is it architecture dependent ??