Techie

A joint venture!

Posted on July 25, 2008. Filed under: computers, personal, Techie | Tags: |

Sridhar and I are looking to re-start my old technical tips blog. Looking at the history of this blog, I never updated it often owing to the fact that I like to have a  wordpress blog intead of blogspot(except for the javascript insertion 😛 )

Well, as I mentioned in one of my previous posts that Google PR update got a PR 3 ( PR means Page Rank) to my technical blog. So, I don’t wanna leave that blog in ruins. In the meantime, Sri also was desperate to have an additional income to strive during his 2 yr MS in US of A. I decided to give all rights of that blog to Sridhar but being a nice guy, he don’t wanna enjoy all the benefits(nothing so far, mabbe in the future days) so agreed to give my share out of it.

Zooming closer towards the partnership of this venture( as I may call it so?), I’m sure I’d be the least contributor, thanks to my recent laziness. I hope Sridhar does well to take my blog. Errrrr.. our blog to new heights and more importantly, money that will assist his living in the near future. I’ve already noticed that he has started blogging there.

@Sridhar Don’t again ping me to say abt you in my blog 😀 Just kidding!!!

Read Full Post | Make a Comment ( None so far )

Online Programming Contests for students

Posted on January 22, 2008. Filed under: Codings, college, computers, Education, programming, Techie |

Hey, students… Finshed your C/C++/Java book for dummies? Wanna show your skills at international level. Then, Online programming contests is for you.. Click here

Read Full Post | Make a Comment ( None so far )

Yu Fly Show at Shaastra, IITM

Posted on October 8, 2007. Filed under: Education, Space, Techie |

Of late,I’ve always been an admirer of Shaastra and IIT’s new inventions. Rather than myself explaining about Yu Fly. Have a look at this..

Yu fly got it’s name from ‘Yudhisthira’, son of Dharma as in Mahabharatha.

Tho’ I missed the live show in IITM. I managed to snatch this video from youtube. For more information about its working priniciples. Click here

Read Full Post | Make a Comment ( 1 so far )

All I wanted is to speak about pointers..

Posted on August 31, 2007. Filed under: Codings, Education, Techie |

I always came across many dudes who find pointers, a little difficult part of C programming. So, Here’s a short tutorial about pointers..

Salvation lies beneath:

The C language allows the programmer to “peek and poke” directly into memory locations. This gives great flexibility and power to the language, but it also one of the great hurdles that the beginner must overcome in using the language.

All variables in a program reside in memory; the statements

    float x;
    x = 6.5;

request that the compiler reserve 4 bytes of memory (on a 32-bit computer) for the floating-point variable x, then put the “value” 6.5 in it. Sometimes we want to know where a variable resides in memory. The address (location in memory) of any variable is obtained by placing the operator “&” before its name. Therefore &ampx is the address of x. C allows us to go one stage further and define a variable, called a pointer, that contains the address of (i.e. “points to”) other variables. For example:

    float x;
    float* px;

    x = 6.5;
    px = &x;

defines px to be a pointer to objects of type float, and sets it equal to the address of x:
Pointer use for a variableThe content of the memory location referenced by a pointer is obtained using the “*” operator (this is called dereferencing the pointer). Thus, *px refers to the value of x.

C allows us to perform arithmetic operations using pointers, but beware that the “unit” in pointer arithmetic is the size (in bytes) of the object to which the pointer points. For example, if px is a pointer to a variable x of type float, then the expression px + 1 refers not to the next bit or byte in memory but to the location of the next float after x (4 bytes away on most workstations); if x were of type double, then px + 1 would refer to a location 8 bytes (the size of a double)away, and so on. Only if x is of type char will px + 1 actually refer to the next byte in memory.

Thus, in

    char* pc;
    float* px;
    float x;

    x = 6.5;
    px = &x;
    pc = (char*) px;

(the (char*) in the last line is a “cast”, which converts one data type to another), px and pc both point to the same location in memory–the address of x–but px + 1 and pc + 1 point to different memory locations.Looks easy huh? But As far I know, Security is a major concern for pointers..

Happy Hacking!!!

Read Full Post | Make a Comment ( 3 so far )

Orkut’s new look!

Posted on August 25, 2007. Filed under: Orkut, Techie |

Google announced that they are rolling out a new design to orkut with rounded edges in their sheets. Though this look is not exposed to many,I’m impressed by it’s screenshots posted. Here’s a glimpse of how it look before and now…

Click to enlarge!

Old Look:

Old Look

New look:

New look

Courtesy: Blogoscoped

Read Full Post | Make a Comment ( 2 so far )

Liked it here?
Why not try sites on the blogroll...