<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3769252384567584523</id><updated>2024-10-06T21:52:22.877-07:00</updated><category term="C++"/><category term="HTC，网络"/><category term="Qt"/><category term="时评"/><category term="维也纳新年音乐会"/><category term="罗嗦"/><title type='text'>苦逼僧人</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-6745029326924003818</id><published>2012-08-05T21:08:00.002-07:00</published><updated>2012-08-05T21:08:10.960-07:00</updated><title type='text'>一次悲催的Debug经历</title><content type='html'>今天终于搞定了困扰我两天之久的一个令程序崩溃的bug，不过这个bug着实让我汗颜。&lt;br /&gt;
不多说，上代码。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;enum MotionDirection{&lt;span style=&quot;font-style: italic;&quot;&gt;UP_RIGHT&lt;/span&gt; = 1,&lt;span style=&quot;font-style: italic;&quot;&gt;DOWN_LEFT&lt;/span&gt;,&lt;span style=&quot;font-style: italic;&quot;&gt;UP_LEFT&lt;/span&gt;,&lt;span style=&quot;font-style: italic;&quot;&gt;DOWN_RIGHT&lt;/span&gt;,&lt;/pre&gt;
&lt;pre&gt;                     &lt;span style=&quot;font-style: italic;&quot;&gt;HORIZONTAL_LEFT&lt;/span&gt;,&lt;span style=&quot;font-style: italic;&quot;&gt;HORIZONTAL_RIGHT&lt;/span&gt;,&lt;/pre&gt;
&lt;pre&gt;                    &lt;span style=&quot;font-style: italic;&quot;&gt;VERTICAL_UP&lt;/span&gt;,&lt;span style=&quot;font-style: italic;&quot;&gt;VERTICAL_DOWN&lt;/span&gt;};&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
void OpticalFlow::tracking(cv::Mat &amp;amp;frame, cv::Mat &amp;amp;output, std::vector&amp;lt;float&amp;gt; &amp;amp;wp)&lt;br /&gt; {&lt;br /&gt;...&lt;br /&gt; float velocity[8] = {0.0};//8个方向的速度&lt;br /&gt; int flags[8] = {0};//8个方向出现的次数&lt;br /&gt; uint i = 0;&lt;br /&gt; while( i &amp;lt; workingSet.size()) {&lt;br /&gt; int pos = getOldVectorPos(workingSet[i],points[0]);&lt;br /&gt; if(pos != NO_APPLICABLE_POINT_FOUND)&lt;br /&gt; //计算当前特征点的方向和速度信息&lt;br /&gt; countDirectionAndSpeed(workingSet[i],pos,velocity,flags);&lt;br /&gt; ++i;&lt;br /&gt; }&lt;br /&gt;...&lt;br /&gt; 
 //为下一帧跟踪初始化特征点集和灰度图像&lt;br /&gt; std::swap(points[1], points[0]);&lt;br /&gt; cv::swap(gray_prev, gray);&lt;br /&gt; }&lt;/blockquote&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;这段代码的主要作用是进行人数统计和运动方向检测，但是每次程序运行都会崩溃。Debug设断点跟踪竟然是cv::swap(gray_prev,gray)引起的，其执行完后就会引发错误。然而&lt;b&gt;这个函数是比我有经验的多的程序员写的，应该不会有问题。&lt;/b&gt;于是苦逼的继续调试，大约两个小时后，终于看到原来枚举变量MotionDirection的值是从1开始的，而我定义的两个数组velocity和flags下标都是从0开始，因此会造成越界的问题！&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;想到这里，将上述定义改为&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;float velocity[9] = {0.0};//8个方向的速度，第0位不用&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int flags[9] = {0};//8个方向出现的次数&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;问题解决了。&lt;br /&gt;
总结：&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;虽然是很小的一个问题，却让我认识到两方面的内容。其一，要相信库函数，除非有充分的证据。出问题先从自身找原因；其二，越界和粗心大意的写代码仍是我写的代码的主要崩溃手段。&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;就这么多吧。最后送福利图一枚：，来自爱软。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSKUksjvzE2ER-tuex34OLq9ZsA2hOAs1Ko4u45ZR3UrRIta0XeGU5a6NlflHiuORtvXZVwkmMZMeDXL_Ff7nWmRC6b08i9V5F0jnZFMAZMYnzCUACqk1PSY8d8WPpSHTZFDfXrzwAVw8/s1600/7479033854_1d049b8a16_z.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSKUksjvzE2ER-tuex34OLq9ZsA2hOAs1Ko4u45ZR3UrRIta0XeGU5a6NlflHiuORtvXZVwkmMZMeDXL_Ff7nWmRC6b08i9V5F0jnZFMAZMYnzCUACqk1PSY8d8WPpSHTZFDfXrzwAVw8/s320/7479033854_1d049b8a16_z.jpg&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/6745029326924003818/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/08/debug.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6745029326924003818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6745029326924003818'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/08/debug.html' title='一次悲催的Debug经历'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSKUksjvzE2ER-tuex34OLq9ZsA2hOAs1Ko4u45ZR3UrRIta0XeGU5a6NlflHiuORtvXZVwkmMZMeDXL_Ff7nWmRC6b08i9V5F0jnZFMAZMYnzCUACqk1PSY8d8WPpSHTZFDfXrzwAVw8/s72-c/7479033854_1d049b8a16_z.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-3599687016854397036</id><published>2012-07-31T04:59:00.003-07:00</published><updated>2012-07-31T05:00:11.912-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Qt"/><title type='text'>Warning: Z-order assignment: &quot; is not a valid widget. 的解决办法</title><content type='html'>&amp;nbsp; &amp;nbsp; 在Qt Creator中使用可视化方式设置用户界面时，如果过多地进行了添加删除操作以及频繁的添加、删除及更改布局（本人就是这样遇到此问题的，非官方正式解释），便有可能在编译代码时出现上述警告。虽说是警告，但是前面是用代表错误的红点来表示的，看起来令人颇为不爽。好在神奇的stackoverflow总是能给我们惊喜。&lt;a href=&quot;http://stackoverflow.com/questions/6831546/qvision-widget-error-upon-compile&quot; target=&quot;_blank&quot;&gt;这个帖子&lt;/a&gt;下方的回答告诉了我们该怎么做。没兴趣跳转的同学，下面是解决方法：&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 用Vim打开.ui文件，删除所有&amp;lt;z-order&amp;gt;值为空的标签，保存后再编译就没问题了。&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 向提供此方法的&lt;a href=&quot;http://stackoverflow.com/users/1334541/vlad&quot; style=&quot;background-color: white; border: 0px; color: #4a6b82; cursor: pointer; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 13px; line-height: 17px; margin: 0px; padding: 0px; text-align: left; text-decoration: none; vertical-align: baseline; white-space: nowrap;&quot;&gt;Vlad&lt;/a&gt;致敬！如果Up Vote没有限制，我会顶他10次。&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 最后是福利图，转自&lt;a href=&quot;http://airuan.net/&quot; target=&quot;_blank&quot;&gt;爱软&lt;/a&gt;：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidchOYyTLtedb2XIDCTMRE88RR-nAC3z8H1rXFh8kvTWk1ILcr27yd86DeVVHofedQfcqluX-7iOcNXOLRLBqD0DZF5aUEZDGHJG_z2KSKClQGNSK6Mt04d1ThJ2-9T-GmvSdNUrAtzwQ/s1600/7479031492_56e455d0a3_b.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidchOYyTLtedb2XIDCTMRE88RR-nAC3z8H1rXFh8kvTWk1ILcr27yd86DeVVHofedQfcqluX-7iOcNXOLRLBqD0DZF5aUEZDGHJG_z2KSKClQGNSK6Mt04d1ThJ2-9T-GmvSdNUrAtzwQ/s320/7479031492_56e455d0a3_b.jpg&quot; width=&quot;216&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/3599687016854397036/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/07/warning-z-order-assignment-is-not-valid.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/3599687016854397036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/3599687016854397036'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/07/warning-z-order-assignment-is-not-valid.html' title='Warning: Z-order assignment: &quot; is not a valid widget. 的解决办法'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidchOYyTLtedb2XIDCTMRE88RR-nAC3z8H1rXFh8kvTWk1ILcr27yd86DeVVHofedQfcqluX-7iOcNXOLRLBqD0DZF5aUEZDGHJG_z2KSKClQGNSK6Mt04d1ThJ2-9T-GmvSdNUrAtzwQ/s72-c/7479031492_56e455d0a3_b.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-1522035212874475781</id><published>2012-07-19T03:37:00.005-07:00</published><updated>2012-07-19T03:37:48.685-07:00</updated><title type='text'>论孙老师的走掉</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
孙老师最近在其博客中发布了一篇&lt;a href=&quot;http://blog.sunner.cn/to-south-after-10-years-teaching/&quot; style=&quot;color: #336699; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;博文&lt;/a&gt;，总结了前生，展望了来世，顺便提及了很重要的一点：哥要走了。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;印象中和孙老师的接触起源于大三的操作系统。这也是我唯一一门90分以上的专业课，也是唯一一门认真学习过的课程；另一门90分的课是体育。以后我可以自豪的说，我的体育是操作系统老师教的【1】。我想，我会认真学习这门课并进而对计算机产生兴趣，完全在于孙老师和李老师的课程改革，将死板的条条框框融入到日常实践中去。孙老师确实有化腐朽为棒槌的能力。然而如今，他要走了。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;孙老师是一朵自由行走的花，我们都不懂他。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;刚看到此文以为孙老师喝多了，但是看下去后，慢慢觉得这才是一个真正爷们应该做的。按孙老师的说法，10年来，当初和孙老师一起出道的同事，现在有多少多少博导，有多少多少教授，而孙老师刚评为副教授，看似无所作为。但是那些博导和教授，现在可能已经没有多少人记得当初为什么投身教育行业了，每天所想只是项目和经费——当然，这么说肯定片面和极端。而工大的学生们，又有多少人知道和了解这些老师们呢？这些老师们还有多少心里装着学生呢？然而，只要在工大，提起孙老师的名号，无人不挑大拇哥。&lt;a href=&quot;http://www.cnbeta.com/articles/196889.htm&quot; style=&quot;color: #336699; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;XXX教授&lt;/a&gt;？没听过，不认识；孙志岗老师？哦，就是那个会教体育的操作系统老师，知道知道！以至于在工大，一个有觉悟的学生，不管他来到哪个国家，不管命运把他抛到哪里，不管他怎样感到自己是个异邦人，言语不通，举目无亲，远离祖国，——他都可以凭着“孙志岗”这熟悉的名字，给自己找到同志和朋友【2】。&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10年来孙老师是为了自己的理想而教学，而不是为了功名利禄。可以说，乐学网就是最好的例子。孙老师在&lt;a href=&quot;http://blog.sunner.cn/donate-cms/&quot; style=&quot;color: #336699; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;缺医少药几近弹尽粮绝&lt;/a&gt;的情况下硬是把乐学网打造成了一个在线教育及互动平台，这不是每个人都可以做的到的。如果没有强大的精神支柱和“一颗足够强大的心脏”，乐学网早就404了。鲁迅先生在《论雷峰塔的倒掉》中，将雷峰塔倒掉的社会新闻与《白蛇传》的民间故事巧妙地结合起来，借雷峰塔的倒掉，赞扬了白娘娘为争取自由和幸福而决战到底的反抗精神，揭露了封建统治阶级镇压人民的残酷本质，鞭鞑了那些封建礼教的卫道者，从而表达了人民对“镇压之塔”倒掉的无比欢欣的心情【3】。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;孙老师以35之龄放弃了事业单位的铁饭碗，投身互联网公司的大潮，这需要非常大的勇气和毅力，以及足够的说服能力，特别是在当前中国经济保八失败以及IT从业者（码农、码畜）不断猝死的不利情形下【4】。从原文中可以看出，孙老师一直在身体力行&quot;Follw your heart&quot;——中文有个奇妙的字：怂——的价值观，为自己而活。告别安稳的生活，追逐未知的未来。孙老师似乎化身为追风少年奔向远方，只为我们留下一道靓丽的背影和一丝略带猥琐的微笑。我等众生唯有报以敬仰的目光目送其前进，却惟独无法追随其脚步，我们活得太累了。孙老师的离开，并不包含“此处不留爷，自有留爷处”的无奈与悲凉，更多的是投身互联网大潮争做弄潮儿的雄心与壮志。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://v.youku.com/v_show/id_XNDE2MTEzNjQ0.html&quot; style=&quot;color: #336699; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;被猴子袭击失去讲稿的得道高僧延参法师&lt;/a&gt;曾经说过：让绳命多一些开心，让岁月剁一些回晃，让人生剁一些井猜，让生命剁一些井猜。壤窝们，巩痛嘱咐碰优。田下冯广宰饿妹，饿妹冯广宰呲处。壤窝们，嘱咐这缩优类缩优。开心的一小，火大的一小，壤绳命，梗楤容，壤绳命，梗秤巩，壤绳命，梗回晃【5】。 正是因为有这些不安于现状勇于攀登的人们，我们的“绳命”才能如此从容，我们的世界才能如此井猜。祝孙老师以后不论遇到什么艰难险阻，都能够微微一笑化险为夷；祝孙老师以后能继续坚持自己的理想；最后，希望孙老师能有时间继续更新&lt;a href=&quot;http://blog.sunner.cn/&quot; style=&quot;color: #336699; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;&quot;Hello World&quot;&lt;/a&gt;。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;最后一次叫您一声孙老师。下次见面，就是孙经理了。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
注解：&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
【1】：改编自“你的数学是体育老师教的吧”。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
【2】：改编自列宁纪念《国际歌》的作者欧仁•鲍狄埃的文章里的一段话。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
【3】：看着似乎毫无头绪？其实隐晦的表达了对学校不作为和山寨乐学网的一种不满，来自百度百科。&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
【4】：唉，注意身体吧骚年们！&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 1.4; margin-bottom: 0.8em; padding: 0px;&quot;&gt;
【5】：引用网友调戏谷歌娘的段子。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/1522035212874475781/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/07/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/1522035212874475781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/1522035212874475781'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/07/blog-post.html' title='论孙老师的走掉'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-1894874939091879844</id><published>2012-06-24T01:22:00.001-07:00</published><updated>2012-06-24T01:25:27.222-07:00</updated><title type='text'>在Qt4.8.0中使用OpenCV 2.3程序异常退出的解决办法</title><content type='html'>&amp;nbsp; &amp;nbsp; &amp;nbsp; 最近要做一些视频处理方面的内容，在Directshow和OpenCV之间徘徊了一阵后选择了OpenCV，毕竟和Qt一样都是开源跨平台的东东，搭配在一起显得格外和谐。然而按照&lt;a href=&quot;http://blog.csdn.net/llh318724/article/details/7007661&quot;&gt;这篇教程&lt;/a&gt;写完后发现那位博主使用的是OpenCV 2.1，而我下载的是OpenCV 2.3，似乎目录结构发生了一些变化，不能按照原来的方法写.pro文件了。琢磨了一番后将文件修改如下：&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
#-------------------------------------------------&lt;br /&gt;
#&lt;br /&gt;
# Project created by QtCreator 2012-06-23T15:40:59&lt;br /&gt;
#&lt;br /&gt;
#-------------------------------------------------&lt;br /&gt;
QT &amp;nbsp; &amp;nbsp; &amp;nbsp; += core gui&lt;br /&gt;
TARGET = opencv&lt;br /&gt;
TEMPLATE = app&lt;br /&gt;
&lt;br /&gt;
SOURCES += main.cpp\&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mainwindow.cpp&lt;br /&gt;
HEADERS &amp;nbsp;+= mainwindow.h&lt;br /&gt;
FORMS &amp;nbsp; &amp;nbsp;+= mainwindow.ui&lt;br /&gt;
INCLUDEPATH += F:/opencv/build/include&lt;br /&gt;
INCLUDEPATH += F:/opencv/build/include/opencv&lt;br /&gt;
LIBS += F:\OpenCV2.3\build\x86\mingw\bin\*.dll&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 编译没问题，结果运行的时候程序直接退出了，返回值-&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 12px; line-height: 15px; text-align: left;&quot;&gt;1073741515。一开始以为是.pro文件的问题，可是无论怎么修改仍然是不能正常运行；更换2.4.1版本的程序库也无济于事。在此期间甚至想放弃Qt转投VS（按照网上的教程VS 2010配置运行成功）。在绝望的时候，突然想会不会是缺什么东西的原因。因此在资源管理器中将所需全部DLL文件复制到exe程序目录下，点击运行后，系统果然提示缺少&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 12px; line-height: 15px;&quot;&gt;&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif;&quot;&gt;libstdc++-6.dll这个文件，不仅喜上眉梢，有门！&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 12px; line-height: 15px;&quot;&gt;&lt;span style=&quot;font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;然而此时高兴为时太早。将&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;C:\QtSDK\mingw\bin下的&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;libstdc++-6.dll复制过来后却提示“无法定位程序输入点”，看来DLL版本不对！只能上网搜碰运气了！终于，在&lt;a href=&quot;http://code.google.com/p/wtfu/downloads/detail?name=libstdc%2b%2b-6.dll&amp;amp;can=2&amp;amp;q=&quot;&gt;这里&lt;/a&gt;找到了合适的DLL，这回终于正常运行了！&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;老规矩，再次放上福利图一枚（看着是不是有点眼熟呢？）：&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL4YJXelLJkzc8ln1OFTkVEbrR6HUEQ06U9_8WDqEfu1jfZq2Y7PnR6hAGbG_hm4XvnMMEbL3gRjWUwdxxHblQsfSE8ReLPHMHAiAc3tZIIQ1SoMzN9LAl-hHy2Ag62g7ym4lAa9NgC-4/s1600/lena_full.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL4YJXelLJkzc8ln1OFTkVEbrR6HUEQ06U9_8WDqEfu1jfZq2Y7PnR6hAGbG_hm4XvnMMEbL3gRjWUwdxxHblQsfSE8ReLPHMHAiAc3tZIIQ1SoMzN9LAl-hHy2Ag62g7ym4lAa9NgC-4/s320/lena_full.jpg&quot; width=&quot;149&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 12px; line-height: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/1894874939091879844/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/06/qt480opencv-23.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/1894874939091879844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/1894874939091879844'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/06/qt480opencv-23.html' title='在Qt4.8.0中使用OpenCV 2.3程序异常退出的解决办法'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL4YJXelLJkzc8ln1OFTkVEbrR6HUEQ06U9_8WDqEfu1jfZq2Y7PnR6hAGbG_hm4XvnMMEbL3gRjWUwdxxHblQsfSE8ReLPHMHAiAc3tZIIQ1SoMzN9LAl-hHy2Ag62g7ym4lAa9NgC-4/s72-c/lena_full.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-4991841274495577523</id><published>2012-04-05T08:49:00.001-07:00</published><updated>2012-04-05T08:49:59.009-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><title type='text'>++++i和i++++的蛋疼问题</title><content type='html'>从标题就可以看出这个问题有多蛋疼了。平时谁会这么用啊啊啊啊！！！&lt;br /&gt;
不过，既然是个问题，总要有个答案，否则岂不抱憾终生？&lt;br /&gt;
通过google，在stackoverflow上寻到了&lt;a href=&quot;http://stackoverflow.com/questions/5987482/why-i-regular-but-i-not-regular-in-c&quot;&gt;答案&lt;/a&gt;：&lt;br /&gt;
&lt;br /&gt;
​T&amp;amp; operator ++(T&amp;amp; a);​ &amp;nbsp; &amp;nbsp; // pre&lt;br /&gt;
​T operator ++(T&amp;amp; a, int);​ // post&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // note the int is solely to distinguish the two&lt;br /&gt;
也就是说，i++返回的是变量的值，++i返回的是变量的引用。因此i++++就相当于一个常数++，当然编译是没法通过的，而++++i就可以顺利通过。&lt;br /&gt;
但是，根据&lt;a href=&quot;http://stackoverflow.com/questions/4176328/undefined-behavior-and-sequence-points&quot;&gt;这个帖子&lt;/a&gt;,这两种表达式都会引发“未定义的行为”，因此“Don&#39;t do either of them.”&lt;br /&gt;
现在没什么遗憾了，这就是“朝闻道，夕死可以”的境界。&lt;br /&gt;
&lt;b&gt;最后附上福利美图一枚。&lt;/b&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8nipNF5NLHyQC4qRT8DnzafrbvpE1qv80cwBTwakfzUGC4VZHHYx9EeMjfpbgo0NO_21VuxROuu9L0HID5licg_3ARGZDpdJMbu1OW9T5Sb7zsCEH7jziVyEKRSIo538FP_uISy98lbc/s1600/6809468032_629e64c223_z.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8nipNF5NLHyQC4qRT8DnzafrbvpE1qv80cwBTwakfzUGC4VZHHYx9EeMjfpbgo0NO_21VuxROuu9L0HID5licg_3ARGZDpdJMbu1OW9T5Sb7zsCEH7jziVyEKRSIo538FP_uISy98lbc/s320/6809468032_629e64c223_z.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/4991841274495577523/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/04/ii.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/4991841274495577523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/4991841274495577523'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/04/ii.html' title='++++i和i++++的蛋疼问题'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8nipNF5NLHyQC4qRT8DnzafrbvpE1qv80cwBTwakfzUGC4VZHHYx9EeMjfpbgo0NO_21VuxROuu9L0HID5licg_3ARGZDpdJMbu1OW9T5Sb7zsCEH7jziVyEKRSIo538FP_uISy98lbc/s72-c/6809468032_629e64c223_z.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-7595702793923692178</id><published>2012-03-24T22:47:00.004-07:00</published><updated>2012-03-24T22:47:36.064-07:00</updated><title type='text'>U盘FAT32、NTFS格式速度比较</title><content type='html'>最近用U盘安装Fedora 16，结果安装后无法启动T_T。没辙，U盘还得用啊。可是发现速度降低了不少，原来写入速度可以到5M，现在只有4M左右。想起来格式化时选择的参数是FAT32、块大小4096字节。于是希望缓缓参数来改变速度。于是取不同的分区和块大小分别进行测试。&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn9UHRyz1oLwzBFeZ6O8jz4OueCtzaJML6BcEV6UbIxSLPEINefKkAcAtFLFZzWN9Ab3nppjXSlgUZUL2kEmW9-JGC1sgytcPNVUus4DjL4HRMDzH15FZeRKu1y2PqBf-NsSkTfMFiFYg/s1600/fat32-4096byte.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn9UHRyz1oLwzBFeZ6O8jz4OueCtzaJML6BcEV6UbIxSLPEINefKkAcAtFLFZzWN9Ab3nppjXSlgUZUL2kEmW9-JGC1sgytcPNVUus4DjL4HRMDzH15FZeRKu1y2PqBf-NsSkTfMFiFYg/s320/fat32-4096byte.png&quot; width=&quot;267&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
FAT32分区、块大小4096字节&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI_tiTkhDo7gCXkGEmib33jpZwA2ufLpKj0iN-e4lMewUFWm0imq0phOnuhCGcuNYOroGMfL3g-VRjUctBRuIlGgOzWmMYdO0IKDRtEPOKERoMgBtaPSvVoXAIGTK-QILLOp5Cz85Wzuo/s1600/fat32-8192byte.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI_tiTkhDo7gCXkGEmib33jpZwA2ufLpKj0iN-e4lMewUFWm0imq0phOnuhCGcuNYOroGMfL3g-VRjUctBRuIlGgOzWmMYdO0IKDRtEPOKERoMgBtaPSvVoXAIGTK-QILLOp5Cz85Wzuo/s320/fat32-8192byte.png&quot; width=&quot;267&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
FAT32分区、块大小8192字节&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjeZKNRBqdJN1U0WqgwxtD2JpHDaR3ZRYyzjcQurkxyA4kreVR8osIde8TX-evlRLlHYYmo04ZDsMcuGpmgnFJTDL2TyCKvJU2jugk4TsQ97quxquy2cVn88uTPp_XqVptf_XatpB128I/s1600/ntfs-16KB.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjeZKNRBqdJN1U0WqgwxtD2JpHDaR3ZRYyzjcQurkxyA4kreVR8osIde8TX-evlRLlHYYmo04ZDsMcuGpmgnFJTDL2TyCKvJU2jugk4TsQ97quxquy2cVn88uTPp_XqVptf_XatpB128I/s320/ntfs-16KB.png&quot; width=&quot;267&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
NTFS分区、块大小16KB&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHhdrWNw5vM0bcyAF2wweMjrcd5-zRWSQmInw02LMfEolopNwnGTn4UKY1hokP-C-jjXkuN5Lkf70DTdroL0N15Y39ZKO1u-A5v4gX4mUQGScusetWDUoPV-IEcP5oe4ofpMcbHua_pVw/s1600/ntfs-8192byte.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHhdrWNw5vM0bcyAF2wweMjrcd5-zRWSQmInw02LMfEolopNwnGTn4UKY1hokP-C-jjXkuN5Lkf70DTdroL0N15Y39ZKO1u-A5v4gX4mUQGScusetWDUoPV-IEcP5oe4ofpMcbHua_pVw/s320/ntfs-8192byte.png&quot; width=&quot;267&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
NTFS分区、块大小8192字节&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
可以看出，块大小为8KB时相比4KB具有很大优势，而块大小为16KB时速度反而下降，而且空间浪费也较大。同时对于8G大小的U盘，有时需要装大于4G的文件，因此选择NTFS格式，块大小为8192字节是最为合适的，可以在速度和空间方面取得平衡。&lt;/div&gt;
&lt;div&gt;
最后上一张写入速度图：&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHD2R0kwu7gUvkl6aX2dZS-DG60J8xbFxVuVAWuBA0mdM5H2faqeF53jtJyrNNZxZJcGGRwznVZFQDE9spe9aYJVkczL_g6Ckyxvq43lNa7b8UThvv3oqdiIN8sB1LB_gwQ0cwMtw2r3I/s1600/sshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHD2R0kwu7gUvkl6aX2dZS-DG60J8xbFxVuVAWuBA0mdM5H2faqeF53jtJyrNNZxZJcGGRwznVZFQDE9spe9aYJVkczL_g6Ckyxvq43lNa7b8UThvv3oqdiIN8sB1LB_gwQ0cwMtw2r3I/s320/sshot-1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/7595702793923692178/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/03/ufat32ntfs.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/7595702793923692178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/7595702793923692178'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/03/ufat32ntfs.html' title='U盘FAT32、NTFS格式速度比较'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn9UHRyz1oLwzBFeZ6O8jz4OueCtzaJML6BcEV6UbIxSLPEINefKkAcAtFLFZzWN9Ab3nppjXSlgUZUL2kEmW9-JGC1sgytcPNVUus4DjL4HRMDzH15FZeRKu1y2PqBf-NsSkTfMFiFYg/s72-c/fat32-4096byte.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-566091238310420162</id><published>2012-03-08T05:56:00.000-08:00</published><updated>2012-03-08T05:56:02.147-08:00</updated><title type='text'>Qt 4.8.0中QAxWidget代码编译不通过的解决办法</title><content type='html'>&amp;nbsp; &amp;nbsp; 昨天在QtCN上看到Qt的4.8.0版本已发布的消息，决定升级之。QTSDK的升级工具照旧极度不给力（下载太慢了），于是用迅雷以10M/S的速度下载完成后离线安装。安装过程一切正常，但是编译测试以前写的一个QAxWidget项目时出现错误，提示C:\QtSDK\Desktop\Qt\4.8.0\mingw\include\ActiveQt\qaxwidget.h这个文件中所包含的文件不存在，其内容只有一句：#include &quot;../../src/activeqt/container/qaxwidget.h&quot;。其需要在C:\QtSDK\Desktop\Qt\4.8.0\mingw目录下存在src子目录，&lt;span style=&quot;color: red;&quot;&gt;但是我的Qt安装后并没有这个目录，而4.7.4版本就没有这个问题。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp; &amp;nbsp;通过SDK升级工具下载安装了QT Sources源码包。此时在QtSDK目录下多出来了一个QtSources文件夹，里面有我们所需的src目录。将其剪切至上述目录后，这回可以编译了。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;但是链接的时候却提示cannot find -lQAxContainerd。大意是在C:\QtSDK\Desktop\Qt\4.8.0\mingw\lib目录下缺少libQAxContainerd.a这个库文件。&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;因此用QtCreator打开C:\QtSDK\Desktop\Qt\4.8.0\mingw\src\activeqt\activeqt.pro工程，以Debug方式编译后即可生成libQAxContainerd.a库文件（以Release方式生成libQAxContainer.a），复制到C:\QtSDK\Desktop\Qt\4.8.0\mingw\lib，再次编译却出现&quot;Undefiened reference to __SomeFunc@8&quot;，这回无解了。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;正在悲伤之际，突然发现了&lt;a href=&quot;http://qt-project.org/forums/viewthread/12975&quot;&gt;这篇文章&lt;/a&gt;，简直如获至宝。大意是说4.8.0有问题，不能使用MingW编译，要使用VS才行。&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;幸亏安装了VS2010，在左下角点击“计算机”图标后选择VS-调试后再次编译，终于搞定。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;感谢国家，感谢党，感谢谷歌。</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/566091238310420162/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/03/qt-480qaxwidget.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/566091238310420162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/566091238310420162'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/03/qt-480qaxwidget.html' title='Qt 4.8.0中QAxWidget代码编译不通过的解决办法'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-6255761897529024566</id><published>2012-03-04T04:55:00.000-08:00</published><updated>2012-03-04T04:55:13.940-08:00</updated><title type='text'>CUDA 4.1及VS2010 atomicAdd函数未定义的解决办法</title><content type='html'>&lt;br /&gt;
测试cuda_by_example的atomicAdd源代码，出现：atomicAdd未定义的错误。这是由于该函数需要显卡支持CUDA 1.1及以上版本。网上流传的方法多是针对CUDA 2.X的，而CUDA 4中似乎将这个标签去掉了，在VS2010中找不到，与现实严重脱节；更有方法要求指定nvcc的参数，这让我们广大VS用户如何吐槽。。。为了节省更多人的时间，故将解决办法贴出。&lt;br /&gt;
&lt;br /&gt;
在&lt;span style=&quot;color: red;&quot;&gt;VS 2010&lt;/span&gt;中如下设置：&lt;br /&gt;
项目（不是.cu文件）-&amp;gt;属性-&amp;gt;CUDA C/C++-&amp;gt;Device-&amp;gt;Code Generation，点击后选择“编辑”，取消“从父级或项目默认设置继承”前面的勾，在编辑框中输入“compute_11,sm_11”（不包含引号）。一路确定后再编译即可通过。&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/6255761897529024566/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/03/cuda-41vs2010-atomicadd.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6255761897529024566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6255761897529024566'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/03/cuda-41vs2010-atomicadd.html' title='CUDA 4.1及VS2010 atomicAdd函数未定义的解决办法'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-8369510822795935260</id><published>2012-01-12T18:21:00.000-08:00</published><updated>2012-10-10T21:48:19.449-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTC，网络"/><title type='text'>Maryfi使用细则一枚</title><content type='html'>&amp;nbsp; &amp;nbsp; 得知Maryfi是通过&lt;a href=&quot;http://www.iplaysoft.com/maryfi.html&quot;&gt;这个帖子&lt;/a&gt;。可是那位博主在连接过程中一切顺利，没有遇到任何问题。但是我在使用HTC手机连接的过程中总是卡在“正在获取IP地址”从而无法连接成功。今天终于解决了这个问题。&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 安装好Maryfi，插上另一块无线网卡后，点击Start Hotspot（以管理员身份运行）。情况如下图所示，其中Dell 无线 1390 WLAN Mini-Card（以下简称D卡）是笔记本自带无线网卡，Atheros 11G USB Wireless Network Adapter（以下简称A卡）是另外买的一块USB无线网卡，Microsoft Virtual WiFi Miniport Adapter（以下简称M卡）是Win7支持的虚拟无线网卡。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvmiFNpNE_wJne5q2eBFbNffGW_9wjRrdQ7W5pI823Wp9Z2szjOdOPHad-KLSyhZuQeMABMn1qbQ4_D0y5CbGdpKCNWS_DCRFN4RqYUhAss7tFpGd-M6H_4QaVdAD7859m6MJATn2tM-A/s1600/sshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;26&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvmiFNpNE_wJne5q2eBFbNffGW_9wjRrdQ7W5pI823Wp9Z2szjOdOPHad-KLSyhZuQeMABMn1qbQ4_D0y5CbGdpKCNWS_DCRFN4RqYUhAss7tFpGd-M6H_4QaVdAD7859m6MJATn2tM-A/s320/sshot-1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; 接下来，共享已有的网络连接。注意此处“家庭网络连接”的地方需要选择&lt;span style=&quot;color: red;&quot;&gt;M卡,不可以选择A卡。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;下面需要更改A卡和M卡的IP及DNS设置。由于一开始两块网卡使用的是自动获取IP，出现了手机无法正常获取IP的情况，故而尝试使用静态IP，自不过需要将A卡以及M卡设在一个网段。配置如下图所示：&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
M卡：&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvq4EuWiK19nUC11qGA4oGccCMaQy4792FjbOOtdPu2Rlo67-zlB2devJf5ItkdKlhDDDM-8km5PaYPgfDSzVEjgP4qRMfSEa8Aq4OQhcxyeNbWQBZd1UjWw56D8ET0pEYyuSK7Bh_Y2Y/s1600/sshot-6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvq4EuWiK19nUC11qGA4oGccCMaQy4792FjbOOtdPu2Rlo67-zlB2devJf5ItkdKlhDDDM-8km5PaYPgfDSzVEjgP4qRMfSEa8Aq4OQhcxyeNbWQBZd1UjWw56D8ET0pEYyuSK7Bh_Y2Y/s320/sshot-6.png&quot; width=&quot;308&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
A卡：&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlAytavIGJtpmK_M3JyAInT4y59gPqarKyDJMpig5b0AZCKMCKnFUMTmtgR6msML8G8A9zPYBYy66oFIrZ1IFt9-ZaSwZvnrLRflBR7xRiroJ0sL-BQi2vY5ppqySq6mTYEa-Yw4vzi5U/s1600/sshot-5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlAytavIGJtpmK_M3JyAInT4y59gPqarKyDJMpig5b0AZCKMCKnFUMTmtgR6msML8G8A9zPYBYy66oFIrZ1IFt9-ZaSwZvnrLRflBR7xRiroJ0sL-BQi2vY5ppqySq6mTYEa-Yw4vzi5U/s320/sshot-5.png&quot; width=&quot;308&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
对于略懂网络知识的同学来说，这里比较容易理解。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
OK，大功告成，重新运行Maryfi。在手机端进行相同的配置（只不过IP地址最后一位不能写16了哈），搞定！&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Update[2012-10-11]:具体网卡的IP配置可能会有变动。如我在实验室的计算机上按上述配置A卡时会提示：&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
“警告 - 已计划将多个默认网关用于提供单一网络(例如 Intranet 或 Internet)的冗余。如果这些网关在两个分离且不相互连接的网络上(例如，一个在 Intranet 上，一个在 Internet 上)，则它们不能正常工作。是否保存此配置?”&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
此时只需将A卡设置为自动获取IP和DNS即可。&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/8369510822795935260/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/01/maryfi.html#comment-form' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/8369510822795935260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/8369510822795935260'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/01/maryfi.html' title='Maryfi使用细则一枚'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvmiFNpNE_wJne5q2eBFbNffGW_9wjRrdQ7W5pI823Wp9Z2szjOdOPHad-KLSyhZuQeMABMn1qbQ4_D0y5CbGdpKCNWS_DCRFN4RqYUhAss7tFpGd-M6H_4QaVdAD7859m6MJATn2tM-A/s72-c/sshot-1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-897292359219217268</id><published>2012-01-02T06:18:00.001-08:00</published><updated>2012-01-12T18:24:17.544-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="时评"/><title type='text'>蒙牛事件后，你还能淡定么？</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp;事件起因：国家质检总局在2011年12月24日公布了一批乳产品抽检结果，其中蒙牛眉山公司生产的一个批次产品被检出了黄曲霉素M1，而且超标140%。&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;又是蒙牛！2008年，蒙牛几个批次的奶粉和液态奶产品在国家质检部门的检测中被发现含有“三聚氰胺”。三聚氰胺对肾脏系统和膀胱都有危害，严重的会导致膀胱癌。&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;蒙牛对上述两个事件的回应就是：郑重道歉。我们对其的回应是：您请继续。&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;老实说，我不同意蒙牛是一家民族企业。哪个国家的民族企业会大言不惭地宣称供港产品质量与出口产品的质量一致（而供应自己国民的产品就是有毒的）？当然，括号中的话蒙牛是不会说的。出了问题，想到的不是怎样赔偿大陆的消费者，而是迫不及待地向其他地区的爷爷们磕头表忠心，通俗的说，这就叫“胳膊肘往外拐”，这是损己利人卑躬屈膝奴颜媚骨的汉奸行为。另外，蒙牛只是一家以盈利为目的的奶制品企业，只是恰好出现在了大陆而已，算不上民族企业。难不成要把中国大陆所有的麦当劳都算作民族企业？真正可以号称“民族企业”而当之无愧的，是那些由个人创办的、仅出现在晚晴以及民国、以振兴中华自强求富为目的企业。蒙牛在那些企业面前，用现在的话说，“简直弱爆了、战斗力只有5”。&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;英国有句谚语：&quot;Cheat me once, shame on you; Cheat me twice, shame on me&quot;。大意是说你伤害了我一次，我可以原谅你，这是你的不对，我也要展示我宽大的胸襟；可是如果你再一次的伤害我，那么I&#39;m sorry，这回我不能原谅你了。如果我再原谅你，你还会继续伤害我。这句话的中译版本大约是“一而再，再而三，子子孙孙无穷受伤也”。&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 我国现如今实行的是社会主义市场经济体制，我们普通消费者有权决定一家企业的兴衰。当然，如果诸位还是想替蒙牛辩解什么，请便。尽管我也是内蒙人，但我绝不护犊子。如果哪个企业一再的伤害我，那么我用合理合法的手段会让它滚犊子，那就是不买其任何产品。如果蒙牛不倒，那么当年的南京冠生园死的何其之冤？不就是用了点发霉的馅吗？人家又没添三聚氰胺、&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;IGF-1、细菌以及黄曲霉素。不过转念一想，就算是一个蒙牛倒下去，如果不从源头改变我们的监督管理机制，那还会有千千万万个疆牛、藏牛站起来。&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Tahoma, Verdana, STHeiTi, simsun, sans-serif; font-size: 14px; line-height: 21px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 中国人自古以来就有一个令人费解的属性：受。只要整不死我，我还可以继续苟活。除非到万不得已伤口被撒盐，我们是没有反应的，甚至跪求一虐。我想，如果我们仍然对蒙牛的暴行放任横流、听之任之，继续“享用”蒙牛带给我们的“优质高毒”的产品，高呼“每天一斤奶，毒死中国人”，安心做“小受”，那么我们才是鲁迅先生笔下的那些可怜虫。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/897292359219217268/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2012/01/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/897292359219217268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/897292359219217268'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2012/01/blog-post.html' title='蒙牛事件后，你还能淡定么？'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-6776732507207050669</id><published>2011-12-31T20:28:00.000-08:00</published><updated>2012-06-25T22:26:19.577-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="维也纳新年音乐会"/><title type='text'>2012年维也纳新年音乐会曲目单</title><content type='html'>&lt;br /&gt;
上半场： 
&lt;br /&gt;
1. Vaterlandischer Marsch 
&lt;br /&gt;
Johann Strauss, Jr. and Josef Strauss 
&lt;br /&gt;
&lt;br /&gt;
祖国进行曲(首演) 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
约瑟夫·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Rathaus-Ball-Tanze，Walzer, Op. 438 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
市政厅舞会圆舞曲，作品438号（首演) 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Entweder - oder!, Polka schnell, Op. 403 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
非此即彼快速波尔卡，作品403号（首演) 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Tritsch-Tratsch, Polka schnell, Op. 214 (with Wiener Sangerknaben) 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
闲聊波尔卡，作品214号（维也纳童声合唱团) 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Wiener Burger, Walzer, Op. 419 
&lt;br /&gt;
Carl Michael Ziehrer 
&lt;br /&gt;
&lt;br /&gt;
维也纳的市民圆舞曲，作品419号 
&lt;br /&gt;
卡尔·米歇尔·齐雷尔 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Albion, Polka, Op. 102 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
阿尔比昂波尔卡，作品102号 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Jockey, Polka schnell, Op. 278 
&lt;br /&gt;
Josef Strauss 
&lt;br /&gt;
&lt;br /&gt;
骑手快速波尔卡，作品278号 
&lt;br /&gt;
约瑟夫·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
下半场： 
&lt;br /&gt;
&lt;br /&gt;
8. Danse diabolique 
&lt;br /&gt;
Josef Hellmesberger 
&lt;br /&gt;
&lt;br /&gt;
魔鬼音程之舞 
&lt;br /&gt;
约瑟夫·赫尔梅斯伯格 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Kunstler-Gruss, Polka francaise, Op. 274 
&lt;br /&gt;
Josef Strauss 
&lt;br /&gt;
&lt;br /&gt;
艺术家的问候法兰西波尔卡，作品274号 
&lt;br /&gt;
约瑟夫·施特劳斯 &lt;br /&gt;
&lt;br /&gt;
10. Freuet euch des Lebens, Walzer, Op. 340 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
享受生活圆舞曲，作品340号 有芭蕾 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Sperl-Galopp, Op. 42 
&lt;br /&gt;
Johann Strauss Vater 
&lt;br /&gt;
&lt;br /&gt;
斯佩尔加洛普，作品42号 
&lt;br /&gt;
老约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
12. Copenhagen Steam Railway Gallop 
&lt;br /&gt;
Hans Christian Lumbye 
&lt;br /&gt;
&lt;br /&gt;
哥本哈根的蒸汽机车加洛普 (首演) 
&lt;br /&gt;
汉斯·克里斯蒂安·伦拜 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
13. Feuerfest, Polka francaise, Op. 269 (with Wiener Sangerknaben) 
&lt;br /&gt;
Josef Strauss 
&lt;br /&gt;
&lt;br /&gt;
打铁法兰西波尔卡，作品269号(维也纳童声合唱团) 
&lt;br /&gt;
约瑟夫·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
14. Carmen-Quadrille, Op. 134 
&lt;br /&gt;
Eduard Strauss 
&lt;br /&gt;
&lt;br /&gt;
卡门四对舞，作品134号 
&lt;br /&gt;
爱德华·施特劳斯 
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, 宋体, simsun, sans-serif; line-height: 22px; text-align: -webkit-left;&quot;&gt;不是比才的原版卡门，是改编曲。全部是卡门里的精华旋律。&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
15. Panorama from Sleeping Beauty 
&lt;br /&gt;
Piotr Ilich Tchaikovsky 
&lt;br /&gt;
&lt;br /&gt;
《情景》，选自芭蕾组曲《睡美人》（首演) 
&lt;br /&gt;
彼得·伊里奇·柴可夫斯基 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
16. Waltz from Sleeping Beauty 
&lt;br /&gt;
Piotr Ilich Tchaikovsky 
&lt;br /&gt;
&lt;br /&gt;
《圆舞曲》，选自芭蕾组曲《睡美人》（首演) 
&lt;br /&gt;
彼得·伊里奇·柴可夫斯基 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
17. Pizzicato-Polka 
&lt;br /&gt;
Johann Strauss, Jr. / Composer Josef Strauss 
&lt;br /&gt;
&lt;br /&gt;
拨弦波尔卡 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
约瑟夫·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
18. Persischer Marsch, Op. 289 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
波斯进行曲，作品289号 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
19. Brennende Liebe, Polka mazur, Op. 129 
&lt;br /&gt;
Josef Strauss 
&lt;br /&gt;
&lt;br /&gt;
燃烧的爱情玛祖卡波尔卡，作品129号 有芭蕾 
&lt;br /&gt;
约瑟夫·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
20. Delirien, Walzer, Op. 212 
&lt;br /&gt;
Josef Strauss 
&lt;br /&gt;
&lt;br /&gt;
谵妄圆舞曲，作品212号 
&lt;br /&gt;
约瑟夫·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
21. Unter Donner und Blitz, Polka schnell, Op. 324 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
雷鸣电闪快速波尔卡，作品324号 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
22. Tik-Tak, Polka schnell, Op. 365 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
滴答快速波尔卡，作品365号 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
23. The Blue Danube, Op. 314 
&lt;br /&gt;
Johann Strauss, Jr. 
&lt;br /&gt;
&lt;br /&gt;
蓝色多瑙河圆舞曲，作品314号 有芭蕾 
&lt;br /&gt;
约翰·施特劳斯 
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
24. Radetzky-March, Op. 228 
&lt;br /&gt;
Johann Strauss, Sr. 
&lt;br /&gt;
拉德茨基进行曲，作品228号 
&lt;br /&gt;
老约翰·施特劳斯</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/6776732507207050669/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2011/12/2012.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6776732507207050669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6776732507207050669'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2011/12/2012.html' title='2012年维也纳新年音乐会曲目单'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3769252384567584523.post-6842413663856228756</id><published>2011-12-11T02:15:00.000-08:00</published><updated>2011-12-11T02:15:46.881-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="罗嗦"/><title type='text'>好吧，从今天起慎用性浪的产品</title><content type='html'>终于走到了今天，我决定远离新浪博客了。这是我最早接触的博客产品，可以说记录了我的成长过程，可是由于众所周知的种种原因，我还是放弃它吧，长痛不如短痛嘛～</content><link rel='replies' type='application/atom+xml' href='http://yzpdsg.blogspot.com/feeds/6842413663856228756/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://yzpdsg.blogspot.com/2011/12/blog-post.html#comment-form' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6842413663856228756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3769252384567584523/posts/default/6842413663856228756'/><link rel='alternate' type='text/html' href='http://yzpdsg.blogspot.com/2011/12/blog-post.html' title='好吧，从今天起慎用性浪的产品'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14624328001399592233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>