表单生成工具

pForm是个很不错的表单生成工具,只是感觉对Firefox支持的不是很好。

用他的控件生成的一个表单

雷死人的考题

雷死人的考题啊:
雷人的考题

如果是问×××大学的微机原理老师是谁,那我肯定挂了。哈哈~
转自:http://www.ijenny.cn/2009/06/19/sb-3/

智力题:小山羊过河

题目:小山羊聚会后回家,发现河上的桥坏了。旁边只有一个30×30公分的木板,河宽200公分。问,小山羊不能挨着水,还必须回家,小山羊的家在河对岸。怎么办?

先看看可爱的同学们的答案:
1.跳过去?
2.绕过去?
3.那就从桥上过啊,坏的地方垫上
4. 把木板卖给摆渡的老大爷,让老大爷拉它过河
5. 弯曲木板,把自己弹出去
6. 把木板放在水面上,离河岸一定距离,然后从岸上助跑跳上去,惯性就可以把小羊送过河,如果小羊平衡好的话
7. 站在木板上用坏桥的东西做桨,划过去

哈哈哈~

其实答案是:

小山羊现在还在想呢~

哈哈,这个题,早上从1039听来的,有那么一点整人。

郁闷啊

早上起了个大早,兴冲冲的去看客厅的计算机,它从昨天晚上就开始下载Fedora啦,一看,傻眼,才下载了30%,还需要12个小时,然后发现,是Orbit设置了限速,晕,看来今天是装不了Fedora啦~

跑去4S洗车,被告知,洗车机坏了,洗不了,
找到一个路边洗车店,被告知,那边排队,开过去一看,晕,整个一停车场啊。
一咬牙,算了,下午自己洗~

然后去修剪头发,被告知师傅请假~

然后去家乐福,正挑完好吃的,广播里说收款系统坏了,暂停结帐~顿时,超市里就只进不出,黑压压的全是人,嘈杂得有些害怕,赶快把那些好吃的放回原位,跑了出来~

哼,超市不干活,咱去市场!
掉转车头奔北机市场,西瓜不错,问那个卖西瓜的“哪儿的瓜啊”,答曰“姑爷家的”…… 这都哪儿跟哪儿呀~

今天的谷歌热榜

看:
谷歌热榜
谷歌热榜
民意乎?

面对这么多问题,谷歌怎么办?该怎样坚持“不作恶”?

BTW:
点击更多之后,确实有些。。。不符合社会主义精神文明建设了。

该怎样选择呢?

都是这篇文章惹得祸:How to Installing a Windows XP as a virtual machine on VirtualBox

一边是Ubuntu,一边是Fedora~
正眼巴巴看着我的是陪伴了我十几年的Windows~
后边还有新出的Mac Book Pro~
反正是不想那个山寨极了的gOS了!

哦,噢,喔,经济危机,没钱,所以Mac的计划要推后
那么,
一边是Ubuntu,一边是Fedora~
正眼巴巴看着我的是陪伴了我十几年的Windows~
纠结啊~

说实话,虽然成为IT民工N年了,最怕的就是装系统~Silence总冒出来的一些“专有名词”总是让我头晕,三大件侃侃而谈的东西我是更不知所云。
我就不会装系统,真的,我只知道把光盘插进去,不知道光盘插进去还有很多事情要做。还有那该死的驱动~哦,哦……我想着就开始头疼。

然而现在,我居然要英勇的奋战下Linux咧,而且是在我的光驱已经坏掉的情况下,挑战那可爱的 Linux 耶~

我想,我还是选择Fedora吧,万一,我掉在Fedora的沟里了,有三大件同学可以救我~

真有意思哦,别人第一次装Linux是摩拳擦掌,准备好这个软件,那个光盘的~而我是摩拳擦掌的给小卡加满油,随时准备出了问题后,把我的Old SamSung X10送到三大件那里。

哈哈哈,
祝自己成功~

