What the new students need to know about programming. 

There are many skills and knowledge you need to know when you study programming.

But it is better to know the three things firstly.

The first is how the computer manage the information.

As you know, the binary system is the base of computer. When we let the computer to process some pictures or music, we need to find some ways converting the analog data to discrete data. For example, as you know, a picture can be divided into many small dots. These dots make a matrix of n*m, n is the number of dots in a row, m is the number of all rows. We can assume the matrix is 1024*768, which means is there are 786,432 dots in the picture. If you can convert one dot to binary data, the whole picture also can be processed.

Now, we can look at the dot at the top-left corner. It is very small, so you need to look carefully. You need to find method to quantify the dot color. Usually, we set the number of black is 255, the number of white is 0, and you can set a number for the color of the dot, maybe is 102.

Then, you can get all numbers of the all dots’ color. If you arrange the numbers of the color in a row from left to right and top to bottom, maybe like this:

(102,1,1,23,124,124,124,…,123)

Next, convert these numbers to binary number, you can get a new number row like this:

(01001101,10100101…10101010)

That is what the computer need.

When the computer read these data, it can drive the monitor to show corresponding color on the screen , of course from left to right and top to bottom. Then you can see the picture in screen.

The key is the method how to quantify the information. You may think how to quantify the music or sound, it is helpful to you to understand the theory of computer.

To be continued.

Posted in Uncategorized | Leave a comment

Move On

I think I have had the idea of going abroad early.

In the summer of 2000,  when I graduated , I firstly heard about the New Oriental , which is a company to teach the students English who want to go abroad to study.  At that time, I thought going abroad is difficulty to me  , because I had no money . In addition, I just started to work, I also had many new things to do.

In 2002, I set the network cable at my home. From network , I got some documents about going abroad to study. By reading these documents, I know if I study very hard, I can study abroad without money. Firstly, you need learn the English very well.

But you know, I am an ordinary being, I had no more time and energy to learn the English. OK , you can say I am lazy. I even bought a map of USA.

In 2006, Yang, one of my colleagues , who had a chance to study in New Zealand. When he came back, he decided to study abroad. His English is perfect and he had thought about going abroad while he was in college. Finally he did, he went to New Zealand to study for PhD.

In 2013,   I had a chance to go to USA. I was happy to find I can talk to   many different people and see various scenery. I known the world is very big ,and I need to go out to see.

In the same year, I lost the trust of my leader, of course, I just known it recently. So I decide to study hard to prepare going abroad.

I think I will succeed.

Posted in Uncategorized | Leave a comment

Trip to Allentown

I came to USA for one month, and we decided go outside for a trip. Because we didn’t know where was a good place to travel, we asked Mona, who is our ESL teacher and she advised we go to the New Hope, where is next to Lambertville, those also are small town but very beautiful. In the last days, we also wanted go to china food market to buy something, so I searched in Google, and found there is a China Food Market. OK, we finally decided first visit New Hope Town and then go to the china food market.

When we turned to Road 611, we saw the very beautiful scenery.

Image

 

 

 When we went to China Food market in Allentown, we bought something those are not bought in USA.

Posted in Uncategorized | Leave a comment

We came to USA

Topic: Outlets

On last Saturday, We went to the Outlets again. Steven and Chris bought some clothes and shoes, I thought I also had many clothes ,so I didn’t buy anything.Image

 

Posted in Uncategorized | Leave a comment

I’m busy for this two weeks!

On this two weeks , the students will take the practice of their course.

The practice will help the students to learning the course knowledge deeply.

But I will become very busy, I will take 8 hours on the programming lab everyday .

What’s  my feeling, um , it is not bad for me.

If the student can reap the results of the practice, I will be happy for this.

Posted in Uncategorized | Leave a comment

xixi muti-document to html- UI

UI-1

UI-2

UI-3

Posted in Uncategorized | Leave a comment

Running

When I was in college , I was very thin , so I want to became little strong(or fat) and to get more  attention from girls. The results failed. Two years after began work , maybe I have more money to live than in college, I became fat. Year after year, my weight increased smoothly. This time, I have another problem – how to lose weight?

One day in the spring of 2009, I watched Forrest Gump again, and when I watched Jenny shouted” Run, Forrest, Run! ”, I seemed to feel she shouted to me. I thought I ought to run for me, for my lover.

I started running . In the first few days , I alternated running and walking, for example I had been running for two minutes and walking for two minutes , and go on like this. And the day after day, I can always run no-stop, and I will increase the running time. When after three months , I can run 5KM or about 50 minutes. I think I know how to run and what is running.

I had been running from May to October every year (I’m too lazy to run a whole year : ), three times a week, this year is the third year. It’s very funny that I will buy something before the running season. I think these are the reward for my running.

First year ,I got a pair of shoes of LiNing.

LiNing Shoes

Second year , I bought a pair of Asics Shoes that became my favorite now.

Asics

One week before, I bought a headset mp3 that have not lines to annoy me.

MP3

The running became the important part of Forrest’s life, the running inspired him , saved him, and took him to find his lover .

I also think the running will be a part of my life , l love this game.

Dear friends, let us to start running!

Posted in Uncategorized | Leave a comment

Sugar-garlic

Sugar-garlic

Sugar-garlic -tangsuan

Sugar-garlic -tangsuan-caption

My mom is very good at cooking. She often make some delicious food for us, today she prepare for making some sugar-garlic .

When I was a child , our family lived in Hubei Province ,which is located in southern China where the people like to make some pickled vegetables.

When I was 11 years old, we moved to Henan Province which is located in northern China and separated by the ChangJiang River with Hubei . The two provinces has some difference about food although they are adjacent.

“The people in Hubei are better for eat than Henan” my mom always said, and you know that her real meaning is that the Hubei human can make the better food. She and my daddy are from Henan, and worked in Hubei for fifteen years , so she know the difference of food between the two provinces.

The sugar-garlic is a delicious food in the summer. You need put the sugar and the vinegar into the pan and boil them. Ten minutes later, turn off  the fire , wait the mixture became cool by nature way. You also need a container ,like a earthen jar , put the liquid of mixture and the garlic into the jar. After ten days, you can enjoy these.

Thanks mom!

And you can make it yourself . Good luck.

Posted in Darling | 1 Comment

My idea.

You know ,  sometimes you maybe have some ideas for something .

But you don’t say a word for these .

Posted in Uncategorized | Leave a comment

HAHA

Welcome to visit my Blog! Thanks !

Posted in Uncategorized | Leave a comment