About Me

I am a Bitsian pursuing my Engineering in Electronics and Instrumentation.Dont think I m totally into electronics(B-):P).I am a geek and like coding.My fav sports include Cricket,Tennis and am a big fan of MSD,Rafa.I love reading magazines like EFY,Sportstar,TIME etc.

Friday 15 July 2011

Quotes-Computer programming(Famous ones)

1"People always fear change" .....When people remain ignorant and ignorance leads to fear .
These people always feared many great inventions like electricity in 19th century and of computer in late 20th century.Computer has become a great invention in the history of man.And now Man instead of trying on new legendry inventions , is keeping his mind occupied on infinite functions that a computer can perform.In this race , computer programming has become a  indispensable for creating new functions...And With companies like oracle , microsoft in this industry,the  industry of computer programming is over 100 billions dollars worth.

So , I here compile some of the interesting and famous computer quotes said by computer genii..

1:Computers are like bikinis. They save people a lot of guesswork.”
(Sam Ewing)



2:“The question of whether computers can think is like the question of whether submarines can swim.”
(Edsger W. Dijkstra)



3:“Hardware: The parts of a computer system that can be kicked.”
(Jeff Pesis) 



4:“Programming is like sex: one mistake and you’re providing support for a lifetime.”
(Michael Sinz)


5:“Every operating system out there is about equal… We all suck.”
(Microsoft senior vice president Brian Valentine describing the state of the art in OS security, 2003)


6:“The Web is like a dominatrix.  Everywhere I turn, I see little buttons ordering me to Submit.”
(Nytwind)



7:“Software is like sex: It’s better when it’s free.”
(Linus Torvalds)



8:“We are Microsoft.  Resistance Is Futile.  You Will Be Assimilated.”
(Bumper sticker)



9:“True innovation often comes from the small startup who is lean enough to launch a market but lacks the heft to own it.”
(Timm Martin)



10:“Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.”
(Alanna)



11:“Controlling complexity is the essence of computer programming.”
(Brian Kernigan) 



12:“The function of good software is to make the complex appear to be simple.”
(Grady Booch)



13:“Don’t worry if it doesn’t work right.  If everything did, you’d be out of a job.”
(Mosher’s Law of Software Engineering)



14:“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.”
(Bill Gates)



15:“Writing code has a place in the human hierarchy worth somewhere above grave robbing and beneath managing.”
(Gerald Weinberg) 



16:“First learn computer science and all the theory.  Next develop a programming style.  Then forget all that and just hack.”
(George Carrette)



17:“Optimism is an occupational hazard of programming; feedback is the treatment.”
(Kent Beck) 



18:“To iterate is human, to recurse divine.”
(L. Peter Deutsch) 



19:“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
(Anonymous) 



20:“Computer language design is just like a stroll in the park.  Jurassic Park, that is.”
(Larry Wall) 



21:“There is no programming language–no matter how structured–that will prevent programmers from making bad programs.”
(Larry Flon) 



22:“I think Microsoft named .Net so it wouldn’t show up in a Unix directory listing.”
(Oktal)



23:“If Java had true garbage collection, most programs would delete themselves upon execution.”
(Robert Sewell) 


 24:“There are two ways to write error-free programs; only the third one works.”
(Alan J. Perlis)


25:“A computer lets you make more mistakes faster than any invention in human history
(Mitch Radcliffe) 





Thursday 30 June 2011

Best Android Apps-My top picks


