Friday, October 14, 2011

So You Want to Be a Programmer(Java): Get Started NOW!

Open Eclipse and create a new Java project in the same manor that you created the Hello World project. Name the project Raven and create a new class named TheRaven. Be sure to check the box that says "public static void main(String[] args)".

Create a program that prints the following excerpt from Edgar Allen Poe's The Raven:

horizontal spaceOnce upon a midnight dreary, while I pondered weak and weary,
Over many a quaint and curious volume of forgotten lore,
While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping, rapping at my chamber door.
`'Tis some visitor,' I muttered, `tapping at my chamber door -
Only this, and nothing more.'

Ah, distinctly I remember it was in the bleak December,
And each separate dying ember wrought its ghost upon the floor.
Eagerly I wished the morrow; - vainly I had sought to borrow
From my books surcease of sorrow - sorrow for the lost Lenore -
For the rare and radiant maiden whom the angels named Lenore -
Nameless here for evermore.

Your output should appear exactly like this:



Necessary Information (Click on links for more info):
There are two ways to print in Java, System.out.println(); and System.out.print(). The only difference is that System.out.println(); prints a return at the end of what you are printing.
The sentence or words that you put in the quotes in the print statement is called a String.
To print a new line in Java you use, "\n".
To print an apostrophe, you use "\'".


It is possible that you may need help with this. Contact me with any questions you have!

Tip (Mac): Task Manager



Yes, you read that right! Macs do have task managers! Well, sort of, it is not as powerful as the task manager that is commonly found on Windows machines, but it does at least have the option to force quit, which is the most common use of the Windows task manager. The keyboard shortcut is Command > option > esc. So there it is. Enjoy force quitting your applications!

Thursday, October 13, 2011

So You Want to Be a Programmer(Java) / Computer Scientist?


A lot of people want to get in to programming but really do not know where to start. This post will hopefully help you get a sense of what is all involved in programming, and where to start.

The first thing you have to ask yourselves is, "Do I really want to be a computer scientist?" Computer Science and programming really does take a lot of time and effort to master, but I find it to be one of the most rewarding experiences. I think it is very much worth the effort, but many, many people do not see the enjoyment in programming. How do I know this? Next time you meet someone, just tell them, "I am majoring in Computer Science," and get your camera ready because they are gonna have a funny look on their face. The reality is most people just don't know what Computer Science is, but that is changing. Computer Science is one of the fastest growing fields and will continue to be a growing field as the consumer electronic market grows. But that is enough about how people are dumbfounded about what Computer Science really is.

Let's talk about what Computer Science actually is, because how do you know if you want to be a Computer Scientist if you don't know what a computer scientist is or does? Wikipedia says, "Computer science or computing science (abbreviated CS) is the study of the theoretical foundations of information and computation and of practical techniques for their implementation and application in computer systems." That definition makes it sound way more terrifying than it really is, so let's just focus on one aspect of being a computer scientist, programming. So what is programming? Wikipedia says, "Computer programming (often shortened to programming or coding) is the process of designing, writing, testing,debugging, and maintaining the source code of computer programs. "  Now doesn't that sound much more enjoyable? It is.

So what does it take to start programming? 
  1. The desire to learn how to program. If you don't want to learn, then you won't learn. You won't persist when you have problems and you will just give up.
  2. Time. Unfortunately, you will not be programming Android apps after just one day.
  3. You find joy in the little things. With programming you have to start small. You have to be amazed by something as simple as getting a sentence to print out. If you get excited over the little steps that you make as you learn to program, then you will be successful with programming.
  4. A computer. You can't program without at least having access to a computer. It does not matter if it runs Windows, Mac OSX, or Linux.
If you have all four of those things, then I recommend that you give programming a try! You never know if you will like it until you try it. Let's get started! Click on words with links for more information of the subject. And get pumped you are gonna learn to program!


Getting Started
  1. You need an integrated development environment or IDE. The most popular one in the world is Eclipse. It is available for a wide range of systems. We are going to use Eclipse for Java Developers. Download it here. The links are on the right side of the page just select your operating system.

Tuesday, October 11, 2011

Monday, October 3, 2011

Must Read Book: ZMOT



Winning the Zero Moment of Truth (ZMOT) is a book written by marketers at Google. It is completely free!

The book touches on how businesses should be using technology and the internet to target consumers at the "Zero Moment of Truth". You have ZMOT's everyday. ZMOT's are the moment when you get a cold and you google the best cold medicine or when you see a movie trailer and instantly google the new movie coming out. The key to winning the zero moment is targeting the consumers immediately when they have that first intent of learning about your product.