还是有那么一点对Ubuntu的不舍哦~,或许,我可以在装过Fedora 后再装个Ubuntu~哦耶~

2010的春节联欢晚会将由谷歌赞助

最新消息,2010年的CCTV春节联欢晚会将由谷歌赞助播出。
蔡阿姨问:为什么呢?
因为:
酱紫啊
链接:http://news.cctv.com/xwlb/20090618/109048.shtml

Larry Page's University of Michigan Commencement Address

英文原文:http://www.google.com/intl/en/press/annc/20090502-page-commencement.html
中文译文:http://www.ceocio.com.cn/6/35/43425.html

思来想去,为了学习英文,所以粘贴英文:
Google!
Class of 2009! First I’d like you to get up, wave and cheer your supportive family and friends! Show your love!

It is a great honor for me to be here today.

Now wait a second. I know: that’s such a cliché. You’re thinking: every graduation speaker says that — It’s a great honor. But, in my case, it really is so deeply true — being here is more special and more personal for me than most of you know. I’d like to tell you why.

A long time ago, in the cold September of 1962, there was a Steven’s co-op at this very university. That co-op had a kitchen with a ceiling that had been cleaned by student volunteers every decade or so. Picture a college girl named Gloria, climbing up high on a ladder, struggling to clean that filthy ceiling. Standing on the floor, a young boarder named Carl was admiring the view. And that’s how they met. They were my parents, so I suppose you could say I’m a direct result of that kitchen chemistry experiment, right here at Michigan. My Mom is here with us today, and we should probably go find the spot and put a plaque up on the ceiling that says: “Thanks Mom and Dad!”

Everyone in my family went to school here at Michigan: me, my brother, my Mom and Dad — all of us. My Dad actually got the quantity discount: all three and a half of his degrees are from here. His Ph.D. was in Communication Science because they thought Computers were just a passing fad. He earned it 44 years ago. He and Mom made a big sacrifice for that. They argued at times over pennies, while raising my newborn brother. Mom typed my Dad’s dissertation by hand. This velvet hood I’m wearing, this was my Dad’s. And this diploma, just like the one you’re are about to get, that was my Dad’s. And my underwear, that was… oh never mind.

My father’s father worked in the Chevy plant in Flint, Michigan. He was an assembly line worker. He drove his two children here to Ann Arbor, and told them: That is where you’re going to go to college. Both his kids did graduate from Michigan. That was the American dream. His daughter, Beverly, is with us today. My Grandpa used to carry an “Alley Oop” hammer — a heavy iron pipe with a hunk of lead melted on the end. The workers made them during the sit-down strikes to protect themselves. When I was growing up, we used that hammer whenever we needed to pound a stake or something into the ground. It is wonderful that most people don’t need to carry a heavy blunt object for protection anymore. But just in case, I have it here.

My Dad became a professor at uh… Michigan State, and I was an incredibly lucky boy. A professor’s life is pretty flexible, and he was able to spend oodles of time raising me. Could there be a better upbringing than university brat?

What I’m trying to tell you is that this is WAY more than just a homecoming for me. It’s not easy for me to express how proud I am to be here, with my Mom, my brother and my wife Lucy, and with all of you, at this amazing institution that is responsible for my very existence. I am thrilled for all of you, and I’m thrilled for your families and friends, as all of us join the great, big Michigan family I feel I’ve been a part of all of my life.

What I’m also trying to tell you is that I know exactly what it feels like to be sitting in your seat, listening to some old gasbag give a long-winded commencement speech. Don’t worry. I’ll be brief.

I have a story about following dreams. Or maybe more accurately, it’s a story about finding a path to make those dreams real.

You know what it’s like to wake up in the middle of the night with a vivid dream? And you know how, if you don’t have a pencil and pad by the bed to write it down, it will be completely gone the next morning?

