Programming for ten years (10): I'm not Bill Gates, I'm just tired

Source: Internet
Author: User
Programming for ten years (10): I'm not Bill Gates, I'm just tired

Address: http://www.cnblogs.com/AndersLiu/archive/2011/04/28/programming10years-10.html

Author: Anders Liu

Since then, I have been firmly tied to Microsoft's development platform and have been addicted to. NET. At the same time, I also learned about SQL Server databases. In addition, I have learned a little bit about HTML and JavaScript. Although these are not Microsoft technologies, they are essential for learning ASP. NET. Although I have gone astray in programming, I have no correct understanding of the online world and can learn from it. NET cannot escape ASP. NET, so I finally had a deep understanding of what is Web and the B/S and C/S architectures.

Although I don't like classes, even though my teachers and students advocate Java, I still insist on using. NET to complete almost all the major class assignments and settings. Although the final score is not ideal, I still feel that I have learned a lot, and these are also very useful in my future work, and I feel satisfied.

However, the consequence at that time was terrible. I had two credits and was about to carry the second trial reading. According to the policies of the University of Industry and Information Technology, the secondary trial reading should be expelled from school. However, the school has offered a special course during the holidays. The course is not in a unified curriculum arrangement, but can earn valid credits; the lecturers are not formal teachers, but work-study students. They are generally special students that have been reviewed by the school. In the course, the charge is based on credits, and the charge is about 200 yuan. Students in charge of lectures can earn income through their own labor. Of course, they only get a small percentage of commission, all the leaders were taken away by the school.

I plan to choose a course that is not very relevant to programming, but is tied to computers, and the best credits are just two points. I don't want to waste any money. Looking at the course schedule, I really had such a satisfactory course-Photoshop. In this way, I had to end my vacation to school one week ahead of schedule, in order to stay in college for a final fight. In fact, you can still get credits through the retake exam, but there is a certain chance. If you don't get it, you'll have to get out of the way. This type of course makes money based on credits and can be guaranteed to pass.

The dramatic thing is that when I attended the class on the first day, the class owner asked me, aren't you Liu? I said yes. Do you know me? He said yes. We are in the same grade. I have a class with the drummer of your band. I have been watching you since I first went to college. In fact, our band has been disband for a long time, but I did not expect to have fans, but remember me. However, at this time, I had no passion for music, and I didn't have many channels. I asked people with my face straight into the topic and asked them: Dude, let's take this lesson ......

Dear friend, you have a good time. If you want to come, you can pull it down. If you don't want to come, I just need to hook you up with all the table names, after the examination, I will hand in a PS file. I will send it to you and you will send it to me via email. This is an archive file and cannot be handed in directly. I said yes. I hate it. I'll go back and have a drink. However, this is a field, and we have never met each other since. But I would like to thank you for your sincere thanks, if you can see this.

Although this time I was lucky enough to pass the customs, I still met such a high-performing fan, but I have no pleasure or vanity at all. The only thing that is surging is the hate for college life. At the same time, an evil and stimulating idea is coming into my mind-leaving it, the farther away, the better.

In the next semester, I came into touch with another hot field in computer-computer graphics and image processing. But I did not walk in. Two reasons are as follows: My computer performance, especially the video card performance, is really limited and I cannot cope with this learning, but I really have no money to upgrade the machine; second, the courses related to this field are totally irrelevant to me. As a result, I was unable to accept this subject, which in turn caused my dislike of university education, and turn my evil thoughts into reality.

The first is to take a computer graphics course, and insist on class, earnestly complete the homework, I think the exam is required. At the end of the course, as shown in the following example, I gave up. NET temporarily because of the performance. I switched back to the C language and pulled out the window library that I had been using for a long time. In fact, the program is very simple. Enter a set of parameters according to the instructor's requirements, draw a polygon on the screen, and fill in. Of course, you cannot use the built-in drawing functions in the C language library. You must write your own code to draw pixels for both straight lines and filled images.

Soon I wrote the program and tested it with several sets of self-designed parameters. A buddy in the dormitory next door also chose this course. He had been searching for samples prepared by others for a few days before the course was handed in, I don't know how he learned that I also chose this course, and the course settings have been completed, so I took all the code from me. When he left, I told him not to worry about changing the variable names. It is best to change the program structure.

After a few days of leisure, I confidently went to the teacher's office to reply, and he was also there. The teacher first looked at his program, which is actually my program, and then gave a group of data. Unfortunately, the teacher's data set is really strange. In fact, it is to draw an isosceles triangle on the screen, but when filling, when the top and bottom rows are filled, after a pixel in the lower right corner, a "leak" occurs. My program will overstep the triangle edge and continue to fill the entire screen outside. The teacher smiled with satisfaction. Apparently, he was satisfied with his test data. Then I asked my classmates, did you do it yourself? I am an honest friend. I shook my head with a red face and said no. The teacher asked, have you understood this program? Nodded. The teacher said, well, for your honest credit, please give it a 61. This set of data is very prone to problems. The example program provided in the book has vulnerabilities, it is helpful for you to study the formulas and procedures in the book.