1. Google Voice
Google Voice is a service that is so useful I consider it one of the top benefits of Android itself, especially since Apple rejected the Google Voice app for the iPhone. It gives you a phone number that can ring to multiple places or devices and it allows you to access all of your voicemail and text messages over the Web. The Android app integrates even deeper. It can make outgoing calls look like they’re coming from your Google Voice number so that you can keep your real mobile number private.
2. Dropbox
Dropbox is a great cloud service that automatically syncs a folder of files between multiple computers (Windows, Mac, or Linux). This app extends Dropbox to Android and interacts with other apps (such as Documents To Go) to open the files.
3. FCC Speedtest
I’m obsessed with running speed tests to check my bandwidth in various places, both to see 3G fluctuations and to check the quality of Wi-Fi. There are a number of really good speedtest apps, but my new favorite is the FCC Test app.
4. Google Goggles
This is a fun app that is a little but ahead of its time. It does visual searches. You can take pictures of things and then the app tries to tell you what they are. It’s limited in its scope but it is pretty cool, and it’s definitely a peek into the future. One of the coolest features is the ability to take pictures of text in a foreign language and let that app translate for you. In a foreign country, this can help you read street signs and avoid going into the wrong bathroom. :-)
5. TED Mobile
TED is a fascinating event that features a meeting of the minds of some of society’s most influential thinkers. You’ll definitely disagree with some of them, because there’s a large diversity of opinions, but many talks are worth listening to. What I love is that they’ve taken the videos from their conference and made them freely available on the Web. This app provides a great way to access the videos. I hope more conferences follow TED’s lead on this.

Wednesday 29 June 2011

Heap n Stack

This post is for Java Students who are into programming.Heap and stack concepts are very important in programming. 

Whenever a program runs in JVM, different ways the memory is managed is depicted in the figure below.

Whenever a method is executed, it creates a new data record on Stack. So each instance of method call has a exclusive data record associated with it. (Figure 2) . And when a method calls other methods, records of the called methods are stacked up along with the caller. (Figure 3). 

This explains or answers for the below, as static methods would be no different from non-static methods, but there is a catch here. This statement is correct only if the arguments are primitives, but when they are objects, the objects would still reside on Heap and are referred from within the stack. (Figure 4)
So finally remembering where a particular element lives, heap or stack:: a local variable (primitive or reference) belongs to a method and lives with it on a stack, while instance variable belongs to an object lives with it on a heap. Also note that a local reference variable on a stack will still be pointing to object in the heap. This object will not die with the local reference variable or post method execution.

Cookies - 1st Party & 3rd Party

Hi guys ...This is my first post.No introductions here..Going directly into concepts....  

Many of us would have seen or heard about cookies. Every website you visit will download a cookie to your hard disk. But there are different types of cookies and their need which i would post here.

First, What are cookies? There are many definitions like
-- A small data file placed on your computer by a website that you visit.
-- A piece of code placed in your browser by a website server.
-- A text file placed on a hard drive to store and transmit information to the server browsing behaviour of customer.

Reports and research on the subject of website tracking tell us that the rejection of third-party cookies is growing. Increasing numbers of people are either manually blocking third-party cookies, or deleting them reguarly.

How many people delete 3rd party cookies? The numbers given can be as high as 40%. If you count that many anti-spyware applications and default privacy settings also block 3rd party cookies, then it is possible that a high percentage of cookies are being blocked.

What is a (third-party) cookie?
A cookie is a small script placed on the hard drive of your computer by the server of a website that you visit. The cookie is placed there for the purpose of recognising your specific browser / computer combination, were you to return to the same site.

All cookies have an owner which tells you who the cookie belongs to. The owner is the domain specified in the cookie. The word "party" refers to the domain as specified in cookie; the website that is placing the cookie. So, for example, if you visit http://www.site1.com/ and the domain of the cookie placed on your computer ishttp://www.site1.com/, then this is a first-party cookie. If, however, you visit http://www.site1.com/ and the cookie placed on your computer says http://www.site2.com/, then this is a third-party cookie.

Then the question - Would these first party cookies not deleted or blocked? will arise.
It is estimated that a very low percentage of people block first party cookies, less than 5%. The reason for this is primarily that it is very difficult to surf the internet without accepting these cookies. First party cookies are necessary in order for you to be recognised as an individual. Any site that you login to as an individual requires a way of identifying you as "you". Hotmail, Yahoo, Gmail, online banking, ebay, Amazon, etc.

Also software targetted for Cleaning the hard disk for unused, temporary files, anti spyware etc., do not target first-party cookies.

We use cookies to keep track of long-term visitors. These visitors remain anonymous, the point is to be able to see who returns, if and when, for example, for conversion analysis.

When cookies are in place, and not blocked or deleted, total visitor counts will remain comparatively low. If a person constantly deletes cookies, they will be counted as a new "unique" visitor with every subsequent visit.

Cookies are build either using web designing programming like JS or using Java Web Services like JSP.