Well, I had one of those dreams when I was 23. When I suddenly woke up, I was thinking: what if we could download the whole web, and just keep the links and… I grabbed a pen and started writing! Sometimes it is important to wake up and stop dreaming. I spent the middle of that night scribbling out the details and convincing myself it would work. Soon after, I told my advisor, Terry Winograd, it would take a couple of weeks to download the web — he nodded knowingly, fully aware it would take much longer but wise enough to not tell me. The optimism of youth is often underrated! Amazingly, I had no thought of building a search engine. The idea wasn’t even on the radar. But, much later we happened upon a better way of ranking webpages to make a really great search engine, and Google was born. When a really great dream shows up, grab it!

When I was here at Michigan, I had actually been taught how to make dreams real! I know it sounds funny, but that is what I learned in a summer camp converted into a training program called Leadershape. Their slogan is to have a “healthy disregard for the impossible”. That program encouraged me to pursue a crazy idea at the time: I wanted to build a personal rapid transit system on campus to replace the buses. It was a futuristic way of solving our transportation problem. I still think a lot about transportation — you never loose a dream, it just incubates as a hobby. Many things that people labor hard to do now, like cooking, cleaning, and driving will require much less human time in the future. That is, if we “have a healthy disregard for the impossible” and actually build new solutions.

I think it is often easier to make progress on mega-ambitious dreams. I know that sounds completely nuts. But, since no one else is crazy enough to do it, you have little competition. There are so few people this crazy that I feel like I know them all by first name. They all travel as if they are pack dogs and stick to each other like glue. The best people want to work the big challenges. That is what happened with Google. Our mission is to organize the world’s information and make it universally accessible and useful. How can that not get you excited? But we almost didn’t start Google because my co-founder Sergey and I were too worried about dropping out of our Ph.D. program. You are probably on the right track if you feel like a sidewalk worm during a rainstorm! That is about how we felt after we maxed out three credit cards buying hard disks off the back of a truck. That was the first hardware for Google. Parents and friends: more credit cards always help. What is the one sentence summary of how you change the world? Always work hard on something uncomfortably exciting!

As a Ph.D. student, I actually had three projects I wanted to work on. Thank goodness my advisor said, “why don’t you work on the web for a while”. He gave me some seriously good advice because the web was really growing with people and activity, even in 1995! Technology and especially the internet can really help you be lazy. Lazy? What I mean is a group of three people can write software that millions can use and enjoy. Can three people answer the phone a million times a day? Find the leverage in the world, so you can be more lazy!

Overall, I know it seems like the world is crumbling out there, but it is actually a great time in your life to get a little crazy, follow your curiosity, and be ambitious about it. Don’t give up on your dreams. The world needs you all!

So here’s my final story:

On a day like today, you might feel exhilarated — like you’ve just been shot out of a cannon at the circus — and even invincible. Don’t ever forget that incredible feeling. But also: always remember that the moments we have with friends and family, the chances we have to do things that might make a big difference in the world, or even to make a small difference to someone you love — all those wonderful chances that life gives us, life also takes away. It can happen fast, and a whole lot sooner than you think.

In late March 1996, soon after I had moved to Stanford for grad school, my Dad had difficultly breathing and drove to the hospital. Two months later, he died. And that was it. I was completely devastated. Many years later, after a startup, after falling in love, and after so many of life’s adventures, I found myself thinking about my Dad. Lucy and I were far away in a steaming hot village walking through narrow streets. There were wonderful friendly people everywhere, but it was a desperately poor place — people used the bathroom inside and it flowed out into the open gutter and straight into the river. We touched a boy with a limp leg, the result of paralysis from polio. Lucy and I were in rural India — one of the few places where Polio still exists. Polio is transmitted fecal to oral, usually through filthy water. Well, my Dad had Polio. He went on a trip to Tennessee in the first grade and caught it. He was hospitalized for two months and had to be transported by military DC-3 back home — his first flight. My Dad wrote, “Then, I had to stay in bed for over a year, before I started back to school”. That is actually a quote from his fifth grade autobiography. My Dad had difficulty breathing his whole life, and the complications of Polio are what took him from us too soon. He would have been very upset that Polio still persists even though we have a vaccine. He would have been equally upset that back in India we had polio virus on our shoes from walking through the contaminated gutters that spread the disease. We were spreading the virus with every footstep, right under beautiful kids playing everywhere. The world is on the verge of eliminating polio, with 328 people infected so far this year. Let’s get it done soon. Perhaps one of you will do that.

