袁峰

www.fengyuan.com
随笔 - 24, 评论 - 281, 引用 - 62

导航

标签

每月存档

最新留言

  • 回复: 换工作了
    # 回复: 换工作了 2007-12-18 14:08 vb.net <br>厉害,佩服,学习 <br> <br># 回复: 换工作了 2007-12-18 1...
    by 1(匿名) on 2007/12/29 22:26:00
  • 回复: 换工作了
    ParallelFX !
    by DLU(匿名) on 2007/12/21 15:27:00
  • 回复: 换工作了
    只要不是去google就好
    by fwaef(匿名) on 2007/12/20 15:34:00
  • 回复: 换工作了
    aaaaa
    by s(匿名) on 2007/12/20 12:15:00
  • 回复: 换工作了
    是不是传说中的PLINQ呀?MS中的几个大牛正在做!
    by Boler Guo(匿名) on 2007/12/18 16:50:00
  • 回复: 换工作了
    11年, 佩服! <br>严老大不妨跟大家讲讲具体要做那些工作, 难道是VS上的多核程序调试工具? <br>:)
    by VincentChen(匿名) on 2007/12/18 16:48:00
  • 回复: 换工作了
    看看: <br> <br><a target="_new" href="http://msdn2.microsoft.com/en-us/c...
    by fyuan(匿名) on 2007/12/18 15:06:00
  • 回复: 换工作了
    具体的说说,大家还是很关注老大的
    by 小气的鬼(匿名) on 2007/12/18 14:32:00
  • 回复: 换工作了
    11年,大牛了
    by Victor.Woo(匿名) on 2007/12/18 14:16:00
  • 回复: 换工作了
    Visual Studio / 多核 <br> <br>这两个东西好像交集很小呀。 <br> <br>利用多核的技术提高 Visual Studio ...
    by ghj1976(匿名) on 2007/12/18 14:14:00
  • 回复: 换工作了
    袁老大真是厉害,让我佩服,向你学习!
    by vb.net(匿名) on 2007/12/18 14:09:00
  • 回复: 换工作了
    厉害,佩服,学习
    by vb.net(匿名) on 2007/12/18 14:08:00
  • 回复: 悬赏: large/huge EMF spool file
    sdsdadasdfafvfafdfadsfadsfdfdfgf
    by fsdfsd(匿名) on 2007/12/16 8:52:00
  • 回复: 梁肇新 《编程高手箴言》 书评
    我觉得我这种算是比较肤浅的人都能理解的到的书,你们这些所谓的高手确理解不了而是在讽刺,请问你们的成就是啥,也写出来让我膜拜一下吧。不要说人家做出来的东西是垃圾,在垃圾也有能学习的地方,何况这本书讲了许...
    by lr2000(匿名) on 2007/12/12 20:38:00
  • 回复: 梁肇新 《编程高手箴言》 书评
    不巧变成乱码~ <br> <br>我觉得两方都有各自的道理,但是呢,你说梁只是一个工人,一个垒代码的,确实,一个熟练工完全可以迅速垒出层叠嵌套的代码,再熟练点的,可以找出一个系...
    by lr2000(匿名) on 2007/12/12 20:32:00

广告

我曾想当一个数学家

一 苏州的童年

二 上海机械学院

February 27th, 1978, the first day of a new school term started in the 3rd middle school of Suzhou (苏州市第三中学). It was kind of sad for me, because I took the college entrance examination as one of the only two students allowed to in my grade. Stories of people receiving admission letters have been circling around. It was a huge deal as colleges in China had closed their doors do high school students for over ten years since the Culture Revolution. Mom was worried that her family background, being the daughter of a landlord, could have affected my admission. Now that I'm still sitting at my desk in my middle school.

Half way through the morning classes, my physics teacher walked in through the door and stopped the class. He pulled out a piece of paper and started to read. It was a strange thing, for things like that are normally for arresting real bad kids who were inolved in gang fights with knives. But this time it turned out to be admission letter for me to 上海机械学院, an almost unknown college in Shanghai.

Before taking the college entrance examination, I had to write down schools I would like to apply. I was quite good with math in school, actually the best in math in whole school since elementary school. My nickname in the first middle school I attended was 袁罗庚, after 华罗庚, the most famous mathematian in China. As I really wanted to be a mathematian, so I wrote down mathmatics departments of three best universites in China as my choices: 复旦大学, 南京大学, and 北京大学. They are sorted according to distances from Suzhou. To make sure they will not assign me to some small college at the far corners of China, I checked the box which saided I would not accept any other assignment. Those were the decisions I made with my father, but before actually submitting the form, I changed my last choice to 上海机械学院 before consulting my father again.

Shortly after that, I packed up and took a train to Shanghai, enrolled in 上海机械学院 自动化系 工业电子自动化专业.

三 南京大学 师从徐家福

四 南京大学 陈世福教研组

五 新加坡 华人小公司

六 新加坡 惠普

七 Vancouver 惠普

八 作家梦

九 微软: 如鱼得水

见: http://spaces.msn.com/fengyuancom