I secretly breathed a sigh of relief on the side, and said it was okay, and the teacher was still very benevolent. So I went on to demonstrate it. As soon as the program opened, the teacher gave me a slight frown, and I saw an identical one. It must be depressing. I have to say it in my heart. You guys, everything is the same. Unfortunately, once again, the teacher gave the same data as it was just now. It seems that this data set is really cool. The result is self-evident. The teacher raised his head and asked me, did you do it yourself? I did not hesitate or even proudly say, of course. However, my mind immediately became so tight that an unknown hunch emerged. The teacher said well, You Should debug this program here. It may not be well done. You can also find out the problem.

My big brother, at this moment, other students waiting for the answer also came to the crowd, and everyone was surprised at my program interface, and some even asked in a sound, sorry, what system is this? No one can give clues to problems in the program. In order to make a splash, I wrote a very gorgeous interface using my own window library-of course, compared to other programs that are also completed using Turbo C. However, my window library is not rigorous and I have to tangle with the drawing code. The complicated formulas in the book, coupled with a lot of critical conditions, are messy, it is inconvenient for Turbo C to view the code. It is difficult to find out the problem, that is, to find out the core code. At this time, I deeply realized the disadvantages of process-oriented programming and why an excellent IDE is essential. In addition, this kind of graphics program is also difficult to debug. When one line of code is tracked, it is impossible to know what happened on the screen.

When I was sweating, my teacher said with contempt, "Forget it, you cannot make it out. You just copied it. what is the truth, the teacher understands you and doesn't care too much about it. But you are really dishonest and cannot pass your score. Did you copy a person from the classmate just now?

I suddenly thought it was a spin and copied ...... Copied by a person ...... Dishonest ...... Well, I only have to accept this reality and leave without saying a word in other students or mocking or incredible eyes.

Simply do not take the exam for this course. I have another much more promising course, image processing, which I have made a lot of effort and I think is easier, graphics involves too many mathematical principles, while image processing is basically a fixed mathematical formula, which can be applied directly. On the day of the exam, I was so cheerful that I took a pen to the test room.

Before sending the exam, the teacher will check and register our student ID card. When I found out how many times my teacher scanned my big eyes on paper and asked me, have you chosen this course? You are not on the list? "Click it !" I firmly believe that I heard lightning sound at the time. Do you believe it? Fortunately, it was not very popular to "be thundered" at that time, otherwise I must be the kind of outfocus. I walked out of the test room, and there seemed to be only me on the gloomy forest-lined road. I almost fell onto the ground and shouted "Heaven, earth, Earth" at 45 degrees.

As the saying goes, there is a single disaster. However, the common saying goes wrong. I also took a course called "virtual reality technology", mainly learning the language of fig. This should be considered a 3D script. Through code, I can define some 3D objects and camera positions, then, its runtime environment can render a 3D scenario by itself, respond to mouse and keyboard operations, and interact with JavaScript. This course does not have an exam. It only has a course, and requires a practical 3D scenario. There are no restrictions on the selection of questions.

Many people choose to create a job-university campus. Why? Because there is such a ready-made ml script circulating in the "Workshop", that is, the campus we live and dump every day. I chose Tiananmen Square because I had not received any lessons from the computer graphics course when I was teaching this course, stubbornly think that I should do this job with my own strength. To this end, I specially invited my roommate and I to go around Tiananmen Square, and even estimated the actual size and proportion of Tiananmen Square through the number of floor tiles.

The production process is hard and interesting, and all the parameters and coordinates must be constantly adjusted, but I can still maintain pleasure, happily, Qian Gang carefully depicts the national emblem of a vector on the table. The written scripts are also very interesting. You can wander around the square and walk under the Monument to the People's Heroes. You can also jump up the steps through the space key, like CS. On the day before the reply, I was dumb to myself using the "big wrist" line: How much did you say this score? I think it would have scored 70 points, right? 70: That's the cost. You have to study the psychology of the teacher, and you will be able to pass the course, he doesn't care about giving 20 more points for his own work. Therefore, the slogan of our course is: do not do well, but do it yourself.

As a result, almost all the students handed in the same course settings. They were on a big job campus, and some of them put several cars on the road outside the school to move around; some of the clock on the door bar at the school door becomes able to run according to the system time; some others put half-naked beautiful textures on the window of the female dormitory. The so-called law does not blame the public. Although the discerning person knows that these are all copied, but they cannot fail or all of them will pass, so these "works" generally scored a high score, the minimum number is 86. However, because of the low Difficulty coefficient, Tiananmen Square scored a symbolic 65 point.

It's time to say goodbye.

When I went to the Academic Affairs Office to complete the drop-out procedures, the old lady in charge of the incident was very enlightened. A kind face tells me, sorry, there is a future, China's Bill Gates. My heart said, in what age did you know about Bill Gates? Besides, did China get Bill Gates? But in order to return to the old lady's kindness, I try to calmly say that I am not Bill Gates, but I am tired of college education.

  • Back to Liu lianzai: Ten Years of Programming
  • Previous Article "Love. NET"
  • Next article "the bond with words"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.