My Dad was valedictorian of Flint Mandeville High School 1956 class of about 90 kids. I happened across his graduating speech recently, and it blew me away. 53 years ago at his graduation my Dad said: “…we are entering a changing world, one of automation and employment change where education is an economic necessity. We will have increased periods of time to do as we wish, as our work week and retirement age continue to decline. … We shall take part in, or witness, developments in science, medicine, and industry that we can not dream of today. … It is said that the future of any nation can be determined by the care and preparation given to its youth. If all the youths of America were as fortunate in securing an education as we have been, then the future of the United States would be even more bright than it is today.”

If my Dad was alive today, the thing I think he would be most happy about is that Lucy and I have a baby in the hopper. I think he would have been annoyed that I hadn’t gotten my Ph.D. yet (thanks, Michigan!). Dad was so full of insights, of excitement about new things, that to this day, I often wonder what he would think about some new development. If he were here today — well, it would be one of the best days of his life. He’d be like a kid in a candy store. For a day, he’d be young again.

Many of us are fortunate enough to be here with family. Some of us have dear friends and family to go home to. And who knows, perhaps some of you, like Lucy and I, are dreaming about future families of your own. Just like me, your families brought you here, and you brought them here. Please keep them close and remember: they are what really matters in life.

Thanks, Mom; Thanks, Lucy.
And thank you, all, very much.

解决WordPressAllowed memory size of 33554432 bytes exhausted问题

今天Picksth.com的Wordpress(中文)升级到2.8之后,就频繁的出现Allowed memory size of 33554432 bytes exhausted问题。而同时升级的popocat.com的Wordpress(英文)就没有这个问题。感觉很奇怪。另外还同时出现了另一个奇怪的问题,Picksth.com是中文的Wordpress, 升级之后感觉CMS界面的字体爆大,几乎到了晃眼的程度。

于是就,开始想是不是因为中文的关系。重新上传了WP的文件,把config里的语言设置为英文之后。问题解决!

不过Google了一下,说这个问题可以修改下wp-settings.php文件,这样改:
1. Download, back up and open: wp-settings.php in wordpad/notepad
2. Search for define(’WP_MEMORY_LIMIT’, ‘32M’);
3. Change 32M to 64M : define(’WP_MEMORY_LIMIT’, ‘64M’);
4. Enjoy
wp-settings.php文件每次升级会被替换,因此有人提出了一劳永逸的修改方法(注意这个方法的最后一句话):
1. Create a file called php.ini in the root of your site (if you are using a hosted addon domain, this must be in the subdirectory of that site)
2. In php.ini, enter a line that says
memory_limit = 64MB
3. In your site’s .htaccess (being a WordPress blog, I’m assuming there is one), enter the following line
SetEnv PHPRC //
(keep the slashes)
4. Edit wp-config.php and enter the following line
define(‘WP_MEMORY_LIMIT’, ’64M’);
5. Upload the new files to the server
Oh, and don’t tell your hosting provider you’ve done this…

呵呵,顺便把wp-settings.php文件文件也改了。
不过,还是觉得问题的根本在于WP对中文的兼容性的会使这个问题严重化,显露化。因此,用英文的WP是正解!

来自密歇根大学的分析报告

关于驴爸的分析报告,原文在这里:http://tinyurl.com/lxp9zp

已经出到了Revision 2.4

感谢Scott Wolchok, Randy Yao, and J. Alex Halderman

BTW:这个论文已经有人stumbleupon了

Dansette