posted on 2004-06-29 13:48:00 by fyuan  评论(10) 阅读(3718)

Matt Pietrek is working for Microsoft

Yesterday when I was about to send an email to an internal email alias, I noticed a new name, Matt Pietrek. So I wrote him a quick message asking if he is THE Matt Pietrek. His reply was:

Yes, I'm Matt Pietrek. I don't know of any others. 笑脸

Matt is new hire March 22, 2004.

Another famous guy working for Microsoft people may not aware is Tony Hoare (http://research.microsoft.com/~thoare/). I met him while studying in Nanjing University back in the 80s.

posted on 2004-06-09 01:49:00 by fyuan  评论(17) 阅读(5737)

一问一答

下面是对 CSDN 上网友的一些问题的答复. 根本不算什么文章, 只是放在这里躲过 blog.joycode.com 的主页.

看你精力很充沛,不分日夜地都能看到你,你一天睡几个小时

I'm a normal person, so I need about 6 to 8 hours of sleeping a day. But I am posting on CSDN, I could be either at home or at work, that makes it seems longer. Tell you a secret, saucer(思归/MVP)  needs much less sleep than me.

How many years have you spent in programming

I entered college in the spring of 1978, so around 1980 I started programming using Algol 60 on made-in-China DJ-709 machine. I went to Singapore in 1991, to work on an embroidery CAD software. I have been making a living as software engineer ever since. 

How long did it take you to write the book "Windows Graphics Programming Win32 GDI and DirectDraw

The book took two years to published from the time I wrote publisher a book proposal. But the actual time I spent on writing is about one year, around 2000 hours. Basically, for every week, I work 40 hours for HP, and 40 hours on my book. This means four hours on weekdays and ten hours on weekends for a whole year. 

要进微软要什么条件

That is hard to say in a few sentences. My impression is that Microsoft hires two kinds of people, new college hires straight out of shool and experienced engineers. For experienced engineers, normally you need to be a good programmer and be quite good in certain area. For example, the group I'm working for now has quite a few openings for someone knowlegable about GDI/DDI/printer driver/printer languages. If you happen to have worked in those areas, those jobs are not hard to get.

Also remember that, software design engineer is just one class of job at Microsoft. The other two big classes of jobs are software design engineer in test and program manager. 

Can you introduce MS to us? including the culture, work style and life. In addition, tell us how to be eligible to join MS

I will write something here when I have time, may be this weekend.

程序员到底应以什么为目标:技术还是以技术为基础的服务

It depends on what do you want to achieve in your life and your accessment of your own ability. Some people would like to stay technical. Some people want to stay half technical and half management; some people want to go to management or even start his/her bussiness as soon as possible. You may even adjust your goal from time to time, adjust to your other needs like family.

不知道该继续读书好,还是工作好

It depends on your current situation and long term plan. If your goal is getting a software engineer job, get a job first if you already have a bachelaor degree if you can find a suitable one. If your goal is becoming a professor or researcher, get a master degree or Ph.D degree will be needed. If job is hard to find and further education will enhance your chance of getting a better job, continue your education. The most important thing is do not waste your time, spend time on things which will improve your ability to prepare you for your future career.

还会说中文吗

中文当然会说, 不过大不如前, 何况我打汉字很慢. 另外我觉得对学计算机的人, 英文非常重要, 所以我也想逼大家多用英文.

说说你成功的秘诀

先听听真正成功的人: http://www.kaifulee.com/

What is the fastest way to copy a large block of memory on Intel CPU

For large block of memory, DWORD aligned DWORD copy is normally the fastest way to copy memory. But loading/storing 8-bytes at a time on 64-bit boundary using floating point register is even faster. For details, check http://www.agner.org/assem/.

As a software engineer, you do not need to know the exact line of assembly code to do that. But you need to have the basic idea and be able to find places for possible performance improvement during your design, coding and code review. Similar programs will arise a lot in image processing software, low-level graphics routines, printing, etc.

How do you calculate pi to 1 million digits

First, you need a formula to calculate pi. One commonly used formula is pi = 16 * arctan(1/5) - 4 * arctan(1/239). Then you can expand arctan using Taylor expansion. For final implementation, use an array to store a million digit number, and you only need to implement a few simple operations on it.

To get the formula, suppose tan女孩 = 1/5, calculate tan(2x) = (1/5 + 1/5) / ( 1-1/25) = 5/12, tan(4x) = 120 / 119.

Because 120/119 is little bit over 1, tan(45 degree), we can assume tan(45 degree + y) = 120 / 119, so tan太棒了 = 1/239.

So 4x = 45 degree + y, 45 degree = 4x - y = 4 * arctan(1/5) - arctan(1/239), as 45 degree is pi/4. we get

                                                           pi = 16 * arctan(1/5) - 4 * arctan(1/239).

For software engineers, mathematical skill like shown here is essentail. Programming is basic a form of algebra. When you're writing programs, you are writing symbolical formulas which you need to prove to be right, mentally or through testing or both.

posted on 2004-06-07 13:47:00 by fyuan  评论(16) 阅读(2788)

Powered by: Joycode.MVC引擎 0.5.2.0